FORGE: Fused On-Register Gradient Elimination for Memory-Efficient LLM Training
Not on the map. Why?
Abstract (arXiv)
Reverse-mode differentiation computes every weight gradient, writes it to memory, and only then lets the optimizer read it back. This two-phase schedule sets the memory ceiling of modern training: at the seam between the phases, every layer's gradient is live at once. We argue that this materialized gradient is an artifact of how differentiation is staged, not a quantity that learning requires -- and we eliminate it. FORGE folds the optimizer step into the backward pass and applies it one tile at a time, entirely in registers, so each gradient tile is consumed the instant it is produced and never becomes a tensor. The fusion changes only when the update happens, not what it computes: in full precision the fused step is provably exact -- the identical optimizer update, for every element-wise rule -- and that exactness survives tensor- and sequence-parallel sharding; in the bf16 and 8-bit regimes used in practice it is faithful rather than bit-identical, its deviation bounded and, for the weight store, rendered unbiased by stochastic rounding. Because each gradient tile is born and consumed in the same registers, it is never converted down to bf16 to be stored and read back; FORGE thus preserves the full-precision fidelity that both bf16 and 8-bit optimizers lose to that conversion. Nor is the method tied to one architecture or one optimizer: linear layers are ubiquitous, and FORGE reclaims the gradient memory of any of them under any element-wise rule. Empirically FORGE more than halves the memory of an optimizer step and, at the small batch sizes typical of fine-tuning and continued pretraining, runs about 1.5x faster; integrated into tensor-parallel Megatron-LM it fits 8B training at four times the micro-batch a standard optimizer allows on the same GPUs.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 41 of its 54 references that are in the map. First posted on arXiv 22 Jun 2026.
Builds on
41 of 54 references.
References · 41
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2025Qwen3 Technical Reportcited by 8,820
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,446
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2017Mixed Precision Trainingcited by 1,156
29 more
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2016Training Deep Nets with Sublinear Memory Costcited by 848
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 674
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
- 2017Large Batch Training of Convolutional Networkscited by 535
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
- 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
- 20218-bit Optimizers via Block-wise Quantizationcited by 403
- 2015Deep Learning with Limited Numerical Precisioncited by 376
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
- 2023DeepSpeed Ulysses: System Optimizations for Enabling Training of Extreme Long Sequence Transformer Modelscited by 245
- 2024OpenMathInstruct-2: Accelerating AI for Math with Massive Open-Source Instruction Datacited by 200
- 2025Training Deep Learning Models with Norm-Constrained LMOscited by 192
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 137
- 2023Full Parameter Fine-tuning for Large Language Models with Limited Resourcescited by 134
- 2024Liger Kernel: Efficient Triton Kernels for LLM Trainingcited by 130
- 2026FlashAttention-4: Algorithm and Kernel Pipelining Co-Design for Asymmetric Hardware Scalingcited by 66
- 2024APOLLO: SGD-like Memory, AdamW-level Performancecited by 54
- 2024Cut Your Losses in Large-Vocabulary Language Modelscited by 40
- 2020Training Large Neural Networks with Constant Memory using a New Execution Algorithmcited by 34
- 2024COAT: Compressing Optimizer states and Activation for Memory-Efficient FP8 Trainingcited by 33
- 2023AdaLomo: Low-memory Optimization with Adaptive Learning Ratecited by 31
- 2024MicroAdam: Accurate Adaptive Optimization with Low Space Overhead and Provable Convergencecited by 19
- 2023Adam Accumulation to Reduce Memory Footprints of both Activations and Gradients for Large-scale DNN Trainingcited by 5
- 2026FlashOptim: Optimizers for Memory-Efficient Trainingcited by 5
- 2026CODA: Rewriting Transformer Blocks as GEMM-Epilogue Programscited by 5
- 2021Optimizer Fusion: Efficient Training with Better Locality and Parallelismcited by 2
- 2026Chronicals: A High-Performance Framework for LLM Fine-Tuning with 3.51x Speedup over Unslothcited by 2
- 2025Backward-Friendly Optimization: Training Large Language Models with Approximate Gradients under Memory Constraintscited by 1
Built on by
Citing papers per year: 2026: 2.
2 papers.