BRDS:基于FPGA的行平衡双比率稀疏化LSTM加速器
BRDS: An FPGA-based LSTM Accelerator with Row-Balanced Dual-Ratio Sparsification
摘要:
本文首先提出了一种硬件友好的剪枝算法,用于降低长短期记忆(LSTM)神经网络加速器的能量消耗,提高加速速度。接下来,介绍了一个基于FPGA的平台,有效地执行基于所提出的算法的修剪网络。通过考虑LSTM模型的两个权重矩阵在修剪中的敏感性,可以使用不同的稀疏率(即,双比率稀疏性)应用于这些权重矩阵。为了减少存储器访问,采用了逐行稀疏模式。该硬件架构利用计算重叠和流水线技术实现低功耗和高速。在自然语言处理、二进制情感分类和语音识别的一些基准测试下,评估了所提出的剪枝算法和加速器的有效性。结果显示,例如,与最近发表的工作相比,该加速器可以提供高达272%的有效GOPS/W,并且对于PTB数据集的困惑度误差减少了高达1.4%。
英文摘要:
In this paper, first, a hardware-friendly pruning algorithm for reducing energy consumption and improving the speed of Long Short-Term Memory (LSTM) neural network accelerators is presented. Next, an FPGA-based platform for efficient execution of the pruned networks based on the proposed algorithm is introduced. By considering the sensitivity of two weight matrices of the LSTM models in pruning, different sparsity ratios (i.e., dual-ratio sparsity) are applied to these weight matrices. To reduce memory accesses, a row-wise sparsity pattern is adopted. The proposed hardware architecture makes use of computation overlapping and pipelining to achieve low-power and high-speed. The effectiveness of the proposed pruning algorithm and accelerator is assessed under some benchmarks for natural language processing, binary sentiment classification, and speech recognition. Results show that, e.g., compared to a recently published work in this field, the proposed accelerator could provide up to 272% higher effective GOPS/W and the perplexity error is reduced by up to 1.4% for the PTB dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。