paper-with-me

홈 › Papers

Face Swap via Diffusion Model

2024-03-02 · Feifei Wang

This technical report presents a diffusion model based framework for face swapping between two portrait images. The basic framework consists of three components, i.e., IP-Adapter, ControlNet, and Stable Diffusion's inpainting pipeline, for face feature encoding, multi-conditional generation, and face inpainting respectively. Besides, I introduce facial guidance optimization and CodeFormer based blending to further improve the generation quality. Specifically, we engage a recent light-weighted customization method (i.e., DreamBooth-LoRA), to guarantee the identity consistency by 1) using a rare identifier "sks" to represent the source identity, and 2) injecting the image features of source portrait into each cross-attention layer like the text features. Then I resort to the strong inpainting ability of Stable Diffusion, and utilize canny image and face detection annotation of the target portrait as the conditions, to guide ContorlNet's generation and align source portrait with the target portrait. To further correct face alignment, we add the facial guidance loss to optimize the text embedding during the sample generation. The code is available at: https://github.com/somuchtome/Faceswap

📄 PDF Abstract BibTeX arXiv:2403.01108

Code (1)

somuchtome/faceswap 공식 구현 jax

Tasks

Face AlignmentFace DetectionFace SwappingFacial Inpaintingmodel

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…
Inpainting Train a convolutional neural network to generate the contents of an arbitrary image region conditioned on its surroundings.

Similar Papers 제목 키워드 기반

DiffSwap: High-Fidelity and Controllable Face Swapping via 3D-Aware Masked Diffusion

2023-01-01 · CVPR 2023 1 · Wenliang Zhao, Yongming Rao, Weikang Shi, Zuyan Liu 외

In this paper, we propose DiffSwap, a diffusion model based framework for high-fidelity and controllable face swapping. Unlike previous work that relies on carefully designed network architectures and loss functions …

Face Swapping

High-Fidelity Diffusion Face Swapping with ID-Constrained Facial Conditioning

2025-03-28 · Dailan He, Xiahong Wang, Shulun Wang, Guanglu Song 외

Face swapping aims to seamlessly transfer a source facial identity onto a target while preserving target attributes such as pose and expression. Diffusion models, known for their superior generative capabilities, have re…

AttributeFace Swapping

Realistic and Efficient Face Swapping: A Unified Approach with Diffusion Models

2024-09-11 · Sanoojan Baliah, Qinliang Lin, Shengcai Liao, Xiaodan Liang 외

Despite promising progress in face swapping task, realistic swapped images remain elusive, often marred by artifacts, particularly in scenarios involving high pose variation, color differences, and occlusion. To address …

DenoisingDisentanglementFace Swapping

DiffFace: Diffusion-based Face Swapping with Facial Guidance

2022-12-27 · Kihong Kim, Yunho Kim, Seokju Cho, Junyoung Seo 외

In this paper, we propose a diffusion-based face swapping framework for the first time, called DiffFace, composed of training ID conditional DDPM, sampling with facial guidance, and a target-preserving blending. In speci…

Face Swapping

DiffSwap++: 3D Latent-Controlled Diffusion for Identity-Preserving Face Swapping

2025-11-04 · Weston Bondurant, Arkaprava Sinha, Hieu Le, Srijan Das 외 arxiv

Diffusion-based approaches have recently achieved strong results in face swapping, offering improved visual quality over traditional GAN-based methods. However, even state-of-the-art models often suffer from fine-grained…

Face Swapping