Towards Real-time Mispronunciation Detection in Kids' Speech

Peter Plantinga, Eric Fosler-Lussier

Abstract

Modern mispronunciation detection and diagnosis (MDD) systems have seen significant gains in accuracy due to the introduction of deep learning. However, these systems have not been evaluated for the ability to be run in real-time, an important factor in applications that provide rapid feedback. In particular, the state-of-the-art uses bi-directional recurrent networks, where a uni-directional network may be more appropriate. Teacher-student learning is a natural approach to use to improve a uni-directional model, but when using a Connectionist Temporal Classification (CTC) objective, this is limited by poor alignment of outputs to evidence. We address this limitation by trying two loss terms for improving the alignments of our models. One loss is an "alignment loss" term that encourages outputs only when features do not resemble silence. The other loss term uses a uni-directional model as a teacher model to align the bi-directional model. Our proposed model uses these aligned bi-directional models as teacher models. Experiments on the CSLU kids' corpus show that these changes decrease the latency of the outputs and improve detection rates, demonstrating a successful trade-off between these goals.

Introduction

Computer-Assisted Pronunciation Training (CAPT) is a vital tool for literacy, but its effectiveness depends heavily on speed. To be useful for children, feedback should be near-instantaneous. Currently, the highest-performing MDD models utilize bi-directional recurrent networks (such as BiGRUs). While accurate, these models are inherently "offline" because they require the entire audio sequence before processing the initial segments.

Uni-directional models (UniGRUs) offer a real-time alternative but face two primary hurdles: lower accuracy due to the lack of future context and significant output delay when trained with standard CTC objectives. CTC models often "wait" until a sound concludes to make a prediction, leading to latencies that hinder interactive applications.

Addressing the Alignment Problem

Standard CTC training does not enforce temporal alignment between the audio signal and the predicted label. To solve this, the authors introduced an Alignment Loss ($L_{align}$). This loss utilizes the average energy of the audio to distinguish between speech and silence, penalizing the model for predicting phonemes during silence or "blank" symbols during active speech.

Posterior distributions for BiGRU and UniGRU models. The introduction of L_align (rows 2 and 4) forces phoneme predictions to align more closely with the speech signal (dashed line) compared to standard L_CTC.

As shown in the posterior plots, $L_{align}$ effectively shifts the prediction peaks to align with the physical speech signal (represented by the dashed energy envelope). This synchronization is crucial for reducing latency and providing a better training signal for student models.

Teacher-Student Learning Strategy

The authors propose a two-step training strategy to bridge the performance gap between BiGRUs and UniGRUs:

  1. Aligning the Teacher: A powerful BiGRU is first trained with the alignment loss to ensure its internal timing is punctual rather than "lazy."
  2. Windowed Knowledge Transfer: This aligned BiGRU acts as a teacher for a UniGRU student. The student's current frame is compared against a window of the teacher’s past frames (averaging them), helping the student compensate for the lack of future context.

Experimental Results

The study utilized the CSLU kids’ speech corpus, training models to predict 39 distinct phonemes. The results demonstrate that the proposed teacher-student method successfully closed 40% of the performance gap between standard uni-directional and bi-directional models.

Mispronunciation detection performance across different model architectures and loss functions. The proposed Teacher-Student (TS) methods significantly improve UniGRU F1 scores.

As detailed in the performance metrics, the optimized UniGRU achieved an F1 score of 56.7, approaching the BiGRU baseline of 59.7. Furthermore, these models achieved latencies ranging from 30ms to 240ms, making them highly viable for real-time interactive feedback in educational software.

Conclusion

By combining alignment loss with synchronized teacher-student learning, this research provides a path toward real-time mispronunciation detection for children. While challenges remain in distinguishing between ASR errors and actual mispronunciations, the ability to reduce latency while maintaining high accuracy is a significant step forward for CAPT technology.

Summary updated

BibTeX
@inproceedings{plantinga2019towards,
  author = {Peter Plantinga and Eric Fosler-Lussier},
  title = {{Towards Real-time Mispronunciation Detection in Kids' Speech}},
  booktitle = {Asru},
  year = {2019},
  doi = {10.1109/asru46091.2019.9003863},
}
Figure