arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.09188cs.SDcs.LGeess.AS
收藏

用于设备上语音识别的亚8位quantization:一种无正则化方法

Sub-8-bit quantization for on-device speech recognition: a regularization-free approach

Amazon Alexa AI(亚马逊Alexa人工智能部门)

Kai Zhen, Martin Radfar, Hieu Duy Nguyen, Grant P. Strimel, Nathan Susanj, Athanasios Mouchtaris

摘要:

对于设备上自动语音识别(ASR),量化感知训练(QAT)是普遍存在的,以实现模型预测性能和效率之间的权衡。在现有的QAT方法中,一个主要的缺点是量化质心必须是预定的和固定的。为了克服这一限制,我们引入了一个正则化的自由,“软到硬”的压缩机制与自我可调的质心在μ律约束的空间,从而在一个更简单,但更通用的量化方案,称为通用量化器(GQ)。我们在LibriSpeech和去识别远场数据集上使用递归神经网络转换器(RNN-T)和Conformer架构将GQ应用于ASR任务。在不降低精度的情况下,GQ可以将RNN-T和Conformer压缩到8位以下,对于某些RNN-T层,可以压缩到1位,以实现快速准确的推理。通过物理设备基准测试,我们观察到与8位QAT相比,内存占用节省了30.73%,用户感知的延迟减少了31.75%。

英文摘要:

For on-device automatic speech recognition (ASR), quantization aware training (QAT) is ubiquitous to achieve the trade-off between model predictive performance and efficiency. Among existing QAT methods, one major drawback is that the quantization centroids have to be predetermined and fixed. To overcome this limitation, we introduce a regularization-free, "soft-to-hard" compression mechanism with self-adjustable centroids in a mu-Law constrained space, resulting in a simpler yet more versatile quantization scheme, called General Quantizer (GQ). We apply GQ to ASR tasks using Recurrent Neural Network Transducer (RNN-T) and Conformer architectures on both LibriSpeech and de-identified far-field datasets. Without accuracy degradation, GQ can compress both RNN-T and Conformer into sub-8-bit, and for some RNN-T layers, to 1-bit for fast and accurate inference. We observe a 30.73% memory footprint saving and 31.75% user-perceived latency reduction compared to 8-bit QAT via physical device benchmarking.

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

↑