[Paper Review] Task-agnostic Temporally Consistent Facial Video Editing
This paper proposes TFVGAN, a task-agnostic, temporally consistent facial video editing framework that leverages 3D morphable modeling and a novel 3D temporal loss to unify face swapping and reenactment. By combining dynamic training sample selection and a deep blending network, it achieves high-fidelity, flicker-free video generation across diverse editing tasks with state-of-the-art performance in temporal consistency and realism.
Recent research has witnessed the advances in facial image editing tasks. For video editing, however, previous methods either simply apply transformations frame by frame or utilize multiple frames in a concatenated or iterative fashion, which leads to noticeable visual flickers. In addition, these methods are confined to dealing with one specific task at a time without any extensibility. In this paper, we propose a task-agnostic temporally consistent facial video editing framework. Based on a 3D reconstruction model, our framework is designed to handle several editing tasks in a more unified and disentangled manner. The core design includes a dynamic training sample selection mechanism and a novel 3D temporal loss constraint that fully exploits both image and video datasets and enforces temporal consistency. Compared with the state-of-the-art facial image editing methods, our framework generates video portraits that are more photo-realistic and temporally smooth.
Motivation & Objective
- Address temporal inconsistency in facial video editing, such as visual flickering, which plagues frame-by-frame or concatenated frame methods.
- Unify multiple facial video editing tasks—face swapping and reenactment—into a single, extensible framework without task-specific retraining.
- Enable disentangled manipulation of identity, pose, and expression by leveraging 3D facial reconstruction for greater editing freedom.
- Improve training efficiency and fidelity by combining image and video datasets through a dynamic training sample selection mechanism.
- Enforce temporal consistency using a novel 3D temporal loss based on dense optical flow and barycentric coordinate interpolation.
Proposed method
- Employ a 3D Morphable Model (3DMM) to disentangle facial images into identity, pose, and expression coefficients for unified manipulation.
- Introduce a dynamic training sample selection mechanism that alternates between image and video datasets during training to balance diversity and temporal supervision.
- Design a novel 3D temporal loss using dense optical flow maps via barycentric coordinate interpolation to enforce consistency between consecutive frames.
- Use a rasterization renderer to recombine disentangled 3D coefficients into a transformed face sequence.
- Fuse the rendered face with an auxiliary appearance hint through a deep blending network to produce photo-realistic outputs.
- Train the entire framework in an adversarial manner using a mixture of image and video datasets for joint optimization of fidelity and consistency.
Experimental results
Research questions
- RQ1Can a unified framework handle multiple facial video editing tasks—such as face swapping and reenactment—without task-specific design?
- RQ2How can temporal consistency be explicitly enforced in video editing to eliminate flickering, especially when frame-level transformations are applied?
- RQ3To what extent does joint training on mixed image and video datasets improve both fidelity and temporal coherence compared to isolated training?
- RQ4Can 3D facial reconstruction enable disentangled manipulation of identity, pose, and expression beyond 2D landmark-based methods?
- RQ5How effective is the proposed 3D temporal loss in reducing photometric error and improving visual smoothness across frames?
Key findings
- TFVGAN achieves a FID of 24.4 on the VoxCeleb2 dataset for face reenactment, significantly outperforming the baseline (36.9) when replacing the blending network with AdaIN.
- The ablation study shows that removing the 3D temporal loss increases the temporal error $E_{ ext{tmp}}$ from 3.65 to 4.69, confirming its critical role in consistency.
- The dynamic training sample selection mechanism reduces temporal error by 12.5% compared to training on video data alone, demonstrating improved generalization.
- The use of the Batch Style Normalization (BSN) layer improves visual harmony and context consistency, reducing photometric error by 15% compared to AdaIN.
- The framework achieves a 3.54 temporal error $E_{ ext{tmp}}$ in face swapping and 3.65 in reenactment, outperforming state-of-the-art methods in temporal consistency.
- Visualizations confirm that the 3D temporal loss effectively reduces flickering, especially under large pose variations, as seen in detailed comparisons with and without the loss.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.