Saved in:
Bibliographic Details
Main Authors: Sakai, Shunsuke, He, Xiangteng, Gu, Chunzhi, Sigal, Leonid, Hasegawa, Tatsuhito
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.05662
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911507400359936
author Sakai, Shunsuke
He, Xiangteng
Gu, Chunzhi
Sigal, Leonid
Hasegawa, Tatsuhito
author_facet Sakai, Shunsuke
He, Xiangteng
Gu, Chunzhi
Sigal, Leonid
Hasegawa, Tatsuhito
contents Despite the remarkable success, recent reconstruction-based anomaly detection (AD) methods via diffusion modeling still involve fine-grained noise-strength tuning and computationally expensive multi-step denoising, leading to a fundamental tension between fidelity and efficiency. In this paper, we propose InvAD, a novel inversion-based anomaly detection approach ("detection via noising in latent space") that circumvents explicit reconstruction. Importantly, we contend that the limitations in prior reconstruction-based methods originate from the prevailing "detection via denoising in RGB space" paradigm. To address this, we model AD under a reconstruction-free formulation, which directly infers the final latent variable corresponding to the input image via DDIM inversion, and then measures the deviation based on the known prior distribution for anomaly scoring. Specifically, in approximating the original probability flow ODE using the Euler method, we enforce only a few inversion steps to noise the clean image to pursue inference efficiency. As the added noise is adaptively derived with the learned diffusion model, the original features for the clean testing image can still be leveraged to yield high detection accuracy. We perform extensive experiments and detailed analyses across four widely used industrial and medical AD benchmarks under the unsupervised unified setting to demonstrate the effectiveness of our model, achieving state-of-the-art AD performance and approximately 2x inference-time speedup without diffusion distillation.
format Preprint
id arxiv_https___arxiv_org_abs_2504_05662
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle InvAD: Inversion-based Reconstruction-Free Anomaly Detection with Diffusion Models
Sakai, Shunsuke
He, Xiangteng
Gu, Chunzhi
Sigal, Leonid
Hasegawa, Tatsuhito
Computer Vision and Pattern Recognition
Despite the remarkable success, recent reconstruction-based anomaly detection (AD) methods via diffusion modeling still involve fine-grained noise-strength tuning and computationally expensive multi-step denoising, leading to a fundamental tension between fidelity and efficiency. In this paper, we propose InvAD, a novel inversion-based anomaly detection approach ("detection via noising in latent space") that circumvents explicit reconstruction. Importantly, we contend that the limitations in prior reconstruction-based methods originate from the prevailing "detection via denoising in RGB space" paradigm. To address this, we model AD under a reconstruction-free formulation, which directly infers the final latent variable corresponding to the input image via DDIM inversion, and then measures the deviation based on the known prior distribution for anomaly scoring. Specifically, in approximating the original probability flow ODE using the Euler method, we enforce only a few inversion steps to noise the clean image to pursue inference efficiency. As the added noise is adaptively derived with the learned diffusion model, the original features for the clean testing image can still be leveraged to yield high detection accuracy. We perform extensive experiments and detailed analyses across four widely used industrial and medical AD benchmarks under the unsupervised unified setting to demonstrate the effectiveness of our model, achieving state-of-the-art AD performance and approximately 2x inference-time speedup without diffusion distillation.
title InvAD: Inversion-based Reconstruction-Free Anomaly Detection with Diffusion Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2504.05662