arXiv Science⌕ Search

arXiv · 2611.28986

CLASP: Complementary Layer Selection and Profiling for Zero-Shot OOD Detection using Vision-Language Models

Abstract

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Saahil Islam, Adarsh Bhandary Panambur, Teodora Spasojevic, Eduardo Castaneda, Andreas Maier. 2026-11-21. CLASP: Complementary Layer Selection and Profiling for Zero-Shot OOD Detection using Vision-Language Models. https://arxiv.science/abs/2611.28986

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

ShapeICP: Iterative Category-level Object Pose and Shape Estimation from Depth

Category-level object pose and shape estimation from a single depth image has recently drawn research attention due to its potential utility for tasks such as robotics manipulation. The task is particularly challenging because the three unknowns, object pose, object shape, and model-to-measurement correspondences, are compounded together, but only a single view of depth measurements is provided. Most of the prior work heavily relies on data-driven approaches to obtain solutions to at least one of the unknowns, and typically two, risking generalization failures if not designed and trained carefully. The shape representations used in the prior work also mainly focus on point clouds and signed distance fields (SDFs). In stark contrast to the prior work, we approach the problem using an iterative estimation method that does not require learning from pose-annotated data. Moreover, we construct and adopt a novel mesh-based object active shape model (ASM), which additionally maintains vertex connectivity compared to the commonly used point-based object ASM. Our algorithm, ShapeICP, is based on the iterative closest point (ICP) algorithm but is equipped with additional features for the category-level pose and shape estimation task. Although not using pose-annotated data, ShapeICP surpasses many data-driven approaches that rely on pose data for training, opening up a new solution space for researchers to consider.

cs.CV↗

Recursive Hierarchical Feature Refinement for Human Pose Estimation

Human body structures exhibit recursive compositionality, providing rich hierarchical structure and context relations priors for Human Pose Estimation (HPE). Existing methods typically model these priors using specially designed network architectures (e.g., hierarchical branches), introducing additional parameter overhead. Inspired by this property, we propose RHFR (Recursive Hierarchical Feature Refinement), a plug-and-play module that refines features through recursive top-down decomposition and bottom-up composition. Specifically, RHFR organizes feature representations into a hierarchical tree through top-down decomposition. During bottom-up composition, a novel Node Attention (NA) captures context relations among nodes to enhance their representations, which are then recursively aggregated toward the root. This process progressively propagates context information across feature hierarchies, facilitating occluded-region inference and improving joint localization. Moreover, the recursively generated nodes also can be directly supervised by human structural priors, enabling explicit hierarchical structure and context relation modeling without additional network branches, thereby reducing parameter overhead. Extensive experiments demonstrate that RHFR consistently improves performance across various pose estimation frameworks while enabling efficient explicit human structure modeling. The source code is available at https://github.com/lushbng/RHFR

cs.CV↗

Hierarchical Relation-augmented Representation Generalization for Few-shot Action Recognition

Few-shot action recognition (FSAR) aims to recognize novel action categories with few exemplars. Existing methods typically learn frame-level representations for each video by designing inter-frame temporal modeling strategies or inter-video interaction at the coarse video-level granularity. However, they treat each episode task in isolation and neglect fine-grained temporal relation modeling between videos, thus failing to capture shared fine-grained temporal patterns across videos and reuse temporal knowledge from historical tasks. In light of this, we propose HR2G-shot, a Hierarchical Relation-augmented Representation Generalization framework for FSAR, which unifies three types of relation modeling (inter-frame, inter-video, and inter-task) to learn task-specific temporal patterns from a holistic view. Going beyond conducting inter-frame temporal interactions, we further devise two components to respectively explore inter-video and inter-task relationships: i) Inter-video Semantic Correlation (ISC) performs cross-video frame-level interactions in a fine-grained manner, thereby capturing task-specific query features and enhancing both intra-class consistency and inter-class separability; ii) Inter-task Knowledge Transfer (IKT) retrieves and aggregates relevant temporal knowledge from the bank, which stores diverse temporal patterns from historical episode tasks. Extensive experiments on five benchmarks show that HR2G-shot outperforms current top-leading FSAR methods.

cs.CV↗