AnomalyDiffusion: Few-Shot Anomaly Image Generation with Diffusion Model
Teng Hu, Jiangning Zhang, Ran Yi, Yuzhen Du, Xu Chen, Liang Liu, Yabiao Wang, Chengjie Wang
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 42 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Denoising Diffusion Probabilistic Models
- Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors 引用了 Towards Total Recall in Industrial Anomaly Detection
- Foundation Visual Encoders Are Secretly Few-Shot Anomaly Detectors 引用了 MambaAD: Exploring State Space Models for Multi-class Unsupervised Anomaly Detection
- 3CAD: A Large-Scale Real-World 3C Product Dataset for Unsupervised Anomaly Detection 引用了 Towards Total Recall in Industrial Anomaly Detection
- CNC: Cross-modal Normality Constraint for Unsupervised Multi-class Anomaly Detection 引用了 Towards Total Recall in Industrial Anomaly Detection
- CNC: Cross-modal Normality Constraint for Unsupervised Multi-class Anomaly Detection 引用了 MambaAD: Exploring State Space Models for Multi-class Unsupervised Anomaly Detection
- Improved Denoising Diffusion Probabilistic Models 引用了 Denoising Diffusion Probabilistic Models
- MambaAD: Exploring State Space Models for Multi-class Unsupervised Anomaly Detection 引用了 Towards Total Recall in Industrial Anomaly Detection
引用它的顶会 Paper42
- MambaAD: Exploring State Space Models for Multi-class Unsupervised Anomaly DetectionHaoyang He, Yuhu Bai, Jiangning Zhang, Qingdong He 等NeurIPS 2024 · 251 次引用
- CNC: Cross-modal Normality Constraint for Unsupervised Multi-class Anomaly DetectionXiaolei Wang, Xiaoyang Wang, Huihui Bai, Eng Gee Lim 等AAAI 2025 · 19 次引用
- 3CAD: A Large-Scale Real-World 3C Product Dataset for Unsupervised Anomaly DetectionEnquan Yang, Peng Xing, Hanyang Sun, Wenbo Guo 等AAAI 2025 · 18 次引用
- Revisiting Multimodal Fusion for 3D Anomaly Detection from an Architectural PerspectiveKaifang Long, Guoyang Xie, Lianbo Ma, Jiaqi Liu 等AAAI 2025 · 17 次引用
- Foundation Visual Encoders Are Secretly Few-Shot Anomaly DetectorsGuangyao Zhai, Yue Zhou, Xinyan Deng, Lars Heckler-Kram 等ICLR 2026 · 9 次引用
它引用的 Paper20
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 次引用
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
- Improved Denoising Diffusion Probabilistic ModelsAlexander Quinn Nichol, Prafulla DhariwalICML 2021 · 5,234 次引用
- Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf 等CVPR 2022 · 1,301 次引用
- Differentiable Augmentation for Data-Efficient GAN TrainingShengyu Zhao, Zhijian Liu, Ji Lin, Jun-Yan Zhu 等NeurIPS 2020 · 707 次引用
相关 Paper
- Dual-Interrelated Diffusion Model for Few-Shot Anomaly Image GenerationYing Jin, Jinlong Peng, Qingdong He, Teng Hu 等CVPR 2025
- Generate Aligned Anomaly: Region-Guided Few-Shot Anomaly Image-Mask Pair Synthesis for Industrial InspectionYilin Lu, Jianghang Lin, Linhuang Xie, Kai Zhao 等ACM MM 2025
- One-to-More: High-Fidelity Training-Free Anomaly Generation with Attention ControlHaoxiang Rao, Zhao Wang, Chenyang Si, Yan Lyu 等CVPR 2026 · 2 次引用
- MAGIC: Few-Shot Mask-Guided Anomaly Inpainting with Prompt Perturbation, Spatially Adaptive Guidance, and Context AwarenessJaeHyuck Choi, Minjun Kim, Je Hyeong HongCVPR Findings 2026 · 3 次引用
- AnomalyControl: Highly-Aligned Anomalous Image Generation with Controlled Diffusion ModelYuanyi Duan, Wei Xu, Qinlong Wu, Guo-Sen Xie 等ACM MM 2025 · 3 次引用
