mlsanityData to 14 Oct 2026

SAGI: Semantically Aligned and Uncertainty Guided AI Image Inpainting

arXiv 2502.06593 ↗First posted 10 Feb 2025cs.CVcited by 10

Not on the map. Why?

Abstract (arXiv)

Recent advancements in generative AI have made text-guided image inpainting - adding, removing, or altering image regions using textual prompts - widely accessible. However, generating semantically correct photorealistic imagery, typically requires carefully-crafted prompts and iterative refinement by evaluating the realism of the generated content - tasks commonly performed by humans. To automate the generative process, we propose Semantically Aligned and Uncertainty Guided AI Image Inpainting (SAGI), a model-agnostic pipeline, to sample prompts from a distribution that closely aligns with human perception and to evaluate the generated content and discard instances that deviate from such a distribution, which we approximate using pretrained large language models and vision-language models. By applying this pipeline on multiple state-of-the-art inpainting models, we create the SAGI Dataset (SAGI-D), currently the largest and most diverse dataset of AI-generated inpaintings, comprising over 95k inpainted images and a human-evaluated subset. Our experiments show that semantic alignment significantly improves image quality and aesthetics, while uncertainty guidance effectively identifies realistic manipulations - human ability to distinguish inpainted images from real ones drops from 74% to 35% in terms of accuracy, after applying our pipeline. Moreover, using SAGI-D for training several image forensic approaches increases in-domain detection performance on average by 37.4% and out-of-domain generalization by 26.1% in terms of IoU, also demonstrating its utility in countering malicious exploitation of generative AI. Code and dataset are available at https://mever-team.github.io/SAGI/

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 38 of its 95 references that are in the map. First posted on arXiv 10 Feb 2025.

Builds on

38 of 95 references.

References · 38

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  2. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  4. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  5. 2023Segment Anythingcited by 8,234
  6. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  7. 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
  8. 2023Adding Conditional Control to Text-to-Image Diffusion Modelscited by 5,503
  9. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  10. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  11. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
  12. 2016Context Encoders: Feature Learning by Inpaintingcited by 1,428
26 more
  1. 2021MUSIQ: Multi-scale Image Quality Transformercited by 1,081
  2. 2022Exploring CLIP for Assessing the Look and Feel of Imagescited by 991
  3. 2021Resolution-robust Large Mask Inpainting with Fourier Convolutionscited by 738
  4. 2018Generative Image Inpainting with Contextual Attentioncited by 580
  5. 2023Q-Align: Teaching LMMs for Visual Scoring via Discrete Text-Defined Levelscited by 503
  6. 2017NIMA: Neural Image Assessmentcited by 389
  7. 2023Blind Image Quality Assessment via Vision-Language Correspondence: A Multitask Learning Perspectivecited by 280
  8. 2023Text-to-image Diffusion Models in Generative AI: A Surveycited by 265
  9. 2020Media Forensics and DeepFakes: an overviewcited by 209
  10. 2024BrushNet: A Plug-and-Play Image Inpainting Model with Decomposed Dual-Branch Diffusioncited by 202
  11. 2019Gradio: Hassle-Free Sharing and Testing of ML Models in the Wildcited by 178
  12. 2023A Task is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpaintingcited by 169
  13. 2021PSCC-Net: Progressive Spatio-Channel Correlation Network for Image Manipulation Detection and Localizationcited by 133
  14. 2022TruFor: Leveraging all-round clues for trustworthy image forgery detection and localizationcited by 130
  15. 2024Improving Text-to-Image Consistency via Automatic Prompt Optimizationcited by 90
  16. 2021Learning JPEG Compression Artifacts for Image Manipulation Detection and Localizationcited by 78
  17. 2023VILA: Learning Image Aesthetics from User Comments with Vision-Language Pretrainingcited by 65
  18. 2023On the Design Fundamentals of Diffusion Models: A Surveycited by 60
  19. 2024LOKI: A Comprehensive Synthetic Data Detection Benchmark using Large Multimodal Modelscited by 51
  20. 2023Prompting Hard or Hardly Prompting: Prompt Inversion for Text-to-Image Diffusion Modelscited by 40
  21. 2021DefakeHop: A Light-Weight High-Performance Deepfake Detectorcited by 31
  22. 2022From colouring-in to pointillism: revisiting semantic segmentation supervisioncited by 22
  23. 2023TWIGMA: A dataset of AI-Generated Images with Metadata From Twittercited by 20
  24. 2024What makes an image realistic?cited by 10
  25. 2024Exploring the Impact of AI-generated Image Tools on Professional and Non-professional Users in the Art and Design Fieldscited by 10
  26. 2024Fusion Transformer with Object Mask Guidance for Image Forgery Analysiscited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 8.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2021Context-Aware Image Inpainting with Learned Semantic Priors
  2. 2023HD-Painter: High-Resolution and Prompt-Faithful Text-Guided Image Inpainting with Diffusion Models
  3. 2025FreeInpaint: Tuning-free Prompt Alignment and Visual Rationality Enhancement in Image Inpainting
  4. 2026Aligned Stable Inpainting: Mitigating Unwanted Object Insertion and Preserving Color Consistency
  5. 2022Imagen Editor and EditBench: Advancing and Evaluating Text-Guided Image Inpainting
  6. 2025MTADiffusion: Mask Text Alignment Diffusion Model for Object Inpainting
  7. 2024Paint by Inpaint: Learning to Add Image Objects by Removing Them First
  8. 2023Towards Enhanced Image Inpainting: Mitigating Unwanted Object Insertion and Preserving Color Consistency