NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PicturePerfect: Diffusion-based Same-identity Facial Replacement

Manik Dhingra, Yashesh Savani, Mahesh Reddy, Antoine Mercier, Jiahe Liu, Guillaume BergerarXiv 2026

TL;DR

Researchers from Qualcomm AI Research have introduced PicturePerfect, a diffusion-based framework designed specifically for same-identity facial replacement. By leveraging a novel training strategy that uses distorted versions of a target face as a driving signal, the model can seamlessly swap an unflattering expression in a photo with a better one from a reference image of the same person, significantly outperforming existing face reenactment and swapping methods in identity preservation.

What Problem Does This Paper Address?

We’ve all been there: a great group photo is ruined because one person blinked or made an awkward face. While commercial features like Google’s "Best Take" attempt to solve this, the underlying academic research has largely ignored the same-identity facial replacement task.

Most existing research focuses on either face swapping (putting Person A’s face on Person B’s body) or face reenactment (using Person B’s movements to drive Person A’s face). These methods often struggle when the goal is to keep the identity perfectly consistent. Because they are designed to generalize across different people, they often rely on "bottleneck" representations like facial landmarks or low-dimensional embeddings. These bottlenecks intentionally discard fine-grained identity details to prevent the model from simply "copying" the source, but in a same-identity scenario, those discarded details are exactly what you need for a realistic result.

Methods

PicturePerfect is built on top of Stable Diffusion XL (SDXL). The core innovation lies in how the model is conditioned and trained to avoid the "trivial solution" (where the model just learns to copy the target image).

  1. Spatial Concatenation: Instead of using complex adapters like ControlNet, the authors found that simply concatenating the source image, a distorted driving face, and the noisy latent along the width axis yielded the best performance.
  2. The Distorted Driving Signal: To train the model, the authors take a target image and extract the "inner face." They then apply heavy augmentations—scaling, rotation, translation, color jittering, and even artificial relighting. The model is tasked with reconstructing the original target face using this degraded version and the original source image. This forces the model to learn the mapping of features rather than just copy-pasting pixels.
  3. Inner Face Segmentation: By segmenting only the inner face, the model learns to ignore the background of the driving image, ensuring the background of the original "source" photo remains untouched.
The PicturePerfect network architecture overview.

Datasets

A major hurdle for this task was the lack of a suitable dataset containing triplets of {source, driving, target} images for the same person. To solve this, the authors created the PicturePerfect Dataset:

  • Scale: ~500,000 high-resolution (1024x1024) images covering 6,724 unique identities.
  • Generation: They started with 25,000 neutral "source" faces and used a state-of-the-art animation model (LivePortrait) to generate 20 expressive variants for each person based on diverse driving videos.
  • Diversity: The dataset captures a wide range of skin tones, lighting conditions, and "posed" expressions (like smiling for a camera) which are often missing from standard "talking head" video datasets like VoxCeleb.
Samples from the PicturePerfect dataset showing neutral faces and their expressive variants.

Key Insights and Ideas

  • Identity is in the Details: The authors argue that for same-identity tasks, intermediate representations (like landmarks) are actually a hindrance. By providing a distorted version of the actual face, the model retains high-frequency identity cues that landmarks lose.
  • Relighting is Crucial: One of the biggest "tells" in face replacement is inconsistent lighting. The authors integrated a relighting module (NeuralGaffer) into their augmentation pipeline, which significantly reduced "lighting leakage" from the driving image into the final composite.
  • Spatial > Channel-wise: In their ablation studies, the researchers found that spatial concatenation (placing images side-by-side in the latent space) was superior to channel-wise concatenation for maintaining fine details like teeth and eye clarity.

Key Results

PicturePerfect was evaluated in two settings: In-Distribution (ID), using synthetic test pairs, and Out-of-Distribution (OOD), using real-world photographs captured at different times and locations.

  • Identity Preservation: On the ID task, PicturePerfect achieved an ArcFace CSIM score of 0.818, vastly outperforming the next best baseline, LivePortrait (0.558).
  • Visual Quality: In a user study, participants judged PicturePerfect’s outputs as "real" in 59% of ID cases and 44% of OOD cases, nearly double the performance of generative baselines like FaceAdapter.
  • Robustness: The model demonstrated a remarkable ability to handle extreme poses and lighting changes that caused other models to produce blurry or identity-shifted results.

Qualitative comparison on in-distribution face replacement. Qualitative comparison on out-of-distribution (real-world) face replacement.

Limitations and Future Work

Despite the impressive results, the authors note a few areas for improvement:

  • Synthetic Bias: Because the training data was generated using LivePortrait, the model may inherit some of that model's distributional biases.
  • Fine Detail Artifacts: Occasionally, artifacts appear around the eyes or in complex hair textures.
  • Scale Sensitivity: The model's performance degrades if the driving face is extremely small or extremely large relative to the source, likely due to the fixed resolution of the VAE encoding.
  • Cross-Identity: The model is strictly for same-identity replacement; it is not designed to (and generally fails to) perform traditional face swapping between different people.

Summary updated

Abstract

With the growing success of diffusion models in computer vision, we explore their potential for same-identity facial replacement in photographs. Specifically, we propose a diffusion-based method, built on top of a pre-trained text-to-image model, that takes as input a portrait image of a person and a second reference image of the same individual, potentially captured under different conditions. The goal is to seamlessly replace the input face with the reference face, while keeping the background intact. Surprisingly, despite the clear real-world utility of this task, no recently published work has directly addressed face replacement in this specific setting. To support this goal, we construct a large dataset of image pairs depicting the same person under varying facial expressions and poses. Experimental results demonstrate that our approach produces more realistic and identity-consistent results than existing face reenactment models.
BibTeX
@misc{dhingra2026pictureperfect,
  author = {Manik Dhingra and Yashesh Savani and Mahesh Reddy and Antoine Mercier and Jiahe Liu and Guillaume Berger},
  title = {{PicturePerfect: Diffusion-based Same-identity Facial Replacement}},
  year = {2026},
  eprint = {2610.39344},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.39344},
}
Figure