Skip to main content
QUICK REVIEW

[Paper Review] BRDS: An FPGA-based LSTM Accelerator with Row-Balanced Dual-Ratio Sparsification

Seyed Abolfazl Ghasemzadeh, Erfan Bank-Tavakoli|arXiv (Cornell University)|Jan 7, 2021
Neural Networks and ApplicationsComputer Science16 references8 citations
TL;DR

This paper proposes BRDS, an FPGA-based LSTM accelerator that uses a novel row-balanced dual-ratio sparsification technique to reduce energy and improve speed. By applying different sparsity ratios to the two sensitive weight matrices of LSTM networks and organizing sparsity at the row level, the architecture enables efficient computation overlapping and pipelining, achieving up to 272% higher effective GOPS/W compared to prior work with reduced perplexity on the PTB dataset.

ABSTRACT

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.

Motivation & Objective

  • To reduce energy consumption and improve speed in LSTM neural network accelerators through hardware-friendly pruning.
  • To address the sensitivity of LSTM's two weight matrices during pruning by applying different sparsity ratios (dual-ratio sparsity).
  • To minimize memory access overhead by enforcing a row-wise sparsity pattern in the pruned weights.
  • To design a high-throughput, low-power FPGA-based accelerator that exploits computation overlapping and pipelining.
  • To evaluate the proposed method on real-world benchmarks in NLP, sentiment classification, and speech recognition.

Proposed method

  • A hardware-friendly pruning algorithm is developed that applies dual-ratio sparsity—different sparsity levels to the two LSTM weight matrices based on their sensitivity.
  • Sparsity is enforced at the row level to enable efficient memory access and reduce storage and bandwidth requirements.
  • The FPGA-based accelerator architecture uses pipelining and computation overlapping to maximize throughput and minimize latency.
  • The design is optimized for FPGAs, leveraging on-chip memory and parallel processing units to accelerate sparse matrix-vector multiplication in LSTMs.
  • The system is evaluated on benchmarks including PTB for language modeling, binary sentiment classification, and speech recognition tasks.
  • The accelerator is implemented on an FPGA platform and compared against a recent state-of-the-art FPGA-based LSTM accelerator.

Experimental results

Research questions

  • RQ1Can dual-ratio sparsification, applied independently to the two sensitive weight matrices of an LSTM, improve energy efficiency and inference accuracy?
  • RQ2How does row-wise sparsity organization impact memory access and performance in FPGA-based LSTM accelerators?
  • RQ3To what extent can pipelining and computation overlapping in an FPGA architecture enhance throughput and reduce power consumption in sparse LSTM inference?
  • RQ4What is the trade-off between model accuracy (e.g., perplexity) and energy efficiency when applying row-balanced dual-ratio sparsification?
  • RQ5How does the proposed accelerator compare in performance and energy efficiency to existing FPGA-based LSTM accelerators?

Key findings

  • The proposed BRDS accelerator achieves up to 272% higher effective GOPS/W compared to a recently published FPGA-based LSTM accelerator.
  • For the Penn Treebank (PTB) dataset, the perplexity error is reduced by up to 1.4% compared to the baseline, indicating improved inference accuracy.
  • The row-balanced dual-ratio sparsification technique effectively preserves model accuracy while enabling high sparsity levels in the two LSTM weight matrices.
  • The FPGA-based implementation demonstrates significant energy savings due to reduced memory access and efficient computation overlapping.
  • The accelerator maintains high throughput through pipelined execution and optimized dataflow for sparse matrix operations.
  • The results confirm that sensitivity-aware sparsity with row-wise organization is both effective and hardware-friendly for FPGA deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.