mlsanityData to 7 Oct 2026

AnomalyDiffusion: Few-Shot Anomaly Image Generation with Diffusion Model

arXiv 2312.05767 ↗First posted 10 Dec 2023cs.CVcited by 110

On the map: Diffusion models → Flow matching, time series and science

Abstract (arXiv)

Anomaly inspection plays an important role in industrial manufacture. Existing anomaly inspection methods are limited in their performance due to insufficient anomaly data. Although anomaly generation methods have been proposed to augment the anomaly data, they either suffer from poor generation authenticity or inaccurate alignment between the generated anomalies and masks. To address the above problems, we propose AnomalyDiffusion, a novel diffusion-based few-shot anomaly generation model, which utilizes the strong prior information of latent diffusion model learned from large-scale dataset to enhance the generation authenticity under few-shot training data. Firstly, we propose Spatial Anomaly Embedding, which consists of a learnable anomaly embedding and a spatial embedding encoded from an anomaly mask, disentangling the anomaly information into anomaly appearance and location information. Moreover, to improve the alignment between the generated anomalies and the anomaly masks, we introduce a novel Adaptive Attention Re-weighting Mechanism. Based on the disparities between the generated anomaly image and normal sample, it dynamically guides the model to focus more on the areas with less noticeable generated anomalies, enabling generation of accurately-matched anomalous image-mask pairs. Extensive experiments demonstrate that our model significantly outperforms the state-of-the-art methods in generation authenticity and diversity, and effectively improves the performance of downstream anomaly inspection tasks. The code and data are available in https://github.com/sjtuplayer/anomalydiffusion.

Key facts. Cited by 110 papers in the map (data through 7 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 34 of its 48 references that are in the map. First posted on arXiv 10 Dec 2023.

Builds on

34 of 48 references.

References · 34

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  4. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  5. 2016Feature Pyramid Networks for Object Detectioncited by 5,021
  6. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,736
  7. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
  8. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
  9. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  10. 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
  11. 2018Demystifying MMD GANscited by 1,268
  12. 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
22 more
  1. 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
  2. 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
  3. 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 510
  4. 2022Anomaly Detection via Reverse Distillation from One-Class Embeddingcited by 419
  5. 2020Differentiable Augmentation for Data-Efficient GAN Trainingcited by 361
  6. 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
  7. 2021Few-shot Image Generation via Cross-domain Correspondencecited by 206
  8. 2023Multimodal Industrial Anomaly Detection via Hybrid Fusioncited by 138
  9. 2022CFA: Coupled-hypersphere-based Feature Adaptation for Target-Oriented Anomaly Localizationcited by 135
  10. 2022Registration based Few-Shot Anomaly Detectioncited by 133
  11. 2020Freeze the Discriminator: a Simple Baseline for Fine-Tuning GANscited by 132
  12. 2023APRIL-GAN: A Zero-/Few-Shot Anomaly Classification and Segmentation Method for CVPR 2023 VAND Workshop Challenge Tracks 1&2: 1st Place on Zero-shot AD and 4th Place on Few-shot ADcited by 128
  13. 2020Few-shot Image Generation with Elastic Weight Consolidationcited by 122
  14. 2022Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detectioncited by 104
  15. 2021Defect-GAN: High-Fidelity Defect Synthesis for Automated Defect Inspectioncited by 77
  16. 2021Explainable Deep Few-shot Anomaly Detection with Deviation Networkscited by 69
  17. 2023Few-Shot Defect Image Generation via Defect-Aware Feature Manipulationcited by 66
  18. 2023Segment Any Anomaly without Training via Hybrid Prompt Regularizationcited by 59
  19. 2023CLIP-AD: A Language-Guided Staged Dual-Path Model for Zero-shot Anomaly Detectioncited by 58
  20. 2023GPT-4V-AD: Exploring Grounding Potential of VQA-oriented GPT-4V for Zero-shot Anomaly Detectioncited by 23
  21. 2023Phasic Content Fusing Diffusion Model with Directional Distribution Consistency for Few-Shot Model Adaptioncited by 11
  22. 2022CtlGAN: Few-shot Artistic Portraits Generation with Contrastive Transfer Learningcited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 22; 2025: 51; 2026: 36.

110 papers.

Sort:

By area:

  1. 2024MambaAD: Exploring State Space Models for Multi-class Unsupervised Anomaly Detectioncited by 113
  2. 2024A Survey on Visual Anomaly Detection: Challenge, Approach, and Prospectcited by 69
  3. 2023Exploring Plain ViT Reconstruction for Multi-class Unsupervised Anomaly Detectioncited by 47
  4. 2024R3D-AD: Reconstruction via Diffusion for 3D Anomaly Detectioncited by 45
  5. 2024Dual-Interrelated Diffusion Model for Few-Shot Anomaly Image Generationcited by 31
  6. 2024PO3AD: Predicting Point Offsets toward Better 3D Point Cloud Anomaly Detectioncited by 30
  7. 2024SeaS: Few-shot Industrial Anomaly Image Generation with Separation and Sharing Fine-tuningcited by 26
  8. 2024Unseen Visual Anomaly Generationcited by 23
  9. 2024AnomalyXFusion: Multi-modal Anomaly Synthesis with Diffusioncited by 21
  10. 2025Noise-Consistent Siamese-Diffusion for Medical Image Synthesis and Segmentationcited by 21
  11. 2025One-for-More: Continual Diffusion Model for Anomaly Detectioncited by 19
  12. 2024Progressive Boundary Guided Anomaly Synthesis for Industrial Anomaly Detectioncited by 16
38 more
  1. 2024Learning Feature Inversion for Multi-class Anomaly Detection under General-purpose COCO-AD Benchmarkcited by 15
  2. 2025A Survey on Diffusion Models for Anomaly Detectioncited by 13
  3. 2024Text Guided Image Editing with Automatic Concept Locating and Forgettingcited by 12
  4. 2024Revisiting Multimodal Fusion for 3D Anomaly Detection from an Architectural Perspectivecited by 12
  5. 2025DefectFill: Realistic Defect Generation with Inpainting Diffusion Model for Visual Inspectioncited by 12
  6. 2025MultiADS: Defect-aware Supervision for Multi-type Anomaly Detection and Segmentation in Zero-Shot Learningcited by 12
  7. 2025PSDiffusion: Harmonized Multi-Layer Image Generation via Layout and Appearance Alignmentcited by 11
  8. 2025Distribution Prototype Diffusion Learning for Open-set Supervised Anomaly Detectioncited by 10
  9. 2025ReplayCAD: Generative Diffusion Replay for Continual Anomaly Detectioncited by 9
  10. 2024Few-shot Defect Image Generation based on Consistency Modelingcited by 8
  11. 2025Anomaly Detection and Generation with Diffusion Models: A Surveycited by 8
  12. 2025Where Culture Fades: Revealing the Cultural Gap in Text-to-Image Generationcited by 8
  13. 2024Dual-path Frequency Discriminators for Few-shot Anomaly Detectioncited by 7
  14. 2024A Comprehensive Library for Benchmarking Multi-class Visual Anomaly Detectioncited by 7
  15. 2024AnomalyControl: Learning Cross-modal Semantic Features for Controllable Anomaly Synthesiscited by 7
  16. 2025A Survey on Industrial Anomaly Synthesiscited by 7
  17. 2025Adaptively Distilled ControlNet: Accelerated Training and Superior Sampling for Medical Image Synthesiscited by 7
  18. 2024AnomalySD: Few-Shot Multi-Class Anomaly Detection with Stable Diffusion Modelcited by 6
  19. 2024DMAD: Dual Memory Bank for Real-World Anomaly Detectioncited by 5
  20. 2025A Survey on Foundation-Model-Based Industrial Defect Detectioncited by 5
  21. 2025AnomalyPainter: Vision-Language-Diffusion Synergy for Zero-Shot Realistic and Diverse Industrial Anomaly Synthesiscited by 5
  22. 2025Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectorscited by 5
  23. 2025GenIAS: Generator for Instantiating Anomalies in time Seriescited by 4
  24. 2025Component-aware Unsupervised Logical Anomaly Generation for Industrial Anomaly Detectioncited by 4
  25. 2025AnoStyler: Text-Driven Localized Anomaly Generation via Lightweight Style Transfercited by 4
  26. 2025"Stones from Other Hills can Polish Jade": Zero-shot Anomaly Image Synthesis via Cross-domain Anomaly Injectioncited by 3
  27. 2025Crane: Context-Guided Prompt Learning and Attention Refinement for Zero-Shot Anomaly Detectioncited by 3
  28. 2026Hierarchical Point-Patch Fusion with Adaptive Patch Codebook for 3D Shape Anomaly Detectioncited by 3
  29. 2024Friend or Foe? Harnessing Controllable Overfitting for Anomaly Detectioncited by 2
  30. 2025Few-shot Implicit Function Generation via Equivariancecited by 2
  31. 2025ISP-AD: A Large-Scale Real-World Dataset for Advancing Industrial Anomaly Detection with Synthetic and Real Defectscited by 2
  32. 20253D-PNAS: 3D Industrial Surface Anomaly Synthesis with Perlin Noisecited by 2
  33. 2025Diffusion Models for Hyperspectral Image Analysis: A Comprehensive Reviewcited by 2
  34. 2025Generate Aligned Anomaly: Region-Guided Few-Shot Anomaly Image-Mask Pair Synthesis for Industrial Inspectioncited by 2
  35. 2025A Comprehensive Survey for Real-World Industrial Defect Detection: Challenges, Approaches, and Prospectscited by 2
  36. 2025Quality-Aware Language-Conditioned Local Auto-Regressive Anomaly Synthesis and Detectioncited by 2
  37. 2025STAGE: Segmentation-oriented Industrial Anomaly Synthesis via Graded Diffusion with Explicit Mask Alignmentcited by 2
  38. 2026AnomalyVFM -- Transforming Vision Foundation Models into Zero-Shot Anomaly Detectorscited by 2

50 most cited of 110 All 110 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2023DiffusionAD: Norm-guided One-step Denoising Diffusion for Anomaly Detection
  2. 2025HDM: Hybrid Diffusion Model for Unified Image Anomaly Detection
  3. 2024Enhancing Multi-Class Anomaly Detection via Diffusion Refinement with Dual Conditioning
  4. 2024A Novel Approach to Industrial Defect Generation through Blended Latent Diffusion Model with Online Adaptation
  5. 2025Single-Step Reconstruction-Free Anomaly Detection and Segmentation via Diffusion Models
  6. 2025Correcting Deviations from Normality: A Reformulated Diffusion Model for Multi-Class Unsupervised Anomaly Detection
  7. 2023TransFusion -- A Transparency-Based Diffusion Model for Anomaly Detection
  8. 2024GLAD: Towards Better Reconstruction with Global and Local Adaptive Diffusion Models for Unsupervised Anomaly Detection