Layer Selection in VLMs for Zero-Shot OOD Detection via Multi-Resolution Entropy Estimation
Shyam Nandan Rai, Francesco Di Salvo, Sebastian Doerrich, Christian Ledig
Abstract
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.
Create a lesson
Metadata
- Comments
- MICCAI Workshop 2026
Related papers
MARS-CLIP: Multi-Resolution and Attention Refined Zero-Shot Image Segmentation
Shared title terminologycs.CVNagito Saito, Shintaro Ito, Koichi Ito et al.
SAM3-O2D2: Zero-Shot Object Out-of-Distribution Detection by Object Class Prompting of the SAM3-Image Model
Shared title terminologycs.CVLucas Görnhardt, Timo Bartels, Tim Fingscheidt
SyncWorld: Visual Calibration Enables World Models as Zero-Shot Simulators
Shared title terminologycs.CVYuncong Yang, Zhengtao Han, Furkan Ozyurt et al.
AirAnchor: Bridging Local and Global Spatial Information for Zero-Shot Aerial Vision-and-Language Navigation
Shared title terminologycs.CVShanwei Fan, Bin Zhang, Zhiwei Xu et al.
Are Image Generators Zero-Shot Perceivers? A Rigorous Evaluation
Shared title terminologycs.CVShangzhe Di, Zhaokai Wang, Weidi Xie
Zero-Shot 3D Plant Organ Segmentation with SAM3 and Semantic NeRFs
Shared title terminologycs.CVAndreas Gilson, Laura Hennig, Peter Pietrzyk