Papers › PATMAT: Person Aware Tuning of Mask-Aware Transformer for Face Inpainting

PATMAT: Person Aware Tuning of Mask-Aware Transformer for Face Inpainting

12 Apr 2023ICCV 2023 1arXiv:2304.06107archive 2025-07-28

Saman Motamed, Jianjin Xu, Chen Henry Wu, Fernando de la Torre

Generative models such as StyleGAN2 and Stable Diffusion have achieved state-of-the-art performance in computer vision tasks such as image synthesis, inpainting, and de-noising. However, current generative models for face inpainting often fail to preserve fine facial details and the identity of the person, despite creating aesthetically convincing image structures and textures. In this work, we propose Person Aware Tuning (PAT) of Mask-Aware Transformer (MAT) for face inpainting, which addresses this issue. Our proposed method, PATMAT, effectively preserves identity by incorporating reference images of a subject and fine-tuning a MAT architecture trained on faces. By using ~40 reference images, PATMAT creates anchor points in MAT's style module, and tunes the model using the fixed anchors to adapt the model to a new face identity. Moreover, PATMAT's use of multiple images per anchor during training allows the model to use fewer reference images than competing methods. We demonstrate that PATMAT outperforms state-of-the-art models in terms of image quality, the preservation of person-specific details, and the identity of the subject. Our results suggest that PATMAT can be a promising approach for improving the quality of personalized face inpainting.

PaperPDFConference PDFCode

In Syntology View this paper on Syntology, its page in Syntology's graph. That page lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

humansensinglab/PATMAT officialmentioned on GitHubpytorchSyntology: not harvested report
LonglongaaaGo/EXE-GAN mentioned on GitHubpytorchMITSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to Paint by Example: Exemplar-based Image Editing with Diffusion Models (arXiv:2211.13227; that paper's own run record: 19 ran (of which 0 constructed an object rather than computing a result; 14 with no instrument failure: 1 honoured, 2 violated, 11 with no contract checked; 5 where Syntology's instrument failed) · 1 unverified); nothing checks that they implement this paper's method. report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Facial InpaintingImage Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AWAREAbsolute Position EncodingsAdamAttentionBPEConvolutionDense ConnectionsDiffusionDropoutInpaintingLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPath Length RegularizationPosition-Wise Feed-Forward LayerR1 RegularizationResidual ConnectionSoftmaxTransformerWeight Demodulationfail

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections