TL;DR
Omni-temporal Classification (OTC) is a novel training criterion that allows Automatic Speech Recognition (ASR) models to learn effectively from "flawed" or non-verbatim transcripts. By extending the standard Connectionist Temporal Classification (CTC) with uncertainty-aware paths in a Weighted Finite State Transducer (WFST) framework, OTC remains robust even when training data contains up to 70% errors—a scenario where traditional CTC models fail completely.
What Problem Does This Paper Address?
State-of-the-art ASR systems are data-hungry, typically requiring thousands of hours of accurately transcribed speech. However, high-quality "verbatim" human transcription is incredibly expensive and slow. The internet offers a goldmine of "weakly supervised" data (like videos with closed captions or audiobooks), but these transcripts often contain substitutions, deletions, or insertions relative to what is actually spoken.
Standard training objectives like CTC are brittle; they assume the transcript is a ground-truth sequence. When faced with errors, CTC forces the model to learn incorrect alignments, leading to significant performance degradation. While previous methods addressed specific error types (e.g., just deletions), there hasn't been a unified "omni" solution that handles all transcript flaws simultaneously without requiring complex, multi-stage data cleaning pipelines.
Methods
The authors propose Omni-temporal Classification (OTC), which leverages the flexibility of Weighted Finite State Transducers (WFSTs) to explicitly model label uncertainty.
The OTC Topology
OTC modifies the standard CTC training graph by adding two key structural elements:
- Self-loop arcs: These allow the model to insert a special "uncertainty" token ($\star$) at any point. This handles deletion errors (words spoken but missing from the text) by filling the acoustic gap with $\star$.
- Bypass arcs: these provide an alternative path parallel to every word in the transcript. If a word in the transcript is a substitution or an insertion (text present but not spoken), the model can choose the bypass arc (the $\star$ token) instead of forcing a bad alignment.
Modeling the $\star$ Token
Instead of treating $\star$ as a new token with its own learned distribution (which can confuse the model with the "blank" symbol), OTC represents $\star$ as the average probability of all non-blank tokens. This effectively treats it as a "garbage" state that can match any acoustic content that doesn't fit the provided transcript.
Penalty Strategy
To prevent the model from simply "opting out" of the transcript entirely, the authors use decaying penalties ($\lambda_1, \lambda_2$) for the $\star$ paths. Early in training, high penalties force the model to try and follow the transcript; as training progresses, the penalties decrease, allowing the model to use the $\star$ token when it is genuinely confused by a mismatch.
Datasets
- LibriSpeech (LS): Used for controlled experiments. The authors injected synthetic errors (substitutions, insertions, deletions) at rates from 10% to 70% to stress-test the objective.
- LibriVox (LV): The raw source of LibriSpeech. Unlike the heavily curated LS, the authors used LV with minimal processing (just VAD and uniform 60-second segmentation) to demonstrate OTC's utility on real-world, noisy, weakly-labeled data.
Key Insights and Ideas
- Robustness to Extreme Noise: The most striking insight is that OTC maintains reasonable performance (10-30% WER) even when the training transcript is 70% wrong. Traditional CTC fails to converge at these levels.
- Minimal Data Prep: OTC allows researchers to bypass the traditional, labor-intensive ASR data cleaning pipeline (which involves multiple rounds of alignment and filtering). You can essentially take raw audio and a rough book text, chop them into 60-second chunks, and start training.
- Alignment as a "Pressure Valve": By providing the $\star$ paths, OTC acts as a pressure relief valve for the loss function. It prevents the gradients from "poisoning" the model weights when the audio and text don't match.
Key Results
- Synthetic Benchmarks: On LibriSpeech 100h with 50% mixed errors, CTC produces a model with ~90% WER, while OTC achieves ~15% WER.
- Real-world Weak Supervision: Training on the raw LibriVox 960h set (which is full of "shift errors" from uniform segmentation), OTC achieved 6.1% WER on
test-clean. For comparison, the "topline" model trained on the perfectly cleaned LibriSpeech 960h set achieved 3.3% WER. Standard CTC on the same raw data failed completely (~99% WER). - No Penalty for Clean Data: When trained on perfect verbatim transcripts, OTC performs identically to CTC (7.8% WER), proving there is no downside to using the more flexible objective.
Limitations and Future Work
- Hyperparameter Tuning: The performance is sensitive to the initial penalties ($\beta$) and decay factors ($\tau$). The authors determined these empirically, but a more automated way to set these for new datasets would be beneficial.
- Segment Length: The model failed to converge with very short uniform segments (15-30s) because the "shift errors" (where the text for a segment actually belongs to the previous or next audio chunk) became too severe. 60-second segments were required for stability.
- Vocabulary Size: Interestingly, a small BPE vocabulary (size 200) performed best, suggesting that larger vocabularies might make the "average probability" modeling of the $\star$ token less effective.
The implementation is available in the k2-fsa/icefall repository, making it accessible for engineers looking to train on their own "flawed" datasets.
Summary updated