On Lattice-Free Boosted MMI Training of HMM and CTC-Based Full-Context ASR Models

Xiaohui Zhang, Vimal Manohar, David Zhang, Frank Zhang, Yangyang Shi, Nayan Singhal, Julian Chan, Fuchun Peng, Yatharth Saraf, Mike Seltzer

TL;DR

Researchers at Facebook AI have developed a unified framework for hybrid Automatic Speech Recognition (ASR) that decouples modeling units (like characters or wordpieces) from label topologies (HMM vs. CTC). By applying Lattice-Free Boosted Maximum Mutual Information (LF-bMMI) training across these combinations, they achieved significant accuracy gains and demonstrated that "encoder-only" hybrid models can rival the performance of more complex "end-to-end" architectures like RNN-T.

What Problem Does This Paper Address?

In the world of ASR, two major "hybrid" lineages exist: DNN-HMM (Deep Neural Network-Hidden Markov Model) and CTC (Connectionist Temporal Classification). Historically, these have been treated as distinct architectures with different training recipes and software frameworks.

HMM-based models are great at providing accurate word timestamps but often require complex "senone" (context-dependent phone) setups. CTC models are simpler and "alignment-free" but suffer from "peaky" outputs that make precise timing difficult. This paper addresses this fragmentation by creating a single generalized framework where researchers can mix and match modeling units (characters, wordpieces, or "chenones") with different label topologies, all while using a powerful discriminative training criterion called LF-bMMI.

Methods

The core innovation is the decoupling of modeling units and label topologies.

  1. Unified Framework: The authors show that HMM and CTC are essentially just different ways of building "numerator" and "denominator" graphs for sequence training.
  2. LF-bMMI Training: They adapt Lattice-Free Boosted MMI—a technique that encourages the model to stay away from "near-miss" errors—to work with CTC topologies and wordpiece units.
  3. Modeling Units: They evaluate four types:
  4. Mono-char: Simple characters.
  5. Bi-char: Characters with left-context.
  6. Chenones (Tri-char): Characters with both left and right context.
  7. Wordpiece (wp): Sub-word units (via SentencePiece).
  8. Topologies: They compare standard HMM (1-state) and CTC (which uses a special "blank" token).
  9. Training Enhancements: The paper explores the impact of SpecAugment (masking parts of the audio) and finds that CTC-based models benefit significantly more from it than HMM models because the CTC "blank" token effectively represents "no output" during masked frames.

Datasets

  • LibriSpeech (960h): The standard academic benchmark for English ASR.
  • Large-scale Video ASR: An internal Facebook dataset consisting of 39.4K hours of supervised data and a staggering 2.2 million hours of unsupervised data from public videos.
  • Tagalog Video ASR: Used specifically to test the framework's ability to generate high-quality alignments in noisy, low-resource conditions.

Key Insights and Ideas

  • The "Blank" Advantage: CTC models handle feature masking (SpecAugment) better than HMMs. HMMs are forced to predict a real label even when audio is masked, whereas CTC can use the "blank" symbol to signal uncertainty.
  • Silence is Golden for Timing: HMM-based models (like wp-HMM) provide much more accurate timestamps than CTC models. This is because HMMs explicitly model silence, whereas CTC's peaky behavior causes it to "guess" the word's timing at a single point.
  • Wordpieces + Large Stride: Using wordpieces allows the model to use a larger "stride" (processing 8 frames at once instead of 4), which significantly speeds up inference without losing much accuracy.
  • Neural Aligners: The authors found that a neural bi-char HMM trained with MMI is a better "aligner" (for generating training targets) than traditional Gaussian Mixture Models (GMMs), especially on noisy data.

Key Results

  • Accuracy Gains: On LibriSpeech, wp-CTC-bMMI and ch-CTC-bMMI showed 8–15% relative improvement over standard Maximum Likelihood (ML) baselines.
  • Competitive with RNN-T: On the massive video dataset, the CTC-bMMI model performed almost on par with a much more complex RNN-Transducer (RNN-T) model, despite being a simpler "encoder-only" architecture.
  • Small Model Efficiency: For on-device models (using the Emformer architecture), ch-CTC-bMMI provided a 20–30% relative WER (Word Error Rate) improvement over standard CTC when training data was limited (1000h).
  • Timestamp Precision: The ch-HMM model achieved a Time-Stamp Error (TSE) of just 25ms, compared to 112ms for wp-CTC.

Limitations and Future Work

While the framework is highly flexible, the authors note that CTC-based models still struggle with timestamp accuracy due to their inherent "peaky" nature. Additionally, while the paper focuses on "full-context" models (which look at the entire utterance), they mention that extending this LF-bMMI approach to RNN-T architectures is a promising next step to combine the benefits of discriminative training with fully end-to-end models.

Summary updated

BibTeX
@inproceedings{zhang2021lattice,
  author = {Xiaohui Zhang and Vimal Manohar and David Zhang and Frank Zhang and Yangyang Shi and Nayan Singhal and Julian Chan and Fuchun Peng and Yatharth Saraf and Mike Seltzer},
  title = {{On Lattice-Free Boosted MMI Training of HMM and CTC-Based Full-Context ASR Models}},
  booktitle = {Asru},
  year = {2021},
  doi = {10.1109/asru51503.2021.9688056},
}

Loading related content...

Figure