arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.20346cs.CVcs.AIcs.CL
收藏

面向视觉基础模型的历史测试时提示调优

Historical Test-time Prompt Tuning for Vision Foundation Models

College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院);College of Computer Science and Technology, Zhejiang University of Technology(浙江工业大学计算机科学与技术学院);University of Chinese Academy of Sciences(中国科学院大学)

Jingyi Zhang, Jiaxing Huang, Xiaoqin Zhang, Ling Shao, Shijian Lu

AI总结:

针对测试时提示随数据流持续更新而性能退化的问题,本文提出 HisTPT,通过三类知识库和自适应检索机制记忆并复用历史知识,在多种视觉任务与持续变化领域中实现稳定优越的调优性能。

摘要:

测试时提示调优在推理阶段利用无标签测试样本在线学习提示,无需任何任务特定标注即可即时学习有效提示,已展现出巨大潜力。然而,当提示随测试数据流持续更新时,其性能往往会在调优过程中明显下降;当测试样本的领域持续变化时,这种退化会更加严重。我们提出 HisTPT,这是一种历史测试时提示调优(Historical Test-time Prompt Tuning)技术,能够记忆已学习测试样本中的有用知识,并利用所记忆的知识实现鲁棒的测试时提示调优。HisTPT 引入三类知识库,即局部知识库、困难样本知识库和全局知识库,各自以不同机制工作,以实现有效的知识记忆和测试时提示优化。此外,HisTPT 具有自适应知识检索机制,通过自适应检索已记忆的知识来正则化每个测试样本的预测。大量实验表明,在处理不同视觉识别任务(例如图像分类、语义分割和目标检测)以及来自持续变化领域的测试样本时,HisTPT 始终取得优异的提示调优性能。

英文摘要:

Test-time prompt tuning, which learns prompts online with unlabelled test samples during the inference stage, has demonstrated great potential by learning effective prompts on-the-fly without requiring any task-specific annotations. However, its performance often degrades clearly along the tuning process when the prompts are continuously updated with the test data flow, and the degradation becomes more severe when the domain of test samples changes continuously. We propose HisTPT, a Historical Test-time Prompt Tuning technique that memorizes the useful knowledge of the learnt test samples and enables robust test-time prompt tuning with the memorized knowledge. HisTPT introduces three types of knowledge banks, namely, local knowledge bank, hard-sample knowledge bank, and global knowledge bank, each of which works with different mechanisms for effective knowledge memorization and test-time prompt optimization. In addition, HisTPT features an adaptive knowledge retrieval mechanism that regularizes the prediction of each test sample by adaptively retrieving the memorized knowledge. Extensive experiments show that HisTPT achieves superior prompt tuning performance consistently while handling different visual recognition tasks (e.g., image classification, semantic segmentation, and object detection) and test samples from continuously changing domains.

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

↑