arXiv:2610.40580cs.CVOct 2026

Manuscript Offprint

arXiv:2610.40580

RADIOlogy: A Single-Pass Approach to Training-Free Zero-Shot Anomaly Detection

Joaquín Figueira, Giacomo D'Amicantonio, Egor Bondarau

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Current zero-shot anomaly detection methods often rely on complex prompt-learning techniques or computationally expensive sliding-window strategies to achieve fine-grained visual alignment to detect small-scale anomalies. This reliance stems from the fundamental limitation of standard CLIP architectures, where [CLS] token attention and spatial patch pooling struggle to capture subtle, localized anomaly features. While prompt-learning approaches aim to bridge this gap, they typically require a large number of ground-truth segmentation masks from auxiliary datasets, which are often unavailable in specialized domains. In this work, we show an emerging property of multi-head attention pooling in vision-language models: remarkable zero-shot anomaly localization and detection right out of the box. We translate this property into a single-pass anomaly detection technique, RADIOlogy, that does not require dense, windowed execution and significantly outperforms other training-free baselines. Instead, the method relies on a simple contrastive scoring approach that compares the average similarity between vision features and a suite of normal and abnormal prompts. Furthermore, we leverage the agglomerative features of RADIO models to enhance pixel-level anomaly segmentation using a dense anomaly refinement pipeline. Finally, we show how the vision-language family of training-free zero-shot anomaly detection techniques can be applied successfully to the medical domain with minimal modifications. Code is available at https://github.com/jacomof/RADIOlogy.

1. Introduction

Visual Anomaly Detection (AD) aims to identify and localize irregular visual patterns in images, which are often associated with anomalies [3]. Because anomalous occurrences are inherently rare and structurally unpredictable, traditional approaches model the distribution of normal appearances via unsupervised or self-supervised representations [10, 11, 15, 27, 37]. Recent breakthroughs in multi-

Figure

Latency (ms / image, log scale) ↓ better

Figure

Latency (ms / image, log scale) ↓ better

Figure 1. Performance vs. latency comparison. Anomaly segmentation and classification performance relative to detection latency for RADIOlogy (depicted with a star marker), five published training-free baselines and a naive CLIP approach on a seven-dataset industrial suite. Our method outperforms the baselines by a significant margin, while being at least two times faster than all methods except the naive CLIP approach.

modal foundation models and zero-shot transfer have allowed for a relatively new family of techniques to emerge: Zero-Shot Anomaly Detection (ZSAD) [20, 53], methods that identify out-of-distribution defects without access to reference normal samples from the target distribution. Within ZSAD, existing paradigms broadly bifurcate into cross-dataset trained methods [7, 30], which learn auxiliary defect priors from separate annotated datasets, and training-free methods, which rely strictly on the intrinsic representations of frozen foundation models [19, 20, 29].

Training-free approaches are particularly compelling for real-world deployments: they bypass the operational overhead and computational expense of auxiliary training [20], adapt immediately to severe domain shifts [49], and eliminate the requirement for curated defect annotations in specialized downstream domains [7]. Until recently, training-free pipelines were anchored by WinCLIP [20], which queries the weakly supervised vision-language model (VLM) CLIP [34] against predefined prompt ensembles. However, a fundamental limitation of the standard CLIP architecture is its weak patch-level vision-language alignment [48, 52]. To circumvent the noisy localization of raw patch embeddings,

WinCLIP relies on an expensive multi-scale sliding-window execution, extracting the [CLS] token over a large number of local crops per image. While effective at bypassing CLIP's poor dense features, this multi-pass windowing introduces inference latency and computational overhead. Consequently, recent works leveraging CLIP have shifted toward prompt-tuning or fine-tuning vision-language backbones on auxiliary anomaly corpora [30, 53], largely abandoning training-free architectures.

In this work, we demonstrate that modern advances in vision-language architectures render complex windowing pipelines unnecessary, with the ultimate objective of reinvigorating language-aligned, training-free anomaly detection. By investigating the Multi-Head Attention Pooling (MAP) mechanism adopted in the SigLIP family [45, 51] and consolidated within modern agglomerative foundation models, such as C-RADIOv4 [36], we uncover an emergent capability: MAP-pooled encoders produce inherently well-aligned dense vision-language anomaly features directly from a single forward pass. Because MAP attends to individual patch tokens via a learned summary query, each token retains a strong standalone semantic alignment with text prompts. This eliminates the structural bottleneck that hinders standard CLIP backbones.

Leveraging these properties, we present a unified, training-free zero-shot anomaly detection framework, RADI-Ology. For image-level detection, our pipeline scores global anomaly margins in a single forward pass, setting a new state of the art among training-free methods across benchmark datasets without crop ensembles. For pixel-level segmentation, we exploit the complementary teacher heads natively exposed by C-RADIOv4. Its raw trunk features provide content-adaptive affinity graphs to sharpen defect boundaries, while SAM3-aligned features enable object-part clustering to preserve structural boundaries. Together with a training-free foreground prior that suppresses background noise, our approach bridges the performance gap between multi-crop and single-pass training-free anomaly detection methods. Finally, we observe that prior evaluations of training-free VLM methods in medical domains have been artificially constrained by inadequate industrial priors. We show that, in the context of our specific pipeline, substituting domain-appropriate clinical terminology into the prompt ensemble yields state-of-the-art medical anomaly detection in the training-free zero-shot regime without per-dataset prompt engineering.

To summarize, our primary contributions are:

• We introduce a contrastive anomaly scoring strategy that relies on the difference in alignment between normal and abnormal prompts, rather than on absolute similarity scores.

• We formulate an anomaly segmentation refinement strategy that exploits the multi-teacher representations of C-RADIOv4.

• We identify MAP-based vision-language encoders as superior backbones for zero-shot anomaly detection in a single-pass regime.

• We demonstrate that VLM ZSAD generalizes effectively to the medical domain in the training-free regime with minimal modifications.

References (49)