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

信任还是不信任你的视觉-语言模型的预测

To Trust Or Not To Trust Your Vision-Language Model's Prediction

ETH Zürich(苏黎世联邦理工学院);Technical University of Munich(慕尼黑工业大学);NLPR & MAIS, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所模式识别国家重点实验室与智能感知与计算研究中心);University of Chinese Academy of Sciences(中国科学院大学);EPFL(洛桑联邦理工学院)

Hao Dong, Moru Liu, Jian Liang, Eleni Chatzi, Olga Fink

AI总结:

针对视觉-语言模型自信但错误预测的风险,提出无需训练的TrustVLM框架,利用图像嵌入空间设计置信度评分函数,在17个数据集上显著提升错误检测性能,保障安全关键应用。

摘要:

视觉-语言模型(VLMs)在将视觉和文本模态对齐方面展现了强大的能力,使得多模态理解和生成领域的广泛应用成为可能。尽管它们在零样本和迁移学习场景中表现出色,但VLMs仍然容易受到错误分类的影响,常常产生自信但错误的预测。这一局限性在安全关键领域构成了重大风险,因为错误的预测可能导致严重后果。在这项工作中,我们引入了TrustVLM,一个无需训练的框架,旨在解决估计VLM预测何时可以被信任的关键挑战。受观察到的VLM中的模态差距以及某些概念在图像嵌入空间中更独特地表示的启发,我们提出了一种新颖的置信度评分函数,利用该空间来改进错误分类检测。我们在17个不同的数据集上严格评估了我们的方法,采用了4种架构和2个VLM,并展示了最先进的性能,与现有基线相比,在AURC上提高了高达51.87%,在AUROC上提高了9.14%,在FPR95上提高了32.42%。通过在不需重新训练的情况下提高模型的可靠性,TrustVLM为VLM在实际应用中的更安全部署铺平了道路。代码可在https://github.com/EPFL-IMOS/TrustVLM获取。

英文摘要:

Vision-Language Models (VLMs) have demonstrated strong capabilities in aligning visual and textual modalities, enabling a wide range of applications in multimodal understanding and generation. While they excel in zero-shot and transfer learning scenarios, VLMs remain susceptible to misclassification, often yielding confident yet incorrect predictions. This limitation poses a significant risk in safety-critical domains, where erroneous predictions can lead to severe consequences. In this work, we introduce TrustVLM, a training-free framework designed to address the critical challenge of estimating when VLM's predictions can be trusted. Motivated by the observed modality gap in VLMs and the insight that certain concepts are more distinctly represented in the image embedding space, we propose a novel confidence-scoring function that leverages this space to improve misclassification detection. We rigorously evaluate our approach across 17 diverse datasets, employing 4 architectures and 2 VLMs, and demonstrate state-of-the-art performance, with improvements of up to 51.87% in AURC, 9.14% in AUROC, and 32.42% in FPR95 compared to existing baselines. By improving the reliability of the model without requiring retraining, TrustVLM paves the way for safer deployment of VLMs in real-world applications. The code is available at https://github.com/EPFL-IMOS/TrustVLM.

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

↑