Bypass Temporal Classification: Weakly Supervised Automatic Speech Recognition with Imperfect Transcripts

Dongji Gao, Matthew Wiesner, Hainan Xu, Leibny Paola García, Daniel Povey, Sanjeev Khudanpur

Abstract

Training state-of-the-art Automatic Speech Recognition (ASR) models typically requires large-scale, perfectly transcribed datasets. However, real-world data sources—such as YouTube captions, meeting notes, or low-resource language recordings—often contain significant transcription errors. This paper introduces Bypass Temporal Classification (BTC), a novel training criterion designed to handle substitution and insertion errors in training transcripts. By introducing a "wildcard" token into the alignment process and employing a geometric penalty decay, BTC allows ASR models to be trained from scratch on data with error rates as high as 70%, where standard Connectionist Temporal Classification (CTC) models typically fail.

Introduction

The "gold standard" for ASR training is verbatim transcription, where every spoken word is accurately captured. Unfortunately, human annotation is expensive and time-consuming. While weakly supervised methods exist to leverage "messy" data, they often rely on iterative processes: using an existing ASR model to clean the data before training a new one. This dependency creates a bottleneck for researchers working on rare languages or niche dialects where no high-quality pre-existing model exists.

Standard CTC-based training is particularly vulnerable to transcript noise. While variants of CTC have been developed to handle partial transcripts (deletions), they struggle with substitutions (incorrect words) and insertions (extra words). When a standard CTC model encounters these errors, it attempts to force an alignment between the audio and the incorrect text, corrupting the model's internal representations and often leading to training divergence.

Methodology: The Bypass Mechanism

The Wildcard Token

The core innovation of BTC is the introduction of a special wildcard token ($\star$) that acts as a "garbage collector" during the training phase. In the training graph—represented as a Weighted Finite-State Transducer (WFST)—the authors add $\star$ arcs in parallel to every word or phone in the transcript.

  • Handling Substitutions: If the transcript contains the word "apple" but the audio contains "orange," the model can "bypass" the incorrect label by assigning the "orange" acoustic frames to the $\star$ token.
  • Handling Insertions: If the transcript contains an extra word not present in the audio, the model can assign a minimal number of frames to the $\star$ token and proceed to the next valid label.

Penalty Scheduling

To prevent the model from collapsing into a degenerate solution—where it maps all audio to the wildcard token—the authors introduce a negative weight (penalty) $\lambda$ for the $\star$ arcs. This penalty is managed via a Geometric Decay schedule:

$$\lambda_i = \beta \cdot \tau^i$$

At the start of training, the penalty $\beta$ is high, forcing the model to trust the provided transcript. As training progresses and the model develops a better internal representation of acoustics, the penalty decays (controlled by $\tau$), allowing the model to use the wildcard to ignore obvious errors in the labels. The system is implemented using the k2 toolkit, enabling efficient GPU-based WFST operations.

Experimental Setup

The researchers evaluated BTC using two standard benchmarks with synthetically injected errors (ranging from 10% to 70% noise):

  1. TIMIT: A small dataset (5.4 hours) used for phonetic transcription tasks.
  2. LibriSpeech: A large-scale read speech dataset, specifically the 100-hour "clean" subset.

Results and Discussion

Robustness to Extreme Noise

BTC demonstrates remarkable stability in high-noise environments. On the TIMIT dataset with a 70% substitution error rate, standard CTC resulted in a Phone Error Rate (PER) of 63.1%, while BTC achieved a PER of 21.4%. Similarly, on LibriSpeech with 50% substitution noise, standard CTC yielded a Word Error Rate (WER) of 36.1%, whereas BTC achieved a WER of 7.4%.

Performance on Clean Data

Crucially, BTC does not impose a "noise tax." When trained on perfect transcripts, BTC performs almost identically to standard CTC (e.g., 5.5% vs 5.6% WER on LibriSpeech). This suggests that BTC can be safely adopted as a default training criterion even when the quality of the data is unknown.

Modeling Units

The study found that using phones as the decoding unit provided more robustness than Byte Pair Encoding (BPE) subwords at high error rates. This is likely because phones are more closely coupled with raw acoustic patterns, making it easier for the wildcard token to isolate specific phonetic mismatches.

Conclusion

Bypass Temporal Classification (BTC) provides a robust framework for training ASR models on imperfect data without requiring pre-existing models for data cleaning. By explicitly modeling transcript uncertainty through a penalized wildcard token, BTC prevents noisy labels from poisoning the learning process. Future work aims to integrate BTC with Star Temporal Classification (STC) to create a unified framework capable of handling substitutions, insertions, and deletions simultaneously.

Summary updated

BibTeX
@inproceedings{gao2023bypass,
  author = {Dongji Gao and Matthew Wiesner and Hainan Xu and Leibny Paola García and Daniel Povey and Sanjeev Khudanpur},
  title = {{Bypass Temporal Classification: Weakly Supervised Automatic Speech Recognition with Imperfect Transcripts}},
  booktitle = {Interspeech},
  year = {2023},
  doi = {10.21437/interspeech.2023-2258},
}
Figure