arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.07149cs.NIcs.LG
收藏

DAF:一种用于设备端DNN训练的高效端到端动态激活框架

DAF: An Efficient End-to-End Dynamic Activation Framework for on-Device DNN Training

George Mason University(乔治·马歇尔大学);Global Technology Applied Research, JPMorganChase(全球技术应用研究,摩根大通);University of Kansas(堪萨斯大学)

Renyuan Liu, Yuyang Leng, Kaiyan Liu, Shaohan Hu, Chun-Fu, Chen, Peijun Zhao, Heechul Yun, Shuochao Yao

AI总结:

DAF通过系统级优化实现设备端高效动态激活量化训练,显著降低内存占用并加速,同时保持模型准确性。

摘要:

近年来,深度神经网络设备端训练的进展凸显了高效激活压缩的关键需求,以克服移动和边缘设备的存储限制。由于激活在训练期间主导内存使用且对梯度计算至关重要,在不影响准确性的前提下压缩激活仍是一个关键研究挑战。尽管现有的动态激活量化方法在理论上承诺节省内存,但其实际部署受到系统级挑战的阻碍,如计算开销和内存碎片化。为解决这些挑战,我们引入了DAF,一个动态激活框架,通过系统级优化实现可扩展且高效的设备端训练。DAF通过解决关键系统瓶颈,实现了内存和时间高效的动态量化训练。它开发了针对移动和边缘SoC内存层次结构定制的混合归约操作,利用CPU-GPU协作位打包实现高效动态量化,并实施了一种重要性感知的分页内存管理方案以减少碎片化并支持动态内存调整。这些优化共同使DAF能够在不影响模型训练准确性的情况下实现显著的内存节省和加速。在嵌入式及移动平台上对各种深度学习模型的评估表明,内存使用最多减少22.9倍,速度提升3.2倍,使DAF成为资源受限环境中可扩展且实用的解决方案。

英文摘要:

Recent advancements in on-device training for deep neural networks have underscored the critical need for efficient activation compression to overcome the memory constraints of mobile and edge devices. As activations dominate memory usage during training and are essential for gradient computation, compressing them without compromising accuracy remains a key research challenge. While existing methods for dynamic activation quantization promise theoretical memory savings, their practical deployment is impeded by system-level challenges such as computational overhead and memory fragmentation. To address these challenges, we introduce DAF, a Dynamic Activation Framework that enables scalable and efficient on-device training through system-level optimizations. DAF achieves both memory- and time-efficient dynamic quantization training by addressing key system bottlenecks. It develops hybrid reduction operations tailored to the memory hierarchies of mobile and edge SoCs, leverages collaborative CPU-GPU bit-packing for efficient dynamic quantization, and implements an importance-aware paging memory management scheme to reduce fragmentation and support dynamic memory adjustments. These optimizations collectively enable DAF to achieve substantial memory savings and speedup without compromising model training accuracy. Evaluations on various deep learning models across embedded and mobile platforms demonstrate up to a $22.9\times$ reduction in memory usage and a $3.2\times$ speedup, making DAF a scalable and practical solution for resource-constrained environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑