TL;DR
Flipping just a handful of bits in a speech recognition model's memory doesn't just produce garbled text—it can silently alter critical numbers, like changing a vaccine storage temperature from "-20" to "-30", while leaving the rest of the sentence completely fluent. The authors introduce SMASH, an auditing framework that hunts for these tiny, surgical parameter faults in quantized speech-to-text models. It shifts how we test model robustness from asking "how much did the transcript degrade?" to "which specific meanings can be hijacked, and with how few bit flips?"
What Problem Does This Paper Address?
Automatic Speech Recognition (ASR) systems are typically graded using Word Error Rate (WER), which treats every word equally. In the real world, however, meaning isn't distributed evenly. Swapping "the" for "a" in clinical dictation or emergency dispatch is harmless; changing "transfer 90,000 dollars" to "transfer 9,000 dollars" is catastrophic, even though both count as a tiny WER blip.
At the same time, edge devices commonly run INT8 quantized models (where weights are compressed into 8-bit integers). Stored bits in hardware aren't immutable—they can flip due to cosmic rays, aging DRAM, or intentional attacks like RowHammer. Previous research on bit-flip faults focused on totally collapsing image classifiers or turning language model outputs into gibberish, while ASR attacks mostly focused on adding adversarial noise to audio waveforms. Nobody had asked a much sneakier question: given clean audio, can a few weight-bit flips force a sequence-to-sequence ASR model to make a targeted, plausible semantic swap?
Methods
SMASH is a white-box robustness probe that treats semantic failure as a search problem over a bounded budget of bit flips ($B$) within a specific subset of quantized model layers. Rather than relying on brute-force guessing or standard global cross-entropy (like Progressive Bit Search), SMASH introduces a span-conditioned proposal objective with three simultaneous goals:
- Preserve fluency on all non-critical surrounding words.
- Weaken the model's preference for the original meaning-critical span (e.g.,
-20). - Promote a specific declared replacement target (e.g.,
-30).
Using first-order gradient approximations of this custom loss, SMASH ranks individual INT8 bit flips (excluding the sign bit to prevent massive weight explosions) and tests high-ranking candidates in an iterative loop.
Crucially, SMASH separates proposing flips from validating them. Every candidate fault is decoded and run through a strict four-gate cascade (G1–G4): the transcript must change (G1), remain readable/non-degenerate (G2), stay close to the original transcript with $\text{WER} \le 0.20$ (G3), and realize the exact target value (G4).
Datasets
The authors test three ASR backbones—Whisper-small.en (WS), Whisper-large-v3 (WLv3), and SeamlessM4T-v2-large (S-M4T)—across three English datasets:
- LACC (LLM-Assisted Controlled Corpus): A newly introduced synthetic TTS benchmark featuring manually curated utterances rich in clear semantic pivots (numbers, entities, negations) for controlled stress-testing.
- MultiMed: Real-world medical speech packed with safety-critical dosages, medications, and units.
- LibriSpeech: Standard clean-read audiobook speech, serving as a lower-density baseline for numeric targets.
Key Insights and Ideas
- Breaking transcripts is easy; surgical editing is hard. Adapted existing bit-flip baselines either do nothing or cause total transcript collapse (e.g., turning "Avery Chen joined the call..." into "A B"). Even a one-shot target-aware baseline produced gibberish 80% of the time. Multi-step, span-conditioned search is what keeps the surrounding sentence intact.
- Extreme sparsity on smaller models. You don't need to rewrite a whole layer to change a fact. On Whisper-small.en, the median cost to cleanly swap a number was just 2 bit flips!
- Hardware locality isn't a silver bullet. When the authors simulated physical memory constraints (like restricting flips to a single RowHammer row or cacheline burst), Whisper-small.en remained just as vulnerable, whereas larger models showed dramatic swings depending on how weights mapped to memory.
- LLMs can reliably audit "clean" semantic swaps. A four-judge LLM ensemble achieved perfect agreement (Cohen's $\kappa = 1.00$) with human majority votes on whether a perturbed transcript looked natural and cleanly substituted the number.
Key Results
- Reachability (at a 20-bit budget): On controlled LACC numeric targets, SMASH achieved strict, readable substitutions on 24/45 cases for WS, 19/44 for WLv3, and 5/34 for S-M4T. Across all nine original test cells, 56 out of 59 strict hits also cleanly erased the original number.
- Real-Speech Scaling: On expanded evaluations at $B=20$, WS hit 99/387 strict numeric targets on LibriSpeech and 223/939 on MultiMed—lower rates than synthetic speech, proving real acoustic variability makes surgical weight edits tougher, though still very reachable.
- Bit-Flip Budgets & Cost: Across 73 verified certificates up to $B=40$, the pooled median cost was 10 bit flips (medians: 2 on WS, 15 on WLv3, 22 on S-M4T). WS hit its ceiling by $B=20$, while WLv3 and S-M4T continued unlocking new targets up to $B=40$.
- Baselines: Movement-focused baselines (PBS, SilentStriker, random flips) scored 0 strict successes on WS–LACC, while a one-shot target-aware baseline hit only 3/45 (vs. SMASH's 24/45).
Limitations and Future Work
SMASH is a diagnostic upper-bound audit, not an end-to-end physical hardware exploit; it doesn't model DRAM refresh dynamics, cache coherence, or downstream human/UI safeguards in hospitals or banks. Furthermore, while numeric swaps worked surprisingly well, secondary tests on swapping named entities had lower success, and flipping negations yielded zero strict successes. Finally, because no prior method optimizes this exact ASR event, there was no compute-matched SOTA baseline to compare against. Looking ahead, the authors advocate pairing ASR deployments with runtime weight-integrity checks, redundancy, and semantic-span monitors that look beyond aggregate WER.
Summary updated