TL;DR
Running OpenAI’s Whisper model live on your phone usually drains the battery because the system wastes massive effort processing artificial silence and repeating work just to keep the AI from hallucinating. NPUsper ("NPU" + "Whisper", with "NP" doubling as "No Padding") fixes this by catching hallucinations on the fly and tailoring the model's dynamic text generation to fit rigid mobile AI chips. The result is real-time, private transcription that responds up to 33× faster while sipping nearly 89% less power.
What Problem Does This Paper Address?
Having live speech transcription run directly on your smartphone or laptop is great for privacy and latency. Modern devices pack Neural Processing Units (NPUs)—specialized chips built for fast, low-power AI—that seem perfect for running Whisper, the gold-standard speech model. Yet, marrying streaming Whisper with mobile NPUs hits two structural walls.
First, Whisper was trained on fixed 30-second audio clips. Feed it a short snippet of live speech, and it starts hallucinating—generating phantom, repetitive text. To prevent this, existing streaming systems buffer old audio and pad the rest with silence (or trained "hush words") to mimic a 30-second window. Consequently, your chip spends most of its time encoding silence and re-transcribing words you already spoke.
Second, mobile NPUs achieve their efficiency by executing precompiled, static computation graphs with fixed tensor shapes. Whisper’s decoder, however, generates text one token at a time, causing its memory (the key-value, or KV, cache) to grow dynamically. Current NPU workarounds either compute attention over the maximum possible sequence length at every single step (massive wasted math) or dispatch a separate precompiled graph for every single token (crushing runtime overhead).
Methods
NPUsper eliminates redundant work on both the audio input side and the hardware execution side without retraining or altering Whisper’s weights:
- Online Hallucination Detection: Instead of padding audio to 30 seconds, NPUsper feeds Whisper short, unpadded audio chunks (averaging 3.7 seconds) mapped into discrete NPU size buckets. To catch the resulting hallucinations, it watches the cross-attention weights in Whisper's final decoder layer—essentially tracking where the model is "looking" in the audio timeline as it writes each word. Valid content words march steadily forward in time. When Whisper hallucinates, its attention jumps backward. NPUsper computes the difference in attention peaks between consecutive content tokens (ignoring noisy punctuation and subwords); if attention shifts backward, it halts decoding immediately, emits the valid words, and uses standard Dynamic Time Warping (DTW) to carry over any cut-off audio to the next round.
- Controlled Unrolling: To bridge dynamic decoding with static NPUs, NPUsper compiles decoding into $K$-step "chunk graphs." Instead of running one token at a time or allocating a giant 200-token KV cache upfront, each graph generates $K$ tokens in one NPU dispatch, computing attention only over the actual tokens present. After each $K$-token chunk, the system checks for hallucinations and decides whether to emit text and stop, or launch the next chunk graph.
Datasets
Because NPUsper requires no model training, datasets are used strictly for evaluation. The authors test on two standard long-form speech benchmarks: TED-LIUM 3 (specifically evaluating real-time end-to-end performance on two representative talks: EricMead at 7:39 min and GaryFlake at 5:45 min, with the rest in the appendix) and Meanwhile. No new datasets are introduced.
Key Insights and Ideas
- Padding isn't for context; it's a crutch for grounding: An offline experiment revealed a crucial "aha" moment: if you feed Whisper short, unpadded audio and simply delete the hallucinated words at the end, transcription accuracy matches full 30-second padded inputs. Short audio actually contains plenty of acoustic context—hallucinations are purely a failure of temporal grounding.
- Zero-threshold hallucination catching: Because valid speech naturally progresses forward in time, checking whether the new attention peak occurs before the old attention peak ($f^+ < f^-$) acts as a clean, parameter-free signature of hallucination—no finicky threshold tuning required.
- Short live-decoding magnifies static NPU waste: In live transcription, decoding often stops after just 10 to 20 tokens. Computing attention over a fixed 200-token NPU buffer wastes over 94% of self-attention math—making chunked unrolling uniquely impactful here.
Key Results
Evaluated using the Whisper base model on a Samsung Galaxy S25 phone and a Snapdragon X Plus laptop against four streaming baselines (Whisper-Streaming, WhisperFlow, SimulStreaming, and Simul-Whisper):
- Snappier response: Achieves 1.69× to 4.84× lower per-word latency and slashes Time-to-First-Token (TTFT) by up to 22.8× on the S25 and 33.2× on the X Plus.
- Faster iterations: Runs per-round Whisper inference 5.52× to 19.10× faster than baselines by shrinking average audio inputs from 13.8–30 seconds down to 3.7 seconds.
- Massive power savings: Cuts average active power consumption by up to 88.64% (down to 0.46 W on the S25 NPU vs. 2.94–4.05 W for baselines) while maintaining comparable Word Error Rate (WER).
- Real-time stability: Two baselines failed to finish transcribing the test talks in real time due to growing buffer backlogs, whereas NPUspercruised through at 112.9 to 145.0 tokens/s.
Limitations and Future Work
The authors focus strictly on system-level efficiency rather than modifying Whisper's architecture. End-to-end mobile evaluations were conducted using the Whisper base model due to mobile memory and compute budgets (though appendix results show the cross-attention hallucination detector generalizes across model sizes). Adapting these NPU techniques to other large speech foundation models—such as Canary or SeamlessM4T—is left for future work.
Summary updated