Integrate Lattice-Free MMI into End-to-End Speech Recognition

Jinchuan Tian, Jianwei Yu, Chao Weng, Yuexian Zou, Dong Yu · DOI

Abstract

In automatic speech recognition (ASR) research, discriminative criteria have achieved superior performance in DNN-HMM systems. Given this success, the adoption of discriminative criteria is promising to boost the performance of end-to-end (E2E) ASR systems. With this motivation, previous works have introduced the minimum Bayesian risk (MBR, one of the discriminative criteria) into E2E ASR systems. However, the effectiveness and efficiency of the MBR-based methods are compromised: the MBR criterion is only used in system training, which creates a mismatch between training and decoding; the on-the-fly decoding process in MBR-based methods results in the need for pre-trained models and slow training speeds. To this end, novel algorithms are proposed in this work to integrate another widely used discriminative criterion, lattice-free maximum mutual information (LF-MMI), into E2E ASR systems not only in the training stage but also in the decoding process. The proposed LF-MMI training and decoding methods show their effectiveness on two widely used E2E frameworks: Attention-Based Encoder-Decoders (AEDs) and Neural Transducers (NTs). Compared with MBR-based methods, the proposed LF-MMI method: maintains the consistency between training and decoding; eschews the on-the-fly decoding process; trains from randomly initialized models with superior training efficiency. Experiments suggest that the LF-MMI method outperforms its MBR counterparts and consistently leads to statistically significant performance improvements on various frameworks and datasets from 30 hours to 14.3k hours. The proposed method achieves state-of-the-art (SOTA) results on Aishell-1 (CER 4.10%) and Aishell-2 (CER 5.02%) datasets.

Introduction: The Need for Discriminative Training

Standard end-to-end (E2E) Automatic Speech Recognition (ASR) models, such as Attention-based Encoder-Decoders (AED) and Neural Transducers (NT), are typically trained using generative criteria like Cross-Entropy (CE) or Connectionist Temporal Classification (CTC). While effective, these methods focus on maximizing the probability of the correct transcription without explicitly penalizing similar-sounding incorrect hypotheses. Discriminative training aims to address this by teaching the model to distinguish between correct and competitive incorrect transcriptions.

Previous attempts to incorporate discriminative criteria, such as Minimum Bayesian Risk (MBR), have faced significant hurdles. MBR training typically requires a complex, multi-stage process involving pre-training and computationally expensive "on-the-fly" decoding to generate hypothesis lists during training.

MBR-based training architecture showing the complex on-the-fly decoding process and stop-gradient bottleneck.

As shown in Figure 1, the MBR approach introduces a stop-gradient bottleneck and requires generating an N-best list during every training step, leading to slow training speeds and a fundamental mismatch between training and decoding phases.

Proposed Method: LF-MMI Integration

To overcome these limitations, this work proposes integrating Lattice-Free Maximum Mutual Information (LF-MMI) into modern E2E architectures. LF-MMI, originally successful in hybrid DNN-HMM systems, uses Finite-State Acceptors (FSAs) to approximate the sum of all possible transcriptions (the denominator), allowing for efficient discriminative training from scratch (random initialization) alongside standard E2E losses.

Proposed AED framework integrating the LF-MMI criterion alongside standard Cross-Entropy and CTC losses.

The integration is achieved by adding an LF-MMI criterion to the existing multi-task learning objective. For AED models (Figure 2), a new MMI Prefix Score algorithm was developed to allow the LF-MMI criterion to guide beam search in real-time. For NT models, an MMI Alignment Score with a look-ahead mechanism was implemented to handle the "peaky" nature of LF-MMI posteriors, ensuring synchronization with the transducer's emissions.

Key Insights and Results

The researchers evaluated their approach across a wide spectrum of data scales, from the 30-hour Aishell-s subset to a massive 14,300-hour industrial dataset.

  • Efficiency Gains: Because LF-MMI eschews the sampling/decoding process during training, it is significantly faster than MBR. On the Aishell-2 dataset, LF-MMI training for AED models was approximately 3.5x faster than the MBR counterpart.
  • State-of-the-Art Performance: The proposed method achieved SOTA results on popular Mandarin benchmarks, reaching a Character Error Rate (CER) of 4.10% on Aishell-1 and 5.02% on Aishell-2.
  • Consistency and Regularization: A major driver of performance was the consistency of using LF-MMI in both training and decoding. Additionally, the authors found that maintaining the token-level CTC loss as a regularizer was crucial to prevent overfitting.

Conclusion

Integrating LF-MMI into E2E ASR systems provides a robust and efficient alternative to MBR-based discriminative training. By maintaining consistency between training and decoding and enabling training from random initialization, the proposed approach consistently improves performance across diverse frameworks and data scales. Future work will focus on removing the dependency on a phone-level lexicon to create a truly lexicon-free, end-to-end discriminative pipeline.

Summary updated

BibTeX
@article{tian2023integrate,
  author = {Jinchuan Tian and Jianwei Yu and Chao Weng and Yuexian Zou and Dong Yu},
  title = {{Integrate Lattice-Free MMI into End-to-End Speech Recognition}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2023},
  doi = {10.1109/taslp.2022.3198555},
}
Figure