E4S: Fine-grained Face Swapping via Editing With Regional GAN Inversion
Not on the map. Why?
Abstract (arXiv)
This paper proposes a novel approach to face swapping from the perspective of fine-grained facial editing, dubbed "editing for swapping" (E4S). The traditional face swapping methods rely on global feature extraction and fail to preserve the detailed source identity. In contrast, we propose a Regional GAN Inversion (RGI) method, which allows the explicit disentanglement of shape and texture. Specifically, our E4S performs face swapping in the latent space of a pretrained StyleGAN, where a multi-scale mask-guided encoder is applied to project the texture of each facial component into regional style codes and a mask-guided injection module manipulating feature maps with the style codes. Based on this disentanglement, face swapping can be simplified as style and mask swapping. Besides, due to the large lighting condition gap, transferring the source skin into the target image may lead to disharmony lighting. We propose a re-coloring network to make the swapped face maintain the target lighting condition while preserving the source skin. Further, to deal with the potential mismatch areas during mask exchange, we design a face inpainting module to refine the face shape. The extensive comparisons with state-of-the-art methods demonstrate that our E4S outperforms existing methods in preserving texture, shape, and lighting. Our implementation is available at https://github.com/e4s2024/E4S2024.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 52 of its 71 references that are in the map. First posted on arXiv 23 Oct 2023.
Builds on
52 of 71 references.
References · 52
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
- 2019Semantic Image Synthesis with Spatially-Adaptive Normalizationcited by 1,299
- 2019FaceForensics++: Learning to Detect Manipulated Facial Imagescited by 1,101
- 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 971
- 2020Encoding in Style: a StyleGAN Encoder for Image-to-Image Translationcited by 727
- 2019Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?cited by 675
- 2019MaskGAN: Towards Diverse and Interactive Facial Image Manipulationcited by 628
- 2021Designing an Encoder for StyleGAN Image Manipulationcited by 544
38 more
- 2019Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Setcited by 482
- 2020One-Shot Free-View Neural Talking-Head Synthesis for Video Conferencingcited by 444
- 2020In-Domain GAN Inversion for Real Image Editingcited by 420
- 2020InterFaceGAN: Interpreting the Disentangled Face Representation Learned by GANscited by 394
- 2019Image2StyleGAN++: How to Edit the Embedded Images?cited by 356
- 2019FSGAN: Subject Agnostic Face Swapping and Reenactmentcited by 320
- 2020BiSeNet V2: Bilateral Network with Guided Aggregation for Real-time Semantic Segmentationcited by 294
- 2019SEAN: Image Synthesis with Semantic Region-Adaptive Normalizationcited by 253
- 2021ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinementcited by 248
- 2021SimSwap: An Efficient Framework For High Fidelity Face Swappingcited by 243
- 2022Towards Robust Blind Face Restoration with Codebook Lookup Transformercited by 231
- 2019FaceShifter: Towards High Fidelity And Occlusion Aware Face Swappingcited by 221
- 2021High-Fidelity GAN Inversion for Image Attribute Editingcited by 197
- 2020Editing in Style: Uncovering the Local Semantics of GANscited by 183
- 2017Fine-Grained Head Pose Estimation Without Keypointscited by 163
- 2016Fast Face-swap Using Convolutional Neural Networkscited by 119
- 2020Cross-domain Correspondence Learning for Exemplar-based Image Translationcited by 116
- 2021One Shot Face Swapping on Megapixelscited by 105
- 2021HifiFace: 3D Shape and Semantic Prior Guided High Fidelity Face Swappingcited by 92
- 2020StyleGAN2 Distillation for Feed-forward Image Manipulationcited by 78
- 2018Towards Open-Set Identity Preserving Face Synthesiscited by 74
- 2017On Face Segmentation, Face Swapping, and Face Perceptioncited by 71
- 2022Stitch it in Time: GAN-Based Facial Editing of Real Videoscited by 68
- 2021A Latent Transformer for Disentangled Face Editing in Images and Videoscited by 67
- 2023BlendFace: Re-designing Identity Encoders for Face-Swappingcited by 66
- 2020SofGAN: A Portrait Image Generator with Dynamic Stylingcited by 65
- 2019Mask-Guided Portrait Editing with Conditional GANscited by 61
- 2022High-resolution Face Swapping via Latent Semantics Disentanglementcited by 57
- 2021GAN Inversion for Out-of-Range Images with Geometric Transformationscited by 55
- 2022Region-Aware Face Swappingcited by 45
- 2022StyleSwap: Style-Based Generator Empowers Robust Face Swappingcited by 39
- 2022FSGANv2: Improved Subject Agnostic Face Swapping and Reenactmentcited by 33
- 2021LOHO: Latent Optimization of Hairstyles via Orthogonalizationcited by 30
- 2021Smooth-Swap: A Simple Enhancement for Face-Swapping with Smoothnesscited by 30
- 2021StyleFusion: A Generative Model for Disentangling Spatial Segmentscited by 28
- 2022Few-Shot Head Swapping in the Wildcited by 21
- 2020AOT: Appearance Optimal Transport Based Identity Swapping for Forgery Detectioncited by 16
- 2022Feature-Style Encoder for Style-Based GAN Inversioncited by 16
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2024: 2; 2025: 4; 2026: 2.
8 papers.
- 2024X2-DFD: A framework for eXplainable and eXtendable Deepfake Detectioncited by 35
- 2024Face Anonymization Made Simplecited by 18
- 2025Towards Unified Multimodal Misinformation Detection in Social Media: A Benchmark Dataset and Baselinecited by 4
- 2025MFFI: Multi-Dimensional Face Forgery Image Dataset for Real-World Scenarioscited by 3
- 2026Beauty and the Beast: Imperceptible Perturbations Against Diffusion-Based Face Swapping via Directional Attribute Editingcited by 1
- 2025Assessing the Use of Face Swapping Methods as Face Anonymizers in Videoscited by 0
- 2025Enhancing Robustness in Post-Processing Watermarking: An Ensemble Attack Network Using CNNs and Transformerscited by 0
- 2026Decoupling Semantics and Fingerprints: A Universal Representation for AI-Generated Image Detectioncited by 0
- 2026Decoupling Semantics and Fingerprints: A Universal Representation for AI-Generated Image Detection8 May 2026
- 2026Beauty and the Beast: Imperceptible Perturbations Against Diffusion-Based Face Swapping via Directional Attribute Editing30 Jan 2026
- 2025Towards Unified Multimodal Misinformation Detection in Social Media: A Benchmark Dataset and Baseline30 Sep 2025
- 2025MFFI: Multi-Dimensional Face Forgery Image Dataset for Real-World Scenarios6 Sep 2025
- 2025Enhancing Robustness in Post-Processing Watermarking: An Ensemble Attack Network Using CNNs and Transformers3 Sep 2025
- 2025Assessing the Use of Face Swapping Methods as Face Anonymizers in Videos27 May 2025
- 2024Face Anonymization Made Simple1 Nov 2024
- 2024X2-DFD: A framework for eXplainable and eXtendable Deepfake Detection8 Oct 2024