Semi-Supervised Speech Recognition via Graph-based Temporal Classification

Niko Moritz, Takaaki Hori, Jonathan Le RouxarXiv 2020

TL;DR

This paper introduces Graph-based Temporal Classification (GTC), a generalization of the popular CTC loss that allows automatic speech recognition (ASR) models to train on graph-structured labels rather than just linear sequences. By applying GTC to semi-supervised self-training, the model can leverage an entire $N$-best list of alternative hypotheses encoded as a graph, significantly outperforming standard 1-best pseudo-labeling approaches.

What Problem Does This Paper Address?

State-of-the-art end-to-end ASR models are notoriously data-hungry. When labeled data is scarce, researchers often turn to semi-supervised learning (self-training), where a "seed" model trained on limited data generates "pseudo-labels" for a larger, unlabeled dataset.

Traditionally, self-training only utilizes the single best hypothesis (1-best) from the seed model. However, this approach has a major flaw: if the 1-best hypothesis contains errors, the model reinforces its own mistakes during training. While alternative hypotheses within an $N$-best list or lattice often contain the correct words and reflect the seed model's uncertainty, standard Connectionist Temporal Classification (CTC) loss cannot handle multiple alternative label sequences simultaneously.

Methods

The authors propose Graph-based Temporal Classification (GTC), which extends CTC to accept a graph representation (such as a Weighted Finite State Transducer, or WFST) of training labels. GTC marginalizes over all possible label sequences and temporal alignments allowed by the graph, weighting them by their transition probabilities.

To use GTC for semi-supervised self-training, the authors developed a pipeline to convert an $N$-best list of pseudo-labels into a compact, CTC-compatible graph:

  1. Confusion Network Generation: The $N$-best hypotheses are converted into a sausage-form confusion network (CN) using minimum Bayes risk decoding. A scaling factor ($\mu$) adjusts how strongly the ASR scores influence the path probabilities.
  2. WFST Optimization: Epsilon removal, determinization, and minimization are applied to make the graph compact and probabilistic.
  3. CTC Graph Conversion: States and arcs are converted to insert blank tokens, adhering to standard CTC alignment rules.

The underlying ASR architecture relies on a Transformer-based encoder preceded by a 2-layer CNN module for acoustic feature extraction, as illustrated below:

Fig. 2. ASR system architecture.

Datasets

The approach was evaluated on the standard LibriSpeech corpus:

  • Supervised Seed Data: The "clean" 100-hour subset.
  • Unlabeled Data (for Self-Training): The remaining 860 hours (comprising the "clean" 360-hour and "other" 500-hour subsets).
  • Evaluation: The official "clean" and "other" development and test sets.

Key Insights and Ideas

  • Graph Recombination Power: A graph representation can actually recover the correct transcription even if it wasn't explicitly present as a single entry in the $N$-best list. By combining correct sub-paths from different imperfect hypotheses, the graph creates a superior training target. This effect is visualized in the confusion network structure:
Fig. 1. CTC-style confusion network G on the left side with the un- folded graph S(G, T) on the right side, which is generated from an N-best list using character-based label symbols: ”HELO WORLD”, ”HELLO WOLD”, ”HELO WOLD”, ”HELLOWLD”. Circles de- note nodes with a corresponding label symbol observation inside, where ε is the blank symbol. Black arrows correspond to transitions of correct label paths and red arrows to transitions of alternative la- bel paths. Although the correct transcription is not present in the given N-best list, it can be recovered from the presented graph. Each transition is also associated with a transition weight, which are not shown in this figure.
  • The Danger of Graph Density: Counterintuitively, an unpruned graph containing every possible hypothesis performs worse. While it is more likely to contain the true text, the massive variance introduces excessive "label noise," making it harder for the network to converge on the correct sequence.
  • Pruning and Weights are Crucial: Pruning weak paths (high pruning) and utilizing probabilistic transition weights ($W=p$) act as a guide, helping the GTC loss focus on the most promising hypotheses and yielding the best performance.

Key Results

The authors compared GTC self-training against standard 1-best pseudo-labeling and an "oracle" baseline (where the best hypothesis from the 20-best list was manually selected using the ground truth).

As shown in the performance breakdown below, the baseline seed model (N/A) achieved a Word Error Rate (WER) of 21.2% on the challenging test-other set. Standard 1-best self-training reduced this to 15.6%.

The proposed GTC method using a 20-best confusion network with probabilistic weights and high pruning ($\text{CN}^{20}, p, \text{high}$) further reduced the WER to 15.0%, closing the gap toward the manual oracle baseline (14.2%).

Word Error Rate (WER) comparison across different pseudo-labeling and pruning configurations.

Limitations and Future Work

While GTC successfully leverages $N$-best lists, generating and optimizing WFSTs for every utterance adds computational overhead during the data-preparation phase. Additionally, the paper focuses strictly on converting $N$-best text lists into graphs; it does not explore training directly on dense word or token lattices output by the decoder, which could contain even richer alternative paths.

The authors suggest that future work could explore using GTC to unify other sequence criteria like Gram-CTC or Automatic Segmentation Criterion (ASG) under a single weighted finite automata framework.

Summary updated

BibTeX
@misc{moritz2020semi,
  author = {Niko Moritz and Takaaki Hori and Jonathan Le Roux},
  title = {{Semi-Supervised Speech Recognition via Graph-based Temporal Classification}},
  year = {2020},
  eprint = {2010.15653},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.15653},
}
Figure