Skip to main content
QUICK REVIEW

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

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

This paper proposes ESE, an efficient speech recognition engine that compresses LSTM models via load-balance-aware pruning and quantization, achieving 20x size reduction with minimal accuracy loss. It implements a hardware-aware scheduler and custom FPGA architecture on XCKU060, delivering 282 GOPS at 41W—43x faster and 40x more energy efficient than a CPU, with 3x speedup over a GPU.

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.
  • Reduce model size and energy consumption for deployment in data centers with high total cost of ownership (TCO).
  • Enable high-throughput, low-power inference by compressing LSTM models while preserving prediction accuracy.
  • Design a specialized hardware architecture that efficiently processes the compressed model on FPGA.
  • Achieve superior performance and energy efficiency compared to CPU and GPU implementations.

Proposed method

  • Propose a load-balance-aware pruning method to reduce LSTM model size by 10x, preserving model accuracy.
  • Apply quantization to further compress the model by 2x, achieving a total 20x reduction in model size.
  • Design a scheduler that partitions the compressed model across processing elements (PEs) for parallel execution.
  • Develop a dataflow-aware scheduling algorithm to manage the complex sequential dependencies in LSTM computation.
  • Implement a custom hardware architecture, ESE, on Xilinx XCKU060 FPGA, optimized for the compressed LSTM model.
  • Integrate the scheduler and hardware pipeline to enable efficient, real-time inference on the compressed model.

Experimental results

Research questions

  • RQ1Can load-balance-aware pruning and quantization reduce LSTM model size by 20x with negligible accuracy loss?
  • RQ2How effectively can a custom scheduler exploit parallelism in the compressed LSTM model on FPGA?
  • RQ3What performance and energy efficiency gains can be achieved by deploying a compressed LSTM model on FPGA versus CPU and GPU?
  • RQ4Can the proposed hardware architecture sustain high throughput while maintaining low power consumption?
  • RQ5To what extent does model compression enable efficient inference on resource-constrained hardware platforms?

Key findings

  • The ESE system achieves 282 GOPS of performance on the compressed LSTM model when running at 200MHz on XCKU060 FPGA.
  • The effective throughput of ESE corresponds to 2.52 TOPS on the original uncompressed model.
  • ESE processes a full LSTM for speech recognition with only 41 Watts of power dissipation.
  • Compared to Core i7 5930k CPU, ESE is 43x faster in inference speed.
  • Compared to Pascal Titan X GPU, ESE is 3x faster in processing time.
  • ESE achieves 40x higher energy efficiency than the CPU and 11.5x higher than the GPU.

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.