WhisperFlow: speech foundation models in real time
On the map: Speech and audio language models → Multilingual and low-resource ASR
Abstract (arXiv)
Speech foundation models, such as OpenAI's Whisper, become the state of the art in speech understanding due to their strong accuracy and generalizability. Yet, their applications are mostly limited to processing pre-recorded speech, whereas processing of streaming speech, in particular doing it efficiently, remains rudimentary. Behind this inefficiency are multiple fundamental reasons: (1) speech foundation models are trained to process long, fixed-length voice inputs (often 30 seconds); (2) encoding each voice input requires encoding as many as 1,500 tokens with tens of transformer layers; (3) decoding each output entails an irregular, complex beam search. As such, streaming speech processing on resource-constrained client devices is more expensive than other AI tasks, e.g., text generation. To this end, we present a novel framework, WhisperFlow, which embodies both model and system optimizations. (1) Hush word as a short, learnable audio segment; appended to a voice input, a hush word gracefully stops the speech model from processing more input without hallucination; (2) Beam pruning, which aligns streaming audio buffers over time and reuses results from earlier decoding rounds, therefore significantly accelerating decoding; and (3) CPU/GPU pipelining, which not only maps to the encoding/decoding stages dynamically, but also tunes to an optimal resource ratio, respecting the encoding/decoding speed that varies across voice inputs, models, and hardware. We test WhisperFlow on commodity ARM platforms with 4-12 CPU cores and 10-30 GPU cores. It reduces per-word latency by 1.6x-4.7x to as low as 0.5 second, while seeing negligible accuracy degradation. On an entry-level MacBook Air, WhisperFlow can keep the per-word latency around 1 second, with the whole device drawing only 7 Watts in total.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Multilingual and low-resource ASR, one of 11 directions in Speech and audio language models. Builds on 38 of its 68 references that are in the map. Submitted 15 Dec 2024.
Builds on
38 of 68 references.
Closest ancestors · 2
Same direction, newest first
- 2023Turning Whisper into Real-Time Transcription System27 Jul
- 2022FLEURS: Few-shot Learning Evaluation of Universal Representations of Speech25 May
Other references · 36
- 2017Attention Is All You Needcited by 62,125
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 41,272
- 2020Language Models are Few-Shot Learnerscited by 33,113
- 2022Training language models to follow instructions with human feedbackcited by 16,493
- 2020Scaling Laws for Neural Language Modelscited by 7,118
- 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 4,833
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,705
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 2,321
- 2018ESPnet: End-to-End Speech Processing Toolkitcited by 756
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 683
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 609
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 361
24 more
- 2020Transformer Transducer: A Streamable Speech Recognition Model with Transformer Encoders and RNN-T Losscited by 287
- 2018TED-LIUM 3: twice as much data and corpus repartition for experiments on speaker adaptationcited by 271
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 233
- 2023Speculative Decoding with Big Little Decodercited by 173
- 2018Exploring Architectures, Data and Units For Streaming End-to-End Speech Recognition with RNN-Transducercited by 122
- 2024LoongServe: Efficiently Serving Long-Context Large Language Models with Elastic Sequence Parallelismcited by 118
- 2019Large-Scale Multilingual Speech Recognition with a Streaming End-to-End Modelcited by 105
- 2018Adversarial Attacks Against Automatic Speech Recognition Systems via Psychoacoustic Hidingcited by 101
- 2024OWSM v3.1: Better and Faster Open Whisper-Style Speech Models based on E-Branchformercited by 96
- 2020Streaming automatic speech recognition with the transformer modelcited by 95
- 2023Inference with Reference: Lossless Acceleration of Large Language Modelscited by 74
- 2017Advances in Joint CTC-Attention based End-to-End Speech Recognition with a Deep CNN Encoder and RNN-LMcited by 60
- 2020Low-Latency Sequence-to-Sequence Speech Recognition and Translation by Partial Hypothesis Selectioncited by 58
- 2021Instantaneous Grammatical Error Correction with Shallow Aggressive Decodingcited by 58
- 2023Reproducing Whisper-Style Training Using an Open-Source Toolkit and Publicly Available Datacited by 58
- 2018Did you hear that? Adversarial Examples Against Automatic Speech Recognitioncited by 51
- 2024OWSM-CTC: An Open Encoder-Only Speech Foundation Model for Speech Recognition, Translation, and Language Identificationcited by 41
- 2021Black-box Adversarial Attacks on Commercial Speech Platforms with Minimal Informationcited by 32
- 2021Dissecting User-Perceived Latency of On-Device E2E Speech Recognitioncited by 26
- 2024Muting Whisper: A Universal Acoustic Adversarial Attack on Speech Foundation Modelscited by 15
- 2022There is more than one kind of robustness: Fooling Whisper with adversarial examplescited by 14
- 2024Simul-Whisper: Attention-Guided Streaming Whisper with Truncation Detectioncited by 10
- 2024Controlling Whisper: Universal Acoustic Adversarial Attacks to Control Speech Foundation Modelscited by 4
- 2023Turbocharge Speech Understanding with Pilot Inferencecited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025WhisperRT -- Turning Whisper into a Causal Streaming Model
- 2025Adapting Whisper for Streaming Speech Recognition via Two-Pass Decoding
- 2026WhisperPipe: A Resource-Efficient Streaming Architecture for Real-Time Automatic Speech Recognition
- 2025Quantization for OpenAI's Whisper Models: A Comparative Analysis
- 2024Whispy: Adapting STT Whisper Models to Real-Time Environments
- 2026Whisper-Flash: Acoustically Conditioned Parallel Drafting for Faster Whisper Decoding
- 2026Stride-k Subsampling: Train-Free Audio Token Reduction for Whisper
- 2026FlowW2N: Whispered-to-Normal Speech Conversion via Flow-Matching