arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.09222cs.CVcs.LG
收藏

分布偏移下视觉-语言与医学图像任务的校准且鲁棒的基础模型

Calibrated and Robust Foundation Models for Vision-Language and Medical Image Tasks Under Distribution Shift

Institute of Business Administration Karachi(Karachi商业管理学院);National University of Computer and Emerging Sciences(国家计算机与新兴科学大学);CAIMI Pvt Ltd(CAIMI私营有限公司);Center for Research in Computer Vision, University of Central Florida(计算机视觉研究中心,佛罗里达大学)

Behraj Khan, Tahir Qasim Syed, Nouman M. Durrani, Bilal Naseem, Shabir Ahmad, Rizwan Qureshi

AI总结:

针对分布偏移和置信度失准问题,提出融合 Fisher 信息惩罚与置信度失准惩罚的 StaRFM 框架,在视觉-语言和三维医学图像任务中同时提升泛化性与校准性,实现即插即用。

摘要:

CLIP 和 SAM 等基础模型通过低样本迁移学习推动了计算机视觉和医学影像的发展,在数据有限的情况下辅助计算机辅助检测与诊断(CADD)。然而,它们的部署面临两个关键挑战:一是分布偏移,即预训练与后训练数据分布不同(例如由于跨中心图像采集所致);二是置信度失准,导致过度自信的错误。这些问题表现各异,视觉-语言模型(如 CLIP)遭受二维嵌入偏移(图像-文本失准),而医学模型(如 SAM)则遇到三维域偏移(如扫描仪差异)和体素级校准需求。现有解决方案都是领域特定的。我们提出 StaRFM,它融合了 Fisher 信息惩罚(FIP)和置信度失准惩罚(CMP)来同时应对这两个挑战。StaRFM 应用 FIP,并通过分块正则化将其扩展到三维,以减少嵌入偏移;同时重新构造 CMP 用于体素级预测,以校准分割不确定性。我们推导了 PAC-Bayes 界。FIP 通过 Fisher-Rao 范数控制泛化,CMP 通过最小化 Brier 分数降低校准误差。StaRFM 在 19 个视觉数据集(如 ImageNet、Office-Home)上比基线方法准确率提高 +3.5%,ECE 降低 28%;在医学基准(如 BraTS、ATLAS)上相比 SAM-FT 实现 +4.2% 的 DSC 提升和 4.8mm 的 HD95,并将跨域差距最多缩小 20%。该框架即插即用,仅需极少的架构改动。代码和模型可在以下地址获取:https://anonymous.4open.science/r/StaRFM-C0CD/

英文摘要:

Foundation models like CLIP and SAM have advanced computer vision and medical imaging via low-shot transfer learning, aiding CADD with limited data. However, their deployment faces two key challenges. \textit{distribution shift} where pre-training and post-training data distributions differ (e.g., due to inter-center image acquisition) and \textit{confidence misalignment}, which leads to overconfident errors. These issues surface differently, vision-language models (e.g., CLIP) suffer from 2D embedding shift (image-text misalignment), while medical models (e.g., SAM) encounter 3D domain shifts (e.g., scanner variation) and voxel-wise calibration need. Existing solutions are domain-specific. We propose \textbf{StaRFM}, a fusion of Fisher information penalty (FIP) and confidence misalignment penalty (CMP) tackling both challenges. It applies FIP, extended to 3D via patch-wise regularization, to reduce embedding shift, and CMP, reformulated for voxel-level predictions, to calibrate segmentation uncertainty. We derive PAC-Bayes bounds. FIP controls generalization via the Fisher-Rao norm, and CMP reduces calibration error via Brier score minimization. StaRFM surpasses baselines by \texttt{+}3.5\% accuracy and 28\% lower ECE on 19 vision datasets (e.g., ImageNet, Office-Home), achieves +4.2\% DSC over SAM-FT and 4.8mm HD95 on medical benchmarks (e.g., BraTS, ATLAS), and reduces cross-domain gaps by up to 20\%. The framework is plug-and-play, requiring minimal architectural changes. Code and models are available at: \href{https://anonymous.4open.science/r/StaRFM-C0CD/}{\textcolor{blue}{\underline{StaRFM}}}

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑