Training Large Neural Networks with Constant Memory using a New Execution Algorithm
Not on the map. Why?
Abstract (arXiv)
Widely popular transformer-based NLP models such as BERT and Turing-NLG have enormous capacity trending to billions of parameters. Current execution methods demand brute-force resources such as HBM devices and high speed interconnectivity for data parallelism. In this paper, we introduce a new relay-style execution technique called L2L (layer-to-layer) where at any given moment, the device memory is primarily populated only with the executing layer(s)'s footprint. The model resides in the DRAM memory attached to either a CPU or an FPGA as an entity we call eager param-server (EPS). To overcome the bandwidth issues of shuttling parameters to and from EPS, the model is executed a layer at a time across many micro-batches instead of the conventional method of minibatches over whole model. L2L is implemented using 16GB V100 devices for BERT-Large running it with a device batch size of up to 256. Our results show 45% reduction in memory and 40% increase in the throughput compared to the state-of-the-art baseline. L2L is also able to fit models up to 50 Billion parameters on a machine with a single 16GB V100 and 512GB CPU memory and without requiring any model partitioning. L2L scales to arbitrary depth allowing researchers to develop on affordable devices which is a big step toward democratizing AI. By running the optimizer in the host EPS, we show a new form of mixed precision for faster throughput and convergence. In addition, the EPS enables dynamic neural architecture approaches by varying layers across iterations. Finally, we also propose and demonstrate a constant memory variation of L2L and we propose future enhancements. This work has been performed on GPUs first, but also targeted towards all high TFLOPS/Watt accelerators.
Key facts. Cited by 34 papers in the map (data through 7 Oct 2026). First posted on arXiv 13 Feb 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 6; 2023: 8; 2024: 5; 2025: 8; 2026: 3.
34 papers.
Sort:
By area:
- 20218-bit Optimizers via Block-wise Quantizationcited by 395
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
- 2023Full Parameter Fine-tuning for Large Language Models with Limited Resourcescited by 134
- 2023Fast Inference of Mixture-of-Experts Language Models with Offloadingcited by 88
- 2022Petals: Collaborative Inference and Fine-tuning of Large Modelscited by 84
- 2023SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficientcited by 58
- 2024SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devicescited by 45
- 2023Distributed Inference and Fine-tuning of Large Language Models Over The Internetcited by 42
- 2021PatrickStar: Parallel Training of Pre-trained Models via Chunk-based Memory Managementcited by 15
- 2024Smart-Infinity: Fast Large Language Model Training using Near-Storage Processing on a Real Systemcited by 14
- 2024HiFT: A Hierarchical Full Parameter Fine-Tuning Strategycited by 12
- 2025GPIoT: Tailoring Small Language Models for IoT Program Synthesis and Developmentcited by 10
22 more
- 2025SpecEdge: Scalable Edge-Assisted Serving Framework for Interactive LLMscited by 10
- 2023Hazards from Increasingly Accessible Fine-Tuning of Downloadable Foundation Modelscited by 7
- 2024Xiwu: A Basis Flexible and Learnable LLM for High Energy Physicscited by 7
- 2022Instilling Type Knowledge in Language Models via Multi-Task QAcited by 5
- 2023Adam Accumulation to Reduce Memory Footprints of both Activations and Gradients for Large-scale DNN Trainingcited by 5
- 2022Survey on Large Scale Neural Network Trainingcited by 4
- 2023Systems for Parallel and Distributed Large-Model Deep Learning Trainingcited by 4
- 2021Hydra: A System for Large Multi-Model Deep Learningcited by 3
- 2025Cost-Efficient LLM Training with Lifetime-Aware Tensor Offloading via GPUDirect Storagecited by 3
- 2022DELTA: Dynamically Optimizing GPU Memory beyond Tensor Recomputationcited by 2
- 2022Elixir: Train a Large Language Model on a Small GPU Clustercited by 2
- 2023Vocabulary-level Memory Efficiency for Language Model Fine-tuningcited by 2
- 202510Cache: Heterogeneous Resource-Aware Tensor Caching and Migration for LLM Trainingcited by 2
- 2026FORGE: Fused On-Register Gradient Elimination for Memory-Efficient LLM Trainingcited by 2
- 2022Benchmark Assessment for DeepSpeed Optimization Librarycited by 1
- 2025Merging Feed-Forward Sublayers for Compressed Transformerscited by 1
- 2024LR-CNN: Lightweight Row-centric Convolutional Neural Network Training for Memory Reductioncited by 0
- 2025GPU Memory Usage Optimization for Backward Propagation in Deep Network Trainingcited by 0
- 2025Symbiosis: Multi-Adapter Inference and Fine-Tuningcited by 0
- 2025Optimizing Resource Allocation for Geographically-Distributed Inference by Large Language Modelscited by 0
- 2026Efficient Software Vulnerability Detection Using Transformer-based Modelscited by 0
- 2026Unifying Data, Memory, and Compute Efficiency in LLM training: A Surveycited by 0
- 2026FORGE: Fused On-Register Gradient Elimination for Memory-Efficient LLM Training22 Jun 2026
- 2026Unifying Data, Memory, and Compute Efficiency in LLM training: A Survey9 Jun 2026
- 2026Efficient Software Vulnerability Detection Using Transformer-based Models31 Mar 2026
- 2025Optimizing Resource Allocation for Geographically-Distributed Inference by Large Language Models26 Dec 2025
- 202510Cache: Heterogeneous Resource-Aware Tensor Caching and Migration for LLM Training18 Nov 2025
- 2025Symbiosis: Multi-Adapter Inference and Fine-Tuning3 Jul 2025
- 2025Cost-Efficient LLM Training with Lifetime-Aware Tensor Offloading via GPUDirect Storage6 Jun 2025
- 2025SpecEdge: Scalable Edge-Assisted Serving Framework for Interactive LLMs16 May 2025
- 2025GPIoT: Tailoring Small Language Models for IoT Program Synthesis and Development2 Mar 2025
- 2025GPU Memory Usage Optimization for Backward Propagation in Deep Network Training18 Feb 2025
- 2025Merging Feed-Forward Sublayers for Compressed Transformers10 Jan 2025
- 2024SpecExec: Massively Parallel Speculative Decoding for Interactive LLM Inference on Consumer Devices4 Jun 2024
22 more
- 2024Xiwu: A Basis Flexible and Learnable LLM for High Energy Physics8 Apr 2024
- 2024Smart-Infinity: Fast Large Language Model Training using Near-Storage Processing on a Real System11 Mar 2024
- 2024HiFT: A Hierarchical Full Parameter Fine-Tuning Strategy26 Jan 2024
- 2024LR-CNN: Lightweight Row-centric Convolutional Neural Network Training for Memory Reduction21 Jan 2024
- 2023Fast Inference of Mixture-of-Experts Language Models with Offloading28 Dec 2023
- 2023Hazards from Increasingly Accessible Fine-Tuning of Downloadable Foundation Models22 Dec 2023
- 2023Distributed Inference and Fine-tuning of Large Language Models Over The Internet13 Dec 2023
- 2023Vocabulary-level Memory Efficiency for Language Model Fine-tuning15 Sep 2023
- 2023Full Parameter Fine-tuning for Large Language Models with Limited Resources16 Jun 2023
- 2023Adam Accumulation to Reduce Memory Footprints of both Activations and Gradients for Large-scale DNN Training31 May 2023
- 2023SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficient27 Jan 2023
- 2023Systems for Parallel and Distributed Large-Model Deep Learning Training6 Jan 2023
- 2022Elixir: Train a Large Language Model on a Small GPU Cluster10 Dec 2022
- 2022Petals: Collaborative Inference and Fine-tuning of Large Models2 Sep 2022
- 2022Instilling Type Knowledge in Language Models via Multi-Task QA28 Apr 2022
- 2022DELTA: Dynamically Optimizing GPU Memory beyond Tensor Recomputation30 Mar 2022
- 2022Survey on Large Scale Neural Network Training21 Feb 2022
- 2022Benchmark Assessment for DeepSpeed Optimization Library12 Feb 2022
- 2021Hydra: A System for Large Multi-Model Deep Learning16 Oct 2021
- 20218-bit Optimizers via Block-wise Quantization6 Oct 2021
- 2021PatrickStar: Parallel Training of Pre-trained Models via Chunk-based Memory Management12 Aug 2021
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Training18 Jan 2021
- 20218-bit Optimizers via Block-wise Quantizationcited by 395
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
- 2023Full Parameter Fine-tuning for Large Language Models with Limited Resourcescited by 134
- 2022Petals: Collaborative Inference and Fine-tuning of Large Modelscited by 84
- 2023SWARM Parallelism: Training Large Models Can Be Surprisingly Communication-Efficientcited by 58
- 2023Distributed Inference and Fine-tuning of Large Language Models Over The Internetcited by 42
- 2021PatrickStar: Parallel Training of Pre-trained Models via Chunk-based Memory Managementcited by 15
- 2024Smart-Infinity: Fast Large Language Model Training using Near-Storage Processing on a Real Systemcited by 14
- 2024HiFT: A Hierarchical Full Parameter Fine-Tuning Strategycited by 12
- 2025GPIoT: Tailoring Small Language Models for IoT Program Synthesis and Developmentcited by 10
- 2023Hazards from Increasingly Accessible Fine-Tuning of Downloadable Foundation Modelscited by 7
- 2024Xiwu: A Basis Flexible and Learnable LLM for High Energy Physicscited by 7
12 most cited of 31 All 31 (JSON)
- 2026FORGE: Fused On-Register Gradient Elimination for Memory-Efficient LLM Training22 Jun 2026
- 2026Unifying Data, Memory, and Compute Efficiency in LLM training: A Survey9 Jun 2026
- 2026Efficient Software Vulnerability Detection Using Transformer-based Models31 Mar 2026
- 2025Optimizing Resource Allocation for Geographically-Distributed Inference by Large Language Models26 Dec 2025
- 202510Cache: Heterogeneous Resource-Aware Tensor Caching and Migration for LLM Training18 Nov 2025
- 2025Symbiosis: Multi-Adapter Inference and Fine-Tuning3 Jul 2025
- 2025Cost-Efficient LLM Training with Lifetime-Aware Tensor Offloading via GPUDirect Storage6 Jun 2025
- 2025GPIoT: Tailoring Small Language Models for IoT Program Synthesis and Development2 Mar 2025
- 2025GPU Memory Usage Optimization for Backward Propagation in Deep Network Training18 Feb 2025
- 2025Merging Feed-Forward Sublayers for Compressed Transformers10 Jan 2025
- 2024Xiwu: A Basis Flexible and Learnable LLM for High Energy Physics8 Apr 2024
- 2024Smart-Infinity: Fast Large Language Model Training using Near-Storage Processing on a Real System11 Mar 2024
12 newest of 31 All 31 (JSON)