APPLE: Attribute-Preserving Pseudo-Labeling for Diffusion-Based Face Swapping

Jiwon Kang, Yeji Choi, JoungBin Lee, Wooseok Jang, Jinhyeok Choi, Taekeun Kang, Yongjae Park, Myungin Kim, Seungryong Kim

TL;DR

This paper introduces APPLE, a novel diffusion-based framework for face swapping that significantly improves the preservation of target attributes like lighting, skin tone, and makeup. By employing a teacher-student approach with a unique "conditional deblurring" strategy and "attribute-aware inversion," APPLE generates high-quality pseudo-labels that enable a student model to achieve state-of-the-art attribute preservation without sacrificing identity transfer.

What Problem Does This Paper Address?

Face swapping aims to replace a person's identity in an image while keeping their original attributes (pose, expression, lighting, etc.). The core challenge is the lack of real-world ground truth data for face swapping, making supervised training impossible. Existing diffusion-based methods often use "conditional inpainting" on masked target images. However, masking removes crucial visual cues, leading to plausible but often misaligned attributes in the swapped image. This paper tackles the problem of achieving both accurate identity transfer and high-fidelity attribute preservation simultaneously, especially in the face of these limitations.

Methods

APPLE is a teacher-student diffusion-based framework.

  • Teacher Model (Conditional Deblurring): Instead of masking the target image (which removes vital attribute information), the teacher model is trained using a "conditional deblurring" objective. This involves blurring the target image instead of masking it, allowing the model to retain low-frequency attribute cues like lighting and skin tone while still suppressing identity information.
  • Attribute-Aware Inversion: To further enhance fine-grained attribute preservation (like makeup details), an "attribute-aware inversion" scheme is introduced. This technique leverages residual semantic information in the inverted noise to better capture target attributes. Specifically, it uses "attribute-only conditioning" during inversion to enrich the noise representation with target attributes without introducing identity bias.
  • Student Model (Pseudo-Label Supervision): The teacher model generates high-quality, unmasked "pseudo-labels" using the attribute-aware inversion. The student model is then trained using these pseudo-labels as direct supervision in an image-editing setting. This allows the student to learn from rich attribute information, leading to superior attribute preservation compared to methods relying on masked or degraded inputs.

Datasets

  • Training: VGGFace2-HQ dataset.
  • Evaluation: FFHQ, CelebA-HQ, and FaceForensics++ datasets.

Key Insights and Ideas

  • Masking is detrimental to attribute preservation: Removing crucial visual cues via masking in diffusion models for face swapping leads to significant loss of attribute fidelity.
  • Conditional deblurring is a better proxy: Blurring the target image is a more effective way to suppress identity while retaining essential attribute information for training.
  • Inverted noise holds valuable attribute information: Instead of discarding residual semantic information in inverted noise, it can be strategically exploited to improve fine-grained attribute preservation.
  • Teacher-student synergy is key: A well-designed teacher that generates high-quality, attribute-rich pseudo-labels can significantly boost the performance of a student model for attribute-preserving face swapping.

Key Results

  • State-of-the-art attribute preservation: APPLE achieves the lowest FID (indicating cleaner synthesis) and significantly lower pose and expression errors compared to existing methods on FFHQ, CelebA-HQ, and FaceForensics++.
  • Competitive identity transfer: The model maintains high identity similarity and retrieval scores, comparable to leading methods.
  • Qualitative improvements: APPLE effectively preserves subtle attributes like makeup, jewelry, and accessories, even under challenging conditions, outperforming baselines that often introduce artifacts or fail to preserve these details.
  • Efficient training: The teacher-student framework has a reasonable training cost, approximately 13 days on 4 NVIDIA A6000 GPUs, which is competitive with other methods.

Limitations and Future Work

  • Dependency on external modules: The current framework relies on external modules (3DMM landmarks, gaze landmarks, segmentation maps) for pseudo-triplet generation. Errors from these modules can propagate. Future work could focus on reducing this dependency or designing more robust architectures.
  • Inference efficiency: While diffusion models offer high quality, their inference speed can be a limitation. Improving inference efficiency is a promising direction.
  • Video face swapping: Extending the framework to video face swapping is another avenue for future research.

Summary updated

Abstract

Face swapping aims to transfer the identity of a source face onto a target face while preserving target-specific attributes such as pose, expression, lighting, skin tone, and makeup. However, since real ground truth for face swapping is unavailable, achieving both accurate identity transfer and high-quality attribute preservation remains challenging. In addition, recent diffusion-based approaches attempt to improve visual fidelity through conditional inpainting on masked target images, but the masked condition removes crucial appearance cues of target, resulting in plausible yet misaligned attributes. To address these limitations, we propose APPLE (Attribute-Preserving Pseudo-Labeling), a diffusion-based teacher-student framework that enhances attribute fidelity through attribute-aware pseudo-label supervision. We reformulate face swapping as a conditional deblurring task to more faithfully preserve target-specific attributes such as lighting, skin tone, and makeup. In addition, we introduce an attribute-aware inversion scheme to further improve detailed attribute preservation. Through an elaborate attribute-preserving design for teacher learning, APPLE produces high-quality pseudo triplets that explicitly provide the student with direct face-swapping supervision. Overall, APPLE achieves state-of-the-art performance in terms of attribute preservation and identity transfer, producing more photorealistic and target-faithful results.
BibTeX
@inproceedings{kang2026apple,
  author = {Jiwon Kang and Yeji Choi and JoungBin Lee and Wooseok Jang and Jinhyeok Choi and Taekeun Kang and Yongjae Park and Myungin Kim and Seungryong Kim},
  title = {{APPLE: Attribute-Preserving Pseudo-Labeling for Diffusion-Based Face Swapping}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=D56KvejgD0},
}
Figure