Mixed Precision Low-Bit Quantization of Neural Network Language Models for Speech Recognition
- 1 January 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE/ACM Transactions on Audio, Speech, and Language Processing
- Vol. 29 (23299290) , 3679-3693
Abstract
State-of-the-art language models (LMs) represented by long-short term memory recurrent neural networks (LSTM-RNNs) and Transformers are becoming increasingly complex and expensive for practical applications. Low-bit neural network quantization provides a powerful solution to dramatically reduce their model size. Current quantization methods are based on uniform precision and fail to account for the varying performance sensitivity at different parts of LMs to quantization errors. To this end, novel mixed precision neural network LM quantization methods are proposed in this paper. The optimal local precision choices for LSTM-RNN and Transformer based neural LMs are automatically learned using three techniques. The first two approaches are based on quantization sensitivity metrics in the form of either the KL-divergence measured between full precision and quantized LMs, or Hessian trace weighted quantization perturbation that can be approximated efficiently using matrix free techniques. The third approach is based on mixed precision neural architecture search. In order to overcome the difficulty in using gradient descent methods to directly estimate discrete quantized weights, alternating direction methods of multipliers (ADMM) are used to efficiently train quantized LMs. Experiments were conducted on state-of-the-art LF-MMI CNN-TDNN systems featuring speed perturbation, i-Vector and learning hidden unit contribution (LHUC) based speaker adaptation on two tasks: Switchboard telephone speech and AMI meeting transcription. The proposed mixed precision quantization techniques achieved “lossless” quantization on both tasks, by producing model size compression ratios of up to approximately 16 times over the full precision LSTM and Transformer baseline LMs, while incurring no statistically significant word error rate increase.Keywords
All Related Versions
Funding Information
- Hong Kong Research Grants Council GRF (14200218)
- Hong Kong Research Grants Council GRF (14200220)
- Hong Kong Research Grants Council GRF (14200021)
- Innovation and Technology Fund (ITS/254/19)
- Shun Hing Institute of Advanced Engineering (MMT-p1-19)
This publication has 64 references indexed in Scilit:
- Small-footprint high-performance deep neural network-based speech recognition using split-VQ2015
- From Feedforward to Recurrent LSTM Neural Networks for Language ModelingIEEE/ACM Transactions on Audio, Speech, and Language Processing, 2015
- Speeding up Convolutional Neural Networks with Low Rank Expansions2014
- Randomized algorithms for estimating the trace of an implicit symmetric positive semi-definite matrixJournal of the ACM, 2011
- Continuous space language modelsComputer Speech & Language, 2007
- The AMI Meeting Transcription System: Progress and Performance2006
- Evolving Neural Networks through Augmenting TopologiesEvolutionary Computation, 2002
- An empirical study of smoothing techniques for language modelingComputer Speech & Language, 1999
- Long Short-Term MemoryNeural Computation, 1997
- Estimation of probabilities from sparse data for the language model component of a speech recognizerIEEE Transactions on Acoustics, Speech, and Signal Processing, 1987