Audio-driven High-resolution Seamless Talking Head Video Editing via StyleGAN

Jiacheng Su, Kunhong Liu, Liyan Chen, Junfeng Yao, Qingsong Liu, Dongdong Lv

Abstract

Audio-driven talking head video editing aims to synchronize facial movements and expressions with a target audio track while maintaining the original subject's identity and video quality. Current state-of-the-art methods often suffer from a "quality-consistency" trade-off, resulting in blurred mouth regions or visible artifacts at the boundaries of edited areas. This paper presents a novel framework that leverages the generative power of StyleGAN to produce high-resolution, seamless talking head videos. By predicting emotional facial landmarks from audio and performing optimization within the StyleGAN latent space, the proposed method achieves superior lip-sync accuracy and visual fidelity without the common "pasted-on" appearance of previous techniques.

Introduction

The ability to modify an existing video so that a person's lip movements and facial expressions match a new audio track is a cornerstone of AI-Generated Content (AIGC). This technology has significant implications for film dubbing, the creation of digital humans, and the development of more realistic virtual assistants.

However, existing methods often struggle to maintain high resolution and temporal consistency. Many models produce noticeable editing traces, such as blurry mouth regions or a lack of integration between the edited face and the original head pose and lighting. While StyleGAN has been explored for high-resolution generation, previous attempts often manipulated feature maps, leading to reconstruction errors and a loss of fine-grained detail. This research addresses these challenges by shifting the editing process into the underlying latent representations of StyleGAN.

Methodology

The proposed framework consists of a two-stage pipeline: the Audio-to-Landmark (AL) Module and the Landmark-based Editing (LE) Module.

Audio-to-Landmark (AL) Module

This module bridges the gap between acoustic signals and facial motion. It utilizes a cross-reconstruction technique to disentangle "content" (the spoken words) from "emotion" (the delivery style) within the audio signal. An LSTM-based network then predicts facial landmark displacements based on these disentangled features. To ensure these movements respect the original video's head pose, a Cross-Attention mechanism is employed, using the predicted landmarks as a "query" and the original landmarks as "key/value" pairs for alignment.

Landmark-based Editing (LE) Module

Once target landmarks are established, the system utilizes StyleGAN to render the final frames through a series of optimization steps:

  1. Inversion and Pivotal Tuning: Each frame is inverted into the StyleGAN $W+$ latent space. The researchers use Pivotal Tuning Inversion (PTI) to slightly adjust the generator's weights, ensuring the reconstructed face perfectly matches the target individual.
  2. Latent Optimization: Rather than generating a new image from scratch, the system optimizes the latent vector $w$ for each frame. The loss function balances perceptual similarity (LPIPS), landmark accuracy, and temporal smoothness. Notably, the authors apply higher weights to the mouth and eye regions during optimization to prioritize lip-sync accuracy and perceived "liveliness."
  3. Stitching Tuning: To eliminate seams between the edited face and the original background, a segmentation-based tuning process is used. This blends the boundary region of the edited segment back into the original frame, ensuring a seamless transition between the face, hair, and neck.

Experimental Results

The model was evaluated on two high-resolution benchmarks: the Multi-view Emotional Audio-visual Dataset (MEAD) and the High-Resolution Talking Face (HDTF) dataset.

Quantitative Performance

On the MEAD dataset, the proposed method achieved a Fréchet Inception Distance (FID) of 13.74, significantly outperforming industry standards like Wav2Lip (17.23). It also led in Peak Signal-to-Noise Ratio (PSNR) with a score of 34.91, indicating superior reconstruction of the original identity and higher overall image quality.

Qualitative Analysis

Visual comparisons demonstrate that while traditional methods like Wav2Lip often produce a blurry "box" around the mouth, this StyleGAN-based approach maintains crisp textures across the entire face. Furthermore, the model successfully transfers complex emotions (e.g., shifting from "Sad" to "Happy") across the entire facial structure rather than merely adjusting the lips.

Discussion and Insights

A key finding of this research is that conducting editing within the $W+$ latent space is more effective than manipulating feature maps, as it avoids the information loss that typically causes reconstruction artifacts. Additionally, the researchers found that constraining the magnitude of changes between consecutive latent vectors ($w_i$ and $w_{i-1}$) is a highly effective way to ensure temporal smoothness and prevent flickering in StyleGAN-based video generation.

Limitations

Despite the high visual quality, the optimization-based approach is computationally intensive, requiring approximately 300 iterations per frame. This makes the current framework more suitable for high-end post-production than real-time applications. Furthermore, the quality remains dependent on the pre-trained StyleGAN model; unique facial features not well-represented in the training data may still pose challenges for the PTI process.

Conclusion

This framework represents a significant step forward in high-resolution talking head editing. By combining emotional disentanglement with latent space optimization and specialized stitching techniques, the method produces seamless, identity-preserving videos that overcome the limitations of previous feature-map-based models. Future work will focus on reducing computational overhead and refining the alignment of extreme head poses.

Summary updated

BibTeX
@inproceedings{su2024audio,
  author = {Jiacheng Su and Kunhong Liu and Liyan Chen and Junfeng Yao and Qingsong Liu and Dongdong Lv},
  title = {{Audio-driven High-resolution Seamless Talking Head Video Editing via StyleGAN}},
  booktitle = {ICME},
  year = {2024},
  doi = {10.1109/icme57554.2024.10688257},
}
Figure