arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.21360cs.CV
收藏

基于原型的测试时间适应性视觉-语言模型

Prototype-Based Test-Time Adaptation of Vision-Language Models

Key Laboratory of Multimedia Trusted Perception(多媒体可信感知关键实验室);Efficient Computing, Ministry of Education of China, Xiamen University, 361005, P.R. China(高效计算,中华人民共和国教育部,厦门大学,361005,中国)

Zhaohong Huang, Yuxin Zhang, Wenjing Liu, Fei Chao, Rongrong Ji

AI总结:

本文提出基于原型的测试时间适应方法PTA,通过类特定知识原型积累测试样本知识,提高效率并实现跨领域图像识别和点云分析的最优性能。

摘要:

测试时间适应(TTA)已成为视觉-语言模型(VLMs)弥合预训练与测试数据分布差距的有希望范式。近期研究聚焦于无需反向传播的TTA方法,但这些方法引入了两个关键限制:首先,随着类别的增加,缓存的大小导致推理延迟增加,从而在大规模设置中效率低下。其次,当缓存中包含不足或错误的样本时,性能会变得次优。在本文中,我们提出了原型基于的测试时间适应(PTA),一种高效且有效的TTA范式,利用一组类特定的知识原型来积累测试样本的知识。特别是,知识原型根据每个测试样本的零样本类置信度进行自适应加权,将样本的视觉特征纳入相应的类特定原型中。值得注意的是,过去测试样本的知识仅整合并利用在原型中,消除了缓存填充和检索带来的开销,从而提高了现有TTA方法的效率。这使PTA在15个图像识别基准和4个稳健点云分析基准上实现了最先进的性能。例如,PTA将CLIP的准确率从10个跨领域基准的65.64%提升到69.38%,同时在大规模ImageNet-1K上保留了92%的CLIP推理速度。相比之下,基于缓存的TDA仅实现了67.97%的准确率,并以仅50%的CLIP推理速度运行。

英文摘要:

Test-time adaptation (TTA) has emerged as a promising paradigm for vision-language models (VLMs) to bridge the distribution gap between pre-training and test data. Recent works have focused on backpropagation-free TTA methods that rely on cache-based designs, but these introduce two key limitations. First, inference latency increases as the cache grows with the number of classes, leading to inefficiencies in large-scale settings. Second, suboptimal performance occurs when the cache contains insufficient or incorrect samples. In this paper, we present Prototype-Based Test-Time Adaptation (PTA), an efficient and effective TTA paradigm that uses a set of class-specific knowledge prototypes to accumulate knowledge from test samples. Particularly, knowledge prototypes are adaptively weighted based on the zero-shot class confidence of each test sample, incorporating the sample's visual features into the corresponding class-specific prototype. It is worth highlighting that the knowledge from past test samples is integrated and utilized solely in the prototypes, eliminating the overhead of cache population and retrieval that hinders the efficiency of existing TTA methods. This endows PTA with extremely high efficiency while achieving state-of-the-art performance on 15 image recognition benchmarks and 4 robust point cloud analysis benchmarks. For example, PTA improves CLIP's accuracy from 65.64% to 69.38% on 10 cross-domain benchmarks, while retaining 92% of CLIP's inference speed on large-scale ImageNet-1K. In contrast, the cache-based TDA achieves a lower accuracy of 67.97% and operates at only 50% of CLIP's inference speed.

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

↑