arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.07778cs.LG
收藏

面向换能器语音识别的加速器感知训练

Accelerator-Aware Training for Transducer-Based Speech Recognition

Amazon(亚马逊)

Suhaila M. Shakiah, Rupak Vignesh Swaminathan, Hieu Duy Nguyen, Raviteja Chinta, Tariq Afzal, Nathan Susanj, Athanasios Mouchtaris, Grant P. Strimel, Ariya Rastrow

AI总结:

提出一种加速器感知训练方法,在训练阶段模拟NNA低精度算子,应用于RNN-T语音识别,在270K小时英语数据上实现5-7%延迟改进并节省最多10%的WER相对退化。

摘要:

机器学习模型的权重和激活值在训练期间以全精度表示。当部署在利用高度并行定点运算来改善运行时内存和延迟的神经网络加速器(NNA)芯片上时,这会导致运行时性能下降。在这项工作中,我们在训练阶段复制NNA算子,在反向传播中考虑NNA上低精度推理导致的性能下降。我们提出的方法高效地模拟NNA操作,从而无需将易产生量化误差的数据传输到中央处理器(CPU),最终降低了用户感知延迟(UPL)。我们将此方法应用于循环神经网络换能器(RNN-T),这是一种适用于设备端流式语音识别任务的优秀架构。我们在270K小时的英语数据上训练和评估模型,结果显示引擎延迟提高了5-7%,同时WER相对下降最多节省10%。

英文摘要:

Machine learning model weights and activations are represented in full-precision during training. This leads to performance degradation in runtime when deployed on neural network accelerator (NNA) chips, which leverage highly parallelized fixed-point arithmetic to improve runtime memory and latency. In this work, we replicate the NNA operators during the training phase, accounting for the degradation due to low-precision inference on the NNA in back-propagation. Our proposed method efficiently emulates NNA operations, thus foregoing the need to transfer quantization error-prone data to the Central Processing Unit (CPU), ultimately reducing the user perceived latency (UPL). We apply our approach to Recurrent Neural Network-Transducer (RNN-T), an attractive architecture for on-device streaming speech recognition tasks. We train and evaluate models on 270K hours of English data and show a 5-7% improvement in engine latency while saving up to 10% relative degradation in WER.

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

↑