Unified anomaly detection method works across different data types
UnifiedAD: One-Shot Anomaly Detection across Modalities via Evidence Calibration
Computer Vision and Pattern Recognition
Summary
Detecting unusual patterns, or anomalies, in data can be tricky when data comes from different types like images or sensors. The authors propose a method called UnifiedAD that uses just one example of normal data to spot anomalies without needing complicated training. They find special markers in the neural network responses that help identify when something is off. Their method can combine evidence from different layers and types of data for better detection and works well on various tests.
What this means in practice
- •For quality control engineers: Detect defects in manufacturing using a small number of normal reference samples across multiple sensor types and images.
- •For security system operators: Spot unusual behaviors or faults in complex systems monitored by different sensors using a unified anomaly score without retraining.
Authors
Shangze Li, Chuancheng Shi, Simiao Xie, Wenhua Wu, Xingyu Zhu, Fei Shen, Tat-Seng Chua
Abstract
Both single-modal and multi-modal anomaly detection aim to identify deviations from normal patterns, providing a common foundation for unified detection. However, existing methods rely on modality-specific modeling and scoring, making it difficult to obtain comparable anomaly evidence with limited normal references. To that end, we propose UnifiedAD, which unifies single-modal and multi-modal anomaly detection through anomaly evidence calibration, requiring only one normal reference per target category and no gradient updates. Specifically, we first derive neuron-level discriminative priors from normal and anomalous samples in an independent auxiliary dataset and combine them with neuron response consistency under normality-preserving transformations of the target reference to select reliable neurons, termed anomaly neurons, and identify anomaly directions. Next, we construct a low-rank normal subspace for each layer and modality from the selected neurons' spatial responses to the reference and quantify query feature deviations from normal structure using projection residuals. Finally, we separately calibrate projection residuals and anomaly-direction responses using the response distributions obtained from the normal reference and its transformations, converting them into comparable anomaly evidence for aggregation across layers and modalities. Experiments on multiple anomaly detection benchmarks demonstrate that UnifiedAD achieves strong performance in both image-level anomaly detection and pixel-level anomaly localization.