Reducing Fine-Tuning Memory Overhead by Approximate and Memory-Sharing Backpropagation
Not on the map. Why?
Abstract (arXiv)
Fine-tuning pretrained large models to downstream tasks is an important problem, which however suffers from huge memory overhead due to large-scale parameters. This work strives to reduce memory overhead in fine-tuning from perspectives of activation function and layer normalization. To this end, we propose the Approximate Backpropagation (Approx-BP) theory, which provides the theoretical feasibility of decoupling the forward and backward passes. We apply our Approx-BP theory to backpropagation training and derive memory-efficient alternatives of GELU and SiLU activation functions, which use derivative functions of ReLUs in the backward pass while keeping their forward pass unchanged. In addition, we introduce a Memory-Sharing Backpropagation strategy, which enables the activation memory to be shared by two adjacent layers, thereby removing activation memory usage redundancy. Our method neither induces extra computation nor reduces training efficiency. We conduct extensive experiments with pretrained vision and language models, and the results demonstrate that our proposal can reduce up to ~30% of the peak memory usage. Our code is released at https://github.com/yyyyychen/LowMemoryBP.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 37 of its 62 references that are in the map. First posted on arXiv 24 Jun 2024.
Builds on
37 of 62 references.
References · 37
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2016Layer Normalizationcited by 5,579
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
25 more
- 2020GLU Variants Improve Transformercited by 1,724
- 2022Visual Prompt Tuningcited by 1,674
- 2020Reformer: The Efficient Transformercited by 1,658
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
- 2016Optimization Methods for Large-Scale Machine Learningcited by 1,140
- 2017Mixed Precision Trainingcited by 1,135
- 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 935
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
- 2021MetaFormer Is Actually What You Need for Visioncited by 523
- 2022DeiT III: Revenge of the ViTcited by 417
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
- 2022LST: Ladder Side-Tuning for Parameter and Memory Efficient Transfer Learningcited by 228
- 2018Scalable Methods for 8-bit Training of Neural Networkscited by 139
- 2022FacT: Factor-Tuning for Lightweight Adaptation on Vision Transformercited by 133
- 2021ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed Trainingcited by 61
- 2022GACT: Activation Compressed Training for Generic Network Architecturescited by 31
- 2019Backprop with Approximate Activations for Memory-efficient Network Trainingcited by 19
- 2021Mesa: A Memory-saving Training Framework for Transformerscited by 16
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 3.
5 papers.
- 2024CompAct: Compressed Activations for Memory-Efficient LLM Trainingcited by 15
- 2026Limited Reasoning Space: The cage of long-horizon reasoning in LLMscited by 3
- 2025QKV Projections Require a Fraction of Their Memorycited by 2
- 2026PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Trainingcited by 0
- 2026You Only Edit Once: Incentivizing In-Context Capability of LLMs via Local Demonstration Refinementcited by 0
- 2026You Only Edit Once: Incentivizing In-Context Capability of LLMs via Local Demonstration Refinement27 Sep 2026
- 2026PRAC: Principal-Random Subspace for LLM Activation Compression and Memory-Efficient Training26 Feb 2026
- 2026Limited Reasoning Space: The cage of long-horizon reasoning in LLMs22 Feb 2026
- 2025QKV Projections Require a Fraction of Their Memory3 Jun 2025
- 2024CompAct: Compressed Activations for Memory-Efficient LLM Training20 Oct 2024