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

SpeechPrune: Context-aware Token Pruning for Speech Information Retrieval

Yueqian Lin, Yuzhe Fu, Jingyang Zhang, Yudong Liu, Jianyi Zhang, Jingwei Sun, Hai, Yiran Chen

Abstract

Speech Large Language Models (LLMs) often struggle with long-form audio due to the quadratic scaling of attention mechanisms and the presence of irrelevant "noise" in extended recordings. We present SpeechPrune, a training-free, two-phase pruning strategy that identifies and preserves informative audio tokens based on semantic similarity to text queries and binarized attention estimation. Evaluated on the new SPIRAL benchmark, SpeechPrune improves retrieval accuracy by up to 29% while reducing computational costs by 70%, effectively enabling models to process contexts far beyond their original training limits.

Introduction

While Speech LLMs excel at short tasks like transcribing 10-second clips, they encounter a "computational wall" with long-form audio. Most current models are constrained to approximately 30-second windows because the underlying attention mechanism scales quadratically with input length. Furthermore, existing benchmarks are dominated by short clips (12–15 seconds), creating a gap in Speech Information Retrieval (SIR)—the ability to locate specific information within lengthy, distracting conversations.

To address this, researchers introduced the SPIRAL (Speech Informational Retrieval and Lookup) benchmark, consisting of 1,012 long-form audio samples (avg. ~90s). A particularly challenging subset, SPIRAL-H, contains 401 cases where baseline models like Qwen-2 Audio initially achieve 0% accuracy, highlighting the need for more efficient context management.

Methodology

SpeechPrune is a "plug-and-play" strategy requiring no additional training. It operates in two distinct phases to discard silence, filler words, and irrelevant tangents:

  1. Phase 1: Token-Text Similarity: The model calculates the cosine similarity between the text query's embeddings and the audio tokens. An adaptive frame-level approach is used to retain segments semantically related to the user's question.
  2. Phase 2: Binarized Attention Estimation: To further refine the selection, the model approximates token importance using a simplified, binarized version of the weights from the network's first transformer layer. This step is highly efficient, representing less than 1% of total computational complexity.
The SpeechPrune architecture showing the two-phase pruning process: Speech-Text Similarity Calculation followed by Binarized Attention Estimation.

Experimental Results

Experimental results demonstrate that removing data can, counter-intuitively, improve performance. On the SPIRAL benchmark, the original model achieved ~60% accuracy; with SpeechPrune at a 20% pruning rate, accuracy jumped to over 89%. This suggests that for long-context tasks, irrelevant audio tokens act as "distractors" that confuse the model.

Accuracy on the SPIRAL-H benchmark across different pruning rates, comparing individual phases against the full SpeechPrune method and the unpruned baseline.

Key performance metrics include:

  • Accuracy Gains: On the SPIRAL-H subset, SpeechPrune achieved 81.64% accuracy, compared to the original model's 0%.
  • Efficiency: At an 80% pruning rate, the method reduced TFLOPS from 12.2 to 3.66 and cut "prefill time" by 64%.
  • Robustness: Even when discarding 80% of audio tokens, SpeechPrune maintained higher accuracy than the original unpruned model.

Conclusion

SpeechPrune demonstrates that intelligent token pruning can bypass the artificial 30-second limits of current Speech LLMs. By filtering out irrelevant context, the method enhances both accuracy and computational efficiency without requiring expensive retraining. Future work will focus on scaling these techniques to "ultra-long" audio, such as hour-long recordings, and improving robustness in noisy, real-world environments.

Summary updated

BibTeX
@inproceedings{lin2024speechprune,
  author = {Yueqian Lin and Yuzhe Fu and Jingyang Zhang and Yudong Liu and Jianyi Zhang and Jingwei Sun and Hai and Yiran Chen},
  title = {{SpeechPrune: Context-aware Token Pruning for Speech Information Retrieval}},
  booktitle = {ICME},
  year = {2024},
  url = {https://openreview.net/forum?id=2ZRl5XPPaw},
}
Figure