Removing Anomalies as Noises for Industrial Defect Localization

Fanbin Lu, Xufeng Yao, Chi-Wing Fu, Jiaya Jia
2/14/2026

No confident code implementation found for this paper.

Abstract

Unsupervised anomaly detection aims to train models with only anomaly-free images to detect and localize unseen anomalies. Previous reconstruction-based methods have been limited by inaccurate reconstruction results. This work presents a denoising model to detect and localize the anomalies with a generative diffusion model. In particular, we introduce random noise to overwhelm the anomalous pixels and obtain pixel-wise precise anomaly scores from the intermediate denoising process. We find that the KL divergence of the diffusion model serves as a better anomaly score compared with the traditional RGB space score. Furthermore, we reconstruct the features from a pre-trained deep feature extractor as our feature level score to improve localization performance. Moreover, we propose a gradient denoising process to smoothly transform an anomalous image into a normal one. Our denoising model outperforms the state-of-the-art reconstruction-based anomaly detection methods for precise anomaly localization and high-quality normal image reconstruction on the MVTec-AD benchmark.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lu2026removing,
  title  = {Removing Anomalies as Noises for Industrial Defect Localization},
  author = {Fanbin Lu and Xufeng Yao and Chi-Wing Fu and Jiaya Jia},
  year   = {2026},
  doi    = {10.1109/ICCV51070.2023.01481},
  url    = {https://doi.org/10.1109/ICCV51070.2023.01481},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/3b5fe875a8039849210a38d56536951549b29ae9.svg)](https://codeofpaper.com/paper/3b5fe875a8039849210a38d56536951549b29ae9)

Discussion