Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerialization
Not on the map. Why?
Abstract (arXiv)
We formalize the problem of trading-off DNN training time and memory requirements as the tensor rematerialization optimization problem, a generalization of prior checkpointing strategies. We introduce Checkmate, a system that solves for optimal rematerialization schedules in reasonable times (under an hour) using off-the-shelf MILP solvers or near-optimal schedules with an approximation algorithm, then uses these schedules to accelerate millions of training iterations. Our method scales to complex, realistic architectures and is hardware-aware through the use of accelerator-specific, profile-based cost models. In addition to reducing training cost, Checkmate enables real-world networks to be trained with up to 5.1x larger input sizes. Checkmate is an open-source project, available at https://github.com/parasj/checkmate.
Key facts. Cited by 90 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Oct 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 15; 2022: 23; 2023: 17; 2024: 12; 2025: 12; 2026: 11.
90 papers.
Sort:
By area:
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2021Putting NeRF on a Diet: Semantically Consistent Few-Shot View Synthesiscited by 464
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
- 2021Combined Scaling for Zero-shot Transfer Learningcited by 182
- 2024AI and Memory Wallcited by 89
- 2021Software-Hardware Co-design for Fast and Scalable Training of Deep Learning Recommendation Modelscited by 78
- 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 74
- 2021ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed Trainingcited by 61
- 2023Stateful Large Language Model Serving with Pensievecited by 59
- 2021Dorylus: Affordable, Scalable, and Accurate GNN Training with Distributed CPU Servers and Serverless Threadscited by 51
- 2022Bamboo: Making Preemptible Instances Resilient for Affordable Training of Large DNNscited by 49
38 more
- 2022Differentially Private Bias-Term Fine-tuning of Foundation Modelscited by 47
- 2022Compute-Efficient Deep Learning: Algorithmic Trends and Opportunitiescited by 38
- 2022GACT: Activation Compressed Training for Generic Network Architecturescited by 31
- 2021Accelerating Quadratic Optimization with Reinforcement Learningcited by 30
- 2022Hidet: Task-Mapping Programming Paradigm for Deep Learning Tensor Programscited by 28
- 2023DISTFLASHATTN: Distributed Memory-efficient Attention for Long-context LLMs Trainingcited by 28
- 2022POET: Training Neural Networks on Tiny Devices with Integrated Rematerialization and Pagingcited by 26
- 2021KAISA: An Adaptive Second-Order Optimizer Framework for Deep Neural Networkscited by 20
- 2022Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learningcited by 20
- 2021Sequential Aggregation and Rematerialization: Distributed Full-batch Training of Graph Neural Networks on Large Graphscited by 18
- 2022On-device Training: A First Overview on Existing Systemscited by 18
- 2023TinyTrain: Resource-Aware Task-Adaptive Sparse Training of DNNs at the Data-Scarce Edgecited by 18
- 2021The CoRa Tensor Compiler: Compilation for Ragged Tensors with Minimal Paddingcited by 17
- 2023Unicron: Economizing Self-Healing LLM Training at Scalecited by 16
- 2021PatrickStar: Parallel Training of Pre-trained Models via Chunk-based Memory Managementcited by 15
- 2022A Comprehensive Survey on Distributed Training of Graph Neural Networkscited by 15
- 2024Asteroid: Resource-Efficient Hybrid Pipeline Parallelism for Collaborative DNN Training on Heterogeneous Edge Devicescited by 13
- 2023Dissecting the Runtime Performance of the Training, Fine-tuning, and Inference of Large Language Modelscited by 12
- 2022Merak: An Efficient Distributed DNN Training Framework with Automated 3D Parallelism for Giant Foundation Modelscited by 11
- 2023Slapo: A Schedule Language for Progressive Optimization of Large Deep Learning Model Trainingcited by 11
- 2024Training and Serving System of Foundation Models: A Comprehensive Surveycited by 11
- 2023QFT: Quantized Full-parameter Tuning of LLMs with Affordable Resourcescited by 10
- 2023Winner-Take-All Column Row Sampling for Memory Efficient Adaptation of Language Modelcited by 9
- 2024FlexLLM: Token-Level Co-Serving of LLM Inference and Finetuning with SLO Guaranteescited by 9
- 2024Gradient descent with generalized Newton's methodcited by 9
- 2024Hardware Scaling Trends and Diminishing Returns in Large-Scale Distributed Trainingcited by 7
- 2022Harmony: Overcoming the Hurdles of GPU Memory Capacity to Train Massive DNN Models on Commodity Serverscited by 6
- 2022RevBiFPN: The Fully Reversible Bidirectional Feature Pyramid Networkcited by 6
- 2022OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networkscited by 6
- 2025Mist: Efficient Distributed Training of Large Language Models via Memory-Parallelism Co-Optimizationcited by 6
- 2023Colossal-Auto: Unified Automation of Parallelization and Activation Checkpoint for Large-scale Modelscited by 5
- 2025SlimPipe: Memory-Thrifty and Efficient Pipeline Parallelism for Long-Context LLM Trainingcited by 5
- 2022Survey on Large Scale Neural Network Trainingcited by 4
- 2022Scientometric Review of Artificial Intelligence for Operations & Maintenance of Wind Turbines: The Past, Present and Futurecited by 4
- 2022Tempo: Accelerating Transformer-Based Model Training through Memory Footprint Reductioncited by 4
- 2023SlimFit: Memory-Efficient Fine-Tuning of Transformer-based Models Using Training Dynamicscited by 4
- 2023Rockmate: an Efficient, Fast, Automatic and Generic Tool for Re-materialization in PyTorchcited by 4
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Networkcited by 4
50 most cited of 90 All 90 (JSON)
- 2026Deterministic Regime Switching and Feasibility Inversion in Dynamic Tensor Rematerialization25 Sep 2026
- 2026EMA: Elastic and Performance Transparent Memory Across GPUs22 Sep 2026
- 2026FlashBoB: I/O-Efficient Exact Backward-over-Backward for Softmax Attention21 Sep 2026
- 2026Flattening Every Memory Peak in Long-Context Mixture-of-Experts Training13 Sep 2026
- 2026Memory-Efficient Activation Checkpointing with Sliding Window and Hirschberg's Algorithm for 0/1 Knapsack Solving in PyTorch9 Aug 2026
- 2026Training Variable Long Sequences with Data-Centric Parallel14 Jul 2026
- 2026Efficient PEFT Methods with Adaptive Checkpointing for Vision Models and VLMs on Resource Constrained Consumer-GPUs2 Jul 2026
- 2026Have I Solved This Before? Retrieving Similar Segmentation Problems for Evolutionary Learning6 Jun 2026
- 2026AutoSP: Unlocking Long-Context LLM Training Via Compiler-Based Sequence Parallelism29 Apr 2026
- 2026MONET: Modeling and Optimization of neural NEtwork Training from Edge to Data Centers16 Mar 2026
- 2026TokenSeek: Memory Efficient Fine Tuning via Instance-Aware Token Ditching27 Jan 2026
- 2025GreedySnake: Accelerating SSD-Offloaded LLM Training with Efficient Scheduling and Optimizer Step Overlapping19 Dec 2025
38 more
- 2025FedHybrid: Breaking the Memory Wall of Federated Learning via Hybrid Tensor Management13 Oct 2025
- 2025SlimPack: Fine-Grained Asymmetric Packing for Balanced and Efficient Variable-Length LLM Training30 Sep 2025
- 2025DaCe AD: Unifying High-Performance Automatic Differentiation for Machine Learning and Scientific Computing2 Sep 2025
- 2025XQuant: Breaking the Memory Wall for LLM Inference with KV Cache Rematerialization14 Aug 2025
- 2025STAlloc: Enhancing Memory Efficiency in Large-Scale Model Training with Spatio-Temporal Planning22 Jul 2025
- 2025Training-Free Inference for High-Resolution Sinogram Completion10 Jun 2025
- 2025Cost-Efficient LLM Training with Lifetime-Aware Tensor Offloading via GPUDirect Storage6 Jun 2025
- 2025SlimPipe: Memory-Thrifty and Efficient Pipeline Parallelism for Long-Context LLM Training20 Apr 2025
- 2025Mist: Efficient Distributed Training of Large Language Models via Memory-Parallelism Co-Optimization24 Mar 2025
- 2025FlexInfer: Breaking Memory Constraint via Flexible and Efficient Offloading for On-Device LLM Inference4 Mar 2025
- 2025On the Duality between Gradient Transformations and Adapters19 Feb 2025
- 2024Hardware Scaling Trends and Diminishing Returns in Large-Scale Distributed Training20 Nov 2024
- 2024Stochastic Communication Avoidance for Recommendation Systems3 Nov 2024
- 2024Asteroid: Resource-Efficient Hybrid Pipeline Parallelism for Collaborative DNN Training on Heterogeneous Edge Devices15 Aug 2024
- 2024Gradient descent with generalized Newton's method3 Jul 2024
- 2024ProTrain: Efficient LLM Training via Memory-Aware Techniques12 Jun 2024
- 2024AI and Memory Wall21 Mar 2024
- 2024On the Compressibility of Quantized Large Language Models3 Mar 2024
- 2024SoD2: Statically Optimizing Dynamic Deep Neural Network29 Feb 2024
- 2024FlexLLM: Token-Level Co-Serving of LLM Inference and Finetuning with SLO Guarantees29 Feb 2024
- 2024Moonwalk: Inverse-Forward Differentiation22 Feb 2024
- 2024AutoChunk: Automated Activation Chunk for Memory-Efficient Long Sequence Inference19 Jan 2024
- 2024Training and Serving System of Foundation Models: A Comprehensive Survey5 Jan 2024
- 2023Unicron: Economizing Self-Healing LLM Training at Scale30 Dec 2023
- 2023Stateful Large Language Model Serving with Pensieve9 Dec 2023
- 2023Dissecting the Runtime Performance of the Training, Fine-tuning, and Inference of Large Language Models7 Nov 2023
- 2023Coop: Memory is not a Commodity1 Nov 2023
- 2023QFT: Quantized Full-parameter Tuning of LLMs with Affordable Resources11 Oct 2023
- 2023DISTFLASHATTN: Distributed Memory-efficient Attention for Long-context LLMs Training5 Oct 2023
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep 2023
- 2023TinyTrain: Resource-Aware Task-Adaptive Sparse Training of DNNs at the Data-Scarce Edge19 Jul 2023
- 2023Near-Linear Time Projection onto the ℓ1,∞ Ball; Application to Sparse Autoencoders19 Jul 2023
- 2023Rockmate: an Efficient, Fast, Automatic and Generic Tool for Re-materialization in PyTorch3 Jul 2023
- 2023SlimFit: Memory-Efficient Fine-Tuning of Transformer-based Models Using Training Dynamics29 May 2023
- 2023Winner-Take-All Column Row Sampling for Memory Efficient Adaptation of Language Model24 May 2023
- 2023Moccasin: Efficient Tensor Rematerialization for Neural Networks27 Apr 2023
- 2023An Evaluation of Memory Optimization Methods for Training Neural Networks26 Mar 2023
- 2023RAF: Holistic Compilation for Deep Learning Model Training8 Mar 2023
50 newest of 90 All 90 (JSON)
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
- 2021Putting NeRF on a Diet: Semantically Consistent Few-Shot View Synthesiscited by 464
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
- 2021Combined Scaling for Zero-shot Transfer Learningcited by 182
- 2024AI and Memory Wallcited by 89
- 2021Software-Hardware Co-design for Fast and Scalable Training of Deep Learning Recommendation Modelscited by 78
- 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 74
- 2021ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed Trainingcited by 61
- 2021Dorylus: Affordable, Scalable, and Accurate GNN Training with Distributed CPU Servers and Serverless Threadscited by 51
- 2022Bamboo: Making Preemptible Instances Resilient for Affordable Training of Large DNNscited by 49
- 2022Differentially Private Bias-Term Fine-tuning of Foundation Modelscited by 47
- 2022Compute-Efficient Deep Learning: Algorithmic Trends and Opportunitiescited by 38
12 most cited of 85 All 85 (JSON)
- 2026Deterministic Regime Switching and Feasibility Inversion in Dynamic Tensor Rematerialization25 Sep 2026
- 2026EMA: Elastic and Performance Transparent Memory Across GPUs22 Sep 2026
- 2026FlashBoB: I/O-Efficient Exact Backward-over-Backward for Softmax Attention21 Sep 2026
- 2026Memory-Efficient Activation Checkpointing with Sliding Window and Hirschberg's Algorithm for 0/1 Knapsack Solving in PyTorch9 Aug 2026
- 2026Training Variable Long Sequences with Data-Centric Parallel14 Jul 2026
- 2026Efficient PEFT Methods with Adaptive Checkpointing for Vision Models and VLMs on Resource Constrained Consumer-GPUs2 Jul 2026
- 2026Have I Solved This Before? Retrieving Similar Segmentation Problems for Evolutionary Learning6 Jun 2026
- 2026AutoSP: Unlocking Long-Context LLM Training Via Compiler-Based Sequence Parallelism29 Apr 2026
- 2026MONET: Modeling and Optimization of neural NEtwork Training from Edge to Data Centers16 Mar 2026
- 2026TokenSeek: Memory Efficient Fine Tuning via Instance-Aware Token Ditching27 Jan 2026
- 2025GreedySnake: Accelerating SSD-Offloaded LLM Training with Efficient Scheduling and Optimizer Step Overlapping19 Dec 2025
- 2025FedHybrid: Breaking the Memory Wall of Federated Learning via Hybrid Tensor Management13 Oct 2025
12 newest of 85 All 85 (JSON)