Abstract
Generating realistic, audio-driven talking faces requires a delicate balance between precise lip synchronization and the preservation of fine-grained facial textures. Current end-to-end approaches often suffer from texture degradation or a lack of localized control. We present SegTalker, a framework that utilizes semantic segmentation as a bridge to decouple facial movement from image texture. By driving a semantic mask with audio and filling it with region-specific style codes, SegTalker achieves superior visual fidelity and enables seamless local editing, such as modifying hair, makeup, or backgrounds, without compromising speech synchronization.
1. Introduction
The field of audio-driven talking face generation has seen significant progress, yet two primary challenges remain: texture loss and a lack of granular control. Models that map audio directly to pixels often produce blurry results or generic facial features, particularly for complex areas like the teeth and skin pores. Furthermore, many existing architectures treat the face as a monolithic entity, making it difficult to perform local edits—such as changing a subject's hairstyle or background—without retraining the entire pipeline or employing complex post-processing.
SegTalker addresses these issues by introducing a structural middle ground: the semantic segmentation mask. This representation is flexible enough to follow speech-driven motion while providing clear boundaries to "remember" and apply specific textures to distinct facial regions.
2. Methodology
SegTalker decomposes the generation process into two specialized sub-networks: Talking Segmentation Generation (TSG) and Segmentation-guided GAN Injection (SGI).
2.1 Talking Segmentation Generation (TSG)
Instead of predicting raw pixels, the TSG module predicts the movement of a semantic segmentation mask—a map where each pixel is labeled by its anatomical region (e.g., lips, eyes, nose). To ensure high-quality synchronization, the module leverages AV-Hubert, a pre-trained audio-visual model. This allows the predicted mask to maintain temporal consistency and precise alignment with the input audio signal.
2.2 Segmentation-guided GAN Injection (SGI)
The SGI module manages the visual appearance of the face. It utilizes a mask-guided encoder to extract "style codes" for different facial regions from a reference image. These codes are then injected into a StyleGAN generator. Because these textures are tied to specific semantic labels, the model can accurately "paint" the subject's unique features—such as the specific shape of their teeth or skin texture—onto the dynamic mask produced by the TSG.
2.3 Local Editing and Background Separation
This decoupled architecture inherently supports local editing. By swapping the style codes of a specific region (e.g., the "hair" label) or modifying the mask geometry (e.g., forcing a blink in the "eye" region), users can edit the video output without affecting the lip-sync. Additionally, since the background is treated as a distinct semantic label, background replacement becomes a native feature of the model.
3. Experimental Setup
The researchers evaluated SegTalker using two primary datasets:
- HDTF (High-Definition Talking Face): Approximately 16 hours of high-resolution (720p to 1080p) video featuring over 300 subjects.
- MEAD (Multi-view Emotional Audio-visual Dataset): Used to test the model's ability to generalize across various emotional expressions and camera angles.
4. Key Insights
- The "Goldilocks" Representation: The authors argue that segmentation masks are superior to sparse landmarks (which lack detail) and raw pixels (which are too complex to map directly from audio). Masks provide the necessary structural constraints for high-fidelity texture mapping.
- Prior Learning for Occluded Features: To handle features not visible in a single reference frame (like teeth in a closed-mouth image), the authors employed "Prior Learning." During training, the model was tasked with synthesizing an open-mouthed mask using a closed-mouth reference, forcing it to learn and store the subject's dental structure from other frames in the sequence.
5. Results
SegTalker demonstrated state-of-the-art performance across several key metrics on the HDTF dataset:
- Visual Quality: The model achieved a leading FID of 10.348 and LPIPS of 0.0494, indicating that the generated frames are perceptually closer to real images than those of competitors like Wav2Lip or SadTalker.
- Temporal Stability: With an FVD score of 9.205, SegTalker produces smoother video sequences with significantly less jitter than diffusion-based alternatives.
- Lip Synchronization: While specialized models like Wav2Lip maintain a slight edge in raw SyncNet scores, SegTalker achieved a highly competitive 6.872, approaching the ground truth "Real Video" score of 7.305.
6. Conclusion and Future Work
SegTalker represents a significant step forward in controllable talking face generation. By using semantic segmentation as an intermediary, it provides a robust solution for high-fidelity synthesis and local editing. However, the authors note that the system's performance is currently dependent on the quality of the initial parsing network. Future work will focus on improving mask integrity during extreme head rotations and optimizing inference speeds to move closer to real-time application requirements.
Summary updated