跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 神经与演化计算

arXiv:2412.11810 (cs)
[提交于 2024年12月16日]

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

作者:Wadjih Bencheikh, Jan Finkbeiner, Emre Neftci
查看论文《Optimal Gradient Checkpointing for Sparse and Recurrent Architectures using Off-Chip Memory》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要: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.
主题: 神经与演化计算 (cs.NE); 硬件体系结构 (cs.AR); 机器学习 (cs.LG)
引用方式: arXiv:2412.11810 [cs.NE]
  (或者 arXiv:2412.11810v1 [cs.NE] 对于此版本)
  https://doi.org/10.48550/arXiv.2412.11810

提交历史

来自:Jan Finkbeiner
[v1] 2024年12月16日 星期一 14:23:31 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.NE
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-12
切换浏览方式为:
cs
cs.AR
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站