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%.
Efficient Speech Representation Learning with Low-Bit Quantization
Meta AI
随着机器学习硬件的发展,更新的模型通常以增加的尺寸和计算复杂性为代价。在努力提高这些模型的效率,我们应用和研究最近的量化技术的语音表示学习模型。在SUPERB基准上对量化技术进行了评估。在ASR任务中,通过积极量化到1位,我们实现了86.32%的存储减少(184.42 -> 25.23),88%的估计运行时间减少(1.00 -> 0.12),同时增加了字错误率(7.06 -> 15.96)。与同样致力于模型压缩的DistillHuBERT相比,2位配置产生了更小的存储(35.84 vs. 46.98),更好的字错误率(12.68 vs. 13.37)和更有效的估计运行时间(0.15 vs. 0.73)。
AnTKV: Anchor Token-Aware Sub-Bit Vector Quantization for KV Cache in Large Language Models
DSA Thrust, The Hong Kong University of Science and Technology (Guangzhou)(DSA团队,香港科学与技术大学(广州));School of Mathematics and Computational Science, Xiangtan University(数学与计算科学学院,湘潭大学);Microsoft(微软)