Masked Acoustic Unit for Mispronunciation Detection and Correction

Zhan Zhang, Yuehai Wang, Jianyi Yang · DOI

TL;DR

This paper introduces a novel approach to Computer-Assisted Pronunciation Training (CAPT) that moves away from expensive, human-annotated labels. By using unsupervised Acoustic Units (AU) and a masking strategy, the system can both detect mispronunciations and provide "self-imitating" audio feedback—showing learners exactly how their own voice would sound if the word were pronounced correctly.

What Problem Does This Paper Address?

Most current CAPT systems rely on Automatic Speech Recognition (ASR) to compare a student's speech against a target text. This presents two major hurdles:

  1. The Annotation Bottleneck: Training these systems requires massive amounts of non-native speech expertly labeled by linguists. Furthermore, non-native speakers often produce "in-between" sounds that don't fit neatly into standard phoneme categories, making human annotation subjective and difficult.
  2. The Feedback Gap: Traditional systems usually provide text-based feedback (e.g., "You mispronounced the 'L' in 'Apple'"). While helpful, it doesn't show the learner how to fix it in the context of their own voice. Existing audio feedback methods often use generic Text-to-Speech (TTS) voices, which lack the personal resonance of "self-imitation."

Methods

The authors propose a framework based on Acoustic Units (AU)—discrete, fine-grained speech representations learned in an unsupervised manner.

  • Acoustic Unit Discovery: They use a modified VQ-VAE (Vector-Quantized Variational Autoencoder) with a Conformer backbone. This model learns to compress speech into a sequence of discrete codes (AUs) and then reconstruct it. Because AUs are discovered automatically, no human phoneme labels are needed for this stage.
  • Mispronunciation Simulation: To train the detector without manual labels, the researchers "corrupt" native speech. They take a correct AU sequence and randomly replace segments with "distracting" AUs from other utterances, creating a synthetic dataset of mispronunciations.
  • Detection & Correction via Masking: A Transformer-based model is trained to take this corrupted AU sequence and the target phonemes as input. It must perform two tasks:
  • Detection: Predict an "error mask" identifying which AUs are wrong.
  • Correction: Predict the original, correct AUs for the masked areas.
  • Self-Imitating Feedback: During inference, the system detects the learner's error, masks that specific area, and generates the "corrected" AU. This corrected sequence is then turned back into audio. Because only the erroneous part is modified, the resulting speech retains the learner's original voice, pitch, and style.

Datasets

The study utilizes two primary datasets:

  • Librispeech: A standard large-scale corpus of native English (L1) speech used for training the VQ-VAE and the core detection/correction models.
  • L2-Arctic: A dataset of non-native (L2) English speech. The authors used a small annotated portion (3,599 utterances) for testing and a larger unannotated portion (over 23,000 utterances) to help train the VQ-VAE.

Key Insights and Ideas

  • AUs > Phonemes: Acoustic Units are more fine-grained than standard phonemes. This allows the model to capture the subtle nuances of non-native speech that traditional ASR systems might simply ignore or misclassify.
  • Unsupervised is Viable: By using synthetic corruption (mixing native speech units), the model learns the "standard" distribution of sounds without needing a single human-labeled error during the primary training phase.
  • Partial Correction: Unlike TTS-based feedback which generates a whole new sentence, this model performs "surgical" correction. By keeping the "correct" parts of the learner's original audio, the feedback feels much more personal and achievable to the student.

Key Results

  • Detection Performance: The proposed "MaskedAU" model achieved an F1 score of 0.438, significantly outperforming other annotation-free methods (like GMM-HMM or standard ASR baselines) which hovered between 0.29 and 0.41.
  • Correction Quality: To test the correction, the authors used a separate ASR system to measure the Word Error Rate (WER) of the generated audio. Their model achieved a WER comparable to high-end TTS systems but was overwhelmingly preferred by human listeners.
  • User Preference: In a survey of 20 volunteers, the "MaskedAU" method received the highest preference score (44.33%) for CAPT feedback, beating out GoogleTTS and other style-transfer models.

Limitations and Future Work

While the paper demonstrates a strong proof-of-concept, some areas remain for exploration:

  • Robustness to Heavy Accents: The paper notes that very low-level features can be sensitive to speaker variation. While AUs are more robust than raw spectrums, extremely heavy L2 interference might still challenge the "error vs. style" distinction.
  • Real-time Constraints: The architecture involves multiple stages (VQ-VAE encoding, Transformer decoding, and a Parallel-WaveGAN vocoder). The authors do not explicitly discuss the latency or computational cost for real-time mobile applications.
  • Prosody: The current model focuses on phoneme-level correction. Future work could extend this to prosody (rhythm and intonation), which is equally vital for language learners.

Summary updated

Abstract

Computer-Assisted Pronunciation Training (CAPT) plays an important role in language learning. Conventional ASR-based CAPT methods require expensive annotation of the ground truth pronunciation for the supervised training. Meanwhile, certain undefined non-native phonemes cannot be correctly classified into standard phonemes, making the annotation process challenging and subjective. On the other hand, ASR-based CAPT methods only give the learner text-based feedback about the mispronunciation, but cannot teach the learner how to pronounce the sentence correctly. To solve these limitations, we propose to use the acoustic unit (AU) as the intermediary feature for both mispronunciation detection and correction. The proposed method uses the masked AU sequence and the target phonemes to detect the error AU and then corrects it. This method can give the learner speech-based self-imitating feedback, making our CAPT powerful for education.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
L2-ARCTIC · Mispronunciation detectionMaskedAUPRE0.353+0.03 vs baselineMispronunciation Detection · split: test · test-subset=annotated portion; 3,599 utterances · training-data=L1+L2 (speech only)
Source quote
L157: MaskedAU │ L1+L2(Speech Only) │ 0.353 │ 0.577 │ 0.438
L2-ARCTIC · Mispronunciation detectionMaskedAUREC0.577+0.02 vs baselineMispronunciation Detection · split: test · test-subset=annotated portion; 3,599 utterances · training-data=L1+L2 (speech only)
Source quote
L157: MaskedAU │ L1+L2(Speech Only) │ 0.353 │ 0.577 │ 0.438
L2-ARCTIC · Mispronunciation detectionMaskedAUF10.438+0.03 vs baselineMispronunciation Detection · split: test · test-subset=annotated portion; 3,599 utterances · training-data=L1+L2 (speech only)
Source quote
L157: MaskedAU │ L1+L2(Speech Only) │ 0.353 │ 0.577 │ 0.438
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
L2-ARCTIC · Mispronunciation detectionTransformer baselinePRE0.327Mispronunciation Detection · split: test · test-subset=annotated portion; 3,599 utterances · training-data=L1 only
Source quote
L152: Transformer │ L1 Only │ 0.327 │ 0.553 │ 0.411
L2-ARCTIC · Mispronunciation detectionTransformer baselineREC0.553Mispronunciation Detection · split: test · test-subset=annotated portion; 3,599 utterances · training-data=L1 only
Source quote
L152: Transformer │ L1 Only │ 0.327 │ 0.553 │ 0.411
L2-ARCTIC · Mispronunciation detectionTransformer baselineF10.411Mispronunciation Detection · split: test · test-subset=annotated portion; 3,599 utterances · training-data=L1 only
Source quote
L152: Transformer │ L1 Only │ 0.327 │ 0.553 │ 0.411
BibTeX
@misc{zhang2021masked,
  author = {Zhan Zhang and Yuehai Wang and Jianyi Yang},
  title = {{Masked Acoustic Unit for Mispronunciation Detection and Correction}},
  year = {2021},
  eprint = {2108.05517},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.05517},
}

Loading related content...

Figure