Sequence Transduction with Graph-Based Supervision

Niko Moritz, Takaaki Hori, Shinji Watanabe, Jonathan Le Roux

TL;DR

The authors introduce GTC-Transducer (GTC-T), a generalized loss function that allows researchers to plug flexible, graph-based label topologies directly into a transducer framework. By applying a strictly monotonic, CTC-like lattice to a transducer model, they outperform standard RNN-T on LibriSpeech while simplifying the decoding process.

What Problem Does This Paper Address?

In Automatic Speech Recognition (ASR), two loss functions dominate: CTC (Connectionist Temporal Classification) and RNN-T (Recurrent Neural Network Transducer).

  • CTC is fast and strictly monotonic (it moves forward in time frame-by-frame), but it assumes that output tokens are conditionally independent—a massive oversimplification for language.
  • RNN-T fixes this by adding a prediction network (like an internal language model) so outputs depend on previous labels. However, its alignment rules allow the model to emit multiple text tokens in a single time frame. This non-monotonic behavior makes decoding complex, slow, and difficult to optimize with modern parallel hardware.

The authors ask a fundamental question: Are the rigid, hardcoded alignment rules of standard RNN-T actually optimal? To find out, they needed a way to easily swap and test different alignment topologies within a conditionally dependent transducer framework.

Methods

The authors propose GTC-Transducer (GTC-T). It extends Graph-based Temporal Classification (GTC)—which allows manual definition of label transitions via graphs—to work with the conditionally dependent architecture of a transducer (encoder + predictor + joiner network).

Using GTC-T, they experiment with two distinct graph topologies:

  1. CTC-like graph: Inserts blanks between labels and allows label repetitions to match audio length, but strictly forbids emitting multiple distinct ASR labels per frame.
  2. MonoRNN-T graph: A strictly monotonic variant of RNN-T that eliminates multiple emissions per frame but retains standard transducer transition dynamics.
Graph topologies for GTC-T training: a) CTC-like graph, b) MonoRNN-T graph.

Because the CTC-like graph alters how paths are traversed, the authors also introduce a customized frame-synchronous prefix beam search decoding algorithm. The entire framework is implemented as an efficient, custom CUDA extension for PyTorch.

Datasets

The approach was evaluated on two well-known ASR benchmarks:

  • HKUST: A relatively small dataset containing roughly 180 hours of Mandarin telephone speech.
  • LibriSpeech: A large-scale dataset containing nearly 1,000 hours of read English audiobooks.

Key Insights and Ideas

  • Monotonicity is a Feature, Not a Bug: Forcing the model to obey a strictly monotonic, CTC-like alignment doesn't hurt performance. In fact, when paired with an external language model, it actually beats standard RNN-T.
  • Super-charging Shallow Fusion: GTC-T with a CTC-like graph shows an unusual synergy with external language models. While standard RNN-T gains a modest boost from an external Transformer LM, the CTC-like GTC-T model improves drastically, suggesting its probability distribution is better suited for shallow fusion.
  • The Importance of Warm Starts: Training graph-based transducers from scratch is notoriously slow to converge. The authors found that pre-training the encoder network with a standard CTC loss for a few epochs acts as a vital regularizer, unlocking the full potential of GTC-T.

Key Results

The main quantitative breakthrough occurred on the large-scale LibriSpeech dataset:

  • State-of-the-Art Transduction: GTC-T with a CTC-like graph, paired with a strong Transformer Language Model (Tr. LM), achieved a Word Error Rate (WER) of 2.5% on test-clean and 5.9% on test-other.
  • Beating RNN-T: This 5.9% WER is a 4.8% relative improvement over their equivalent standard RNN-T baseline (which achieved 6.2% WER).
Extracted table from page 4 of Sequence Transduction with Graph-based Supervision

Interestingly, on the smaller HKUST dataset, pure CTC still outperformed both RNN-T and GTC-T variants, confirming the long-held belief that transducer-based architectures are highly data-hungry.

Limitations and Future Work

  • Dependency on External LMs: Without an external language model, standard RNN-T still holds a slight edge over GTC-T (e.g., 3.1% vs 3.4% on LibriSpeech test-clean). GTC-T relies on shallow fusion to achieve its peak performance.
  • Random Initialization Gaps: While the encoder is successfully initialized via CTC pre-training, the prediction and joiner networks are still initialized completely at random. Developing smart initialization techniques for these components remains an open challenge.

Summary updated

BibTeX
@inproceedings{moritz2022sequence,
  author = {Niko Moritz and Takaaki Hori and Shinji Watanabe and Jonathan Le Roux},
  title = {{Sequence Transduction with Graph-Based Supervision}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  doi = {10.1109/icassp43922.2022.9747788},
}
Figure