NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Early Attentive Sparsification Accelerates Neural Speech Transcription

Zifei Xu, Sayeh Sharify, Hesham Mostafa, Tristan Webb, Wanzin Yazar, Xin Wang

TL;DR

The paper introduces Early Attentive Sparsification (EAS), a zero-shot token-dropping method that accelerates Whisper speech recognition models. By leveraging self-attention scores to prune 40–60% of redundant audio tokens at an early encoder stage, EAS achieves up to a 1.6× inference speedup on Nvidia GPUs with less than 1% accuracy degradation—all without any fine-tuning.

What Problem Does This Paper Address?

Transformer-based models, such as OpenAI's Whisper family, deliver state-of-the-art performance in Automatic Speech Recognition (ASR). However, processing long audio sequences through deep encoder-decoder stacks is computationally heavy and memory-intensive.

While token-dropping techniques have successfully optimized Large Language Models (LLMs) by evicting less important tokens from the KV cache, it has remained an open question whether tokenized audio signals exhibit similar redundancies. This paper addresses this gap, demonstrating that audio sequences contain significant task-irrelevant redundancy and proposing a safe, effective strategy to drop these tokens early in the encoding process without ruining transcription accuracy.

Methods

The authors propose Early Attentive Sparsification (EAS), a heuristic method that prunes audio tokens mid-flight within the transformer encoder stack.

  1. Importance Scoring: EAS calculates an importance score for each audio token by taking the arithmetic mean of its post-softmax self-attention scores across all attention heads and source tokens from the preceding layer.
  2. Token Dropping: At a specific early encoder layer $i$, the model ranks tokens by this importance score and retains only the top-$k$ tokens. This effectively reduces the sequence length from $T$ to $\lfloor(1-s)T\rceil$, where $s$ is the sparsity ratio.
  3. Architecture Search: The authors perform a grid search over the joint space of the sparsification layer ($i$) and sparsity level ($s$) to find the optimal Pareto front that minimizes the Real Time Factor (RTF) while keeping Word Error Rate (WER) degradation under 1% relative to the baseline.
Figure 1. Architecture of the Whisper model modified with early attentive sparsification. The original Whisper model is composed of an encoder stack E’s (middle column) and a decoder stack D’s (right column), of depth L. Flowing through the encoder stack are hidden states of sequence dimension T, determined by embedded audio signal duration. At an early encoding stage i ∈{1, · · · , L}, we compress the hidden state by a time-domain sparsifier C (left column, see Section 3 for details) at sparsity s ∈[0, 1), to a reduced sequence dimension ⌊(1 −s)T⌉, which persists in the rest of the encoder stack and in the subsequent decoder stack. In the choice of (i, s) consists the architectural search space.

Datasets

The method was evaluated across 10 publicly available models from the OpenAI Whisper and HuggingFace Distil-Whisper families. Performance was benchmarked on the LibriSpeech ASR dataset (clean validation split). To make the extensive architecture grid search computationally tractable, the authors validated and utilized a statistically representative subset of 300 audio examples.

Key Insights and Ideas

  • High Early Redundancy: The optimal configurations consistently choose to drop tokens very early in the encoder stack (typically within the first 3 layers). This reveals that raw audio features contain massive amounts of task-irrelevant information that the model can safely discard almost immediately.
  • Synergy with Distillation: Surprisingly, EAS delivers its highest speedups on models that have already undergone post-training compression or distillation (such as whisper-large-v3-turbo and distil-large-v3). This indicates that token-space sparsification is highly complementary to weight-space compression and architectural distillation.
  • The "Infinite Loop" Failure Mode: When sparsity is pushed too high ($s \ge 0.9$), the decoder loses the ability to recognize when speech has ended. It begins to hallucinate and repeat phrases indefinitely (e.g., repeating "his managerial position" dozens of times), demonstrating that a minimum threshold of audio tokens is required to signal sequence termination.

Key Results

  • Speedups: The method achieved up to 1.6× runtime acceleration on an Nvidia A100 GPU for models like whisper-large-v3-turbo and distil-large-v3.
  • Accuracy Preservation: The top configurations across all 10 tested models maintained $\ge 99\%$ of their baseline accuracy (under 1% relative WER degradation).
  • Zero-Shot Deployment: The mechanism requires absolutely no fine-tuning or retraining, making it an out-of-the-box optimization for existing deployments.
  • Kernel Compatibility: EAS is fully compatible with optimized attention kernels like FlashAttention-2 and PyTorch SDPA. Because the algorithm only requires raw attention scores from a single layer to make its dropping decision, all other layers can run fully accelerated.

Limitations and Future Work

  • Scope of Evaluation: The evaluation was limited to English speech transcription tasks on the LibriSpeech dataset. Performance on multi-lingual tasks or highly noisy audio environments remains to be verified.
  • Fixed Sparsity: The current approach applies a uniform, predetermined sparsity level and layer choice across all audio samples. The authors suggest that developing a dynamic or adaptive token-dropping mechanism—one that adjusts to the complexity of individual audio clips on the fly—could yield even better efficiency.

Summary updated

BibTeX
@inproceedings{xu2025early,
  author = {Zifei Xu and Sayeh Sharify and Hesham Mostafa and Tristan Webb and Wanzin Yazar and Xin Wang},
  title = {{Early Attentive Sparsification Accelerates Neural Speech Transcription}},
  booktitle = {ES-FoMo-III @ ICML},
  year = {2025},
  url = {https://openreview.net/forum?id=FxxiTmRY7T},
}
Figure