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

装饰新人:视觉领域提示持续测试时自适应

Decorate the Newcomers: Visual Domain Prompt for Continual Test Time Adaptation

Peking University(北京大学);Huawei Technologies(华为技术有限公司);Wuhan University(武汉大学);The Chinese University of Hong Kong(香港中文大学);Aerospace Information Research Institute, Chinese Academy of Sciences(中国科学院空天信息创新研究院)

Yulu Gan, Yan Bai, Yihang Lou, Xianzheng Ma, Renrui Zhang, Nian Shi, Lin Luo

摘要:

连续测试时自适应(CTTA)的目标是在不访问源数据的情况下,使源模型适应不断变化的未标记目标域。现有的方法主要集中在基于模型的自适应训练方式,如预测伪标签的新领域的数据集。由于伪标签是噪声和不可靠的,这些方法遭受灾难性遗忘和错误积累时,处理动态数据分布。受NLP中提示学习的启发,本文提出在冻结源模型参数的同时,学习目标域的图像级视觉域提示。在测试期间,通过用学习的视觉提示重新制定输入数据,可以使变化的目标数据集适应源模型。具体来说,我们设计了两种类型的提示,即,领域特定提示和领域不可知提示,以提取当前领域知识并在持续适应中维护领域共享知识。此外,我们还设计了一种基于自稳态的提示自适应策略,以抑制领域不变提示中的领域敏感参数,从而更有效地学习领域共享知识。从依赖模型的范式到无模型范式的转变使我们能够绕过灾难性遗忘和错误累积问题。实验表明,我们提出的方法在四个广泛使用的基准测试,包括CIFAR-10 C,CIFAR-100C,ImageNet-C和VLCS数据集上实现了显着的性能增益。

英文摘要:

Continual Test-Time Adaptation (CTTA) aims to adapt the source model to continually changing unlabeled target domains without access to the source data. Existing methods mainly focus on model-based adaptation in a self-training manner, such as predicting pseudo labels for new domain datasets. Since pseudo labels are noisy and unreliable, these methods suffer from catastrophic forgetting and error accumulation when dealing with dynamic data distributions. Motivated by the prompt learning in NLP, in this paper, we propose to learn an image-level visual domain prompt for target domains while having the source model parameters frozen. During testing, the changing target datasets can be adapted to the source model by reformulating the input data with the learned visual prompts. Specifically, we devise two types of prompts, i.e., domains-specific prompts and domains-agnostic prompts, to extract current domain knowledge and maintain the domain-shared knowledge in the continual adaptation. Furthermore, we design a homeostasis-based prompt adaptation strategy to suppress domain-sensitive parameters in domain-invariant prompts to learn domain-shared knowledge more effectively. This transition from the model-dependent paradigm to the model-free one enables us to bypass the catastrophic forgetting and error accumulation problems. Experiments show that our proposed method achieves significant performance gains over state-of-the-art methods on four widely-used benchmarks, including CIFAR-10C, CIFAR-100C, ImageNet-C, and VLCS datasets.

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

↑