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

Abstract

Hybrid automatic speech recognition (ASR) models are typically sequentially trained with CTC or LF-MMI criteria. However, they have vastly different legacies and are usually implemented in different frameworks. In this paper, by decoupling the concepts of modeling units and label topologies and building proper numerator/denominator graphs accordingly, we establish a generalized framework for hybrid acoustic modeling (AM). In this framework, we show that LF-MMI is a powerful training criterion applicable to both limited-context and full-context models, for wordpiece/mono-char/bi-char/chenone units, with both HMM/CTC topologies. From this framework, we propose three novel training schemes: chenone(ch)/wordpiece(wp)-CTC-bMMI, and wordpiece(wp)-HMM-bMMI with different advantages in training performance, decoding efficiency and decoding time-stamp accuracy. The advantages of different training schemes are evaluated comprehensively on Librispeech, and wp-CTC-bMMI and ch-CTC-bMMI are evaluated on two real world ASR tasks to show their effectiveness. Besides, we also show bi-char(bc) HMM-MMI models can serve as better alignment models than traditional non-neural GMM-HMMs.

Introduction

In the field of Automatic Speech Recognition (ASR), two primary hybrid lineages have historically dominated: DNN-HMM (Deep Neural Network-Hidden Markov Model) and CTC (Connectionist Temporal Classification). While HMM-based models excel at providing accurate word timestamps, they often require complex context-dependent "senone" setups. Conversely, CTC models are simpler and alignment-free but suffer from "peaky" outputs that make precise timing difficult. This research addresses the fragmentation between these architectures by creating a generalized framework that decouples modeling units from label topologies, unified under a powerful discriminative training criterion: Lattice-Free Boosted Maximum Mutual Information (LF-bMMI).

Methods

The core innovation of this work is the decoupling of modeling units and label topologies. The researchers demonstrate that HMM and CTC are essentially different methods for constructing "numerator" and "denominator" graphs for sequence training.

Comparison of CTC and 1-state HMM topologies used in the unified framework.

By adapting LF-bMMI training—a technique that penalizes "near-miss" errors—to work with both CTC topologies and various modeling units (mono-char, bi-char, chenones, and wordpieces), the framework allows for a flexible mix-and-match approach. A key finding in the training process is that CTC-based models benefit significantly more from SpecAugment than HMM models. This is because the CTC "blank" token effectively represents "no output" during masked audio frames, whereas HMMs are forced to predict a real label even when the input signal is missing.

Key Results and Insights

The framework was evaluated on LibriSpeech (960h) and large-scale video datasets. The results highlight significant trade-offs between accuracy, decoding speed, and timestamp precision across different configurations.

Performance comparison of different modeling units across WER, RTF, and TSE metrics.
  • Accuracy Gains: On LibriSpeech, wp-CTC-bMMI and ch-CTC-bMMI showed 8–15% relative improvement over standard Maximum Likelihood (ML) baselines. On massive internal video datasets, the CTC-bMMI model performed nearly as well as more complex RNN-Transducer (RNN-T) architectures.
  • Efficiency: Utilizing wordpieces (wp) allows for a larger stride (processing 8 frames at once), which significantly improves the Real-Time Factor (RTF) during inference without substantial loss in accuracy.
  • Timestamp Precision: HMM-based models (like ch-HMM) provide far more accurate timestamps than CTC models. As shown in the results, ch-HMM achieved a Time-Stamp Error (TSE) of just 25ms, whereas wp-CTC reached 112ms. This is attributed to the HMM's explicit modeling of silence.
  • Neural Aligners: The study found that a neural bi-char HMM trained with MMI serves as a superior aligner for generating training targets compared to traditional GMM-HMMs, particularly in noisy, low-resource conditions like the Tagalog video dataset.

Conclusion

This unified framework demonstrates that "encoder-only" hybrid models can rival the performance of complex end-to-end architectures when trained with LF-bMMI. While CTC-based models still face challenges with timestamp accuracy due to their peaky nature, the flexibility to choose between HMM and CTC topologies within a single framework allows researchers to optimize for their specific use case—whether it be decoding speed or timing precision. Future work will look toward extending these discriminative training techniques to RNN-T architectures.

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},
}
Figure