Abstract
Visual Forced Alignment (VFA) is the task of synchronizing text to a speaker's lip movements in the absence of audio. Achieving high precision in VFA is challenging due to the subtle and rapid nature of visual phonetic transitions. This paper introduces a novel framework utilizing a Cross Global-Local (CGL) Conformer to capture both broad semantic context and fine-grained temporal details. By integrating multi-task learning—specifically targeting frame-level, boundary, and silence-aware predictions—and an improved Viterbi algorithm, the proposed method achieves a 27% relative boost in phoneme-level accuracy on standard benchmarks.
Introduction
Forced alignment is a critical process in media production, determining the precise start and end times of phonemes and words within a recording. While Audio Forced Alignment (AFA) is well-established, Visual Forced Alignment (VFA) remains a significant challenge. Lip movements are often faster than standard video frame rates, and transitions between phonemes are incredibly subtle. Previous VFA systems frequently struggled with these fine-grained details, leading to misalignments during silence or failing to pinpoint exact transition boundaries. This research addresses these limitations to enable precise automated subtitling in silent or high-noise environments.
Methodology
The researchers propose three primary innovations to enhance VFA precision:
1. CGL-Conformer (Cross Global-Local Conformer)
Standard models typically focus on global context to understand semantic meaning. The proposed CGL-Conformer introduces a parallel "local" branch. While the global branch captures sentence-level information, the local branch utilizes a narrow temporal window to focus on micro-movements and frame-to-frame changes in lip shape.
2. Multi-Task Learning
To improve robustness, the model is trained on three simultaneous tasks:
- Frame-level prediction: Identifying the specific phoneme in each frame.
- Boundary prediction: Detecting transition points between words.
- Silence-aware prediction: Distinguishing between active speech and pauses.
3. Improved Viterbi Algorithm
In the post-processing stage, an improved Viterbi algorithm integrates the outputs of the multi-task predictors. By using boundary and silence predictions as constraints, the decoder ensures the final sequence is logically consistent with the input text, preventing the model from skipping words or producing disordered results.
Experimental Results
The model was evaluated on the LRS2 and LRS3 datasets, using Montreal Forced Alignment (MFA) ground truth labels for training. The proposed method established a new state-of-the-art (SOTA) benchmark across several metrics:
- Phoneme-level Accuracy: On the LRS2 dataset, accuracy increased from the previous SOTA of 61.3% to 78.0%, representing a 27% relative improvement.
- Word-level Accuracy: The model reached 89.5% on LRS2, outperforming existing methods by approximately 6%.
- Timing Precision: The Mean Absolute Error (MAE) for phoneme timing dropped significantly from 176.5ms to 41.2ms, ensuring subtitles feel perfectly snapped to the speaker's movements.
Discussion and Conclusion
The integration of local context and structural constraints via the Viterbi algorithm proves essential for high-fidelity VFA. By treating silence as a specific learning task, the model effectively navigates the "visual silence" that often confuses standard lip-reading models.
Future work may focus on reducing the computational intensity of the dual-branch architecture and testing robustness against "in-the-wild" conditions, such as extreme head poses or low-light environments. Additionally, expanding the framework to non-English languages with different phonetic structures remains a promising direction for research.
Summary updated