Few-Bit Backward: Quantized Gradients of Activation Functions for Memory Footprint Reduction
Not on the map. Why?
Abstract (arXiv)
Memory footprint is one of the main limiting factors for large neural network training. In backpropagation, one needs to store the input to each operation in the computational graph. Every modern neural network model has quite a few pointwise nonlinearities in its architecture, and such operation induces additional memory costs which -- as we show -- can be significantly reduced by quantization of the gradients. We propose a systematic approach to compute optimal quantization of the retained gradients of the pointwise nonlinear functions with only a few bits per each element. We show that such approximation can be achieved by computing optimal piecewise-constant approximation of the derivative of the activation function, which can be done by dynamic programming. The drop-in replacements are implemented for all popular nonlinearities and can be used in any existing pipeline. We confirm the memory reduction and the same convergence on several open benchmarks.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 21 of its 33 references that are in the map. First posted on arXiv 1 Feb 2022.
Builds on
21 of 33 references.
References · 21
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
- 2021A White Paper on Neural Network Quantizationcited by 453
- 20218-bit Optimizers via Block-wise Quantizationcited by 395
9 more
- 2014Speeding-up Convolutional Neural Networks Using Fine-tuned CP-Decompositioncited by 199
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
- 2020Stable Low-rank Tensor Decomposition for Compression of Convolutional Neural Networkcited by 74
- 2021ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed Trainingcited by 61
- 2019Optimal checkpointing for heterogeneous chains: how to train deep neural networks with limited memorycited by 22
- 2019Active Subspace of Neural Networks: Structural Analysis and Universal Attackscited by 12
- 2020Addressing the Memory Bottleneck in AI Model Trainingcited by 3
- 2019Reduced-Order Modeling of Deep Neural Networkscited by 2
- 2021Emojich -- zero-shot emoji generation using Russian language: a technical reportcited by 2
Built on by
Citing papers per year: 2022: 2; 2023: 0; 2024: 7; 2025: 2; 2026: 3.
14 papers.
Sort:
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2022Eco2AI: carbon emissions tracking of machine learning models as the first step towards sustainable AIcited by 58
- 2024COAT: Compressing Optimizer states and Activation for Memory-Efficient FP8 Trainingcited by 32
- 2025Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunitiescited by 11
- 2024Projected Forward Gradient-Guided Frank-Wolfe Algorithm via Variance Reductioncited by 5
- 2022Survey on Large Scale Neural Network Trainingcited by 4
- 2024Moonwalk: Inverse-Forward Differentiationcited by 1
- 2024Quantization of Large Language Models with an Overdetermined Basiscited by 1
- 2026Layer-wise Derivative Controlled Networkscited by 1
- 2024LR-CNN: Lightweight Row-centric Convolutional Neural Network Training for Memory Reductioncited by 0
- 2024Inverted Activations: Reducing Memory Footprint in Neural Network Trainingcited by 0
- 2025S2A: A Unified Framework for Parameter and Memory Efficient Transfer Learningcited by 0
- 2026Zero-order Parameter-free Optimization for LMO-based Methods: Novel Approach for Efficient Fine-tuning12 Jun 2026
- 2026Layer-wise Derivative Controlled Networks14 May 2026
- 2026Zero-Order Optimization for LLM Fine-Tuning via Learnable Direction Sampling14 Feb 2026
- 2025Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunities2 May 2025
- 2025S2A: A Unified Framework for Parameter and Memory Efficient Transfer Learning11 Mar 2025
- 2024COAT: Compressing Optimizer states and Activation for Memory-Efficient FP8 Training25 Oct 2024
- 2024Inverted Activations: Reducing Memory Footprint in Neural Network Training22 Jul 2024
- 2024Quantization of Large Language Models with an Overdetermined Basis15 Apr 2024
- 2024Projected Forward Gradient-Guided Frank-Wolfe Algorithm via Variance Reduction19 Mar 2024
- 2024Moonwalk: Inverse-Forward Differentiation22 Feb 2024
- 2024LR-CNN: Lightweight Row-centric Convolutional Neural Network Training for Memory Reduction21 Jan 2024
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Models16 Jan 2024
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2022Eco2AI: carbon emissions tracking of machine learning models as the first step towards sustainable AIcited by 58
- 2024COAT: Compressing Optimizer states and Activation for Memory-Efficient FP8 Trainingcited by 32
- 2025Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunitiescited by 11
- 2024Projected Forward Gradient-Guided Frank-Wolfe Algorithm via Variance Reductioncited by 5
- 2022Survey on Large Scale Neural Network Trainingcited by 4
- 2024Moonwalk: Inverse-Forward Differentiationcited by 1
- 2024Quantization of Large Language Models with an Overdetermined Basiscited by 1
- 2026Layer-wise Derivative Controlled Networkscited by 1
- 2024LR-CNN: Lightweight Row-centric Convolutional Neural Network Training for Memory Reductioncited by 0
- 2024Inverted Activations: Reducing Memory Footprint in Neural Network Trainingcited by 0
- 2025S2A: A Unified Framework for Parameter and Memory Efficient Transfer Learningcited by 0
12 most cited of 14 All 14 (JSON)
- 2026Zero-order Parameter-free Optimization for LMO-based Methods: Novel Approach for Efficient Fine-tuning12 Jun 2026
- 2026Layer-wise Derivative Controlled Networks14 May 2026
- 2026Zero-Order Optimization for LLM Fine-Tuning via Learnable Direction Sampling14 Feb 2026
- 2025Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunities2 May 2025
- 2025S2A: A Unified Framework for Parameter and Memory Efficient Transfer Learning11 Mar 2025
- 2024COAT: Compressing Optimizer states and Activation for Memory-Efficient FP8 Training25 Oct 2024
- 2024Inverted Activations: Reducing Memory Footprint in Neural Network Training22 Jul 2024
- 2024Quantization of Large Language Models with an Overdetermined Basis15 Apr 2024
- 2024Projected Forward Gradient-Guided Frank-Wolfe Algorithm via Variance Reduction19 Mar 2024
- 2024Moonwalk: Inverse-Forward Differentiation22 Feb 2024
- 2024LR-CNN: Lightweight Row-centric Convolutional Neural Network Training for Memory Reduction21 Jan 2024
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Models16 Jan 2024
12 newest of 14 All 14 (JSON)