arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.18188eess.AScs.LG
收藏

基于学习缓存的微型设备语音理解

Speech Understanding on Tiny Devices with A Learning Cache

University of Virginia(弗吉尼亚大学)

Afsara Benazir, Zhiming Xu, Felix Xiaozhu Lin

AI总结:

本文提出SpeechCache语音缓存,通过两级声学表征匹配和云端辅助个性化微调,在STM32上以2MB内存实现微型设备端SLU复用,显著减少云端卸载与延迟。

摘要:

本文研究微控制器类嵌入式设备上的口语理解(SLU)问题,以一种新颖方式将设备端执行与云端卸载相结合。我们利用设备语音输入中的时间局部性,并相应复用近期的SLU推理结果。其思想很简单:让设备将传入输入与缓存结果进行匹配,仅将未匹配到任何缓存结果的输入卸载到云端进行完整推理。然而,实现这一思想并非易事:设备需要以鲁棒且低成本的方式比较声学特征。为此,我们提出了面向微型设备的语音缓存SpeechCache(或称SC)。它在两个表征层级上匹配语音输入:首先通过聚类后的原始声音单元序列,然后通过音素序列。两种表征协同工作,在成本与效率之间形成互补权衡。为进一步提升准确率,我们的缓存会学习个性化:对于未匹配并随后卸载的输入,它在云端协助下持续微调设备的特征提取器。我们在现成的STM32微控制器上实现了SC。完整实现仅占用2MB的较小内存。在具有挑战性的语音基准测试上,我们的系统在设备端解决了45%–90%的输入;与卸载到流行云端语音识别服务相比,平均延迟最高降低80%。即使在噪声环境、冷缓存或一台设备由多名用户共享等对抗性场景下,所提出的SC带来的收益仍然显著。

英文摘要:

This paper addresses spoken language understanding (SLU) on microcontroller-like embedded devices, integrating on-device execution with cloud offloading in a novel fashion. We leverage temporal locality in the speech inputs to a device and reuse recent SLU inferences accordingly. Our idea is simple: let the device match incoming inputs against cached results, and only offload inputs not matched to any cached ones to the cloud for full inference. Realization of this idea, however, is non-trivial: the device needs to compare acoustic features in a robust yet low-cost way. To this end, we present SpeechCache (or SC), a speech cache for tiny devices. It matches speech inputs at two levels of representations: first by sequences of clustered raw sound units, then as sequences of phonemes. Working in tandem, the two representations offer complementary tradeoffs between cost and efficiency. To boost accuracy even further, our cache learns to personalize: with the mismatched and then offloaded inputs, it continuously finetunes the device's feature extractors with the assistance of the cloud. We implement SC on an off-the-shelf STM32 microcontroller. The complete implementation has a small memory footprint of 2MB. Evaluated on challenging speech benchmarks, our system resolves 45%-90% of inputs on device, reducing the average latency by up to 80% compared to offloading to popular cloud speech recognition services. The benefit brought by our proposed SC is notable even in adversarial settings - noisy environments, cold cache, or one device shared by a number of users.

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

↑