CAMEL:协同设计AI模型与嵌入式DRAM以实现高效的设备端学习
CAMEL: Co-Designing AI Models and Embedded DRAMs for Efficient On-Device Learning
AI总结:
提出CAMEL系统,通过算法与硬件协同设计,利用eDRAM存储和可逆DNN架构,实现高效设备端训练,显著降低内存使用和能耗,并提升训练速度。
摘要:
设备端学习允许AI模型适应用户数据,从而提升边缘平台的服务质量。然而,在资源受限的设备上训练AI面临着重大挑战,这源于深度神经网络(DNN)所要求的繁重计算负载以及大量的内存消耗和数据访问。为解决这些问题,我们提出利用嵌入式动态随机存取存储器(eDRAM)作为瞬态训练数据的主要存储介质。与静态随机存取存储器(SRAM)相比,eDRAM提供更高的存储密度和更低的泄漏功耗,从而降低访问成本和功耗泄漏。然而,为了保持存储数据的完整性,周期性的高功耗刷新操作可能会降低系统性能。为尽量减少昂贵的eDRAM刷新操作的发生,缩短训练过程中存储数据的生命周期是有益的。为此,我们采用算法与硬件协同设计的原理,引入一系列可逆DNN架构,有效降低训练过程中的数据生命周期和存储成本。此外,我们提出了一种名为CAMEL的高效设备端训练引擎,该引擎利用eDRAM作为主要片上存储器。该引擎能够以显著减少的内存使用和片外DRAM流量实现高效的设备端训练,同时保持优越的训练精度。我们在多个DNN及不同数据集上评估了我们的CAMEL系统,展示了相较于其他基线硬件平台,训练过程获得2.5倍加速和2.8倍训练能耗节省。
英文摘要:
On-device learning allows AI models to adapt to user data, thereby enhancing service quality on edge platforms. However, training AI on resource-limited devices poses significant challenges due to the demanding computing workload and the substantial memory consumption and data access required by deep neural networks (DNNs). To address these issues, we propose utilizing embedded dynamic random-access memory (eDRAM) as the primary storage medium for transient training data. In comparison to static random-access memory (SRAM), eDRAM provides higher storage density and lower leakage power, resulting in reduced access cost and power leakage. Nevertheless, to maintain the integrity of the stored data, periodic power-hungry refresh operations could potentially degrade system performance. To minimize the occurrence of expensive eDRAM refresh operations, it is beneficial to shorten the lifetime of stored data during the training process. To achieve this, we adopt the principles of algorithm and hardware co-design, introducing a family of reversible DNN architectures that effectively decrease data lifetime and storage costs throughout training. Additionally, we present a highly efficient on-device training engine named \textit{CAMEL}, which leverages eDRAM as the primary on-chip memory. This engine enables efficient on-device training with significantly reduced memory usage and off-chip DRAM traffic while maintaining superior training accuracy. We evaluate our CAMEL system on multiple DNNs with different datasets, demonstrating a $2.5\times$ speedup of the training process and $2.8\times$ training energy savings than the other baseline hardware platforms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。