Skip to main content
QUICK REVIEW

[Paper Review] LSTM-Sharp: An Adaptable, Energy-Efficient Hardware Accelerator for Long Short-Term Memory.

Reza Yazdani, Olatunji Ruwase|arXiv (Cornell University)|Nov 4, 2019
Topic ModelingComputer Science38 references12 citations
TL;DR

LSTM-Sharp is a reconfigurable, tile-based hardware accelerator that uses intelligent dispatching and pipelined scheduling to overcome data dependencies and low resource utilization in LSTM inference. It achieves 1.5x–82x speedup and 383 GFLOPs/W energy efficiency across diverse models and resource budgets.

ABSTRACT

The effectiveness of LSTM neural networks for popular tasks such as Automatic Speech Recognition has fostered an increasing interest in LSTM inference acceleration. Due to the recurrent nature and data dependencies of LSTM computations, designing a customized architecture specifically tailored to its computation pattern is crucial for efficiency. Since LSTMs are used for a variety of tasks, generalizing this efficiency to diverse configurations, i.e., adaptiveness, is another key feature of these accelerators. In this work, we first show the problem of low resource-utilization and adaptiveness for the state-of-the-art LSTM implementations on GPU, FPGA and ASIC architectures. To solve these issues, we propose an intelligent tiled-based dispatching mechanism that efficiently handles the data dependencies and increases the adaptiveness of LSTM computation. To do so, we propose LSTM-Sharp as a hardware accelerator, which pipelines LSTM computation using an effective scheduling scheme to hide most of the dependent serialization. Furthermore, LSTM-Sharp employs dynamic reconfigurable architecture to adapt to the model's characteristics. LSTM-Sharp achieves 1.5x, 2.86x, and 82x speedups on average over the state-of-the-art ASIC, FPGA, and GPU implementations respectively, for different LSTM models and resource budgets. Furthermore, we provide significant energy-reduction with respect to the previous solutions, due to the low power dissipation of LSTM-Sharp (383 GFLOPs/Watt).

Motivation & Objective

  • To address low resource utilization and lack of adaptability in existing GPU, FPGA, and ASIC LSTM accelerators.
  • To design a hardware accelerator that efficiently manages the recurrent data dependencies inherent in LSTM computations.
  • To enable dynamic reconfiguration for adapting to varying LSTM model characteristics and resource budgets.
  • To achieve high performance and energy efficiency across diverse LSTM workloads.

Proposed method

  • Proposes a tiled-based dispatching mechanism to manage data dependencies and improve resource utilization.
  • Employs a pipelined scheduling scheme to hide serialization latency from recurrent computations.
  • Uses dynamic reconfiguration to adapt the accelerator architecture to different LSTM model configurations.
  • Optimizes hardware for low power dissipation, achieving 383 GFLOPs/W energy efficiency.
  • Architects the accelerator to support multiple LSTM model sizes and layer configurations through reconfigurability.
  • Integrates efficient memory access patterns and computation scheduling to maximize throughput.

Experimental results

Research questions

  • RQ1How can data dependencies in LSTM computation be effectively managed to improve resource utilization?
  • RQ2What architectural design enables high adaptability across diverse LSTM model configurations?
  • RQ3How can pipelining and scheduling reduce the impact of recurrent serialization in LSTM inference?
  • RQ4What level of performance and energy efficiency can be achieved with a reconfigurable hardware accelerator for LSTM?
  • RQ5How does the proposed accelerator compare in performance and energy efficiency to state-of-the-art GPU, FPGA, and ASIC implementations?

Key findings

  • LSTM-Sharp achieves an average 1.5x speedup over state-of-the-art ASIC implementations across diverse LSTM models.
  • It delivers an average 2.86x speedup over FPGA-based accelerators under the same resource constraints.
  • The accelerator achieves up to 82x speedup compared to GPU implementations, demonstrating superior performance for LSTM inference.
  • LSTM-Sharp achieves 383 GFLOPs/W energy efficiency, significantly reducing power dissipation compared to prior solutions.
  • The dynamic reconfigurable architecture enables effective adaptation to varying model sizes and layer configurations.
  • The intelligent tiled dispatching mechanism effectively hides serialization latency and improves hardware utilization.

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.