Speech Understanding on Tiny Devices with A Learning Cache
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 35 of its 69 references that are in the map. First posted on arXiv 30 Nov 2023.
Builds on
35 of 69 references.
References · 35
- 2021HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Unitscited by 2,342
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,863
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
- 2018Snips Voice Platform: an embedded Spoken Language Understanding system for private-by-design voice interfacescited by 377
- 2020SLURP: A Spoken Language Understanding Resource Packagecited by 198
- 2019BERT for Joint Intent Classification and Slot Fillingcited by 196
- 2019Speech Model Pre-training for End-to-End Spoken Language Understandingcited by 193
- 2018Speaker Recognition from Raw Waveform with SincNetcited by 166
- 2021Unsupervised Speech Recognitioncited by 148
- 2017Hello Edge: Keyword Spotting on Microcontrollerscited by 110
- 2019A Stack-Propagation Framework with Token-Level Intent Detection for Spoken Language Understandingcited by 107
- 2022Branchformer: Parallel MLP-Attention Architectures to Capture Local and Global Context for Speech Recognition and Understandingcited by 91
23 more
- 2016Very Deep Convolutional Neural Networks for Raw Waveformscited by 68
- 2018From Audio to Semantics: Approaches to end-to-end spoken language understandingcited by 63
- 2021A Survey on Spoken Language Understanding: Recent Advances and New Frontierscited by 53
- 2021Deep Spoken Keyword Spotting: An Overviewcited by 43
- 2017Convolutional Recurrent Neural Networks for Small-Footprint Keyword Spottingcited by 32
- 2016Personalized Speech recognition on mobile devicescited by 23
- 2021A multispeaker dataset of raw and reconstructed speech production real-time MRI video and 3D volumetric imagescited by 21
- 2023Can ChatGPT Detect Intent? Evaluating Large Language Models for Spoken Language Understandingcited by 21
- 2019Small-Footprint Keyword Spotting on Raw Audio Data with Sinc-Convolutionscited by 20
- 2016Joint Online Spoken Language Understanding and Language Modeling with Recurrent Neural Networkscited by 19
- 2019Query-by-example on-device keyword spottingcited by 19
- 2020Improving End-to-End Speech-to-Intent Classification with Reptilecited by 17
- 2018DONUT: CTC-based Query-by-Example Keyword Spottingcited by 15
- 2020Pretrained Semantic Speech Embeddings for End-to-End Spoken Language Understanding via Cross-Modal Teacher-Student Learningcited by 14
- 2019End-to-end architectures for ASR-free spoken language understandingcited by 11
- 2016Encoder-decoder with Focus-mechanism for Sequence Labelling Based Spoken Language Understandingcited by 9
- 2021A Streaming End-to-End Framework For Spoken Language Understandingcited by 8
- 2021FANS: Fusing ASR and NLU for on-device SLUcited by 8
- 2023Personalized Predictive ASR for Latency Reduction in Voice Assistantscited by 6
- 2018Efficient keyword spotting using time delay neural networkscited by 5
- 2020A low latency ASR-free end to end spoken language understanding systemcited by 4
- 2023Leveraging Pretrained ASR Encoders for Effective and Efficient End-to-End Speech Intent Classification and Slot Fillingcited by 3
- 2021Convolutional Gated MLP: Combining Convolutions & gMLPcited by 2
Built on by
Citing papers per year: 2025: 3.
3 papers.