ViLU:学习视觉-语言不确定性以进行失败预测
ViLU: Learning Vision-Language Uncertainties for Failure Prediction
AI总结:
针对视觉-语言模型不确定性量化难题,本文提出 ViLU 框架,通过 cross-attention 融合视觉与文本表示,并以二分类方式训练不确定性预测器,在多个数据集上显著提升失败预测性能。
摘要:
可靠的 Uncertainty Quantification (UQ) 和失败预测对于 Vision-Language Models (VLMs) 而言仍然是尚未解决的挑战。我们提出 ViLU,一种新的视觉-语言不确定性量化框架,该框架通过利用所有与任务相关的文本表示来对不确定性估计进行上下文化。ViLU 通过 cross-attention 将视觉嵌入、预测的文本嵌入以及以图像为条件的文本表示整合在一起,构建一个具有不确定性感知的多模态表示。与基于损失预测的传统 UQ 方法不同,ViLU 将不确定性预测器训练为一个二分类器,使用加权 binary cross-entropy loss 来区分正确预测和错误预测,从而使其与损失无关。特别是,我们提出的方法非常适合 post-hoc 设置,在这种设置中只有视觉和文本嵌入可用,而无法直接访问模型本身。在多种数据集上的大量实验表明,与最先进的失败预测方法相比,我们的方法取得了显著提升。我们将方法应用于标准分类数据集(如 ImageNet-1k)以及大规模图像-文本数据集(如 CC12M 和 LAION-400M)。消融研究突出了我们的架构和训练在实现有效不确定性量化中的关键作用。我们的代码已公开,可在此处获取:https://github.com/ykrmm/ViLU。
英文摘要:
Reliable Uncertainty Quantification (UQ) and failure prediction remain open challenges for Vision-Language Models (VLMs). We introduce ViLU, a new Vision-Language Uncertainty quantification framework that contextualizes uncertainty estimates by leveraging all task-relevant textual representations. ViLU constructs an uncertainty-aware multi-modal representation by integrating the visual embedding, the predicted textual embedding, and an image-conditioned textual representation via cross-attention. Unlike traditional UQ methods based on loss prediction, ViLU trains an uncertainty predictor as a binary classifier to distinguish correct from incorrect predictions using a weighted binary cross-entropy loss, making it loss-agnostic. In particular, our proposed approach is well-suited for post-hoc settings, where only vision and text embeddings are available without direct access to the model itself. Extensive experiments on diverse datasets show the significant gains of our method compared to state-of-the-art failure prediction methods. We apply our method to standard classification datasets, such as ImageNet-1k, as well as large-scale image-caption datasets like CC12M and LAION-400M. Ablation studies highlight the critical role of our architecture and training in achieving effective uncertainty quantification. Our code is publicly available and can be found here: https://github.com/ykrmm/ViLU.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。