Skip to main content
QUICK REVIEW

[Paper Review] ESE: Efficient Speech Recognition Engine with Sparse LSTM on FPGA

Song Han, Junlong Kang|arXiv (Cornell University)|Dec 1, 2016
Speech Recognition and SynthesisComputer Science18 references61 citations
TL;DR

This paper presents ESE, an FPGA-based speech recognition accelerator that achieves 282 GOPS on a compressed sparse LSTM model, using load-balance-aware pruning and quantization to reduce model size by 20× with minimal accuracy loss. The system enables 43× higher inference speed and 40× better energy efficiency than a CPU, with optimized scheduling and hardware-aware sparse computation for real-time, energy-efficient speech recognition on FPGAs.

ABSTRACT

Long Short-Term Memory (LSTM) is widely used in speech recognition. In order to achieve higher prediction accuracy, machine learning scientists have built larger and larger models. Such large model is both computation intensive and memory intensive. Deploying such bulky model results in high power consumption and leads to high total cost of ownership (TCO) of a data center. In order to speedup the prediction and make it energy efficient, we first propose a load-balance-aware pruning method that can compress the LSTM model size by 20x (10x from pruning and 2x from quantization) with negligible loss of the prediction accuracy. The pruned model is friendly for parallel processing. Next, we propose scheduler that encodes and partitions the compressed model to each PE for parallelism, and schedule the complicated LSTM data flow. Finally, we design the hardware architecture, named Efficient Speech Recognition Engine (ESE) that works directly on the compressed model. Implemented on Xilinx XCKU060 FPGA running at 200MHz, ESE has a performance of 282 GOPS working directly on the compressed LSTM network, corresponding to 2.52 TOPS on the uncompressed one, and processes a full LSTM for speech recognition with a power dissipation of 41 Watts. Evaluated on the LSTM for speech recognition benchmark, ESE is 43x and 3x faster than Core i7 5930k CPU and Pascal Titan X GPU implementations. It achieves 40x and 11.5x higher energy efficiency compared with the CPU and GPU respectively.

Motivation & Objective

  • Address the high computational and memory demands of large-scale LSTM models in speech recognition systems.
  • Reduce model size and memory bandwidth requirements without sacrificing prediction accuracy.
  • Design a hardware-software co-optimized accelerator for efficient inference on compressed, sparse LSTM models on FPGA.
  • Achieve high hardware utilization and energy efficiency in real-time speech recognition workloads.
  • Enable concurrent processing of multiple speech streams with low latency and high throughput.

Proposed method

  • Propose a load-balance-aware pruning method to compress LSTM models by 10× while maintaining accuracy, followed by 2× weight quantization.
  • Develop an automatic dynamic-precision quantization flow to reduce model size and memory footprint.
  • Design a scheduler that maps complex LSTM dataflow onto multiple processing elements (PEs), overlapping computation and memory access.
  • Implement a hardware architecture (ESE) that natively processes sparse LSTM weights and activations, exploiting irregular sparsity patterns.
  • Use a relative-indexed compressed sparse column (CSC) format for efficient storage and access of sparse weight matrices.
  • Partition computation and storage across PEs to balance workloads and maximize parallelism on the FPGA.

Experimental results

Research questions

  • RQ1How can LSTM models be effectively compressed for deployment on resource-constrained hardware while preserving prediction accuracy?
  • RQ2What scheduling strategy enables efficient execution of recurrent neural network workloads with complex data dependencies on FPGAs?
  • RQ3How can hardware architectures be designed to efficiently exploit sparsity in recurrent networks like LSTM?
  • RQ4What is the achievable performance and energy efficiency of an FPGA-based accelerator for sparse LSTM inference compared to CPU and GPU?
  • RQ5Can hardware-software co-design significantly improve inference speed and energy efficiency in real-time speech recognition?

Key findings

  • ESE achieves 282 GOPS on a sparse LSTM model using a Xilinx XCKU060 FPGA at 200 MHz, equivalent to 2.52 TOPS on the original dense model.
  • The model compression technique reduces size by 20× (10× from pruning, 2× from quantization) with negligible accuracy loss.
  • ESE is 43× faster and 40× more energy efficient than a Core i7-5930K CPU, and 3× faster and 11.5× more energy efficient than a Pascal Titan X GPU.
  • Load-balance-aware pruning improves hardware utilization and enables higher throughput by reducing idle cycles in the processing elements.
  • The scheduler successfully overlaps computation and memory access, minimizing latency in the recurrent dataflow of LSTM networks.
  • ESE supports concurrent processing of multiple speech streams, demonstrating scalability and real-time performance on FPGA.

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.