Lune

ICLR2024Top-tier venue

Efficient Backpropagation with Variance Controlled Adaptive Sampling

Ziteng Wang, Jianfei Chen, Jun Zhu

Abstract

Sampling-based algorithms, which eliminate ''unimportant'' computations during forward and/or back propagation (BP), offer potential solutions to accelerate neural network training. However, since sampling introduces approximations to training, such algorithms may not consistently maintain accuracy across various tasks. In this work, we introduce a variance-controlled adaptive sampling (VCAS) method designed to accelerate BP. VCAS computes an unbiased stochastic gradient with fine-grained layerwise importance sampling in data dimension for activation gradient calculation and leverage score sampling in token dimension for weight gradient calculation. To preserve accuracy, we control the additional variance by learning the sample ratio jointly with model parameters during training. We assessed VCAS on multiple fine-tuning and pre-training tasks in both vision and natural language domains. On all the tasks, VCAS can preserve the original training loss trajectory and validation accuracy with an up to 73.87% FLOPs reduction of BP and 49.58% FLOPs reduction of the whole training process. The implementation is available at https://github.com/thu-ml/VCAS .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • STAFF: Speculative Coreset Selection for Task-Specific Fine-tuning cites Deep Learning on a Data Diet: Finding Important Examples Early in Training
  • STAFF: Speculative Coreset Selection for Task-Specific Fine-tuning cites Selection via Proxy: Efficient Data Selection for Deep Learning
  • Cramming: Training a Language Model on a single GPU in one day cites Prioritized Training on Points that are Learnable, Worth Learning, and not yet Learnt
  • Cramming: Training a Language Model on a single GPU in one day cites The Efficiency Misnomer
  • Prioritized Training on Points that are Learnable, Worth Learning, and not yet Learnt cites Deep Learning on a Data Diet: Finding Important Examples Early in Training
  • Prioritized Training on Points that are Learnable, Worth Learning, and not yet Learnt cites Selection via Proxy: Efficient Data Selection for Deep Learning
  • Deep Learning on a Data Diet: Finding Important Examples Early in Training cites Selection via Proxy: Efficient Data Selection for Deep Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. SAGE: A Framework of Precise Retrieval for RAGJintao Zhang, Guoliang Li, Jinyang SuICDE 2025 · 9 citations
  2. STAFF: Speculative Coreset Selection for Task-Specific Fine-tuningXiaoyu Zhang, Juan Zhai, Shiqing Ma, Chao Shen et al.ICLR 2025

Builds on11

  1. Deep Learning on a Data Diet: Finding Important Examples Early in TrainingMansheej Paul, Surya Ganguli, Gintare Karolina DziugaiteNeurIPS 2021 · 806 citations
  2. Selection via Proxy: Efficient Data Selection for Deep LearningCody Coleman, Christopher Yeh, Stephen Mussmann, Baharan Mirzasoleiman et al.ICLR 2020 · 462 citations
  3. Prioritized Training on Points that are Learnable, Worth Learning, and not yet LearntSören Mindermann, Jan Markus Brauner, Muhammed Razzak, Mrinank Sharma et al.ICML 2022 · 237 citations
  4. The Efficiency MisnomerMostafa Dehghani, Yi Tay, Anurag Arnab, Lucas Beyer et al.ICLR 2022 · 116 citations
  5. Cramming: Training a Language Model on a single GPU in one dayJonas Geiping, Tom GoldsteinICML 2023 · 115 citations

Related papers

  1. One Forward is Enough for Neural Network Training via Likelihood Ratio MethodJinyang Jiang, Zeliang Zhang, Chenliang Xu, Zhaofei Yu et al.ICLR 2024 · 14 citations
  2. ADA-GP: Accelerating DNN Training By Adaptive Gradient PredictionVahid Janfaza, Shantanu Mandal, Farabi Mahmud, Abdullah MuzahidMICRO 2023 · 3 citations
  3. MISA: Memory-Efficient LLMs Optimization with Module-wise Importance SamplingYuxi Liu, Renjia Deng, Yutong He, Xue Wang et al.NeurIPS 2025 · 2 citations
  4. Winner-Take-All Column Row Sampling for Memory Efficient Adaptation of Language ModelZirui Liu, Guanchu Wang, Shaochen Zhong, Zhaozhuo Xu et al.NeurIPS 2023 · 22 citations
  5. Token Dropping for Efficient BERT PretrainingLe Hou, Richard Yuanzhe Pang, Tianyi Zhou, Yuexin Wu et al.ACL 2022
Dusk over the sea between two cliffs drawn in fine vertical lines