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

边缘上的Wav2Vec2 .0:性能评估

Wav2Vec2.0 on the Edge: Performance Evaluation

Meta Inc(元公司)

Santosh Gondi

摘要:

Wav2Vec2.0是一个最先进的模型,它通过未标记的语音数据来学习语音表示,也就是自监督学习。然后,预训练模型在少量标记数据上进行微调,以将其用于语音到文本和机器翻译任务。Wav2Vec 2.0是低资源语言的变革性解决方案,因为它主要使用未标记的音频数据开发。获取大量的标记数据是资源密集型的,对于Swahilli,Tatar等低资源语言来说尤其具有挑战性。此外,Wav2Vec2.0单词错误率(WER)匹配或超过了最近的监督学习算法,同时使用100倍的标记数据。鉴于其在支持世界上7000种语言的语音任务方面的重要性和巨大潜力,关键是评估该模型在低资源和低功耗边缘设备上的准确性,延迟和效率,并研究在此类设备中使用它进行私人,安全和可靠的语音任务的可行性。设备上的语音任务排除了向服务器发送音频数据,因此固有地提供隐私、减少的延迟和增强的可靠性。本文在Raspberry Pi上评估了Wav2Vec2.0模型的准确性和延迟,以及KenLM语言模型用于语音识别任务。讨论了如何调整某些参数以实现所需的WER速率和延迟水平,同时满足产品的CPU、内存和能源预算。

英文摘要:

Wav2Vec2.0 is a state-of-the-art model which learns speech representations through unlabeled speech data, aka, self supervised learning. The pretrained model is then fine tuned on small amounts of labeled data to use it for speech-to-text and machine translation tasks. Wav2Vec 2.0 is a transformative solution for low resource languages as it is mainly developed using unlabeled audio data. Getting large amounts of labeled data is resource intensive and especially challenging to do for low resource languages such as Swahilli, Tatar, etc. Furthermore, Wav2Vec2.0 word-error-rate(WER) matches or surpasses the very recent supervised learning algorithms while using 100x less labeled data. Given its importance and enormous potential in enabling speech based tasks on world's 7000 languages, it is key to evaluate the accuracy, latency and efficiency of this model on low resource and low power edge devices and investigate the feasibility of using it in such devices for private, secure and reliable speech based tasks. On-device speech tasks preclude sending audio data to the server hence inherently providing privacy, reduced latency and enhanced reliability. In this paper, Wav2Vec2.0 model's accuracy and latency has been evaluated on Raspberry Pi along with the KenLM language model for speech recognition tasks. How to tune certain parameters to achieve desired level of WER rate and latency while meeting the CPU, memory and energy budgets of the product has been discussed.

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

↑