CLASP: Complementary Layer Selection and Profiling for Zero-Shot OOD Detection using Vision-Language Models
On the map: Multimodal LLMs / vision-language models → Medical vision-language models
Abstract (arXiv)
Vision-language models (VLMs) enable zero-shot out-of-distribution (OOD) detection in medical imaging, yet existing approaches often rely on final-layer confidence or entropy-based layer selection, potentially missing complementary information. We show that low in-distribution (ID) confidence entropy does not reliably predict OOD discrimination. We introduce CLASP (Complementary Layer Selection and Profiling), an ID-only framework that jointly models layer--prompt responses and visual features. CLASP ranks visual encoder layers using Gaussian conditional mutual information and selects a compact subset through anchored spectral selection, without fixing the number of layers. It then combines the selected layer--prompt profiles with PCA-compressed visual embeddings and fits a single shrinkage-regularized Gaussian. OOD scores are computed using squared Mahalanobis distance, without fine-tuning, OOD training data, or test-time adaptation. Across histopathology, chest X-ray, and brain MRI benchmarks with UniMedCLIP and BioMedCLIP, CLASP performs strongly under varied distribution shifts. On MIDOG near-OOD, it achieves 87.54% AUROC with UniMedCLIP, outperforming confidence-based baselines; with BioMedCLIP, it remains competitive but trails visual-only Mahalanobis modeling. Ablations highlight the value of layer--prompt interactions and cross-feature dependencies, while exposing shift-dependent contributions and limitations under semantic shifts.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Medical vision-language models, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 29 of its 33 references that are in the map. Submitted 21 Nov 2026, announced 24 Nov 2026.
Builds on
29 of 33 references.
References · 29
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,494
- 2021Learning to Prompt for Vision-Language Modelscited by 2,355
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,538
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,358
- 2020Energy-based Out-of-distribution Detectioncited by 1,346
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 629
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 498
- 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 420
- 2018Confounding variables can degrade generalization performance of radiological deep learning modelscited by 410
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 222
- 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 156
- 2023CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say Nocited by 132
17 more
- 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learningcited by 109
- 2024Negative Label Guided OOD Detection with Pretrained Vision-Language Modelscited by 73
- 2024Learning Transferable Negative Prompts for Out-of-Distribution Detectioncited by 45
- 2023ID-like Prompt Learning for Few-Shot Out-of-Distribution Detectioncited by 43
- 2023GL-MCM: Global and Local Maximum Concept Matching for Zero-Shot Out-of-Distribution Detectioncited by 38
- 2024Envisioning Outlier Exposure by Large Language Models for Out-of-Distribution Detectioncited by 35
- 2024AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Modelscited by 18
- 2023Out-of-Distribution Detection by Leveraging Between-Layer Transformation Smoothnesscited by 16
- 2024Local-Prompt: Extensible Local Prompts for Few-Shot Out-of-Distribution Detectioncited by 16
- 2025OpenMIBOOD: Open Medical Imaging Benchmarks for Out-Of-Distribution Detectioncited by 16
- 2024CLIPScope: Enhancing Zero-Shot OOD Detection with Bayesian Scoringcited by 15
- 2024SeTAR: Out-of-Distribution Detection with Selective Low-Rank Approximationcited by 11
- 2025Mysteries of the Deep: Role of Intermediate Representations in Out of Distribution Detectioncited by 10
- 2025Delving into Out-of-Distribution Detection with Medical Vision-Language Modelscited by 6
- 2026PROTON: Prototype-Based Test-Time Online OOD Detection for Medical VLMscited by 1
- 2026Layer Selection in VLMs for Zero-Shot OOD Detection via Multi-Resolution Entropy Estimationcited by 1
- 2026Not All Layers Are Equal: Dynamic Layer Routing for Reliable CLIP OOD Detectioncited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Level, Sharpness, and Corpus: Why Zero-Shot OOD Detector Rankings Do Not Transfer
- 2026When Confidence Lacks Concepts: Interpretable OOD Detection via Representation Perturbations
- 2026Wasserstein-Aligned Localisation for VLM-Based Distributional OOD Detection in Medical Imaging
- 2026Training-Free Out-of-Distribution Detection for Pathology Whole-Slide Images
- 2025Harnessing Large Language and Vision-Language Models for Robust Out-of-Distribution Detection
- 2025OT-DETECTOR: Delving into Optimal Transport for Zero-shot Out-of-Distribution Detection
- 2025Out-of-Distribution Detection with Positive and Negative Prompt Supervision Using Large Language Models
- 2024Conjugated Semantic Pool Improves OOD Detection with Pre-trained Vision-Language Models