arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.08176cs.CVcs.AReess.IV
收藏

ASC: 面向深度神经网络的自适应尺度特征图压缩

ASC: Adaptive Scale Feature Map Compression for Deep Neural Network

Institute of Electronics, National Yang Ming Chiao Tung University(国立阳明交通大学电子研究所)

Yuan Yao, Tian-Sheuan Chang

AI总结:

针对深度学习加速器受特征图尺寸限制导致高带宽与大缓冲需求的问题,提出自适应尺度特征图压缩技术,结合独立通道索引、可切换端点模式等优化压缩率,并设计高效可扩展的硬件架构,以较低硬件成本实现高吞吐量。

摘要:

深度学习加速器的需求日益增长,但其性能受限于特征图的尺寸,导致高带宽需求与大缓冲器占用问题。本文提出一种利用特征图独特属性的自适应尺度特征图压缩技术。鉴于通道间相关性较弱,该技术采用独立通道索引,并利用类立方体块形状以充分利用强局部相关性。该方法进一步通过可切换端点模式和自适应尺度插值优化压缩,以处理存在和不存在离群值的单峰数据分布。对于16位数据,该方法在恒定比特率下实现4倍压缩率,在可变比特率下最高可达7.69倍压缩率。我们的硬件设计通过调整插值尺度最小化面积成本,这有利于插值点之间的硬件共享。此外,我们引入了直接插值的阈值概念,避免了复杂硬件的需求。台积电(TSMC)28nm工艺实现显示,8位版本的等效门数为6135。此外,该硬件架构可有效扩展,面积成本仅呈亚线性增长。该设计实现了32倍的吞吐量提升,仅需7.65倍的硬件成本即可达到DDR5-6400的理论带宽。

英文摘要:

Deep-learning accelerators are increasingly in demand; however, their performance is constrained by the size of the feature map, leading to high bandwidth requirements and large buffer sizes. We propose an adaptive scale feature map compression technique leveraging the unique properties of the feature map. This technique adopts independent channel indexing given the weak channel correlation and utilizes a cubical-like block shape to benefit from strong local correlations. The method further optimizes compression using a switchable endpoint mode and adaptive scale interpolation to handle unimodal data distributions, both with and without outliers. This results in 4$\times$ and up to 7.69$\times$ compression rates for 16-bit data in constant and variable bitrates, respectively. Our hardware design minimizes area cost by adjusting interpolation scales, which facilitates hardware sharing among interpolation points. Additionally, we introduce a threshold concept for straightforward interpolation, preventing the need for intricate hardware. The TSMC 28nm implementation showcases an equivalent gate count of 6135 for the 8-bit version. Furthermore, the hardware architecture scales effectively, with only a sublinear increase in area cost. Achieving a 32$\times$ throughput increase meets the theoretical bandwidth of DDR5-6400 at just 7.65$\times$ the hardware cost.

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

↑