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.
Weight, Block or Unit? Exploring Sparsity Tradeoffs for Speech Enhancement on Tiny Neural Accelerators
Bose Corp.(博士音响公司);University of Oldenburg(奥尔登堡大学)
我们探索网络稀疏化策略,目的是将神经语音增强(SE)压缩到新一代基于低功耗微控制器的神经加速器(microNPU)的最佳配置。我们研究了三种独特的稀疏结构:权重修剪,块修剪和单元修剪,并讨论了它们的优点和缺点时,适用于SE。我们专注于计算吞吐量,内存占用和模型质量之间的相互作用。我们的方法支持上述所有三种结构,并联合学习整数量化权重和稀疏性。此外,我们展示了离线幅度为基础的修剪整数量化模型作为性能基线。虽然有效的语音增强是一个活跃的研究领域,我们的工作是第一个应用块修剪SE和第一个解决SE模型压缩的microNPU的上下文中。使用权重修剪,我们表明我们能够将已经紧凑的模型的内存占用从3.7MB压缩到87kB,同时仅损失0.1 dB SDR的性能。我们还显示了6.7倍的计算加速比,使用块修剪时相应的SDR下降仅为0.59 dB SDR。
Time-Frequency-Based Attention Cache Memory Model for Real-Time Speech Separation
Department of Computer Science and Technology, BNRist, THBI, IDG/McGovern Institute for Brain Research, Tsinghua University, Beijing, China(清华大学计算机科学与技术系,BNRist,THBI,IDG/麦克戈文脑研究 institute,清华大学,北京,中国);Chinese Institute for Brain Research (CIBR), Beijing, China(中国脑科学研究院(CIBR),北京,中国)
Boosting keyword spotting through on-device learnable user speech characteristics
Integrated Systems Laboratory (IIS), ETH Zurich(苏黎世联邦理工学院集成系统实验室);Zurich Research Center, Huawei Technologies(华为技术有限公司苏黎世研究中心);DEI, University of Bologna(博洛尼亚大学电子、计算机与工程系)
Keyword Spotting with Hyper-Matched Filters for Small Footprint Devices
Technion – Israel Institute of Technology, Faculty of Electrical and Computer Engineering(技术学院 – 以色列理工学院,电气与计算机工程学院);Northwestern University, Department of Linguistics(西北大学,语言学系)
Tiny Noise-Robust Voice Activity Detector for Voice Assistants
Huawei Noah’s Ark Lab, Montreal Research Center, Montreal, Canada(华为诺亚方舟实验室,蒙特利尔研究中心,加拿大蒙特利尔);Huawei Noah’s Ark Lab, Toronto Research Center, Toronto, Canada(华为诺亚方舟实验室,多伦多研究中心,加拿大多伦多);McGill University, Montreal, Canada(麦吉尔大学,加拿大蒙特利尔);Polytechnique Montreal, Montreal, Canada(蒙特利尔理工学院,加拿大蒙特利尔)