Introduction
Large Speech Foundation Models (SFMs), such as Whisper and OWSM, have set new benchmarks in speech processing tasks. However, their massive parameter counts lead to significant computational overhead during inference. Traditional pruning techniques often rely on static masks that remain fixed regardless of the input. This paper introduces localGP, a dynamic pruning mechanism that adapts the model's architecture in real-time based on external context, such as speaker identity and acoustic environment.
Methodology: The Local Gate Predictor (localGP)
The core innovation is the Local Gate Predictor (localGP), which enables layer-specific computation decisions. Unlike global approaches that apply a uniform mask across the entire model, localGP operates independently at each layer.
Context Integration
To inform pruning decisions, the system integrates three types of external context extracted via pre-trained auxiliary models:
- Speaker Embeddings: Identified via ECAPA-TDNN to adapt to individual vocal characteristics.
- Acoustic Events: Captured via BEATs to distinguish between speech and background noise.
- Language Information: Provided via URIEL lang2vec to leverage linguistic priors.
Temporal Pruning and Differentiable Masking
Instead of pruning entire utterances, localGP performs temporal pruning, skipping specific redundant or silent frames within an audio segment. To maintain end-to-end trainability, the authors employ the Straight-Through Gumbel-Softmax Estimator (SGSE), allowing the model to learn discrete "keep/skip" decisions through standard gradient descent.
Key Insights
Analysis of the pruning masks revealed several emergent behaviors:
- VAD Emergence: The initial encoder layers naturally evolve to function as a Voice Activity Detector (VAD), aggressively pruning frames during periods of silence while maintaining high activation during speech.
- The "Space" Signal: In the decoder, the model relies heavily on source-attention (audio context) primarily when initiating a new word (marked by a space token). Mid-word tokens are processed with significantly more aggressive pruning.
- Regularization Effect: Pruning was found to improve translation scores, suggesting that localGP acts as a regularizer by filtering out "encoder-induced noise" and forcing the model to focus on the most salient acoustic features.
Experimental Results
The researchers evaluated localGP using the OWSM-v3.1 backbone on the Europarl-ST dataset. The results demonstrate that context-driven pruning can simultaneously improve efficiency and accuracy.
As shown in the table above, the inclusion of speaker and event context (Row 6) achieved a reduction of 56.7 GFLOPs in the encoder while boosting Speech Translation (ST) performance by a relative 25.7% over the fully fine-tuned baseline. Notably, incorporating speaker embeddings alone led to a 56.0% relative BLEU improvement compared to basic utterance-wise pruning without context.
Limitations and Future Work
While the theoretical computational savings (GFLOPs) are substantial, the authors note that "wall-clock" speedups on current hardware are more modest. Standard deep learning libraries and batch-wise beam search algorithms are not yet optimized for the sparse, varying masks generated by localGP. Future work will focus on hardware-aware implementations, such as custom CUDA kernels, to translate these theoretical gains into real-world latency reductions.
Summary updated