arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.01876cs.ARcs.AIcs.LG
收藏

PDPU:用于深度学习应用的开源Posit点积单元

PDPU: An Open-Source Posit Dot-Product Unit for Deep Learning Applications

Nanjing University(南京大学)

Qiong Li, Chao Fang, Zhongfeng Wang

AI总结:

针对现有posit点积硬件实现效率低、开销大的问题,提出开源PDPU,采用融合混合精度架构与6级流水线,在28nm工艺下面积、延迟和功耗分别最多降低43%、64%和70%,可作为深度学习加速器核心。

摘要:

Posit格式因其在动态范围与精度之间更好的权衡,已成为深度学习应用中IEEE-754浮点格式的有前景的替代方案。然而,posit算术的硬件实现仍需进一步探索,尤其是深度神经网络(DNNs)中占主导地位的点积运算。现有实现要么采用乘法器与加法器树的组合,要么采用级联的融合乘加单元,导致计算效率低下且硬件开销过大。为解决此问题,我们提出了一个开源posit点积单元,即PDPU,以促进资源高效且高吞吐量的点积硬件实现。PDPU不仅具有融合和混合精度架构,消除了冗余延迟和硬件资源,还拥有细粒度的6级流水线,提高了计算效率。进一步开发了可配置的PDPU生成器,以满足不同DNN对计算精度的多样化需求。在28nm CMOS工艺下评估的实验结果表明,与现有实现相比,PDPU在面积、延迟和功耗方面分别最多减少43%、64%和70%。因此,PDPU作为基于posit的深度学习应用加速器的计算核心具有巨大潜力。

英文摘要:

Posit has been a promising alternative to the IEEE-754 floating point format for deep learning applications due to its better trade-off between dynamic range and accuracy. However, hardware implementation of posit arithmetic requires further exploration, especially for the dot-product operations dominated in deep neural networks (DNNs). It has been implemented by either the combination of multipliers and an adder tree or cascaded fused multiply-add units, leading to poor computational efficiency and excessive hardware overhead. To address this issue, we propose an open-source posit dot-product unit, namely PDPU, that facilitates resource-efficient and high-throughput dot-product hardware implementation. PDPU not only features the fused and mixed-precision architecture that eliminates redundant latency and hardware resources, but also has a fine-grained 6-stage pipeline, improving computational efficiency. A configurable PDPU generator is further developed to meet the diverse needs of various DNNs for computational accuracy. Experimental results evaluated under the 28nm CMOS process show that PDPU reduces area, latency, and power by up to 43%, 64%, and 70%, respectively, compared to the existing implementations. Hence, PDPU has great potential as the computing core of posit-based accelerators for deep learning applications.

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

↑