arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.12074cs.CLcs.LGcs.SDeess.AS
收藏

4-基于LSTM的语音识别模型的位Quantization

4-bit Quantization of LSTM-based Speech Recognition Models

IBM Research(IBM研究院)
Andrea Fasoli, Chia-Yu Chen, Mauricio Serrano, Xiao Sun, Naigang Wang, Swagath Venkataramani, George Saon, Xiaodong Cui, Brian Kingsbury, Wei Zhang, Zoltán Tüsk… 展开作者

Andrea Fasoli, Chia-Yu Chen, Mauricio Serrano, Xiao Sun, Naigang Wang, Swagath Venkataramani, George Saon, Xiaodong Cui, Brian Kingsbury, Wei Zhang, Zoltán Tüske, Kailash Gopalakrishnan

摘要:

我们研究了两类基于LSTM的大型自动语音识别架构(ASR)中权重和激活的积极低精度表示的影响:混合深度双向LSTM -隐马尔可夫模型(DBLSTM-Hacking)和递归神经网络-传感器(RNN-Ts)。使用4位整数表示,应用于这些模型的LSTM部分的简单量化方法会导致显着的字出错率(WER)下降。另一方面,我们表明,最小的精度损失是可以实现的量化器和初始化的适当选择。特别是,我们根据网络的局部属性定制量化方案,在限制计算时间的同时提高识别性能。我们证明了我们的解决方案的交换机(SWB)和呼叫中心(CH)测试集的NIST集线器5 -2000的评估。用300或2000小时的SWB数据训练的DBLSTM-Hashion分别实现了$<$ 0.5%和$<$ 1%的平均WER降级。在更具挑战性的RNN-T模型上,我们的量化策略将4位推理的退化限制在1.3%。

英文摘要:

We investigate the impact of aggressive low-precision representations of weights and activations in two families of large LSTM-based architectures for Automatic Speech Recognition (ASR): hybrid Deep Bidirectional LSTM - Hidden Markov Models (DBLSTM-HMMs) and Recurrent Neural Network - Transducers (RNN-Ts). Using a 4-bit integer representation, a naïve quantization approach applied to the LSTM portion of these models results in significant Word Error Rate (WER) degradation. On the other hand, we show that minimal accuracy loss is achievable with an appropriate choice of quantizers and initializations. In particular, we customize quantization schemes depending on the local properties of the network, improving recognition performance while limiting computational time. We demonstrate our solution on the Switchboard (SWB) and CallHome (CH) test sets of the NIST Hub5-2000 evaluation. DBLSTM-HMMs trained with 300 or 2000 hours of SWB data achieves $<$0.5% and $<$1% average WER degradation, respectively. On the more challenging RNN-T models, our quantization strategy limits degradation in 4-bit inference to 1.3%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑