[论文解读] Leveraging Data to Say No: Memory Augmented Plug-and-Play Selective Prediction
本论文提出 MA-PaPSP,一种记忆增强、无需训练的选择性预测方法,可附加到任意视觉-语言模型以通过检索式代理嵌入和对比归一化来改进开放集选择性预测。
Selective prediction aims to endow predictors with a reject option, to avoid low confidence predictions. However, existing literature has primarily focused on closed-set tasks, such as visual question answering with predefined options or fixed-category classification. This paper considers selective prediction for visual language foundation models, addressing a taxonomy of tasks ranging from closed to open set and from finite to unbounded vocabularies, as in image captioning. We seek training-free approaches of low-complexity, applicable to any foundation model and consider methods based on external vision-language model embeddings, like CLIP. This is denoted as Plug-and-Play Selective Prediction (PaPSP). We identify two key challenges: (1) instability of the visual-language representations, leading to high variance in image-text embeddings, and (2) poor calibration of similarity scores. To address these issues, we propose a memory augmented PaPSP (MA-PaPSP) model, which augments PaPSP with a retrieval dataset of image-text pairs. This is leveraged to reduce embedding variance by averaging retrieved nearest-neighbor pairs and is complemented by the use of contrastive normalization to improve score calibration. Through extensive experiments on multiple datasets, we show that MA-PaPSP outperforms PaPSP and other selective prediction baselines for selective captioning, image-text matching, and fine-grained classification. Code is publicly available at https://github.com/kingston-aditya/MA-PaPSP.
研究动机与目标
- 将选择性预测扩展到开放集的视觉-语言任务(如字幕生成、ITM、细粒度分类)。
- 提供一个轻量级、无需训练的模块,可附加到任意VLM以产生经过校准的置信分数。
- 降低用于PaPSP的外部VLRM中的嵌入不稳定性和分数失校准。
- 在多数据集和基础模型上展示增益,包括字幕生成、ITM和分类。
提出的方法
- 将一个可预测VLM(P-VLM)附加一个带外部SP-VLM且嵌入空间共享的即插即用选择性预测(PaPSP)模块。
- 通过从检索数据集中检索图文对来形成代理嵌入(Proxy Embeddings),以最近邻平均得到查询的代理嵌入实现记忆增强。
- 计算对比分数,将查询与预测字幕之间的相似度对比硬负样本进行归一化,以改善标定(对比归一化)。
- 使用查询、代理和分数类型的变体(图像到文本、文本到文本、单模态或跨模态),如表1所汇总,代理嵌入(Eq. 6)和对比打分(Eq. 8)给出方程。
- 可选用基于代理的分数或对比分数替代简单的 CLIP 风格分数,以解决不稳定性和标定问题(图2和图3)。
- 在多种P-VLM和数据集上对选择性字幕生成、图文匹配和分类任务评估 MA-PaPSP。

实验结果
研究问题
- RQ1如何在不进行训练的情况下将 PaPSP 扩展到开放集、无限词汇任务?
- RQ2通过检索与对比归一化的记忆增强是否能稳定嵌入并为 SP-VLM 的分数进行校准?
- RQ3MA-PaPSP 的增益在不同任务类型(字幕、ITM、分类)以及不同的 P-VLM/SP-VLM 配置下是否成立?
- RQ4检索数据集类型(域内、域外、混合)对选择性预测性能有何影响?
- RQ5MA-PaPSP 相较于基于LLM的选择性判断是否更高效?
主要发现
- MA-PaPSP 在多数据集的字幕、ITM和分类任务上始终优于 PaPSP。
- 更大的 SP-VLM 往往带来更好的性能,且 MA-PaPSP 的增益随模型增大而提升。
- 域外和混合检索数据集通常比域内数据带来更强的改进,尤其在像字幕和ITM这样的开放集任务中。
- 使用较小的 SP-VLM 的 MA-PaPSP 可以超越使用更大 SP-VLM 的 PaPSP,凸显效率优势。
- 所提出的对比分数在 SP-VLM 嵌入空间中比非对比分数产生更稳定、经过校准的置信度。
- 检索增强的代理嵌入降低表示不稳定性并提高选择性预测的可靠性。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。