Manuscript Offprint

arXiv:2610.39344

PicturePerfect: Diffusion-based Same-identity Facial Replacement

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Manik Dhingra ∗^{*}✉, Yashesh Savani ∗^{*}✉, Mahesh Reddy, Antoine Mercier, Jiahe Liu, and Guillaume Berger ⊗^{\otimes}

Qualcomm AI Research ∗∗^{**}

{manidhin,ysavani,guilberg}@qti.qualcomm.com

Figure

Driving

Driving

Driving

Ours

Face-Adapter

Driving

Ours

Face-Adapter

Fig. 1: We present PicturePerfect, a diffusion-based identity preserving facial replacement approach. Prior methods like FaceAdapter [20] tend to alter the facial identity and lose realism on both in-distribution (ID) (left) and out-of-distribution (OOD) (right) face replacement tasks.

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

  • Equal contribution.

** Qualcomm AI Research is an initiative of Qualcomm Technologies, Inc.

M. Dhingra et al.

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.

1 Introduction

Pasting a person's face onto another image and retouching it using traditional image editing software is a challenging task, particularly when the two images differ in viewpoint, illumination, background, hairstyle, or clothing. In this paper, we propose a diffusion-based approach, built on top of a pre-trained text-to-image model, that can effectively replace a subject's face in a photograph with one that matches the pose and expression from another image of the same individual—even in the presence of substantial variation in lighting, pose, or facial expression. A practical application involves replacing an unflattering facial appearance in a group photo with a more favorable one taken from another image, where the person may be smiling or posing more naturally.

An effective solution to this task must preserve the individual's identity, leave the background unaltered, and seamlessly incorporate the reference face into the original image. This is closely related to face reenactment, where a "source" face is morphed to match the pose and expression of a "driving" face. However, most reenactment methods are designed to support cross-identity generation, where the source and driving images may come from different people. While recent reenactment approaches leveraging pre-trained diffusion models, such as FaceAdapter [20], produce impressive cross-identity results, we observe that these methods often struggle to produce realistic and identity-preserving outputs that faithfully match the driving image. These methods typically rely on the source image alone to retain identity, which becomes a serious limitation in cases with expressions that deviate significantly from the driving image or extreme poses. As shown in Fig. 1, our method outperforms such approaches by leveraging the reference image more directly — since both images depict the same person, our model can effectively composite the driving face directly into the original photo, rather than attempting to hallucinate it from limited cues.

Our approach shares similarities with early work on automated face swapping [3, 4]. Like our method, these classical approaches rely heavily on the reference image by extracting and “pasting” the reference’s inner face into the original image after performing re-alignment and relighting. However, these methods typically involve complex pipelines composed of hand-engineered components whereas our approach relies on an end-to-end neural network trained specifically for this task.

Our key contributions are as follows:

– We construct a large-scale dataset of image pairs featuring the same individual under varying facial expressions and poses. We intend to release this dataset publicly.

– We propose a simple yet effective training strategy for extending pretrained text-to-image diffusion model to same-identity face replacement. Compared to prior works, our approach yields realistic, higher-quality outputs with better identity preservation.

– We demonstrate that methods tailored to same-identity generation significantly outperform existing techniques designed for general-purpose, cross-identity face reenactment.

References (69)