4-一种用于语音识别的量化训练比特一致器
4-bit Conformer with Native Quantization Aware Training for Speech Recognition
摘要:
降低延迟和模型大小一直是现场自动语音识别(ASR)应用场景的重要研究问题。沿着这个方向,模型量化已经成为压缩神经网络和降低计算成本的一种越来越流行的方法。大多数现有的实际ASR系统应用训练后的8位量化。为了在不引入额外性能回归的情况下实现更高的压缩率,在这项研究中,我们建议开发具有本地量化感知训练的4位ASR模型,该模型利用本地整数运算来有效地优化训练和推理。我们进行了两个实验的国家的最先进的一致性为基础的ASR模型,以评估我们提出的量化技术。首先,我们探索了权重和激活量化的不同精度对LibriSpeech数据集的影响,并获得了一个无损的4位Conformer模型,与float32模型相比,其大小减少了5.8倍。在此之后,我们首次研究并揭示了4位量化在使用大规模数据集训练的实际ASR系统上的可行性,并产生了具有混合4位和8位权重的无损Conformer ASR模型,与float32模型相比,其大小减少了5倍。
英文摘要:
Reducing the latency and model size has always been a significant research problem for live Automatic Speech Recognition (ASR) application scenarios. Along this direction, model quantization has become an increasingly popular approach to compress neural networks and reduce computation cost. Most of the existing practical ASR systems apply post-training 8-bit quantization. To achieve a higher compression rate without introducing additional performance regression, in this study, we propose to develop 4-bit ASR models with native quantization aware training, which leverages native integer operations to effectively optimize both training and inference. We conducted two experiments on state-of-the-art Conformer-based ASR models to evaluate our proposed quantization technique. First, we explored the impact of different precisions for both weight and activation quantization on the LibriSpeech dataset, and obtained a lossless 4-bit Conformer model with 5.8x size reduction compared to the float32 model. Following this, we for the first time investigated and revealed the viability of 4-bit quantization on a practical ASR system that is trained with large-scale datasets, and produced a lossless Conformer ASR model with mixed 4-bit and 8-bit weights that has 5x size reduction compared to the float32 model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。