mlsanityData to 7 Oct 2026

RGI: robust GAN-inversion for mask-free image inpainting and unsupervised pixel-wise anomaly detection

arXiv 2302.12464 ↗First posted 24 Feb 2023cs.CV stat.MLcited by 12

Not on the map. Why?

Abstract (arXiv)

Generative adversarial networks (GANs), trained on a large-scale image dataset, can be a good approximator of the natural image manifold. GAN-inversion, using a pre-trained generator as a deep generative prior, is a promising tool for image restoration under corruptions. However, the performance of GAN-inversion can be limited by a lack of robustness to unknown gross corruptions, i.e., the restored image might easily deviate from the ground truth. In this paper, we propose a Robust GAN-inversion (RGI) method with a provable robustness guarantee to achieve image restoration under unknown textitgross corruptions, where a small fraction of pixels are completely corrupted. Under mild assumptions, we show that the restored image and the identified corrupted region mask converge asymptotically to the ground truth. Moreover, we extend RGI to Relaxed-RGI (R-RGI) for generator fine-tuning to mitigate the gap between the GAN learned manifold and the true image manifold while avoiding trivial overfitting to the corrupted input image, which further improves the image restoration and corrupted region mask identification performance. The proposed RGI/R-RGI method unifies two important applications with state-of-the-art (SOTA) performance: (i) mask-free semantic inpainting, where the corruptions are unknown missing regions, the restored background can be used to restore the missing content; (ii) unsupervised pixel-wise anomaly detection, where the corruptions are unknown anomalous regions, the retrieved mask can be used as the anomalous region's segmentation mask.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 56 of its 83 references that are in the map. First posted on arXiv 24 Feb 2023.

Builds on

56 of 83 references.

References · 56

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  3. 2022Generative Adversarial Networkscited by 5,603
  4. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  5. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  6. 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,678
  7. 2016Context Encoders: Feature Learning by Inpaintingcited by 1,424
  8. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,350
  9. 2020Training Generative Adversarial Networks with Limited Datacited by 1,184
  10. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
  11. 2021Resolution-robust Large Mask Inpainting with Fourier Convolutionscited by 730
  12. 2020Encoding in Style: a StyleGAN Encoder for Image-to-Image Translationcited by 727
38 more
  1. 2019Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?cited by 675
  2. 2018Free-Form Image Inpainting with Gated Convolutioncited by 594
  3. 2020PaDiM: a Patch Distribution Modeling Framework for Anomaly Detection and Localizationcited by 591
  4. 2018Generative Image Inpainting with Contextual Attentioncited by 578
  5. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
  6. 2019Memorizing Normality to Detect Anomaly: Memory-augmented Deep Autoencoder for Unsupervised Anomaly Detectioncited by 560
  7. 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 510
  8. 2018Image Inpainting for Irregular Holes Using Partial Convolutionscited by 505
  9. 2020In-Domain GAN Inversion for Real Image Editingcited by 420
  10. 2018GANomaly: Semi-Supervised Anomaly Detection via Adversarial Trainingcited by 409
  11. 2021GAN Inversion: A Surveycited by 366
  12. 2019Image2StyleGAN++: How to Edit the Embedded Images?cited by 356
  13. 2016Generative Visual Manipulation on the Natural Image Manifoldcited by 348
  14. 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
  15. 2018Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoderscited by 263
  16. 2020Exploiting Deep Generative Prior for Versatile Image Restoration and Manipulationcited by 225
  17. 2021FastFlow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flowscited by 225
  18. 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 222
  19. 2021Large Scale Image Completion via Co-Modulated Generative Adversarial Networkscited by 219
  20. 2017Attentive Generative Adversarial Network for Raindrop Removal from a Single Imagecited by 204
  21. 2021High-Fidelity GAN Inversion for Image Attribute Editingcited by 197
  22. 2019Image Processing Using Multi-Code GAN Priorcited by 185
  23. 2019EdgeConnect: Generative Image Inpainting with Adversarial Edge Learningcited by 161
  24. 2016Semantic Image Inpainting with Deep Generative Modelscited by 156
  25. 2018Deep Autoencoding Models for Unsupervised Anomaly Segmentation in Brain MR Imagescited by 146
  26. 2016Inverting The Generator Of A Generative Adversarial Networkcited by 140
  27. 2018Efficient GAN-Based Anomaly Detectioncited by 122
  28. 2019StructureFlow: Image Inpainting via Structure-aware Appearance Flowcited by 118
  29. 2020Recurrent Feature Reasoning for Image Inpaintingcited by 107
  30. 2019Coherent Semantic Attention for Image Inpaintingcited by 97
  31. 2019Learning Pyramid-Context Encoder Network for High-Quality Image Inpaintingcited by 94
  32. 2019Foreground-aware Image Inpaintingcited by 90
  33. 2016High-Resolution Image Inpainting using Multi-Scale Neural Patch Synthesiscited by 89
  34. 2018Shift-Net: Image Inpainting via Deep Feature Rearrangementcited by 87
  35. 2017Generative Face Completioncited by 79
  36. 2020High-Resolution Image Inpainting with Iterative Confidence Feedback and Guided Upsamplingcited by 79
  37. 2017Contextual-based Image Inpainting: Infer, Match, and Translatecited by 50
  38. 2019Detecting Overfitting of Deep Generative Networks via Latent Recoverycited by 44

50 most cited of 56 All 56 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 3; 2025: 5; 2026: 3.

12 papers.