Search papers, labs, and topics across Lattice.
This paper introduces DuoAD, a training-free anomaly detection framework that leverages the dual characteristics of the Vision Transformer [CLS] token to enhance anomaly detection performance. By utilizing the [CLS] token for global semantic representation and attention maps for spatial anomaly localization, DuoAD eliminates the need for manual tuning and achieves impressive Image-AUC scores of 97.7%, 93.2%, and 84.5% across various datasets. The method's ability to provide stable anomaly scoring and precise localization with a single fixed configuration sets a new benchmark in the field of anomaly detection.
Achieving state-of-the-art anomaly detection scores without any training or manual tuning, DuoAD redefines the capabilities of training-free methods in the domain.
Vision foundation models have enabled strong training-free anomaly detection (AD). However, most existing approaches rely primarily on independent local patch features, leaving the global contextual information encoded by Vision Transformers (ViTs) underexploited. In this work, we identify the dual characteristics of the ViT [CLS] token: its embedding provides anomaly-invariant global semantic representation, while its attention maps implicitly highlight spatially abnormal regions. Building on this observation, we propose a fully automated AD framework leveraging global context to remove manual tunings. Our framework introduces (1) an automatic augmentation selection strategy driven by [CLS]-level semantic consistency, and (2) an attention-guided feature reweighting mechanism that dynamically adjusts patch contributions according to [CLS] attention saliency. By integrating these components over multi-level features, our method achieves stable anomaly scoring and precise localization without training or parameter tuning. Under the one-shot setting, it achieves Image-AUC scores of 97.7%, 93.2%, and 84.5% on MVTec-AD, VisA, and Real-IAD. Using a single fixed configuration across categories, backbones, and datasets, the method establishes a new state-of-the-art for plug-and-play, training-free anomaly detection while maintaining strong robustness and practical scalability.