paper-with-me

홈 › Papers

Speech Understanding on Tiny Devices with A Learning Cache

2023-11-30 · Afsara Benazir, Zhiming Xu, Felix Xiaozhu Lin

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.

📄 PDF Abstract BibTeX arXiv:2311.18188

Code (1)

afsara-ben/speechcache 공식 구현 pytorch

Tasks

speech-recognitionSpeech RecognitionSpoken Language Understanding

Similar Papers 제목 키워드 기반

CacheNet: A Model Caching Framework for Deep Learning Inference on the Edge

2020-07-03 · Yihao Fang, Shervin Manzuri Shalmani, Rong Zheng

The success of deep neural networks (DNN) in machine perception applications such as image classification and speech recognition comes at the cost of high computation and storage complexity. Inference of uncompressed lar…

image-classificationImage Classificationspeech-recognitionSpeech Recognition

TinySpeech: Attention Condensers for Deep Speech Recognition Neural Networks on Edge Devices

2020-08-10 · Alexander Wong, Mahmoud Famouri, Maya Pavlova, Siddharth Surana

Advances in deep learning have led to state-of-the-art performance across a multitude of speech recognition tasks. Nevertheless, the widespread deployment of deep neural networks for on-device speech recognition remains …

speech-recognitionSpeech Recognition

TinyServe: Query-Aware Cache Selection for Efficient LLM Serving

2025-08-28 · Dong Liu, Yanxuan Yu arxiv

Serving large language models (LLMs) efficiently remains challenging due to the high memory and latency overhead of key-value (KV) cache access during autoregressive decoding. We present \textbf{TinyServe}, a lightweight…

Privacy-Preserving Edge Speech Understanding with Tiny Foundation Models

2025-01-29 · Afsara Benazir, Felix Xiaozhu Lin

Robust speech recognition systems rely on cloud service providers for inference. It needs to ensure that an untrustworthy provider cannot deduce the sensitive content in speech. Sanitization can be done on speech content…

Privacy PreservingRobust Speech Recognitionspeech-recognitionSpeech Recognition

How to Manage Tiny Machine Learning at Scale: An Industrial Perspective

2022-02-18 · Haoyu Ren, Darko Anicic, Thomas Runkler

Tiny machine learning (TinyML) has gained widespread popularity where machine learning (ML) is democratized on ubiquitous microcontrollers, processing sensor data everywhere in real-time. To manage TinyML in the industry…

BenchmarkingBIG-bench Machine LearningManagement