Skip to main content
QUICK REVIEW

[Paper Review] Learning Disentangled Representation for One-shot Progressive Face Swapping

Qi Li, Ning Wang|arXiv (Cornell University)|Mar 24, 2022
Face recognition and analysisComputer Science11 citations
TL;DR

This paper proposes FaceSwapper, a GAN-based method for one-shot progressive face swapping that disentangles identity and attribute representations using a dual-encoder architecture and a semantic-guided fusion module. By leveraging semantic masks and facial landmarks, it achieves state-of-the-art performance on benchmark datasets with only one source and target image per identity, enabling controllable, photorealistic face swapping with improved identity preservation and attribute fidelity.

ABSTRACT

Although face swapping has attracted much attention in recent years, it remains a challenging problem. Existing methods leverage a large number of data samples to explore the intrinsic properties of face swapping without considering the semantic information of face images. Moreover, the representation of the identity information tends to be fixed, leading to suboptimal face swapping. In this paper, we present a simple yet efficient method named FaceSwapper, for one-shot face swapping based on Generative Adversarial Networks. Our method consists of a disentangled representation module and a semantic-guided fusion module. The disentangled representation module comprises an attribute encoder and an identity encoder, which aims to achieve the disentanglement of the identity and attribute information. The identity encoder is more flexible, and the attribute encoder contains more attribute details than its competitors. Benefiting from the disentangled representation, FaceSwapper can swap face images progressively. In addition, semantic information is introduced into the semantic-guided fusion module to control the swapped region and model the pose and expression more accurately. Experimental results show that our method achieves state-of-the-art results on benchmark datasets with fewer training samples. Our code is publicly available at https://github.com/liqi-casia/FaceSwapper.

Motivation & Objective

  • To address the challenge of one-shot face swapping where only a single source and target image are available per identity.
  • To improve identity and attribute disentanglement in face swapping to enhance controllability and realism.
  • To reduce reliance on large-scale datasets by enabling effective learning from few samples.
  • To introduce semantic guidance for accurate pose and expression modeling during fusion.
  • To achieve progressive face swapping that enhances diversity and visual quality.

Proposed method

  • The disentangled representation module uses an identity encoder and an attribute encoder to separate identity and attribute information in the latent space.
  • The identity encoder is designed to be more flexible, allowing better generalization across unseen identities.
  • The attribute encoder preserves fine-grained details such as wrinkles and lighting variations more effectively than prior methods.
  • A semantic-guided fusion decoder uses facial landmarks and semantic masks to control the swapped region and align pose and expression.
  • The method employs a multi-loss training objective including reconstruction, identity preservation, attribute preservation, and adversarial losses.
  • The framework is end-to-end trainable and enables progressive face swapping by gradually refining the generated face image.

Experimental results

Research questions

  • RQ1Can a GAN-based method achieve high-quality face swapping with only one source and one target image per identity?
  • RQ2How effectively can identity and attribute representations be disentangled in a one-shot setting?
  • RQ3What role does semantic guidance (via landmarks and masks) play in improving pose and expression consistency during face swapping?
  • RQ4How do different loss components contribute to identity preservation and visual realism?
  • RQ5Can progressive face swapping improve diversity and controllability in one-shot face swapping?

Key findings

  • FaceSwapper achieves a 93.86% identity retrieval score on the FaceForensics++ dataset, outperforming all ablation variants and establishing SOTA performance.
  • Removing the identity preservation loss (FS_wo_id) reduces identity retrieval to just 0.24%, confirming its critical role in maintaining source identity.
  • The method maintains low pose error (2.36) and expression error (2.99), indicating accurate modeling of target facial geometry and expression.
  • The ablation study shows that excluding the adversarial loss leads to a significant increase in pose error (7.84), highlighting its importance for realism.
  • The semantic-guided fusion module significantly improves results: FS-B (without semantic masks) fails to preserve identity, while FS-C loses target attribute fidelity.
  • The full method with all losses achieves the best balance of identity preservation, attribute fidelity, and realism, confirming the necessity of the complete loss configuration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.