[논문 리뷰] DiffFace: Diffusion-based Face Swapping with Facial Guidance
DiffFace는 ID conditioning, 사전 학습된 전문가의 얼굴 가이드, 대상 보존 블렌딩을 통해 소스 신원을 전달하면서 대상 속성을 보존하는 확산-모델 기반 얼굴 교환 프레임워크를 도입합니다.
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 specific, in the training process, the ID conditional DDPM is trained to generate face images with the desired identity. In the sampling process, we use the off-the-shelf facial expert models to make the model transfer source identity while preserving target attributes faithfully. During this process, to preserve the background of the target image and obtain the desired face swapping result, we additionally propose a target-preserving blending strategy. It helps our model to keep the attributes of the target face from noise while transferring the source facial identity. In addition, without any re-training, our model can flexibly apply additional facial guidance and adaptively control the ID-attributes trade-off to achieve the desired results. To the best of our knowledge, this is the first approach that applies the diffusion model in face swapping task. Compared with previous GAN-based approaches, by taking advantage of the diffusion model for the face swapping task, DiffFace achieves better benefits such as training stability, high fidelity, diversity of the samples, and controllability. Extensive experiments show that our DiffFace is comparable or superior to the state-of-the-art methods on several standard face swapping benchmarks.
연구 동기 및 목표
- 강력하고 높은 충실도의 얼굴 교환을 목표로 하여 대상 속성을 보존하면서 소스 신원을 전달합니다.
- 안정적인 학습과 제어 가능한 신원 안내 합성을 위해 확산 모델을 활용합니다.
- retraining 없이 샘플링 중 외부 얼굴 전문가 가이드를(신원, 파싱, 시선) 도입합니다.
- 대상 배경과 구조를 유지하는 대상 보존 블렌딩 전략을 개발합니다.
제안 방법
- 소스 신원을 갖는 이미지를 생성하도록 ID Conditional DDPM을 학습합니다.
- 신원 임베딩과 신원 유사도 손실을 통해 확산 과정에 신원 특징을 통합합니다.
- 사전 학습된 전문가(신원 임베더, 얼굴 파서, 시선 추정기)를 사용한 샘플링 중 얼굴 가이드를 적용하여 속성을 보존하면서 신원을 전달합니다.
- 교환 중 대상 배경과 구조를 유지하기 위해 점차 강화되는 마스크 강도를 사용하는 대상 보존 BLENDING 전략을 사용합니다.
- 재학습 없이 테스트 시 신원-속성 간의 균형을 제어합니다.
- 확산 단계에서 진화하는 대상 보존 블렌딩 마스크 M_t를 활용하여 교환된 영상과 대상 영상을 혼합합니다.

실험 결과
연구 질문
- RQ1확산 모델을 조건부로 설정하여 얼굴 교환에서 소스 신원을 안정적으로 전달하고 대상 속성을 보존할 수 있는가?
- RQ2외부 얼굴 전문가 모델이 신원, 의미론, 시선 제어를 위해 재학습 없이 확산 샘플링을 어떻게 가이드할 수 있는가?
- RQ3대상 보존 블렌딩이 대상 배경을 유지하면서 신원을 전달하는가, 또한 그 트레이드-오프를adaptive하게 제어할 수 있는가?
- RQ4DiffFace가 FF++에서 최첨단 GAN 기반 얼굴 교환 방법과 경쟁적이거나 우수한가?
- RQ5ID Conditional DDPM, 얼굴 가이드, 대상 블렌딩의 기여에 대한 제거 연구는 무엇을 보여주는가?
주요 결과
- DiffFace는 나열된 기준선보다 높은 신원 유사도 점수(Arc↑, Arc-R↑, Cos↑, Cos-R↑)와 대상 신원 제거 성능에서 우수합니다.
- 확산 기반 접근법은 신원 및 속성에 대한 강력한 제어를 제공하며 FF++의 핵심 지표에서 GAN 기반 방법을 능가합니다.
- 에뮬레이션 결과는 ID Conditional DDPM과 신원 가이드가 강한 신원 전달에 필수적이며 대상 보존 블렌딩은 신원과 대상 구조 간의 트레이드-오프 제어를 가능하게 함을 보여줍니다.
- 시선 및 의미론적 가이드는 교환 중 대상 시선과 얼굴 구조를 잘 유지하는 데 도움이 됩니다.
- 신원과 형상 간의 트레이드-오프는 블렌딩 타이밍 매개변수 hat{T}와 가이드 가중치를 조정함으로써 조정 가능합니다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.