End-to-End Word-Level Pronunciation Assessment with MASK Pre-training

Yukang Liang, Kaitao Song, Shaoguang Mao, Huiqiang Jiang, Luna Qiu, Yuqing Yang, Dongsheng Li, Linli Xu, Lili Qiu · DOI

Introduction

In Computer-Aided Pronunciation Training (CAPT), providing a single holistic score for a sentence is often insufficient for language learners. To improve, students require granular feedback at the word and phoneme levels to identify specific mispronunciations. Traditionally, this level of detail has relied on alignment: the process of matching specific segments of an audio signal to specific words or sounds in a reference text.

Most current systems utilize "Goodness of Pronunciation" (GOP) metrics, which depend on external aligner tools. However, these aligners frequently fail when processing non-native speech—the very data they are meant to analyze—leading to a "bottleneck" where alignment errors cascade into incorrect pronunciation scores. Researchers from Microsoft and USTC have proposed MPA (Masked Pre-training for Pronunciation Assessment), an end-to-end framework that bypasses explicit alignment in favor of an implicit "mask-and-predict" strategy.

The MPA Framework

MPA utilizes an encoder-decoder architecture designed to learn the relationship between audio and text without requiring pre-defined timestamps. The system is distinguished by three core components:

1. Bidirectional Decoder

Standard speech recognition decoders typically process text from left to right. In contrast, MPA employs a bidirectional decoder. By having access to the entire reference sentence, the model can leverage context from both before and after a specific word to better interpret the corresponding audio segment.

2. Mask-Predict Strategy

To assess a specific word or phoneme, the model "masks" that token in the reference text. It then uses the remaining text and the full audio signal to predict the identity of the masked token. This forces the model’s internal attention mechanism to "hunt" for the specific acoustic features that correspond to the missing text. The model's confidence in its prediction (the log-likelihood) serves as a proxy for pronunciation quality: if the audio is clear and correct, the model can easily predict the masked word; if the pronunciation is poor, the prediction confidence drops.

3. Two-Stage Training

The model undergoes a rigorous training pipeline to ensure robustness:

  • Pre-training: The model is first trained on the LibriSpeech dataset (~960 hours of English speech). This stage allows the model to learn general phonological patterns and the fundamental mapping between English text and audio.
  • Fine-tuning: The model is then refined using SpeechOcean762, a specialized dataset containing 5,000 sentences from non-native speakers, complete with professional human annotations for pronunciation quality.

Key Insights

Implicit Alignment

By providing the model with the reference text and masking only one token at a time, the model naturally learns to align audio and text through its attention layers. Analysis of the model's attention maps reveals that "peaks" in attention correspond precisely to the correct time intervals for each word in the audio, effectively solving the alignment problem without an external tool.

Preventing Information Leakage

A common pitfall in pronunciation assessment is "information leakage," where a model might ignore the audio and simply rely on the provided text to generate a score. The masking strategy prevents this by ensuring the model must consult the audio to fill in the missing textual information.

Experimental Results

Evaluated on the SpeechOcean762 benchmark, MPA demonstrated a significant leap in performance over existing state-of-the-art (SOTA) methods. Performance is measured using the Pearson Correlation Coefficient (PCC), where 1.0 represents perfect agreement with human expert scorers.

  • Phoneme-Level Assessment: MPA achieved a PCC of 0.89, a dramatic improvement over the previous baseline of 0.52.
  • Word-Level Assessment: The model reached a PCC of 0.94, indicating that its scoring is nearly indistinguishable from that of human experts.
  • Unsupervised Capability: Even in settings where no human-labeled scores were used for training, the mask-predict objective remained a highly effective proxy for quality, outperforming standard recognition-based assessment methods.

Conclusion and Future Work

MPA represents a significant advancement in CAPT by eliminating the alignment bottleneck and providing highly accurate, granular feedback. However, the researchers noted two primary areas for improvement. First, inference speed is currently a challenge; because the model must perform a separate pass for every word it scores, it is more computationally intensive than single-pass models. Second, the system currently requires a reference text, making it unsuitable for spontaneous or free-form speech assessment.

Future research will focus on optimizing the scoring process—potentially through sliding window techniques—and adapting the architecture to handle scenarios where the transcript is not known in advance.

Summary updated

BibTeX
@inproceedings{liang2023end,
  author = {Yukang Liang and Kaitao Song and Shaoguang Mao and Huiqiang Jiang and Luna Qiu and Yuqing Yang and Dongsheng Li and Linli Xu and Lili Qiu},
  title = {{End-to-End Word-Level Pronunciation Assessment with MASK Pre-training}},
  booktitle = {Interspeech},
  year = {2023},
  doi = {10.21437/interspeech.2023-585},
}
Figure