ESE: Efficient Speech Recognition Engine with Sparse LSTM on FPGA

被引:464
作者
Han, Song [1 ,2 ]
Kang, Junlong [2 ]
Mao, Huizi [1 ,2 ]
Hu, Yiming [2 ,3 ]
Li, Xin [2 ]
Li, Yubin [2 ]
Xie, Dongliang [2 ]
Luo, Hong [2 ]
Yao, Song [2 ]
Wang, Yu [2 ,3 ]
Yang, Huazhong [3 ]
Dally, William J. [1 ,4 ]
机构
[1] Stanford Univ, Stanford, CA 94305 USA
[2] DeePhi Tech, Beijing, Peoples R China
[3] Tsinghua Univ, Beijing, Peoples R China
[4] NVIDIA, Santa Clara, CA USA
来源
FPGA'17: PROCEEDINGS OF THE 2017 ACM/SIGDA INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE GATE ARRAYS | 2017年
基金
中国国家自然科学基金;
关键词
Deep Learning; Speech Recognition; Model Compression; Hardware Acceleration; Software-Hardware Co-Design; FPGA;
D O I
10.1145/3020078.3021745
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Long Short-Term Memory (LSTM) is widely used in speech recognition. In order to achieve higher prediction accuracy, machine learning scientists have built increasingly larger models. Such large model is both computation intensive and memory intensive. Deploying such bulky model results in high power consumption and leads to a high total cost of ownership (TCO) of a data center. 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 a scheduler that encodes and partitions the compressed model to multiple PEs 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 sparse LSTM model. Implemented on Xilinx XCKU060 FPGA running at 200MHz, ESE has a performance of 282 GOPS working directly on the sparse LSTM network, corresponding to 2.52 TOPS on the dense 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.
引用
收藏
页码:75 / 84
页数:10
相关论文
共 21 条
[1]  
[Anonymous], 2016, ARXIV160201528
[2]  
[Anonymous], 2014, ASPLOS
[3]  
[Anonymous], ARXIV16100552
[4]  
[Anonymous], 2014, MICRO
[5]  
[Anonymous], P ADV NEUR INF PROC
[6]  
[Anonymous], 2016, ICLR
[7]  
[Anonymous], 2016, FPGA
[8]  
[Anonymous], 1997, LONG SHORT TERM MEMO
[9]  
[Anonymous], OVERVIEW MODERN SPEE
[10]  
[Anonymous], ARXIV151202595