Reproduce “DiAD: A Diffusion-based Framework for Multi-class Anomaly Detection” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Haoyang He, Jiangning Zhang, Hongxu Chen, Xuhai Chen, Zhishan Li, Xu Chen, Yabiao Wang, Chengjie Wang and 1 more

DiAD (Diffusion-based Anomaly Detection) introduces a multi-class framework that leverages diffusion models for unsupervised anomaly detection and localization, addressing limitations of current methods by integrating a Semantic-Guided network and Spatial-aware Feature Fusion. The framework achieves state-of-the-art performance across various industrial and medical datasets, significantly improving both image-level detection and pixel-level localization.

Key insights

  • Integrating direct semantic guidance from the original input during latent-space denoising is critical for preventing categorical errors and preserving fine-grained semantic information in multi-class diffusion-based anomaly detection.
  • Multi-scale feature fusion is essential for a single model to effectively handle diverse anomaly sizes, from subtle textures to large structural defects, by integrating high-level and low-level features.
  • Instance Normalization and SiLU activation are more effective than Batch Normalization and ReLU in multi-class anomaly detection, as they better preserve instance-specific details and input information, crucial for diverse data distributions.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.