arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.10359cs.LGcs.PF
收藏

极端边缘计算设备上基于Conformer的语音识别

Conformer-Based Speech Recognition On Extreme Edge-Computing Devices

Apple(苹果公司)

Mingbin Xu, Alex Jin, Sicheng Wang, Mu Su, Tim Ng, Henry Mason, Shiyi Han, Zhihong Lei, Yaqiao Deng, Zhen Huang, Mahesh Krishnamoorthy

AI总结:

针对资源受限边缘设备部署端侧ASR的难题,提出架构适配、图变换与数值优化方法,实现基于Conformer的流式ASR在可穿戴设备上的高效低耗运行且精度达SOTA,还提出最优预归一化器理论。

摘要:

随着如今设备的计算能力与资源日益强大,传统上计算密集型的自动语音识别(ASR)正从云端向端侧迁移,以更好地保护用户隐私。然而,在资源受限的设备(如智能手机、智能可穿戴设备及其他智能家居自动化设备)上部署端侧ASR仍具挑战性。本文提出一系列模型架构适配、神经网络图变换与数值优化方法,使先进的基于Conformer的端到端流式ASR系统可适配资源受限设备,且无精度损失。我们在智能可穿戴设备上实现了较实时快5.26倍以上(RTF为0.19)的语音识别,同时将能耗降至最低,并达到了SOTA精度。所提方法可广泛应用于其他基于transformer的无服务器AI应用。此外,我们提出了关于最优预归一化器的完整理论,可在任意Lp范数下使用任意浮点精度实现层归一化的数值稳定。

英文摘要:

With increasingly more powerful compute capabilities and resources in today's devices, traditionally compute-intensive automatic speech recognition (ASR) has been moving from the cloud to devices to better protect user privacy. However, it is still challenging to implement on-device ASR on resource-constrained devices, such as smartphones, smart wearables, and other smart home automation devices. In this paper, we propose a series of model architecture adaptions, neural network graph transformations, and numerical optimizations to fit an advanced Conformer based end-to-end streaming ASR system on resource-constrained devices without accuracy degradation. We achieve over 5.26 times faster than realtime (0.19 RTF) speech recognition on smart wearables while minimizing energy consumption and achieving state-of-the-art accuracy. The proposed methods are widely applicable to other transformer-based server-free AI applications. In addition, we provide a complete theory on optimal pre-normalizers that numerically stabilize layer normalization in any Lp-norm using any floating point precision.

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

↑