Self-Train Before You Transcribe

Robert Flynn, Anton Ragni

Abstract

Automatic Speech Recognition (ASR) models often struggle when encountering out-of-domain data, such as unfamiliar accents or noisy environments. This paper presents Noisy Student Teacher at Inference (NSTI), a Test-Time Adaptation (TTA) method that allows models to self-train on a specific recording before transcription. By leveraging local context and data augmentation, NSTI achieves up to a 32.2% relative improvement in accuracy, outperforming traditional methods that use significantly more data.

Introduction

Automatic Speech Recognition (ASR) models are typically static. Once trained on massive datasets, their internal logic is frozen. When these models encounter "domain shift"—such as a speaker with a rare accent, a noisy room, or technical jargon—performance often plummets. Traditional solutions involve self-training, where a model generates "pseudo-labels" for unlabelled data and then learns from its own predictions. However, this usually requires a large, separate collection of unlabelled data from the target domain, which is often unavailable in real-world scenarios like private consultations or breaking news events.

Researchers have developed Noisy Student Teacher at Inference (NSTI) to address this challenge. NSTI enables models to adapt using only the specific recording they are currently transcribing, achieving substantial accuracy gains without requiring external datasets.

Methodology

Instead of transcribing a file straight through, the NSTI process involves three main stages:

  1. Segmentation & Shuffling: The recording is broken into smaller segments and shuffled. Shuffling prevents the model from simply memorizing the sequence of a specific conversation, forcing it to learn more general acoustic features.
  2. The Teacher-Student Loop: The system employs a dual-pathway approach. The "Teacher" (the original model) processes a clean segment to generate a transcript (pseudo-label). Simultaneously, the "Student" (the model being updated) processes a "noisy" version of that same segment, modified using SpecAugment to mask certain frequencies. The Student is then trained via gradient descent to match the Teacher’s output.
  3. The Final Pass: After a few epochs of this internal rehearsal, the updated model transcribes the entire recording for the final output.
The NSTI architecture utilizes a teacher-student loop where the model learns from its own predictions on augmented versions of the input spectrogram.

Experimental Setup

The base model was trained on 58,000 hours of Spotify podcasts. To test adaptation capabilities, the authors evaluated it on several challenging datasets:

  • Earnings-22: Financial meetings with diverse global accents.
  • Rev16: Podcast-based data (in-domain).
  • Tedlium: 10–20 minute TED talks.
  • Chime6: A "nightmare" scenario featuring distant microphones in noisy environments with heavy background chatter.

Key Results and Insights

The NSTI method showed substantial Word Error Rate Reductions (WERR) across the board compared to an unadapted baseline. Most notably, it achieved an 18.6% relative improvement on Earnings-22 and a massive 31.3% relative improvement on the noisy Chime6 dataset.

The "Local Context" Advantage

A critical finding was that self-training on just one hour of the current recording was more effective than training on 105 hours of general out-of-domain data. This is because the specific recording contains the exact acoustic environment, microphone characteristics, and speaker quirks relevant to the task. As shown in the performance analysis, the benefits of NSTI scale with the duration of the audio available for adaptation.

Word Error Rate Reduction (WERR) increases significantly with the duration of the recording used for adaptation, showing the value of local context.

Robustness Through Augmentation

In noisy environments like Chime6, data augmentation proved non-negotiable. Without adding noise during the self-training phase, models suffered from "model collapse," where they essentially learned to output nothing. Frequency masking via SpecAugment forced the model to learn robust features, preventing this failure mode.

Limitations and Future Work

While highly effective, NSTI increases the computational cost of transcription, as the model must "train" on the audio before generating the final text. This makes it less suitable for live, real-time captioning without further optimization. Additionally, because the method shuffles segments, it currently ignores the natural flow of conversation. Future work will investigate how to incorporate sequential context—such as evolving vocabulary—into the adaptation process to further refine accuracy.

Summary updated

BibTeX
@inproceedings{flynn2024self,
  author = {Robert Flynn and Anton Ragni},
  title = {{Self-Train Before You Transcribe}},
  booktitle = {Interspeech},
  year = {2024},
  doi = {10.21437/interspeech.2024-858},
}
Figure