Abstract
Automatic speech recognition (ASR) models are frequently exposed to data distribution shifts in many real-world scenarios, leading to erroneous predictions. To tackle this issue, an existing test-time adaptation (TTA) method has recently been proposed to adapt the pre-trained ASR model on unlabeled test instances without source data. Despite decent performance gain, this work relies solely on naive greedy decoding and performs adaptation across timesteps at a frame level, which may not be optimal given the sequential nature of the model output. Motivated by this, we propose a novel TTA framework, dubbed SGEM, for general ASR models. To treat the sequential output, SGEM first exploits beam search to explore candidate output logits and selects the most plausible one. Then, it utilizes generalized entropy minimization and negative sampling as unsupervised objectives to adapt the model. SGEM achieves state-of-the-art performance for three mainstream ASR models under various domain shifts.
Introduction: The Challenge of Domain Shift in ASR
Deep learning-based ASR models are notoriously sensitive to domain shift. A model trained in a quiet studio might fail when faced with background noise, thick accents, or specialized technical vocabulary. While Unsupervised Domain Adaptation (UDA) exists, it typically requires large batches of target data and access to the original source training data, which is often impractical due to privacy or storage constraints.
Test-Time Adaptation (TTA) offers a more realistic alternative by adapting the model using only the single, unlabeled utterance it is currently processing. However, previous ASR TTA methods, such as SUTA, relied on "greedy" decoding—evaluating each audio frame in isolation. This "myopic" approach ignores the sequential nature of language. Since modern ASR models are autoregressive, naive frame-level adaptation can confuse the model, leading to poor performance on complex sequences.
The SGEM Framework
SGEM (Sequential-Level Generalized Entropy Minimization) introduces three core innovations to make TTA effective for sequence-aware ASR models:
- Beam Search-Based Logit Acquisition: Instead of using the most likely character at every single frame (greedy), SGEM employs beam search to identify the most plausible sequence of text. It then re-runs this sequence through the model to obtain the "logits" (prediction scores), ensuring the adaptation signal is globally consistent with the model's linguistic understanding.
- Generalized Entropy Minimization (GEM): Standard TTA often minimizes Shannon entropy to increase prediction confidence. SGEM utilizes Rényi entropy, a generalized version. By adjusting a parameter ($\alpha$), the model's push toward high confidence can be controlled, making adaptation more robust to noise.
- Negative Sampling (NS): To prevent the model from learning incorrect patterns, SGEM identifies low-probability classes (below a threshold $\tau$) and explicitly penalizes them. This helps maintain a clean search space during unsupervised updates.
The process is episodic: for every new utterance, the model starts from its original pre-trained state, adapts for a few iterations ($N=10$), makes the final prediction, and then resets.
Experimental Setup
The authors evaluated SGEM across 12 datasets representing various domain shifts:
- Unseen Speakers/Words: CHiME-3, TED-LIUM 2, Common Voice, and Valentini.
- Background Noise: LibriSpeech (test-other) injected with 8 types of noise (e.g., air conditioners, typing, airport announcements) at 10dB SNR.
- Extreme Accents: The L2-Arctic corpus, featuring non-native English speakers from six different language backgrounds.
Performance Evaluation
SGEM achieved state-of-the-art performance across multiple ASR architectures. Key results include:
- Overall Improvement: An average Word Error Rate (WER) reduction of 15.6% across all 12 datasets.
- Architecture Agnostic Performance: On CTC-based models, SGEM reduced average WER from 34.1% (SUTA) to 33.4%. For Transducer models, it improved from 20.8% to 20.6%.
- Accent Adaptation: In L2-Arctic tests, SGEM consistently outperformed both the unadapted baseline and SUTA, demonstrating its ability to handle high-variance pronunciation shifts.
Key Insights and Discussion
- Sequence Context is Critical: Frame-level adaptation is insufficient for modern ASR. Beam search provides a much cleaner, more coherent pseudo-label for the model to learn from.
- Robustness to Short Clips: TTA usually struggles with short utterances (under 2 seconds) due to limited gradient data. SGEM significantly outperforms previous methods in these scenarios, likely due to the better guidance provided by beam search.
- Efficiency: Adaptation takes approximately 0.77 seconds for a 1-second utterance on an RTX 3090, making it viable for many near-real-time applications.
Limitations and Future Work
While effective, SGEM's computational cost nearly doubles processing time per utterance, which may be a bottleneck for massive-scale deployments. Additionally, the method introduces hyperparameters like $\alpha$ and $\tau$ that might require tuning for extreme new domains. Future work could explore integrating larger beam sizes or external language models to further enhance adaptation quality.
Summary updated