LI-TTA: Language Informed Test-Time Adaptation for Automatic Speech Recognition

Eunseop Yoon, Hee Suk Yoon, John B. Harvill, Mark Hasegawa-Johnson, Chang D. Yoo · DOI

Abstract

Automatic Speech Recognition (ASR) models often suffer from performance degradation when deployed in environments that differ from their training data—a phenomenon known as "domain shift." While Test-Time Adaptation (TTA) can mitigate these issues, standard methods frequently neglect linguistic context, leading to phonetically plausible but semantically incorrect transcriptions. We present LI-TTA (Language Informed Test-Time Adaptation), a framework that integrates linguistic feedback from Large Language Models (LLMs) into the ASR adaptation process. By jointly optimizing acoustic and linguistic objectives, LI-TTA significantly reduces Word Error Rates (WER) and improves transcription coherence across diverse datasets.

1. Introduction

Automatic Speech Recognition (ASR) systems frequently encounter performance degradation due to shifts in background noise, unfamiliar accents, or specialized vocabulary. To address this without costly retraining, researchers employ Test-Time Adaptation (TTA). Standard TTA methods typically focus on minimizing the entropy of the model's output, effectively forcing the model to become more confident in its predictions on the fly.

However, these methods suffer from a critical flaw: they are "linguistically deaf." By focusing almost entirely on acoustic features, they often fall into "phonetic traps," where the model produces a word that sounds correct but makes no sense in context (e.g., transcribing "player" as "flayer"). Furthermore, purely acoustic adaptation can lead to "confidence errors," where the model adapts a correct prediction into a nonsensical word simply to satisfy its internal acoustic math.

2. Methodology

To overcome these limitations, LI-TTA introduces a linguistic feedback loop into the adaptation process, leveraging the contextual reasoning capabilities of Large Language Models (LLMs).

The LI-TTA framework combines acoustic adaptation with linguistic feedback from a Large Language Model.

The LI-TTA framework operates through a multi-step "predict-correct-update" loop:

  1. Initial Prediction: A pre-trained ASR model (such as wav2vec 2.0) generates an initial transcription from the input audio.
  2. LLM Correction: This transcription is sent to an external, instruction-tuned LLM (OpenChat 3.5). The LLM is prompted to "generate a correction... considering the pronunciation and overall context," acting as a linguistic anchor.
  3. Joint Optimization: Instead of relying solely on acoustic entropy, LI-TTA minimizes a composite loss function. It utilizes the Connectionist Temporal Classification (CTC) loss between the ASR model's raw output and the LLM's corrected text ($L_{CTC}$), alongside the standard acoustic adaptation loss ($L_{TTA}$).
  4. Adaptive Weighting: The system employs an adaptive weighting factor ($\lambda_{LI}$) to balance the influence of linguistic feedback against acoustic adaptation, ensuring the model doesn't over-correct based on LLM hallucinations.

3. Experimental Setup

The researchers evaluated LI-TTA across 11 different datasets representing various domain shifts. These included unseen speakers and vocabulary (TED-LIUM 2, Common Voice), noisy environments (LibriSpeech "test-other" with eight types of noise from the MS-SNSD dataset), and non-native accents (L2-Artic corpus featuring speakers from six different primary language backgrounds).

4. Results and Analysis

LI-TTA consistently outperformed both unadapted models and state-of-the-art TTA baselines, including SUTA and SGEM.

Quantitative comparison of LI-TTA against unadapted and state-of-the-art TTA methods across various datasets.

As shown in the results table, LI-TTA achieved an average Word Error Rate (WER) of 30.24%, a significant improvement over the unadapted baseline of 39.24% and the previous best method, SGEM (31.66%). Beyond simple accuracy, the linguistic coherence of the transcriptions improved drastically; the average Perplexity (PPL) dropped to 572.94, compared to 781.78 for the unadapted model and 670.70 for SGEM.

A key insight from the study is the "Perplexity Gap." Traditional TTA methods barely improve the grammatical sense of the output. In contrast, LI-TTA shows a sharp decline in perplexity as adaptation progresses, meaning the sentences become much more coherent. This suggests that allowing linguistic knowledge to backpropagate actually updates the ASR model's feature extractors to favor contextually appropriate results.

5. Conclusion and Future Work

LI-TTA demonstrates that giving ASR models a "linguistic compass" during test-time adaptation significantly enhances robustness against noise and accent shifts. By using LLMs as teachers during the adaptation phase, the system prevents the model from hallucinating phonetically similar but contextually unfit words. Future work will focus on validating these gains for non-CTC architectures like Transducers and optimizing the computational overhead of the LLM feedback loop for real-time applications.

Summary updated

BibTeX
@inproceedings{yoon2024li,
  author = {Eunseop Yoon and Hee Suk Yoon and John B. Harvill and Mark Hasegawa-Johnson and Chang D. Yoo},
  title = {{LI-TTA: Language Informed Test-Time Adaptation for Automatic Speech Recognition}},
  booktitle = {Interspeech},
  year = {2024},
  doi = {10.21437/interspeech.2024-1829},
}
Figure