AnomalyDiffusion: Few-Shot Anomaly Image Generation with Diffusion Model
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2016Feature Pyramid Networks for Object Detectioncited by 5,021
- 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,736
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
- 2018Demystifying MMD GANscited by 1,268
- 2021Towards Total Recall in Industrial Anomaly Detectioncited by 772
22 more
- 2017Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discoverycited by 566
- 2021CutPaste: Self-Supervised Learning for Anomaly Detection and Localizationcited by 529
- 2021DRAEM -- A discriminatively trained reconstruction embedding for surface anomaly detectioncited by 510
- 2022Anomaly Detection via Reverse Distillation from One-Class Embeddingcited by 419
- 2020Differentiable Augmentation for Data-Efficient GAN Trainingcited by 361
- 2021CFLOW-AD: Real-Time Unsupervised Anomaly Detection with Localization via Conditional Normalizing Flowscited by 320
- 2021Few-shot Image Generation via Cross-domain Correspondencecited by 206
- 2023Multimodal Industrial Anomaly Detection via Hybrid Fusioncited by 138
- 2022CFA: Coupled-hypersphere-based Feature Adaptation for Target-Oriented Anomaly Localizationcited by 135
- 2022Registration based Few-Shot Anomaly Detectioncited by 133
- 2020Freeze the Discriminator: a Simple Baseline for Fine-Tuning GANscited by 132
- 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
- 2020Few-shot Image Generation with Elastic Weight Consolidationcited by 122
- 2022Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detectioncited by 104
- 2021Defect-GAN: High-Fidelity Defect Synthesis for Automated Defect Inspectioncited by 77
- 2021Explainable Deep Few-shot Anomaly Detection with Deviation Networkscited by 69
- 2023Few-Shot Defect Image Generation via Defect-Aware Feature Manipulationcited by 66
- 2023Segment Any Anomaly without Training via Hybrid Prompt Regularizationcited by 59
- 2023CLIP-AD: A Language-Guided Staged Dual-Path Model for Zero-shot Anomaly Detectioncited by 58
- 2023GPT-4V-AD: Exploring Grounding Potential of VQA-oriented GPT-4V for Zero-shot Anomaly Detectioncited by 23
- 2023Phasic Content Fusing Diffusion Model with Directional Distribution Consistency for Few-Shot Model Adaptioncited by 11
- 2022CtlGAN: Few-shot Artistic Portraits Generation with Contrastive Transfer Learningcited by 10
Built on by
Citing papers per year: 2023: 1; 2024: 22; 2025: 51; 2026: 36.
110 papers.
Sort:
By area:
- 2024MambaAD: Exploring State Space Models for Multi-class Unsupervised Anomaly Detectioncited by 113
- 2024A Survey on Visual Anomaly Detection: Challenge, Approach, and Prospectcited by 69
- 2023Exploring Plain ViT Reconstruction for Multi-class Unsupervised Anomaly Detectioncited by 47
- 2024R3D-AD: Reconstruction via Diffusion for 3D Anomaly Detectioncited by 45
- 2024Dual-Interrelated Diffusion Model for Few-Shot Anomaly Image Generationcited by 31
- 2024PO3AD: Predicting Point Offsets toward Better 3D Point Cloud Anomaly Detectioncited by 30
- 2024SeaS: Few-shot Industrial Anomaly Image Generation with Separation and Sharing Fine-tuningcited by 26
- 2024Unseen Visual Anomaly Generationcited by 23
- 2024AnomalyXFusion: Multi-modal Anomaly Synthesis with Diffusioncited by 21
- 2025Noise-Consistent Siamese-Diffusion for Medical Image Synthesis and Segmentationcited by 21
- 2025One-for-More: Continual Diffusion Model for Anomaly Detectioncited by 19
- 2024Progressive Boundary Guided Anomaly Synthesis for Industrial Anomaly Detectioncited by 16
38 more
- 2024Learning Feature Inversion for Multi-class Anomaly Detection under General-purpose COCO-AD Benchmarkcited by 15
- 2025A Survey on Diffusion Models for Anomaly Detectioncited by 13
- 2024Text Guided Image Editing with Automatic Concept Locating and Forgettingcited by 12
- 2024Revisiting Multimodal Fusion for 3D Anomaly Detection from an Architectural Perspectivecited by 12
- 2025DefectFill: Realistic Defect Generation with Inpainting Diffusion Model for Visual Inspectioncited by 12
- 2025MultiADS: Defect-aware Supervision for Multi-type Anomaly Detection and Segmentation in Zero-Shot Learningcited by 12
- 2025PSDiffusion: Harmonized Multi-Layer Image Generation via Layout and Appearance Alignmentcited by 11
- 2025Distribution Prototype Diffusion Learning for Open-set Supervised Anomaly Detectioncited by 10
- 2025ReplayCAD: Generative Diffusion Replay for Continual Anomaly Detectioncited by 9
- 2024Few-shot Defect Image Generation based on Consistency Modelingcited by 8
- 2025Anomaly Detection and Generation with Diffusion Models: A Surveycited by 8
- 2025Where Culture Fades: Revealing the Cultural Gap in Text-to-Image Generationcited by 8
- 2024Dual-path Frequency Discriminators for Few-shot Anomaly Detectioncited by 7
- 2024A Comprehensive Library for Benchmarking Multi-class Visual Anomaly Detectioncited by 7
- 2024AnomalyControl: Learning Cross-modal Semantic Features for Controllable Anomaly Synthesiscited by 7
- 2025A Survey on Industrial Anomaly Synthesiscited by 7
- 2025Adaptively Distilled ControlNet: Accelerated Training and Superior Sampling for Medical Image Synthesiscited by 7
- 2024AnomalySD: Few-Shot Multi-Class Anomaly Detection with Stable Diffusion Modelcited by 6
- 2024DMAD: Dual Memory Bank for Real-World Anomaly Detectioncited by 5
- 2025A Survey on Foundation-Model-Based Industrial Defect Detectioncited by 5
- 2025AnomalyPainter: Vision-Language-Diffusion Synergy for Zero-Shot Realistic and Diverse Industrial Anomaly Synthesiscited by 5
- 2025Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectorscited by 5
- 2025GenIAS: Generator for Instantiating Anomalies in time Seriescited by 4
- 2025Component-aware Unsupervised Logical Anomaly Generation for Industrial Anomaly Detectioncited by 4
- 2025AnoStyler: Text-Driven Localized Anomaly Generation via Lightweight Style Transfercited by 4
- 2025"Stones from Other Hills can Polish Jade": Zero-shot Anomaly Image Synthesis via Cross-domain Anomaly Injectioncited by 3
- 2025Crane: Context-Guided Prompt Learning and Attention Refinement for Zero-Shot Anomaly Detectioncited by 3
- 2026Hierarchical Point-Patch Fusion with Adaptive Patch Codebook for 3D Shape Anomaly Detectioncited by 3
- 2024Friend or Foe? Harnessing Controllable Overfitting for Anomaly Detectioncited by 2
- 2025Few-shot Implicit Function Generation via Equivariancecited by 2
- 2025ISP-AD: A Large-Scale Real-World Dataset for Advancing Industrial Anomaly Detection with Synthetic and Real Defectscited by 2
- 20253D-PNAS: 3D Industrial Surface Anomaly Synthesis with Perlin Noisecited by 2
- 2025Diffusion Models for Hyperspectral Image Analysis: A Comprehensive Reviewcited by 2
- 2025Generate Aligned Anomaly: Region-Guided Few-Shot Anomaly Image-Mask Pair Synthesis for Industrial Inspectioncited by 2
- 2025A Comprehensive Survey for Real-World Industrial Defect Detection: Challenges, Approaches, and Prospectscited by 2
- 2025Quality-Aware Language-Conditioned Local Auto-Regressive Anomaly Synthesis and Detectioncited by 2
- 2025STAGE: Segmentation-oriented Industrial Anomaly Synthesis via Graded Diffusion with Explicit Mask Alignmentcited by 2
- 2026AnomalyVFM -- Transforming Vision Foundation Models into Zero-Shot Anomaly Detectorscited by 2
50 most cited of 110 All 110 (JSON)
- 2026Visual Anomaly Synthesis for Model Selection in Data Scarcity29 Sep 2026
- 2026FLASH: A "Generate Once, Synthesize Many" Framework for Synthetic Anomaly Generation in Industrial Anomaly Detection29 Sep 2026
- 2026Towards Generalizable 3D Anomaly Detection via Relational Inconsistency Modeling28 Sep 2026
- 2026Spatial Attention Supervision for Defect Localization: Exploiting Ground-Truth Masks as Training Signal in Diffusion-Augmented Defect Detection5 Sep 2026
- 2026DPA: Decoupling Product-Agnostic Anomaly Representations for Zero-shot Anomaly Generation2 Sep 2026
- 2026GeoMAD: Geometry-Aware Multi-View Anomaly Detection via Deformable Fusion and Distributional Alignment27 Aug 2026
- 2026See More, Detect Less? Taming Information Leakage in Multi-View Anomaly Detection25 Aug 2026
- 2026Multi-Modal Anomaly Detection: A Survey24 Aug 2026
- 2026Trustworthy Visual Quality Inspection under Data Scarcity in Manufacturing22 Aug 2026
- 2026DeCo: Zero-Shot Industrial Anomaly Generation through Decoupling and Recoupling8 Aug 2026
- 2026UniScale: Arbitrary-Scale Industrial Anomaly Generation8 Aug 2026
- 2026Understanding and Overcoming Cross-modal Fusion Bias in Multimodal Anomaly Detection From A Fisher Information Perspective2 Aug 2026
38 more
- 2026OSAGEN: Object-Aware Mask Priors and Multistage Decoupled Diffusion for Industrial Anomaly Generation31 Jul 2026
- 2026Learning to Discretize: Diffusion-Based Adaptive Mesh with Spectral Guidance13 Jul 2026
- 2026Multi-Conditioned Diffusion Synthesis of Sand Boils for Low-Resource Earthen-Levee Inspection8 Jul 2026
- 2026LogiCo: A Unified Framework for Logical and Structural Anomaly Detection27 Jun 2026
- 2026Learning Topology-Aware Representations via Test-Time Adaptation for Anomaly Segmentation26 Jun 2026
- 2026MambaADv2: Evolving Duality-enhanced State Space Model for Unsupervised Anomaly Detection22 Jun 2026
- 2026UniPCB: A Generation-Assisted Vision-Based Measurement Framework for PCB Defect Inspection6 May 2026
- 2026Anomaly-Preference Image Generation4 May 2026
- 2026Mixture Prototype Flow Matching for Open-Set Supervised Anomaly Detection4 May 2026
- 2026Accelerating New Product Introduction for Visual Quality Inspection via Few-Shot Diffusion-Based Defect Synthesis22 Apr 2026
- 2026PostureObjectstitch: Anomaly Image Generation Considering Assembly Relationships in Industrial Scenarios15 Apr 2026
- 2026IAD-Unify: Task-Specific Interfaces for Industrial Anomaly Understanding, Segmentation, and Generation14 Apr 2026
- 2026Large-Scale Universal Defect Generation: Foundation Models and Datasets10 Apr 2026
- 2026GroundingAnomaly: Spatially-Grounded Diffusion for Few-Shot Anomaly Synthesis9 Apr 2026
- 2026SGANet: Semantic and Geometric Alignment for Multimodal Multi-view Anomaly Detection7 Apr 2026
- 2026Hierarchical Point-Patch Fusion with Adaptive Patch Codebook for 3D Shape Anomaly Detection5 Apr 2026
- 2026One-to-More: High-Fidelity Training-Free Anomaly Generation with Attention Control18 Mar 2026
- 2026MIRAGE: Model-agnostic Industrial Realistic Anomaly Generation and Evaluation for Visual Anomaly Detection13 Mar 2026
- 2026Conditional Unbalanced Optimal Transport Maps: An Outlier-Robust Framework for Conditional Generative Modeling7 Mar 2026
- 2026Improving Anomaly Detection with Foundation-Model Synthesis and Wavelet-Domain Attention3 Mar 2026
- 2026TIPS Over Tricks: Simple Prompts for Effective Zero-shot Anomaly Detection3 Feb 2026
- 2026AnomalyVFM -- Transforming Vision Foundation Models into Zero-Shot Anomaly Detectors28 Jan 2026
- 2026Test-Time Adaptation for Anomaly Segmentation via Topology-Aware Optimal Transport Chaining28 Jan 2026
- 2026DeepInv: A Novel Self-supervised Learning Approach for Fast and Accurate Diffusion Inversion4 Jan 2026
- 2025Anomaly Detection by Effectively Leveraging Synthetic Images29 Dec 2025
- 2025Unsupervised Multi-View Visual Anomaly Detection via Progressive Homography-Guided Alignment24 Nov 2025
- 2025Where Culture Fades: Revealing the Cultural Gap in Text-to-Image Generation21 Nov 2025
- 2025DeltaDeno: Zero-Shot Anomaly Generation via Delta-Denoising Attribution21 Nov 2025
- 2025FaultDiffusion: Few-Shot Fault Time Series Generation with Diffusion Model19 Nov 2025
- 2025AnoStyler: Text-Driven Localized Anomaly Generation via Lightweight Style Transfer10 Nov 2025
- 2025UniADC: A Unified Framework for Anomaly Detection and Classification10 Nov 2025
- 2025ASBench: Image Anomalies Synthesis Benchmark for Anomaly Detection9 Oct 2025
- 2025Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors2 Oct 2025
- 2025FAST: Foreground-aware Diffusion with Accelerated Sampling Trajectory for Segmentation-oriented Anomaly Synthesis24 Sep 2025
- 2025Double Helix Diffusion for Cross-Domain Anomaly Image Generation16 Sep 2025
- 2025STAGE: Segmentation-oriented Industrial Anomaly Synthesis via Graded Diffusion with Explicit Mask Alignment8 Sep 2025
- 2025Training-Free Anomaly Generation via Dual-Attention Enhancement in Diffusion Model15 Aug 2025
- 2025A Segmentation-driven Editing Method for Bolt Defect Augmentation and Detection14 Aug 2025
50 newest of 110 All 110 (JSON)
- 2024Dual-Interrelated Diffusion Model for Few-Shot Anomaly Image Generationcited by 31
- 2025One-for-More: Continual Diffusion Model for Anomaly Detectioncited by 19
- 2025A Survey on Diffusion Models for Anomaly Detectioncited by 13
- 2024Text Guided Image Editing with Automatic Concept Locating and Forgettingcited by 12
- 2025DefectFill: Realistic Defect Generation with Inpainting Diffusion Model for Visual Inspectioncited by 12
- 2024Few-shot Defect Image Generation based on Consistency Modelingcited by 8
- 2025Anomaly Detection and Generation with Diffusion Models: A Surveycited by 8
- 2024AnomalySD: Few-Shot Multi-Class Anomaly Detection with Stable Diffusion Modelcited by 6
- 2025Diffusion Models for Hyperspectral Image Analysis: A Comprehensive Reviewcited by 2
- 2025FaultDiffusion: Few-Shot Fault Time Series Generation with Diffusion Modelcited by 1
- 2025Unsupervised Multi-View Visual Anomaly Detection via Progressive Homography-Guided Alignmentcited by 1
- 2026DeepInv: A Novel Self-supervised Learning Approach for Fast and Accurate Diffusion Inversioncited by 1
12 most cited of 19 All 19 (JSON)
- 2026Mixture Prototype Flow Matching for Open-Set Supervised Anomaly Detection4 May 2026
- 2026DeepInv: A Novel Self-supervised Learning Approach for Fast and Accurate Diffusion Inversion4 Jan 2026
- 2025Unsupervised Multi-View Visual Anomaly Detection via Progressive Homography-Guided Alignment24 Nov 2025
- 2025FaultDiffusion: Few-Shot Fault Time Series Generation with Diffusion Model19 Nov 2025
- 2025Training-Free Anomaly Generation via Dual-Attention Enhancement in Diffusion Model15 Aug 2025
- 2025Crucial-Diff: A Unified Diffusion Model for Crucial Image and Annotation Synthesis in Data-scarce Scenarios14 Jul 2025
- 2025CLIP Meets Diffusion: A Synergistic Approach to Anomaly Detection13 Jun 2025
- 2025Anomaly Detection and Generation with Diffusion Models: A Survey11 Jun 2025
- 2025Diffusion Models for Hyperspectral Image Analysis: A Comprehensive Review16 May 2025
- 2025Few-Shot Anomaly-Driven Generation for Anomaly Classification and Segmentation14 May 2025
- 2025DefectFill: Realistic Defect Generation with Inpainting Diffusion Model for Visual Inspection18 Mar 2025
- 2025One-for-More: Continual Diffusion Model for Anomaly Detection27 Feb 2025
12 newest of 19 All 19 (JSON)
- 2024A Survey on Visual Anomaly Detection: Challenge, Approach, and Prospectcited by 69
- 2023Exploring Plain ViT Reconstruction for Multi-class Unsupervised Anomaly Detectioncited by 47
- 2024R3D-AD: Reconstruction via Diffusion for 3D Anomaly Detectioncited by 45
- 2024PO3AD: Predicting Point Offsets toward Better 3D Point Cloud Anomaly Detectioncited by 30
- 2024SeaS: Few-shot Industrial Anomaly Image Generation with Separation and Sharing Fine-tuningcited by 26
- 2024Unseen Visual Anomaly Generationcited by 23
- 2024AnomalyXFusion: Multi-modal Anomaly Synthesis with Diffusioncited by 21
- 2025Noise-Consistent Siamese-Diffusion for Medical Image Synthesis and Segmentationcited by 21
- 2024Progressive Boundary Guided Anomaly Synthesis for Industrial Anomaly Detectioncited by 16
- 2024Learning Feature Inversion for Multi-class Anomaly Detection under General-purpose COCO-AD Benchmarkcited by 15
- 2024Revisiting Multimodal Fusion for 3D Anomaly Detection from an Architectural Perspectivecited by 12
- 2025MultiADS: Defect-aware Supervision for Multi-type Anomaly Detection and Segmentation in Zero-Shot Learningcited by 12
12 most cited of 89 All 89 (JSON)
- 2026Visual Anomaly Synthesis for Model Selection in Data Scarcity29 Sep 2026
- 2026FLASH: A "Generate Once, Synthesize Many" Framework for Synthetic Anomaly Generation in Industrial Anomaly Detection29 Sep 2026
- 2026Towards Generalizable 3D Anomaly Detection via Relational Inconsistency Modeling28 Sep 2026
- 2026Spatial Attention Supervision for Defect Localization: Exploiting Ground-Truth Masks as Training Signal in Diffusion-Augmented Defect Detection5 Sep 2026
- 2026DPA: Decoupling Product-Agnostic Anomaly Representations for Zero-shot Anomaly Generation2 Sep 2026
- 2026GeoMAD: Geometry-Aware Multi-View Anomaly Detection via Deformable Fusion and Distributional Alignment27 Aug 2026
- 2026See More, Detect Less? Taming Information Leakage in Multi-View Anomaly Detection25 Aug 2026
- 2026Multi-Modal Anomaly Detection: A Survey24 Aug 2026
- 2026Trustworthy Visual Quality Inspection under Data Scarcity in Manufacturing22 Aug 2026
- 2026DeCo: Zero-Shot Industrial Anomaly Generation through Decoupling and Recoupling8 Aug 2026
- 2026UniScale: Arbitrary-Scale Industrial Anomaly Generation8 Aug 2026
- 2026Understanding and Overcoming Cross-modal Fusion Bias in Multimodal Anomaly Detection From A Fisher Information Perspective2 Aug 2026
12 newest of 89 All 89 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2023DiffusionAD: Norm-guided One-step Denoising Diffusion for Anomaly Detection
- 2025HDM: Hybrid Diffusion Model for Unified Image Anomaly Detection
- 2024Enhancing Multi-Class Anomaly Detection via Diffusion Refinement with Dual Conditioning
- 2024A Novel Approach to Industrial Defect Generation through Blended Latent Diffusion Model with Online Adaptation
- 2025Single-Step Reconstruction-Free Anomaly Detection and Segmentation via Diffusion Models
- 2025Correcting Deviations from Normality: A Reformulated Diffusion Model for Multi-Class Unsupervised Anomaly Detection
- 2023TransFusion -- A Transparency-Based Diffusion Model for Anomaly Detection
- 2024GLAD: Towards Better Reconstruction with Global and Local Adaptive Diffusion Models for Unsupervised Anomaly Detection