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

用于卷积神经网络的无障碍大规模稀疏张量加速器(BARISTA)

Barrier-Free Large-Scale Sparse Tensor Accelerator (BARISTA) For Convolutional Neural Networks

Ashish Gondimalla, Sree Charan Gundabolu, T. N. Vijaykumar, Mithuna Thottethodi

摘要:

卷积神经网络(CNN)正在成为视觉识别的强大工具。最近的稀疏CNN架构提案利用特征图和过滤器中的零来提高性能和能量,而不会损失准确性。在特征图和滤波器两者中利用双侧稀疏性的稀疏架构仅在小尺度上被研究(例如,1 K乘-累加(MAC)单元)。然而,为了充分实现它们的优点,稀疏架构必须被放大到密集架构的水平(例如,TPU中的32 K MAC)。这样的缩放是具有挑战性的,因为通过广播实现重用会导致隐含的屏障成本,从而引发负载不平衡、缓冲和片上带宽需求等相互关联的问题。Sparten是一种以前的方案,它解决了负载均衡的一个方面,但没有解决其他方面,也没有解决缓冲和带宽的其他问题。为此,我们提出了无障碍大型稀疏张量加速器(BARISTA)。BARISTA(1)是第一个用于按比例放大稀疏CNN加速器的架构;(2)通过伸缩请求组合输入映射请求和分割滤波器请求来减少片上带宽需求;(3)通过基本缓冲区共享来减少缓冲,并通过对输出缓冲区着色来避免连续输入映射之间的随后障碍;(4)通过动态循环工作分配来负载平衡滤波器内工作;以及(5)采用分层缓冲,通过计算中的几个宽的共享缓冲区实现高缓存带宽,并通过较窄的私有缓冲区实现低缓冲。我们的模拟表明,平均而言,咖啡师的性能分别比密集,单侧,天真缩放的双侧和等面积双侧架构好5.4倍,2.2倍,1.7倍,2.5倍。使用45纳米技术,ASIC合成我们的RTL设计的四个集群的8 K MAC在1 GHz的时钟速度,报告213毫米$^2$面积和170 W的功率。

英文摘要:

Convolutional neural networks (CNNs) are emerging as powerful tools for visual recognition. Recent architecture proposals for sparse CNNs exploit zeros in the feature maps and filters for performance and energy without losing accuracy. Sparse architectures that exploit two-sided sparsity in both feature maps and filters have been studied only at small scales (e.g., 1K multiply-accumulate(MAC) units). However, to realize their advantages in full, the sparse architectures have to be scaled up to levels of the dense architectures (e.g., 32K MACs in the TPU). Such scaling is challenging since achieving reuse through broadcasts incurs implicit barrier cost raises the inter-related issues of load imbalance, buffering, and on-chip bandwidth demand. SparTen, a previous scheme, addresses one aspect of load balancing but not other aspects, nor the other issues of buffering and bandwidth. To that end, we propose the barrier-free large-scale sparse tensor accelerator (BARISTA). BARISTA (1) is the first architecture for scaling up sparse CNN accelerators; (2) reduces on-chip bandwidth demand by telescoping request-combining the input map requests and snarfing the filter requests; (3) reduces buffering via basic buffer sharing and avoids the ensuing barriers between consecutive input maps by coloring the output buffers; (4) load balances intra-filter work via dynamic round-robin work assignment; and (5) employs hierarchical buffering which achieves high cache bandwidth via a few, wide, shared buffers and low buffering via narrower, private buffers at the compute. Our simulations show that, on average, barista performs 5.4x, 2.2x, 1.7x, 2.5x better than a dense, a one-sided, a naively-scaled two-sided, and an iso-area two-sided architecture, respectively. Using 45-nm technology, ASIC synthesis of our RTL design for four clusters of 8K MACs at 1 GHz clock speed, reports 213 mm$^2$ area and 170 W power.

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

↑