Lune

CVPR2025Top-tier venue

Dual-Interrelated Diffusion Model for Few-Shot Anomaly Image Generation

Ying Jin, Jinlong Peng, Qingdong He, Teng Hu, Jiafu Wu, Hao Chen, Haoxuan Wang, Wenbing Zhu, Mingmin Chi, Jun Liu, Yabiao Wang

Abstract

The performance of anomaly inspection in industrial manufacturing is constrained by the scarcity of anomaly data. To overcome this challenge, researchers have started employing anomaly generation approaches to augment the anomaly dataset. However, existing anomaly generation methods suffer from limited diversity in the generated anomalies and struggle to achieve a seamless blending of this anomaly with the original image. Moreover, the generated mask is usually not aligned with the generated anomaly. In this paper, we overcome these challenges from a new perspective, simultaneously generating a pair of the overall image and the corresponding anomaly part. We propose DualAnoDiff, a novel diffusion-based fewshot anomaly image generation model, which can generate diverse and realistic anomaly images by using a dualinterrelated diffusion model, where one of them is employed to generate the whole image while the other one generates the anomaly part. Moreover, we extract background and shape information to mitigate the distortion and blurriness phenomenon in few-shot image generation. Extensive experiments demonstrate the superiority of our proposed model over state-of-the-art methods in terms of diversity, realism and the accuracy of mask. Overall, our approach significantly improves the performance of downstream anomaly inspection tasks, including anomaly detection, anomaly localization, and anomaly classification tasks. Code will be made available.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Segment Anything cites Learning Transferable Visual Models From Natural Language Supervision
  • Anomaly-Preference Image Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Anomaly-Preference Image Generation cites Towards Total Recall in Industrial Anomaly Detection
  • Anomaly-Preference Image Generation cites Anomaly Detection via Reverse Distillation from One-Class Embedding
  • CHIMERA: Controllable High-quality Image-Mask Extraction for Reliable Diffusion-based Anomaly Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
  • CHIMERA: Controllable High-quality Image-Mask Extraction for Reliable Diffusion-based Anomaly Synthesis cites Towards Total Recall in Industrial Anomaly Detection
  • Envisioning Beyond the Few: Disentangled Semantics and Primitives for Few-Shot Atypical Layout-to-Image Generation cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Envisioning Beyond the Few: Disentangled Semantics and Primitives for Few-Shot Atypical Layout-to-Image Generation cites Universal Few-shot Spatial Control for Diffusion Models
  • Envisioning Beyond the Few: Disentangled Semantics and Primitives for Few-Shot Atypical Layout-to-Image Generation cites Learning Transferable Visual Models From Natural Language Supervision
  • One-to-More: High-Fidelity Training-Free Anomaly Generation with Attention Control cites High-Resolution Image Synthesis with Latent Diffusion Models
  • One-to-More: High-Fidelity Training-Free Anomaly Generation with Attention Control cites Learning Transferable Visual Models From Natural Language Supervision
  • Universal Few-shot Spatial Control for Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. One-to-More: High-Fidelity Training-Free Anomaly Generation with Attention ControlHaoxiang Rao, Zhao Wang, Chenyang Si, Yan Lyu et al.CVPR 2026 · 2 citations
  2. Universal Few-shot Spatial Control for Diffusion ModelsKiet T. Nguyen, Chanhyuk Lee, Donggyun Kim, Dong Hoon Lee et al.NeurIPS 2025 · 2 citations
  3. Anomaly-Preference Image GenerationFuyun Wang, Yuanzhi Wang, Xu Guo, Sujia Huang et al.ICML 2026 · 1 citation
  4. Envisioning Beyond the Few: Disentangled Semantics and Primitives for Few-Shot Atypical Layout-to-Image GenerationNan Bao, Yifan Zhao, Wenzhuang Wang, Jia LiICML 2026 · 1 citation
  5. CHIMERA: Controllable High-quality Image-Mask Extraction for Reliable Diffusion-based Anomaly SynthesisJoungBin Lee, Hyunkoo Lee, Jini Yang, Chaehyun Kim et al.AAAI 2026

Builds on22

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
  3. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  4. Towards Total Recall in Industrial Anomaly DetectionKarsten Roth, Latha Pemula, Joaquin Zepeda, Bernhard Schölkopf et al.CVPR 2022 · 1,301 citations
  5. Anomaly Detection via Reverse Distillation from One-Class EmbeddingHanqiu Deng, Xingyu LiCVPR 2022 · 701 citations

Related papers

  1. AnomalyDiffusion: Few-Shot Anomaly Image Generation with Diffusion ModelTeng Hu, Jiangning Zhang, Ran Yi, Yuzhen Du et al.AAAI 2024 · 175 citations
  2. Generate Aligned Anomaly: Region-Guided Few-Shot Anomaly Image-Mask Pair Synthesis for Industrial InspectionYilin Lu, Jianghang Lin, Linhuang Xie, Kai Zhao et al.ACM MM 2025
  3. 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 citations
  4. Training-Free Industrial Defect Generation with Diffusion ModelsRuyi Xu, Yen-Tzu Chiu, Tai-I Chen, Oscar Chew et al.ICCV 2025 · 8 citations
  5. AnomalyControl: Highly-Aligned Anomalous Image Generation with Controlled Diffusion ModelYuanyi Duan, Wei Xu, Qinlong Wu, Guo-Sen Xie et al.ACM MM 2025 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines