atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

Efficient Backpropagation with Variance Controlled Adaptive Sampling

ICLR 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: Low-rank compression and merging · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes VCAS, an unbiased adaptive sampling method that speeds up backpropagation by sampling data (activation gradients) and tokens (weight gradients) while controlling added variance via online-learned sample ratios.

Problem

Sampling-based training acceleration by skipping computations in backpropagation can introduce approximation error that hurts accuracy and convergence across tasks, and the appropriate sample ratio varies by task and training phase.

Approach

Compute an unbiased approximate stochastic gradient with layerwise importance sampling over the data dimension for activation gradients and leverage-score sampling over tokens for weight gradients, and adapt the sample ratios online by zeroth-order updates so the extra variance stays a small fraction (tau ≪ 1) of the SGD variance.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use VCAS instead of UBBERT-base · MNLI-meval accuracy (%): 83.82 -> 84.23Helped
Use VCAS instead of UBBERT-large · MNLI-meval accuracy (%): 86.09 -> 86.63Helped
Use VCAS instead of UBViT-base · ImageNet-1keval accuracy (%): 82.28 -> 82.27No clear effect
Use VCAS instead of UBViT-large · ImageNet-1kwall-clock time reduction (%): 19.83 -> 21.06Helped
Use VCAS instead of exact backpropagationBERT-large · MNLIFLOPs reduction (%): 44.17Helped
Use VCAS instead of exact backpropagationViT-large · ImageNet-1kFLOPs reduction (%): 49.58Helped
Use VCAS with activation sampling only instead of exact trainingWideResNet-18 (widen factor 4) · ImageNet pretrainingeval accuracy (%): 75.96 -> 75.86No clear effect
Jointly sample activations and weights instead of sampling either alone (ablation)VCAS · BERT-base finetuning on MNLIFLOPs reductionHelped
Increase variance threshold τ from 0.025 to 0.5 (ablation)VCAS · BERT-base finetuning on SST-2FLOPs reduction (%): 48.28 -> 52.71Helped
Increase variance threshold τ from 0.025 to 0.5 (ablation)VCAS · BERT-base finetuning on SST-2eval accuracy (%): 93.04 -> 92.18Hurt
Increase adaptation frequency F from 100 to 1000 (ablation)VCAS · BERT-base finetuning on SST-2FLOPs reduction (%): 48.28 -> 31.03Hurt
Vary Monte-Carlo repetitions M from 2 to 10 (ablation)VCAS · BERT-base finetuning on SST-2 and MNLIempirical varianceNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: GLUE (MNLI, QQP, QNLI, SST-2, CoLA, STSB, MRPC, RTE) C4 CIFAR10 CIFAR100 ImageNet-1k

Benchmarks: GLUE (MNLI, QQP, QNLI, SST-2) C4 pretraining (GLUE average) CIFAR10 CIFAR100 ImageNet-1k

Metrics: final train loss eval accuracy FLOPs reduction wall-clock time reduction

Baselines: SB UB exact training

Builds on: selective backprop upper bound importance sampling (UB) leverage score sampling

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy