arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2101.11748cs.ARcs.LG
收藏

重新考虑混合精度DNN加速器的浮点开销

Rethinking Floating Point Overheads for Mixed Precision DNN Accelerators

Samsung Semiconductor, Inc.(三星半导体公司)

Hamzah Abdel-Aziz, Ali Shafiee, Jong Hoon Shin, Ardavan Pedram, Joseph H. Hassoun

摘要:

在本文中,我们提出了一种混合精度卷积单元架构,支持不同的整数和浮点(FP)精度。该结构基于低比特内积单元,并通过时间分解实现了更高的精度。我们说明了如何整合FP计算整数为基础的架构和评估FP算法支持所产生的开销。我们认为,FP内积的对齐和加法开销可能很大,因为最大指数差可能高达58位,这会导致大型对齐逻辑。为了解决这个问题,我们说明经验,不超过26位的产品位是必需的,最多8位的对齐是足够的,在大多数推理情况下。我们提出了新的优化基于上述意见,以减少FP算法的硬件开销。我们的实证结果,基于仿真和硬件实现,FP 16开销显着减少。在典型的混合精度实现中,所提出的架构实现了高达25%的面积改善在TFLOPS/mm 2和高达46%的TOPS/mm 2与功率效率的提高高达40%在TFLOPS/W和高达63%在TOPS/W。

英文摘要:

In this paper, we propose a mixed-precision convolution unit architecture which supports different integer and floating point (FP) precisions. The proposed architecture is based on low-bit inner product units and realizes higher precision based on temporal decomposition. We illustrate how to integrate FP computations on integer-based architecture and evaluate overheads incurred by FP arithmetic support. We argue that alignment and addition overhead for FP inner product can be significant since the maximum exponent difference could be up to 58 bits, which results into a large alignment logic. To address this issue, we illustrate empirically that no more than 26-bitproduct bits are required and up to 8-bit of alignment is sufficient in most inference cases. We present novel optimizations based on the above observations to reduce the FP arithmetic hardware overheads. Our empirical results, based on simulation and hardware implementation, show significant reduction in FP16 overhead. Over typical mixed precision implementation, the proposed architecture achieves area improvements of up to 25% in TFLOPS/mm2and up to 46% in TOPS/mm2with power efficiency improvements of up to 40% in TFLOPS/Wand up to 63% in TOPS/W.

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

↑