arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.01258cs.LGcs.ARcs.NEcs.PF
收藏

SHARP:一种用于循环神经网络的自适应且节能的加速器

SHARP: An Adaptable, Energy-Efficient Accelerator for Recurrent Neural Network

Microsoft(微软);Universitat Politecnica de Catalunya(加泰罗尼亚理工大学)

Reza Yazdani, Olatunji Ruwase, Minjia Zhang, Yuxiong He, Jose-Maria Arnau, Antonio Gonzalez

AI总结:

针对现有RNN加速器资源利用率低和适应性差的问题,提出自适应节能硬件加速器Sharp,通过智能分块调度和动态可重构架构隐藏数据依赖,相比ASIC、FPGA和GPU实现显著提升速度并降低能耗。

摘要:

循环神经网络(RNN)在自动语音识别等任务中的有效性,促进了人们对RNN推理加速的兴趣。由于RNN计算的递归特性和数据依赖性,先前的工作设计了专门针对RNN计算模式定制的架构,为特定选定的模型规模获得了高计算效率。然而,鉴于不同任务的RNN维度差异很大,将这种效率推广到各种配置至关重要。在这项工作中,我们指出了自适应性是当今RNN加速器所缺失的关键特性。特别是,我们首先展示了在GPU、FPGA和ASIC架构上最先进的RNN实现存在资源利用率低和适应性低的问题。为了解决这些问题,我们提出了一种智能的基于分块的调度机制,以提高RNN计算的适应性,从而高效处理数据依赖性。为此,我们提出了Sharp作为一种硬件加速器,它使用有效的调度方案对RNN计算进行流水线化,以隐藏大部分依赖性序列化。此外,Sharp采用动态可重构架构以适应模型的特性。考虑到不同的RNN模型和资源预算,与最先进的ASIC、FPGA和GPU实现相比,Sharp平均实现了2倍、2.8倍和82倍的加速。此外,由于Sharp的低功耗(321 GFLOPS/Watt),与以前的解决方案相比,我们提供了显著的能耗降低。

英文摘要:

The effectiveness of Recurrent Neural Networks (RNNs) for tasks such as Automatic Speech Recognition has fostered interest in RNN inference acceleration. Due to the recurrent nature and data dependencies of RNN computations, prior work has designed customized architectures specifically tailored to the computation pattern of RNN, getting high computation efficiency for certain chosen model sizes. However, given that the dimensionality of RNNs varies a lot for different tasks, it is crucial to generalize this efficiency to diverse configurations. In this work, we identify adaptiveness as a key feature that is missing from today's RNN accelerators. In particular, we first show the problem of low resource-utilization and low adaptiveness for the state-of-the-art RNN implementations on GPU, FPGA and ASIC architectures. To solve these issues, we propose an intelligent tiled-based dispatching mechanism for increasing the adaptiveness of RNN computation, in order to efficiently handle the data dependencies. To do so, we propose Sharp as a hardware accelerator, which pipelines RNN computation using an effective scheduling scheme to hide most of the dependent serialization. Furthermore, Sharp employs dynamic reconfigurable architecture to adapt to the model's characteristics. Sharp achieves 2x, 2.8x, and 82x speedups on average, considering different RNN models and resource budgets, compared to the state-of-the-art ASIC, FPGA, and GPU implementations, respectively. Furthermore, we provide significant energy-reduction with respect to the previous solutions, due to the low power dissipation of Sharp (321 GFLOPS/Watt).

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

↑