PATMAT: Person Aware Tuning of Mask-Aware Transformer for Face Inpainting
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
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.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 37 of its 51 references that are in the map. First posted on arXiv 12 Apr 2023.
Builds on
37 of 51 references.
Closest ancestors · 4
Same direction, newest first
- 2022Generative Visual Prompt: Unifying Distributional Control of Pre-Trained Generative Models14 Sep
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
- 2021Palette: Image-to-Image Diffusion Models10 Nov
Other references · 33
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
- 2014Deep Learning Face Attributes in the Wildcited by 3,679
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
- 2016Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Networkcited by 1,898
- 2016Context Encoders: Feature Learning by Inpaintingcited by 1,424
- 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
21 more
- 2021Variational Diffusion Modelscited by 1,145
- 2019StarGAN v2: Diverse Image Synthesis for Multiple Domainscited by 1,095
- 2021Resolution-robust Large Mask Inpainting with Fourier Convolutionscited by 730
- 2021Pivotal Tuning for Latent-based Editing of Real Imagescited by 427
- 2021Large Scale Image Completion via Co-Modulated Generative Adversarial Networkscited by 219
- 2022MAT: Mask-Aware Transformer for Large Hole Image Inpaintingcited by 216
- 2016EnhanceNet: Single Image Super-Resolution Through Automated Texture Synthesiscited by 177
- 2022VFHQ: A High-Quality Dataset and Benchmark for Video Face Super-Resolutioncited by 174
- 2019Pluralistic Image Completioncited by 162
- 2021High-Fidelity Pluralistic Image Completion with Transformerscited by 134
- 2020Contextual Residual Aggregation for Ultra High-Resolution Image Inpaintingcited by 124
- 2019StructureFlow: Image Inpainting via Structure-aware Appearance Flowcited by 118
- 2020Rethinking Image Inpainting via a Mutual Encoder-Decoder with Feature Equalizationscited by 102
- 2019Learning Pyramid-Context Encoder Network for High-Quality Image Inpaintingcited by 94
- 2021PD-GAN: Probabilistic Diverse GAN for Image Inpaintingcited by 80
- 2022Killing Two Birds with One Stone:Efficient and Robust Training of Face Recognition CNNs by Partial FCcited by 73
- 2018Patch-Based Image Inpainting with Generative Adversarial Networkscited by 70
- 2021TransFill: Reference-guided Image Inpainting by Merging Multiple Color and Spatial Transformationscited by 48
- 2019Region-wise Generative Adversarial ImageInpainting for Large Missing Areascited by 18
- 2020Image Fine-grained Inpaintingcited by 16
- 2020AIM 2020 Challenge on Image Extreme Inpaintingcited by 7
Built on by
Citing papers per year: 2024: 2; 2025: 0; 2026: 2.
4 papers.
- 2024Transformer-based Image and Video Inpainting: Current Challenges and Future Directionscited by 6
- 2024Gorgeous: Create Your Desired Character Facial Makeup from Any Ideascited by 1
- 2026Face inpainting with Identity Preserving Latent Diffusion Modelscited by 0
- 2026When Diffusion Models Forget Who You Are: Identity Preservation in Face Inpainting under Large Occlusionscited by 0
- 2026When Diffusion Models Forget Who You Are: Identity Preservation in Face Inpainting under Large Occlusions5 Aug 2026
- 2026Face inpainting with Identity Preserving Latent Diffusion Models15 May 2026
- 2024Transformer-based Image and Video Inpainting: Current Challenges and Future Directions28 Jun 2024
- 2024Gorgeous: Create Your Desired Character Facial Makeup from Any Ideas22 Apr 2024
Similar, not cited
Close in wording, no citation either way
- 2023Personalized Face Inpainting with Diffusion Models by Parallel Visual Attention
- 2025LaTo: Landmark-tokenized Diffusion Transformer for Fine-grained Human Face Editing
- 2025InstaFace: Identity-Preserving Facial Editing with Single Image Inference
- 2026FaceSnap: Enhanced ID-fidelity Network for Tuning-free Portrait Customization
- 2025Data Synthesis with Diverse Styles for Face Recognition via 3DMM-Guided Diffusion
- 2023FaceDNeRF: Semantics-Driven Face Reconstruction, Prompt Editing and Relighting with Diffusion Models
- 2023When StyleGAN Meets Stable Diffusion: a mathscrW_+ Adapter for Personalized Image Generation
- 2025FantasyID: Face Knowledge Enhanced ID-Preserving Video Generation