mlsanityData to 7 Oct 2026

Moccasin: Efficient Tensor Rematerialization for Neural Networks

arXiv 2304.14463 ↗First posted 27 Apr 2023cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

The deployment and training of neural networks on edge computing devices pose many challenges. The low memory nature of edge devices is often one of the biggest limiting factors encountered in the deployment of large neural network models. Tensor rematerialization or recompute is a way to address high memory requirements for neural network training and inference. In this paper we consider the problem of execution time minimization of compute graphs subject to a memory budget. In particular, we develop a new constraint programming formulation called textscMoccasin with only O(n) integer variables, where n is the number of nodes in the compute graph. This is a significant improvement over the works in the recent literature that propose formulations with O(n2) Boolean variables. We present numerical studies that show that our approach is up to an order of magnitude faster than recent work especially for large-scale graphs.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 13 of its 30 references that are in the map. First posted on arXiv 27 Apr 2023.

Builds on

13 of 30 references.

References · 13

  1. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  2. 2016CVXPY: A Python-Embedded Modeling Language for Convex Optimizationcited by 633
  3. 2017Efficient Processing of Deep Neural Networks: A Tutorial and Surveycited by 427
  4. 2017A Rewriting System for Convex Optimization Problemscited by 178
  5. 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 90
  6. 2020Dynamic Tensor Rematerializationcited by 45
  7. 2022POET: Training Neural Networks on Tiny Devices with Integrated Rematerialization and Pagingcited by 26
  8. 2021Sequential Aggregation and Rematerialization: Distributed Full-batch Training of Graph Neural Networks on Large Graphscited by 18
  9. 2022Neural Topological Ordering for Computation Graphscited by 12
  10. 2019A Graph Theoretic Framework of Recomputation Algorithms for Memory-Efficient Backpropagationcited by 11
  11. 2018Combinatorial Register Allocation and Instruction Schedulingcited by 7
  12. 2014Survey on Combinatorial Register Allocation and Instruction Schedulingcited by 2
1 more
  1. 2022XEngine: Optimal Tensor Rematerialization for Neural Networks in Heterogeneous Environmentscited by 2

Built on by

Not cited yet.