OmiAD: One-Step Adaptive Masked Diffusion Model for Multi-Class Anomaly Detection via Adversarial Distillation
Abstract
Diffusion models have demonstrated outstanding performance in industrial anomaly detection. However, their iterative denoising nature results in slow inference speed, limiting their practicality for real-time industrial deployment. To address this challenge, we propose OmiAD, a one-step masked diffusion model for multi-class anomaly detection, derived from a well-designed multi-step Adaptive Masked Diffusion Model (AMDM) and compressed using Adversarial Score Distillation (ASD). OmiAD first introduces AMDM, equipped with an adaptive masking strategy that dynamically adjusts masking patterns based on noise levels and encourages the model to reconstruct anomalies as normal counterparts by leveraging broader context, to reduce the pixel-level shortcut reliance. Then, ASD is developed to compress the multi-step diffusion process into a single-step generator by score distillation and incorporating a shared-weight discriminator effectively reusing parameters while significantly improving both inference efficiency and detection performance. The effectiveness of OmiAD is validated on four diverse datasets, achieving state-of-the-art performance across seven metrics while delivering a remarkable inference speedup.
Cite
Text
Feng et al. "OmiAD: One-Step Adaptive Masked Diffusion Model for Multi-Class Anomaly Detection via Adversarial Distillation." Proceedings of the 42nd International Conference on Machine Learning, 2025.Markdown
[Feng et al. "OmiAD: One-Step Adaptive Masked Diffusion Model for Multi-Class Anomaly Detection via Adversarial Distillation." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/feng2025icml-omiad/)BibTeX
@inproceedings{feng2025icml-omiad,
title = {{OmiAD: One-Step Adaptive Masked Diffusion Model for Multi-Class Anomaly Detection via Adversarial Distillation}},
author = {Feng, Yaoxuan and Chen, Wenchao and Li, Yuxin and Chen, Bo and Wang, Yubiao and Zhao, Zixuan and Liu, Hongwei and Zhou, Mingyuan},
booktitle = {Proceedings of the 42nd International Conference on Machine Learning},
year = {2025},
pages = {16604-16633},
volume = {267},
url = {https://mlanthology.org/icml/2025/feng2025icml-omiad/}
}