Layer Selection in VLMs for Zero-Shot OOD Detection via Multi-Resolution Entropy Estimation
Not on the map. Why?
Abstract (arXiv)
Out-of-distribution (OOD) detection is crucial for safe deployment of medical AI systems, where domain shifts arise across institutions, acquisition protocols, and patient populations. VLMs enable zero-shot OOD detection by embedding images into a language-aligned latent space, where cross-modal similarity serves as a non-parametric confidence signal for identifying in-distribution samples. Yet existing methods rely almost exclusively on final-layer embeddings, implicitly assuming that the deepest representations are universally optimal. We first show that this assumption does not hold in medical imaging: intermediate layers provide complementary OOD signals, and the optimal representational depth depends on the respective image modality. While prior work selects layer combinations via entropy minimization of normalized histograms, we demonstrate that single-resolution entropy estimation is highly sensitive to binning choices, leading to performance variations of up to 19.3% AUROC. To address this instability, we propose a multi-resolution entropy estimation strategy that aggregates histogram statistics across multiple discretization scales, enabling robust and stable intermediate-layer selection. Across two medical OOD benchmarks, namely MIDOG and OASIS, covering distinct imaging modalities, diverse shift types, and different VLM backbones, our method consistently outperforms state-of-the-art approaches, offering a lightweight and stable solution for zero-shot OOD detection.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 27 references that are in the map. First posted on arXiv 8 Sep 2026.
Builds on
16 of 27 references.
References · 16
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2023GPT-4 Technical Reportcited by 18,396
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 675
- 2023BiomedCLIP: a multimodal biomedical foundation model pretrained from fifteen million scientific image-text pairscited by 520
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 216
- 2024UniMed-CLIP: Towards a Unified Image-Text Pretraining Paradigm for Diverse Medical Imaging Modalitiescited by 46
- 2024Out-of-distribution Detection in Medical Image Analysis: A surveycited by 22
- 2023Unsupervised Layer-wise Score Aggregation for Textual OOD Detectioncited by 15
- 2023Out-of-Distribution Detection by Leveraging Between-Layer Transformation Smoothnesscited by 15
- 2025OpenMIBOOD: Open Medical Imaging Benchmarks for Out-Of-Distribution Detectioncited by 14
4 more
- 2025Comparative validation of surgical phase recognition, instrument keypoint estimation, and instrument instance segmentation in endoscopy: Results of the PhaKIR 2024 challengecited by 8
- 2025Mysteries of the Deep: Role of Intermediate Representations in Out of Distribution Detectioncited by 7
- 2023Multi-layer Aggregation as a key to feature-based OOD detectioncited by 5
- 2025Delving into Out-of-Distribution Detection with Medical Vision-Language Modelscited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Wasserstein-Aligned Localisation for VLM-Based Distributional OOD Detection in Medical Imaging
- 2026PROTON: Prototype-Based Test-Time Online OOD Detection for Medical VLMs
- 2025An Empirical Analysis of VLM-based OOD Detection: Mechanisms, Advantages, and Sensitivity
- 2026When Confidence Lacks Concepts: Interpretable OOD Detection via Representation Perturbations
- 2026Training-Free Out-of-Distribution Detection for Pathology Whole-Slide Images
- 2025OT-DETECTOR: Delving into Optimal Transport for Zero-shot Out-of-Distribution Detection
- 2026Geometry over Density: Few-Shot Cross-Domain OOD Detection
- 2023Dual Conditioned Diffusion Models for Out-Of-Distribution Detection: Application to Fetal Ultrasound Videos