Since real-world machine systems are running in non-stationary environments, Continual Test-Time Adaptation (CTTA) task is proposed to adapt the pre-trained model to continually changing target domains. Recently, existing methods mainly focus on model-based adaptation, which aims to leverage a self-training manner to extract the target domain knowledge. However, pseudo labels can be noisy and the updated model parameters are unreliable under dynamic data distributions, leading to error accumulation and catastrophic forgetting in the continual adaptation process. To tackle these challenges and maintain the model plasticity, we tactfully design a Visual Domain Adapter (ViDA) for CTTA, explicitly handling both domain-specific and domain-shared knowledge. Specifically, we first comprehensively explore the different domain representations of the adapters with trainable high-rank or low-rank embedding spaces. Then we inject ViDAs into the pre-trained model, which leverages high-rank and low-rank features to adapt the current domain distribution and maintain the continual domain-shared knowledge, respectively. To exploit the low-rank and high-rank ViDAs more effectively, we further propose a Homeostatic Knowledge Allotment (HKA) strategy, which adaptively combines different knowledge from each ViDA. Extensive experiments conducted on four widely used benchmarks demonstrate that our proposed method achieves state-of-the-art performance in both classification and segmentation CTTA tasks. Note that, our method can be regarded as a novel transfer paradigm for large-scale models, delivering promising results in adaptation to continually changing distributions.
翻译:由于现实世界中的机器系统运行在非平稳环境中,连续测试时自适应(CTTA)任务被提出,旨在使预训练模型适应持续变化的目标域。近期方法主要聚焦于基于模型的自适应,即利用自训练方式提取目标域知识。然而,在动态数据分布下,伪标签可能存在噪声,更新的模型参数不可靠,导致连续自适应过程中的错误累积和灾难性遗忘。为解决这些挑战并保持模型可塑性,我们巧妙设计了面向CTTA的视觉域适配器(ViDA),显式处理域特定知识与域共享知识。具体而言,我们首先全面探索具有可训练高秩或低秩嵌入空间的适配器的不同域表示,然后将ViDA注入预训练模型,分别利用高秩和低秩特征适应当前域分布并维持持续域共享知识。为更高效利用低秩与高秩ViDA,我们进一步提出稳态知识分配(HKA)策略,自适应组合每个ViDA的不同知识。在四个广泛使用的基准上进行的广泛实验表明,所提方法在分类与分割CTTA任务中均达到最优性能。值得注意的是,本方法可视为大规模模型的新型迁移范式,在适应持续变化分布方面展现出令人瞩目的结果。