TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/One Shot Face Swapping on Megapixels

One Shot Face Swapping on Megapixels

Yuhao Zhu, Qi Li, Jian Wang, Chengzhong Xu, Zhenan Sun

2021-05-11CVPR 2021 1DisentanglementDeepFake DetectionFace SwappingFace Transfer
PaperPDFCode(official)

Abstract

Face swapping has both positive applications such as entertainment, human-computer interaction, etc., and negative applications such as DeepFake threats to politics, economics, etc. Nevertheless, it is necessary to understand the scheme of advanced methods for high-quality face swapping and generate enough and representative face swapping images to train DeepFake detection algorithms. This paper proposes the first Megapixel level method for one shot Face Swapping (or MegaFS for short). Firstly, MegaFS organizes face representation hierarchically by the proposed Hierarchical Representation Face Encoder (HieRFE) in an extended latent space to maintain more facial details, rather than compressed representation in previous face swapping methods. Secondly, a carefully designed Face Transfer Module (FTM) is proposed to transfer the identity from a source image to the target by a non-linear trajectory without explicit feature disentanglement. Finally, the swapped faces can be synthesized by StyleGAN2 with the benefits of its training stability and powerful generative capability. Each part of MegaFS can be trained separately so the requirement of our model for GPU memory can be satisfied for megapixel face swapping. In summary, complete face representation, stable training, and limited memory usage are the three novel contributions to the success of our method. Extensive experiments demonstrate the superiority of MegaFS and the first megapixel level face swapping database is released for research on DeepFake detection and face image editing in the public domain. The dataset is at this link.

Results

TaskDatasetMetricValueModel
Facial Recognition and ModellingFaceForensics++ID retrieval90.83MegaFS
Facial Recognition and ModellingFaceForensics++expression2.96MegaFS
Facial Recognition and ModellingFaceForensics++pose2.64MegaFS
Face ReconstructionFaceForensics++ID retrieval90.83MegaFS
Face ReconstructionFaceForensics++expression2.96MegaFS
Face ReconstructionFaceForensics++pose2.64MegaFS
3DFaceForensics++ID retrieval90.83MegaFS
3DFaceForensics++expression2.96MegaFS
3DFaceForensics++pose2.64MegaFS
3D Face ModellingFaceForensics++ID retrieval90.83MegaFS
3D Face ModellingFaceForensics++expression2.96MegaFS
3D Face ModellingFaceForensics++pose2.64MegaFS
3D Face ReconstructionFaceForensics++ID retrieval90.83MegaFS
3D Face ReconstructionFaceForensics++expression2.96MegaFS
3D Face ReconstructionFaceForensics++pose2.64MegaFS
10-shot image generationFaceForensics++ID retrieval90.83MegaFS
10-shot image generationFaceForensics++expression2.96MegaFS
10-shot image generationFaceForensics++pose2.64MegaFS

Related Papers

CSD-VAR: Content-Style Decomposition in Visual Autoregressive Models2025-07-18SHIELD: A Secure and Highly Enhanced Integrated Learning for Robust Deepfake Detection against Adversarial Attacks2025-07-17MGFFD-VLM: Multi-Granularity Prompt Learning for Face Forgery Detection with VLM2025-07-16Towards Imperceptible JPEG Image Hiding: Multi-range Representations-driven Adversarial Stego Generation2025-07-11Generative Head-Mounted Camera Captures for Photorealistic Avatars2025-07-08Reflections Unlock: Geometry-Aware Reflection Disentanglement in 3D Gaussian Splatting for Photorealistic Scenes Rendering2025-07-08CorrDetail: Visual Detail Enhanced Self-Correction for Face Forgery Detection2025-07-07Bridging Domain Generalization to Multimodal Domain Generalization via Unified Representations2025-07-04