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 Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

humansensinglab/PATMAT officialmentioned on GitHubpytorch report
LonglongaaaGo/EXE-GAN mentioned on GitHubpytorchMIT 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.

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