arXiv:2511.11690cs.LGcs.AI2025-11AAAI

解决视觉语言模型测试时提示调优的偏差问题,提升零样本泛化性能。

Doubly Debiased Test-Time Prompt Tuning for Vision-Language Models

  • 引入动态检索增强模块,用测试图像特征查询知识库优化预测。
  • 设计可靠性感知调优模块,结合置信度加权与跨模态一致性约束。
  • 在15个数据集上验证效果,有效缓解提示调优中的过自信偏差。

视觉语言模型的测试时提示调优在零样本设置下展现出优异的泛化能力。然而,仅基于未标记测试数据调整可学习提示可能引入提示优化偏差,最终导致下游任务表现不佳。本文从模型和数据双角度分析偏差成因:模型层面,熵最小化目标侧重降低预测熵而忽视准确性,导致过度自信却错误的输出;数据层面,偏差提示加剧了视觉与文本模态间的错位。为此,提出双重去偏测试时提示调优方法。首先构建动态检索增强调制模块,以测试图像特征为查询,从动态知识库中检索高置信度知识并调制预测;随后设计可靠性感知提示调优模块,融合置信度加权集成与跨模态一致性蒸馏,在提示调优中施加正则化约束。在涵盖自然分布偏移与跨数据集泛化的15个基准数据集上的大量实验表明,该方法优于基线,验证了其缓解提示优化偏差的有效性。

原文摘要 · Abstract (English)

Test-time prompt tuning for vision-language models has demonstrated impressive generalization capabilities under zero-shot settings. However, tuning the learnable prompts solely based on unlabeled test data may induce prompt optimization bias, ultimately leading to suboptimal performance on downstream tasks. In this work, we analyze the underlying causes of prompt optimization bias from both the model and data perspectives. In terms of the model, the entropy minimization objective typically focuses on reducing the entropy of model predictions while overlooking their correctness. This can result in overconfident yet incorrect outputs, thereby compromising the quality of prompt optimization. On the data side, prompts affected by optimization bias can introduce misalignment between visual and textual modalities, which further aggravates the prompt optimization bias. To this end, we propose a Doubly Debiased Test-Time Prompt Tuning method. Specifically, we first introduce a dynamic retrieval-augmented modulation module that retrieves high-confidence knowledge from a dynamic knowledge base using the test image feature as a query, and uses the retrieved knowledge to modulate the predictions. Guided by the refined predictions, we further develop a reliability-aware prompt optimization module that incorporates a confidence-based weighted ensemble and cross-modal consistency distillation to impose regularization constraints during prompt tuning. Extensive experiments across 15 benchmark datasets involving both natural distribution shifts and cross-datasets generalization demonstrate that our method outperforms baselines, validating its effectiveness in mitigating prompt optimization bias.

提示调优视觉语言模型去偏测试时学习

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