mlsanityData to 14 Oct 2026

Optimal Gradient Checkpointing for Sparse and Recurrent Architectures using Off-Chip Memory

arXiv 2412.11810 ↗First posted 16 Dec 2024cs.NE cs.AR cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Recurrent neural networks (RNNs) are valued for their computational efficiency and reduced memory requirements on tasks involving long sequence lengths but require high memory-processor bandwidth to train. Checkpointing techniques can reduce the memory requirements by only storing a subset of intermediate states, the checkpoints, but are still rarely used due to the computational overhead of the additional recomputation phase. This work addresses these challenges by introducing memory-efficient gradient checkpointing strategies tailored for the general class of sparse RNNs and Spiking Neural Networks (SNNs). SNNs are energy efficient alternatives to RNNs thanks to their local, event-driven operation and potential neuromorphic implementation. We use the Intelligence Processing Unit (IPU) as an exemplary platform for architectures with distributed local memory. We exploit its suitability for sparse and irregular workloads to scale SNN training on long sequence lengths. We find that Double Checkpointing emerges as the most effective method, optimizing the use of local memory resources while minimizing recomputation overhead. This approach reduces dependency on slower large-scale memory access, enabling training on sequences over 10 times longer or 4 times larger networks than previously feasible, with only marginal time overhead. The presented techniques demonstrate significant potential to enhance scalability and efficiency in training sparse and recurrent networks across diverse hardware platforms, and highlights the benefits of sparse activations for scalable recurrent neural network training.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 16 of its 19 references that are in the map. First posted on arXiv 16 Dec 2024.

Builds on

16 of 19 references.

References · 16

  1. 2016Training Deep Nets with Sublinear Memory Costcited by 848
  2. 2019Surrogate Gradient Learning in Spiking Neural Networkscited by 626
  3. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
  4. 2015Converting Static Image Datasets to Spiking Neuromorphic Datasets Using Saccadescited by 314
  5. 2017SuperSpike: Supervised learning in multi-layer spiking neural networkscited by 182
  6. 2018Long short-term memory and learning-to-learn in networks of spiking neuronscited by 181
  7. 2019The Heidelberg spiking datasets for the systematic evaluation of spiking neural networkscited by 137
  8. 2016Memory-Efficient Backpropagation Through Timecited by 78
  9. 2019Recurrent Neural Networks (RNNs): A gentle Introduction and Overviewcited by 68
  10. 2019Dissecting the Graphcore IPU Architecture via Microbenchmarkingcited by 47
  11. 2017Block-Sparse Recurrent Neural Networkscited by 39
  12. 2023Spiking Neural Networks and Bio-Inspired Supervised Deep Learning: A Surveycited by 8
4 more
  1. 2023FPGA Resource-aware Structured Pruning for Real-Time Neural Networkscited by 7
  2. 2020Efficient Sparse-Dense Matrix-Matrix Multiplication on GPUs Using the Customized Sparse Storage Formatcited by 5
  3. 2023Harnessing Manycore Processors with Distributed Memory for Accelerated Training of Sparse and Recurrent Modelscited by 4
  4. 2023On Performance Analysis of Graphcore IPUs: Analyzing Squared and Skewed Matrix Multiplicationcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.