arXiv:2506.22395cs.CV2025-06被引 5

让视觉语言模型在测试时保持输出一致,无需重新训练。

Test-Time Consistency in Vision Language Models

  • 仅用单个测试样本,通过两种损失函数提升预测一致性。
  • 在MM-R3基准上显著提升主流模型的一致性表现。
  • 无需修改模型结构,可直接用于任意已有视觉语言模型。

视觉语言模型(VLMs)在多模态任务中表现优异,但在语义等价输入下常出现不一致预测,影响其可靠性。近期的MM-R3基准显示,即使最先进的模型在平均准确率高时,仍存在预测分歧。现有方法多依赖模型结构调整或大规模微调。本文提出一种简单有效的测试时一致性框架,无需监督重训练,完全后置且模型无关,适用于任何具备权重访问权限的VLM。针对单一测试样本,通过两种互补目标增强一致性:(i) 交叉熵一致损失,对齐语义等价输入的预测分布;(ii) 伪标签一致性损失,将输出拉向自平均共识。该方法即插即用,利用单个测试样本自身信息提升一致性。在MM-R3上的实验表明,该框架在多个先进模型上均实现显著一致性提升,为多模态学习的推理时适应开辟新方向。

原文摘要 · Abstract (English)

Vision-Language Models (VLMs) have achieved impressive performance across a wide range of multimodal tasks, yet they often exhibit inconsistent behavior when faced with semantically equivalent inputs, undermining their reliability and robustness. Recent benchmarks, such as MM-R3, highlight that even state-of-the-art VLMs can produce divergent predictions across semantically equivalent inputs, despite maintaining high average accuracy. Prior work addresses this issue by modifying model architectures or conducting large-scale fine-tuning on curated datasets. In contrast, we propose a simple and effective test-time consistency framework that enhances semantic consistency without supervised re-training. Our method is entirely post-hoc, model-agnostic, and applicable to any VLM with access to its weights. Given a single test point, we enforce consistent predictions via two complementary objectives: (i) a Cross-Entropy Agreement Loss that aligns predictive distributions across semantically equivalent inputs, and (ii) a Pseudo-Label Consistency Loss that draws outputs toward a self-averaged consensus. Our method is plug-and-play and leverages information from a single test input itself to improve consistency. Experiments on the MM-R3 benchmark show that our framework yields substantial gains in consistency across state-of-the-art models, establishing a new direction for inference-time adaptation in multimodal learning.

视觉语言模型一致性测试时优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。