MergeASR: Efficient Automatic Speech Recognition with Lightweight Cache-Based Token Merging

Wenhui Ou, Qiawei Zheng, Pingcheng Dong, Zhuoyu Wu, Dongjun Wu, Yijian Wu, Yu Sen To, Zheng Wang, C. Patrick YuearXiv 2026

TL;DR

When you ask a voice assistant a simple question, the speech recognition model works vastly harder than the LLM that actually answers you, chewing through thousands of dense acoustic tokens just to transcribe a few dozen words. MergeASR introduces a hardware-software co-design that dynamically groups and merges redundant audio tokens on the fly—without retraining the model. By pairing a clever, tiny cache-based matching algorithm with a custom silicon engine, it speeds up real-time speech transcription by up to 1.50× while barely touching transcription accuracy.

What Problem Does This Paper Address?

Modern Automatic Speech Recognition (ASR) models like OpenAI’s Whisper are computational heavyweights. To process a 30-second audio window, Whisper’s encoder slices the sound into 1,500 acoustic tokens. That same spoken sentence might only translate into about 66 text tokens for a downstream LLM—a massive 23× "token gap."

ASR models process roughly 23 times more tokens than LLMs for the exact same spoken context.

This bottleneck gets much worse in real-time streaming, where audio arrives in chunks and the model has to repeatedly re-encode and prefill those acoustic sequences. Standard fixes like aggressive quantization (shrinking numbers to 4-bit or 2-bit) or low-rank compression cause word error rates to skyrocket.

In Vision Transformers (ViTs), researchers solved a similar token bloat problem using token merging—combining similar image patches before heavy math layers. However, ViT methods fail on speech for two reasons: speech models use a two-part encoder-decoder architecture (not just an encoder), and audio similarity stretches and shrinks dynamically over time (think of a long pause versus a rapid consonant), breaking fixed-window matching schemes.

Methods

MergeASR tackles this by co-designing an ASR-specific merging algorithm alongside a lightweight hardware accelerator:

  • Component-Aware Merging Policy: Instead of treating the whole network uniformly, MergeASR adapts to each stage. In the encoder, it matches and merges tokens right before the heavy MLP layers, then "unmerges" (copies) them back afterward to preserve exact timing for the next layer. Because representations evolve rapidly in the encoder, matching is recalculated at every layer. In the decoder, however, cross-attention keys and values all stem from the same final encoder output—so MergeASR matches tokens once in the first layer and reuses that exact grouping for all subsequent layers.
  • Cache-Based Token Matching: Rather than comparing all tokens globally ($O(T^2)$) or trapping them in rigid windows, MergeASR scans tokens sequentially in $O(T)$ time using a tiny 2-entry cache. Each entry holds an active group's "center" (approximated simply by averaging the group's first and newest token). Incoming tokens compare against these two cached centers; if they match, they join the group. When evicted, the middle token in arrival order acts as the group's representative.
  • Plug-and-Play Token Merging (TM) Engine: Sequential cache updates create inter-token dependencies that bottleneck standard GPUs. The authors design a dedicated hardware unit alongside a standard Neural Processing Unit (NPU). It quantizes matching keys to 4-bit (leaving main activations at 8-bit), uses a two-stage pipeline to hide norm calculations, and streams keys directly from the compute core to overlap matching with attention generation.

Datasets

MergeASR requires no training or fine-tuning, evaluating directly on off-the-shelf Whisper models (Base, Small, Medium, Large-v2). The authors benchmark transcription quality using Word Error Rate (WER) across:

  • LibriSpeech (test-clean and the noisier test-other splits) for English read speech.
  • Multilingual LibriSpeech (MLS) (Italian, Portuguese, and Polish test sets) to verify that online token merging preserves cross-lingual capabilities without language-specific tuning.

Key Insights and Ideas

  • Audio similarity is a chameleon across layers: In the encoder, tokens that look twins in Layer 0 drift apart by Layer 12, making per-layer re-matching mandatory. In the decoder, similarity stays remarkably stable across layers, giving us a "free lunch" to compute matches once and reuse them everywhere.
  • Two cache slots beat a giant window: A 2-entry LRU cache outperforms both global bipartite matching and 16-token fixed windows. Why? Speech has high temporal locality, but similar sounds are occasionally interrupted by brief transitions. Two slots allow one entry to handle a brief interruption while the other holds onto the broader acoustic context—capturing long silences and short phonemes alike with at most two comparisons per token.
  • 4-bit keys are plenty for similarity: While 4-bit activations ruin Whisper's transcription output, using 4-bit quantized keys strictly to decide which tokens look alike retains 72.6% merging ratios with minimal accuracy loss, halving on-chip buffer requirements.

Key Results

  • Speedup: On the simulated NPU accelerator, MergeASR achieves an average end-to-end speedup of 1.32× in offline mode and 1.40× in streaming mode (peaking at 1.50× on Whisper-Small, and 1.49× on Whisper-Medium). It also speeds up streaming CPU inference by 1.26×.
  • Compute & Accuracy Trade-off: It cuts Multiply-Accumulate (MAC) operations by up to 41.75% while keeping accuracy drops minimal—e.g., on challenging streaming speech (test-other), Whisper-Medium loses just 0.38 percentage points in WER.
  • Hardware Efficiency: Synthesized in 28nm CMOS, the custom TM engine takes up just 4.05% of total chip area ($0.33\text{ mm}^2$) and hides 97%+ of merging latency, driving a 29.0% reduction in encoder energy primarily by slashing off-chip DDR memory traffic.

Limitations and Future Work

  • Unfriendly to GPUs: Because cache-based matching processes tokens sequentially—updating group centers on the fly—it introduces data dependencies that starve massive GPU parallelism, causing GPU implementations without dedicated dataflow hardware to run slower than baseline Whisper.
  • Manual Threshold Tuning: Similarity thresholds are currently chosen empirically per layer and model. Developing an automated, systematic policy based on layer sensitivity and target latency budgets remains open future work.
  • Offline Error Persistence: Accuracy drops are slightly more noticeable in offline mode than streaming mode, because offline decoding relies on a single static pass of merged acoustic features, whereas streaming mode refreshes features and token groups as new audio chunks arrive.

Summary updated

BibTeX
@misc{ou2026mergeasr,
  author = {Wenhui Ou and Qiawei Zheng and Pingcheng Dong and Zhuoyu Wu and Dongjun Wu and Yijian Wu and Yu Sen To and Zheng Wang and C. Patrick Yue},
  title = {{MergeASR: Efficient Automatic Speech Recognition with Lightweight Cache-Based Token Merging}},
  year = {2026},
  eprint = {2611.39333},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.39333},
}
Figure