arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.26441cs.CV
收藏

A-TPT:面向视觉语言模型测试时提示微调的角多样性校准特性

A-TPT: Angular Diversity Calibration Properties for Test-Time Prompt Tuning of Vision-Language Models

Dept. of Electronic and Telecommunication Engineering, University of Moratuwa(摩图瓦大学电子与电信工程系);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Shihab Aaqil Ahamed, Udaya S. K. P. Miriya Thanthrige, Ranga Rodrigo, Muhammad Haris Khan

AI总结:

A-TPT通过引入角度多样性提升视觉语言模型测试时提示微调的校准性能,有效减少校准误差并提升适应能力。

摘要:

测试时提示微调(TPT)已成为一种有前途的技术,用于在不依赖标注数据的情况下将大视觉语言模型(VLMs)适应于未见过的任务。然而,文本特征之间缺乏分散性会损害校准性能,这引发了关于VLMs可靠性、可信度和安全性的担忧。当前的TPT方法主要通过最大化平均文本特征分散性或施加正交约束来改善提示校准,以鼓励角度分离。然而,这些方法可能无法始终实现类间文本特征的最佳角度分离,这意味着忽视了角度多样性的关键作用。为此,我们提出了A-TPT,一种新的TPT框架,引入了角度多样性,以鼓励由相应可学习提示诱导的归一化文本特征分布的均匀性。这种均匀性是通过最大化特征在单位超球面上的最小成对角度距离来实现的。我们证明,通过在各种骨干网络上不同数据集的广泛实验,我们的方法在减少总体平均校准误差的同时保持了可比的准确性,始终优于最先进的TPT方法。值得注意的是,我们的方法在自然分布偏移上表现出卓越的零样本校准性能,并且能够很好地推广到医学数据集。我们提供了广泛的分析,包括理论方面,以建立A-TPT的理论基础。这些结果突显了促进角度多样性以实现分散的文本特征的重要性,显著提高了VLM在测试时适应过程中的校准能力。我们的代码将公开发布。

英文摘要:

Test-time prompt tuning (TPT) has emerged as a promising technique for adapting large vision-language models (VLMs) to unseen tasks without relying on labeled data. However, the lack of dispersion between textual features can hurt calibration performance, which raises concerns about VLMs' reliability, trustworthiness, and safety. Current TPT approaches primarily focus on improving prompt calibration by either maximizing average textual feature dispersion or enforcing orthogonality constraints to encourage angular separation. However, these methods may not always have optimal angular separation between class-wise textual features, which implies overlooking the critical role of angular diversity. To address this, we propose A-TPT, a novel TPT framework that introduces angular diversity to encourage uniformity in the distribution of normalized textual features induced by corresponding learnable prompts. This uniformity is achieved by maximizing the minimum pairwise angular distance between features on the unit hypersphere. We show that our approach consistently surpasses state-of-the-art TPT methods in reducing the aggregate average calibration error while maintaining comparable accuracy through extensive experiments with various backbones on different datasets. Notably, our approach exhibits superior zero-shot calibration performance on natural distribution shifts and generalizes well to medical datasets. We provide extensive analyses, including theoretical aspects, to establish the grounding of A-TPT. These results highlight the potency of promoting angular diversity to achieve well-dispersed textual features, significantly improving VLM calibration during test-time adaptation. Our code will be made publicly available.

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

↑