Unsupervised Mismatch Localization in Cross-Modal Sequential Data

Wei Wei, Hengguan Huang, Xiangming Gu, Hao Wang, Ye Wang · DOI

This research presents a novel approach to a fundamental challenge in speech processing: identifying discrepancies between spoken audio and its corresponding text without the need for human-labeled error data. The proposed framework, ML-VAE, bridges hierarchical Bayesian modeling with finite-state automata to localize mismatches and improve overall alignment accuracy.

The Problem: The "Perfect Match" Fallacy

In speech technology, "Forced Alignment" (FA) is the standard task of determining the exact start and end times for every phoneme in a transcript. However, most FA algorithms operate on a "perfect match" assumption. If a speaker mispronounces a word or skips a line, traditional aligners attempt to force the mismatched audio into the expected text categories. This leads to "alignment drift," where timing errors propagate through the rest of the sequence, rendering the entire alignment inaccurate.

Overview of the mismatch localization task: identifying where the spoken audio deviates from the expected phoneme sequence.

Detecting these mismatches typically requires massive amounts of human-annotated data, which is expensive and slow to produce. This paper addresses the challenge of unsupervised mismatch localization: finding errors and fixing alignment without prior knowledge of where mistakes occur.

Methodology: ML-VAE and ML-FSA

The authors propose the Mismatch Localization Variational Autoencoder (ML-VAE). The architecture decomposes the speech generation process into several layers of latent variables: the phoneme being spoken ($y_t$), the boundary between sounds ($b_t$), and a binary indicator of whether the sound is a "correct" match or a "mismatch" ($\pi_t$).

The Mismatch Localization Finite-State Acceptor (ML-FSA)

The core innovation is the ML-FSA, which integrates a finite-state machine into the VAE framework. Unlike standard aligners, the ML-FSA provides two parallel paths for every phoneme: a "Correct" path and a "Mismatch" path.

The Mismatch Localization Finite-State Acceptor (ML-FSA) provides parallel paths for correct phoneme alignment and mismatch detection.

During inference, the model uses dynamic programming to find the most likely path through this state machine. If the model cannot reconstruct the speech well using the "correct" phoneme path, it transitions through the mismatch state. This generative approach allows the system to isolate errors, preventing them from ruining the timing for subsequent segments.

Experimental Results

The model was evaluated on two datasets: Mismatch-AudioMNIST (a synthetic dataset with intentional mislabeling) and L2-ARCTIC (a real-world dataset of non-native English speakers with natural mispronunciations).

  • Error Detection: On the L2-ARCTIC dataset, traditional baselines achieved F1 scores near zero because they are not designed to find mismatches. ML-VAE-RL (a reinforcement learning variant) achieved an F1 score of 10.22%, a significant leap for a completely unsupervised system.
  • Alignment Accuracy: In terms of Intersection-over-Union (IoU)—a measure of timestamp overlap—ML-VAE-RL reached 53.02%, compared to just 5.73% for a standard wav2vec-CTC baseline.

Key Insights and Future Work

The research demonstrates that high-performance discriminative models like wav2vec 2.0 often struggle with mismatch localization because they are "too good" at correcting speech into text, thereby overlooking the very errors a language learning application needs to identify. By explicitly modeling mismatches, ML-VAE becomes better at aligning the correct parts of the sentence.

Future work aims to extend the ML-FSA to handle multiple valid pronunciations, such as regional dialects, and to optimize the computationally intensive alternating training procedure for real-time applications.

Summary updated

BibTeX
@misc{wei2022unsupervised,
  author = {Wei Wei and Hengguan Huang and Xiangming Gu and Hao Wang and Ye Wang},
  title = {{Unsupervised Mismatch Localization in Cross-Modal Sequential Data}},
  year = {2022},
  eprint = {2205.02670},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.02670},
}
Figure