Is Training Necessary for Anomaly Detection?

📅 2026-01-30
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the limitations of existing reconstruction-based methods in multi-class unsupervised anomaly detection, which suffer from a trade-off between fidelity and stability and rely on task-specific training. The authors propose Retrieval-based Anomaly Detection (RAD), a training-free approach that stores multi-level features of normal samples in memory and detects anomalies by performing cross-level retrieval matching on test image patches. RAD achieves state-of-the-art performance without any training, challenging the prevailing assumption that training is indispensable in this domain. Theoretically, the method establishes that the retrieval score upper-bounds the reconstruction residual. Extensive experiments demonstrate RAD’s superiority across four benchmarks—MVTec-AD, VisA, Real-IAD, and 3D-ADAM—with a single normal image yielding a pixel-level AUROC of 96.7% on MVTec-AD.

Technology Category

Application Category

📝 Abstract
Current state-of-the-art multi-class unsupervised anomaly detection (MUAD) methods rely on training encoder-decoder models to reconstruct anomaly-free features. We first show these approaches have an inherent fidelity-stability dilemma in how they detect anomalies via reconstruction residuals. We then abandon the reconstruction paradigm entirely and propose Retrieval-based Anomaly Detection (RAD). RAD is a training-free approach that stores anomaly-free features in a memory and detects anomalies through multi-level retrieval, matching test patches against the memory. Experiments demonstrate that RAD achieves state-of-the-art performance across four established benchmarks (MVTec-AD, VisA, Real-IAD, 3D-ADAM) under both standard and few-shot settings. On MVTec-AD, RAD reaches 96.7\% Pixel AUROC with just a single anomaly-free image compared to 98.5\% of RAD's full-data performance. We further prove that retrieval-based scores theoretically upper-bound reconstruction-residual scores. Collectively, these findings overturn the assumption that MUAD requires task-specific training, showing that state-of-the-art anomaly detection is feasible with memory-based retrieval. Our code is available at https://github.com/longkukuhi/RAD.
Problem

Research questions and friction points this paper is trying to address.

anomaly detection
unsupervised learning
training-free
reconstruction
multi-class
Innovation

Methods, ideas, or system contributions that make the work stand out.

training-free
retrieval-based anomaly detection
memory-based retrieval
unsupervised anomaly detection
multi-class anomaly detection
🔎 Similar Papers
No similar papers found.
X
Xingwu Zhang
College of Electrical and Information Engineering, Hunan University, Changsha, China
G
Guanxuan Li
College of Electrical and Information Engineering, Hunan University, Changsha, China
Paul Henderson
Paul Henderson
University of Glasgow
computer visionmachine learning
Gerardo Aragon-Camarasa
Gerardo Aragon-Camarasa
School of Computing Science, University of Glasgow
Robot VisionComputer VisionRobotics and Autonomous SystemsDeformable Objects
Z
Zijun Long
College of Electrical and Information Engineering, Hunan University, Changsha, China