Learning New Words from Unlabeled Test Data in Automatic Speech Recognition

Mengqi Wang, Mark A. Hasegawa-Johnson, Haolong Zheng, Chang D. YooarXiv 2026

TL;DR

This paper introduces a test-time adaptation framework that allows Automatic Speech Recognition (ASR) systems to learn entirely new, out-of-vocabulary (OOV) words on the fly from unlabeled audio. By identifying mismatches between what the acoustic model hears and what the language model expects, the system dynamically expands its vocabulary and refines word spellings over multiple occurrences, mimicking human incidental learning.

What Problem Does This Paper Address?

When humans hear a new word in conversation, we can easily infer its meaning from context and guess its spelling. Current Automatic Speech Recognition (ASR) systems, however, struggle immensely with out-of-vocabulary (OOV) words. While an acoustic model might correctly guess the raw characters or sub-words of an unknown word, the accompanying Language Model (LM) will often override it because the word doesn't exist in its vocabulary, leading to recognition errors.

Most existing solutions to this problem rely on "context biasing" or Retrieval-Augmented Generation (RAG), which assume that a list of potential new words (like a guest list or a product catalog) is provided beforehand. This paper tackles the much harder, more realistic scenario: learning completely unknown words from scratch—where neither the spelling nor the pronunciation is known in advance—purely from unlabeled test data.

Methods

The authors propose an elegant unsupervised test-time adaptation loop that connects a frozen Connectionist Temporal Classification (CTC) acoustic model (HuBERT-XLarge) with a frozen external LM (such as GPT-2, Qwen-3, or Gemma-3).

The pipeline operates in several distinct stages, as illustrated in the architecture overview:

Fig. 1. Overview of proposed test-time adaptation framework. The CTC model generates N-best hypotheses for an input utterance. Word spans with strong CTC-LM preference disagreement are selected as potential OOV regions (one span here). Top-K CTC spellings are used to initialize a placeholder token with uniform spelling prior. For the first occurrence, the placeholder is added into the vocabulary and fine-tuned in context, while the utterance is buffered for potential final refinement. Otherwise, we retrieve the existing placeholder and re-transcribe the test utterance, possibly reducing errors. The retrieved placeholder is further updated using unsupervised model adaptation.
  1. Mismatch Detection: The system decodes an utterance and looks for regions where the acoustic model (CTC) and the language model (LM) strongly disagree. A high "CTC-LM mismatch score" signals the potential presence of an OOV word.
  2. Placeholder Initialization: For a newly detected OOV region, the system extracts the top-$K$ candidate spellings from the CTC beam search and initializes a new placeholder token ($\hat{y}_n$) with a uniform spelling distribution.
  3. Vocabulary Expansion & Fine-tuning: The new token is dynamically added to the LM's vocabulary. The system exclusively fine-tunes the input embedding and output softmax parameters associated with this new token by minimizing a Kullback-Leibler divergence (KLD) objective between the estimated spelling model and the acoustic marginals.
  4. Registry and Cache: If the same placeholder is triggered in later utterances, the system reuses it, accumulating more contextual and acoustic evidence. Crucially, the system buffers the initial utterance and replays/re-transcribes it later once the spelling model has matured, reducing self-adaptation bias.

Datasets

The framework was evaluated on two distinct speech corpora:

  • LibriSpeech: The standard test-clean and test-other evaluation sets were used to benchmark general performance.
  • Speech Accessibility Project (SAP): A highly challenging dataset containing dysarthric speech (speech from individuals with speech disabilities). The authors used the 2026-04-30 release, fine-tuning HuBERT-XLarge on 740 hours of SAP training data and testing on the SAP development set.

In both datasets, a word was strictly treated as OOV if it was entirely absent from the supervised ASR training sets.

Key Insights and Ideas

  • Exploiting Disagreement as a Signal: Instead of relying on explicit confidence scores, the core trigger for learning is disagreement. When the acoustic model is certain it heard something that the language model thinks is impossible, it's a strong indicator of a new vocabulary word rather than simple noise.
  • Mathematical Guarantees via Pinsker’s Bound: The authors mathematically justify their KLD optimization strategy. By applying Pinsker’s inequality, they prove that minimizing the KLD mathematically bounds the total variation distance between the true spelling of the unknown word and the system's estimated spelling.
  • The Power of Replay: By buffering the first occurrence of a word and re-transcribing it only after subsequent occurrences have refined the token's representation, the system successfully mitigates the risk of reinforcing early, incorrect guesses (self-adaptation bias).

Key Results

The adaptation framework consistently improved performance across different language model backbones, particularly on the subsets of data containing frequent OOV words:

  • LibriSpeech: On the test-other OOV subset, the system achieved a relative OOV Character Error Rate (OOV-CER) reduction of 14.97% when paired with GPT-2, and 13.05% / 13.26% when paired with Qwen-3 and Gemma-3, respectively (see detailed metrics in Table 1).
  • Dysarthric Speech (SAP): Despite the inherent difficulty of impaired speech, the adapter yielded significant relative OOV-CER reductions of 6.67% (GPT-2), 4.27% (Qwen-3), and 3.85% (Gemma-3), demonstrating that the method generalizes well to atypical speech patterns (see detailed metrics in Table 2).
Table 1. Results on LibriSpeech (%). “OOV subset” denotes the set of test utterances that contain frequent OOV words. Parentheses indicate the relative error reduction (%) over the corresponding shallow fusion system. Asterisks denote statistically significant differences from the corresponding plain rescoring baselines: * denotes significance at p < 0.05 and ** at p ≤0.001, measured with the NIST sc stats tool.
Table 2. Results on SAP-dev OOV subset (%). Parentheses show relative error reduction (%) over the corresponding shallow fusion system. Significant reductions: * for p < 0.05 and ** for p ≤0.001.

Limitations and Future Work

While promising, the system has a few notable limitations:

  • The Top-K Bottleneck: The adaptation module can only choose from the spellings initially proposed by the CTC model. If the correct spelling isn't captured within the top-$K$ candidates during the first pass, the system can never recover it.
  • Acoustic Ambiguity: If the acoustic model confidently misrecognizes an OOV word as a rare in-vocabulary word, no CTC-LM mismatch is triggered, and the learning process never starts.
  • Multi-occurrence Dependency: The strategy is inherently conservative and relies on a word appearing multiple times to build stable representations. It provides little to no benefit for OOV words that only occur once in a stream.

The authors suggest that future work should focus on developing more robust OOV detection mechanisms and test-time strategies to dynamically optimize and generate spellings beyond the initial CTC beam search.

Summary updated

BibTeX
@misc{wang2026learning,
  author = {Mengqi Wang and Mark A. Hasegawa-Johnson and Haolong Zheng and Chang D. Yoo},
  title = {{Learning New Words from Unlabeled Test Data in Automatic Speech Recognition}},
  year = {2026},
  eprint = {2609.28877},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.28877},
}
Figure