Introduction
Automatic Speech Recognition (ASR) has achieved high accuracy in general domains, yet it continues to struggle with technical jargon and domain-specific terminology. In professional settings such as academic conferences, terms like "glaucoma" are often misrecognized. While providing external context—such as text extracted from presentation slides—can mitigate these errors, it introduces the challenge of "contextual noise." Processing thousands of words of background text to identify a few relevant keywords is computationally expensive and can degrade model performance.
Researchers from the Chinese Academy of Sciences have introduced SAP² (Speech-Aware Context Pruning and Integration), a framework designed to help Speech Large Language Models (SpeechLLMs) dynamically filter and integrate long-form contextual information without being overwhelmed by irrelevant data.
Methodology: The SAP² Framework
SAP² employs a Two-stage Pruning-Integration (TPI) pipeline that mimics human active listening by filtering knowledge before decoding.
Stage 1: Context Pruning
The model receives the audio signal and a comprehensive list of potential keywords (e.g., derived from OCR of slides). Instead of processing the entire list, the system identifies keywords relevant to the specific audio segment. This is achieved through a Speech-Driven Attention-based Pooling mechanism. Rather than relying solely on text similarity, the model calculates attention scores between speech embeddings and keyword embeddings. These scores weight the text features, which are then compressed into a concise, speech-salient representation via window-wise pooling.
Stage 2: Integration
The "pruned" keywords are fed back into the SpeechLLM (built on a Qwen2-Audio backbone) alongside the audio. This focused context allows the model to produce an accurate transcription, specifically targeting rare terms. The system is fine-tuned using LoRA (Low-Rank Adaptation) for efficiency.
Experimental Evaluation
The researchers evaluated SAP² on two primary benchmarks:
- SlideSpeech: A large-scale dataset of conference videos where context is derived from OCR text on slides.
- LibriSpeech: A standard ASR benchmark augmented with up to 1,000 "distractor" keywords to test noise robustness.
Key Results
SAP² achieved state-of-the-art performance, reaching a Word Error Rate (WER) of 7.71% on SlideSpeech and 1.12% on LibriSpeech, outperforming previous models like MaLa-ASR.
- Jargon Accuracy: On SlideSpeech, the framework reduced the Biased Word Error Rate (B-WER)—measuring errors on provided keywords—by 41.1% compared to non-contextual baselines.
- Scalability and Robustness: While baseline models degraded as context length increased, SAP² remained stable. Expanding context from 1 to 25 slides (significantly increasing text length) actually improved WER slightly (from 7.71% to 7.67%), proving its robustness to noise.
- Efficiency: The pruning stage reduces the token count for the second stage, leading to a 20.2% reduction in inference time compared to unpruned versions.
Conclusion
SAP² demonstrates that speech-driven pruning is an effective strategy for handling long-context ASR. By using audio features to query relevant text, the model avoids the pitfalls of purely text-based retrieval. Future research will explore semantically meaningful phrasal contexts and the integration of visual embeddings to further enhance recognition in multimodal environments.
Summary updated