Pinpointing the Memory Behaviors of DNN Training
Jiansong Li, Xiao Dong, Guangli Li, Peng Zhao, Xueying Wang, Xiaobing, Chen, Xianzhi Yu, Yongxin Yang, Zihan Jiang, Wei Cao, Lei Liu, Xiaobing Feng

TL;DR
This paper characterizes the memory behaviors of GPU during DNN training, revealing stable, iterative access patterns that can inform future memory-efficient training optimizations.
Contribution
It introduces a method to pinpoint memory behaviors of GPU during DNN training by instrumenting runtime memory allocators, providing new insights into memory access patterns.
Findings
Memory access patterns are stable and iterative.
Memory behaviors vary across different device memory blocks.
Insights can guide future memory optimization strategies.
Abstract
The training of deep neural networks (DNNs) is usually memory-hungry due to the limited device memory capacity of DNN accelerators. Characterizing the memory behaviors of DNN training is critical to optimize the device memory pressures. In this work, we pinpoint the memory behaviors of each device memory block of GPU during training by instrumenting the memory allocators of the runtime system. Our results show that the memory access patterns of device memory blocks are stable and follow an iterative fashion. These observations are useful for the future optimization of memory-efficient training from the perspective of raw memory access patterns.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Ferroelectric and Negative Capacitance Devices · Stochastic Gradient Optimization Techniques
