arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.01990cs.AR
收藏

HADES:使用高能效近似字母集乘法器的DNN加速器中的硬件/算法协同设计

HADES: Hardware/Algorithm Co-design in DNN accelerators using Energy-efficient Approximate Alphabet Set Multipliers

Arani Roy, Kaushik Roy

AI总结:

提出基于字母集乘法器原理的低复杂度近似乘加单元的电路-算法协同设计HADES,通过无乘法器实现、字母感知训练及内存/近内存计算,在保持准确率的同时大幅降低DNN的能耗与数据移动成本。

摘要:

边缘计算必须能够在受限的计算资源预算内执行计算密集型算法,如深度神经网络(DNNs)。此类计算涉及矩阵向量乘法(MVMs),这是DNN内存和能耗预算的主要贡献者。为了缓解MVMs的计算强度和存储需求,我们提出了基于字母集乘法器(ASMs)原理的低复杂度近似乘加(MAC)单元的电路-算法协同设计技术。从ASMs中选择少量且合适的字母可以实现无乘法器的DNN实现,并能够将低精度权重和输入激活编码为更少的比特位。为了在字母集近似下保持准确率,我们开发了一种新颖的ASM字母感知训练方法。所提出的低复杂度乘法感知算法在内存中和近内存中通过高效的移位操作实现,以进一步改善内存与处理单元之间的数据移动成本。我们在CIFAR10和ImageNet数据集上对ResNet和MobileNet模型进行了基准测试,与全精度相比获得了<1-2%的准确率下降,且与标准冯·诺依曼架构相比获得了>50%的能耗收益。

英文摘要:

Edge computing must be capable of executing computationally intensive algorithms, such as Deep Neural Networks (DNNs) while operating within a constrained computational resource budget. Such computations involve Matrix Vector Multiplications (MVMs) which are the dominant contributor to the memory and energy budget of DNNs. To alleviate the computational intensity and storage demand of MVMs, we propose circuit-algorithm co-design techniques with low-complexity approximate Multiply-Accumulate (MAC) units derived from the principles of Alphabet Set Multipliers (ASMs). Selection of few and proper alphabets from ASMs lead to a Multiplier-less DNN implementation, and enables encoding of low precision weights and input activations into fewer bits. To maintain accuracy under alphabet set approximations, we developed a novel ASM-alphabet aware training. The proposed low-complexity multiplication-aware algorithm was implemented In-Memory and Near-Memory with efficient shift operations to further improve the data-movement cost between memory and processing unit. We benchmark our design on CIFAR10 and ImageNet datasets for ResNet and MobileNet models and attain <1-2% accuracy degradation against full precision with energy benefits of >50% compared to standard Von-Neumann counterpart.

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

↑