基于多分辨率熵估计的视觉语言模型中间层选择用于零样本分布外检测 Layer Selection in VLMs for Zero-Shot OOD Detection via Multi-Resolution Entropy Estimation 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-09-08
👁️ 预览文献
💡 AI 中文简介
医学AI系统常因不同医院、设备和人群导致图像分布变化,需要检测出异常图像。现有方法只用视觉语言模型的最后一层特征,但本研究发现中间层也能提供有用信息,且最佳层因图像类型而异。传统选层方法对参数敏感,性能波动大。为此,作者提出多分辨率熵估计方法,稳定选择中间层。在两个医学数据集上,该方法优于现有技术,为安全部署提供了轻量稳定的方案。
领域医学图像分析/分布外检测
适合谁读需要一定专业背景(了解深度学习、视觉语言模型和医学图像处理)
核心贡献1. 首次证明在医学图像中,视觉语言模型的中间层能提供互补的分布外信号,且最优层深度因图像模态而异。2. 提出多分辨率熵估计策略,通过聚合多个离散化尺度的直方图统计,实现稳定鲁棒的中间层选择,克服了单分辨率方法对分箱选择的敏感性。
关键数据单分辨率熵估计因分箱选择不同,AUROC波动高达19.3%;在MIDOG和OASIS两个医学OOD基准上,方法一致优于现有技术。
推荐理由如果你关心医学AI的安全部署,这篇论文告诉你别只盯着最后一层,中间层选好了,零样本异常检测又稳又准。
关键词["分布外检测", "视觉语言模型", "零样本学习", "医学图像分析", "熵估计", "层选择"]

原文摘要

查看英文原文摘要

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.