This paper focuses on the Continual Test-Time Adaptation (CTTA) task, aiming to enable an agent to continuously adapt to evolving target domains while retaining previously acquired domain knowledge for effective reuse when those domains reappear. Existing shared-parameter paradigms struggle to balance adaptation and forgetting, leading to decreased efficiency and stability. To address this, we propose a frequency-aware shared and self-adaptive expert framework, consisting of two key components: (i) a dual-branch expert architecture that extracts general features and dynamically models domain-specific representations, effectively reducing cross-domain interference and repetitive learning cost; and (ii) an online Frequency-aware Domain Discriminator (FDD), which leverages the robustness of low-frequency image signals for online domain shift detection, guiding dynamic allocation of expert resources for more stable and realistic adaptation. Additionally, we introduce a Continual Repeated Shifts (CRS) benchmark to simulate periodic domain changes for more realistic evaluation. Experimental results show that our method consistently outperforms existing approaches on both classification and segmentation CTTA tasks under standard and CRS settings, with ablations and visualizations confirming its effectiveness and robustness. Our code is available at https://github.com/ZJC25127/Domain-Self-Adaptive-CTTA.git.
翻译:本文聚焦于持续测试时适应(CTTA)任务,旨在使智能体能够持续适应不断演化的目标领域,同时保留先前获取的领域知识,以便在这些领域重新出现时有效复用。现有的共享参数范式难以平衡适应与遗忘,导致效率与稳定性下降。为解决这一问题,我们提出了一种频率感知的共享与自适应专家框架,包含两个关键组件:(i)一种双分支专家架构,能够提取通用特征并动态建模领域特定表示,有效减少跨领域干扰与重复学习成本;(ii)一种在线频率感知领域判别器(FDD),利用低频图像信号的鲁棒性进行在线领域偏移检测,指导专家资源的动态分配,以实现更稳定且更贴近现实的适应。此外,我们引入了持续重复偏移(CRS)基准,以模拟周期性领域变化,从而进行更贴近现实的评估。实验结果表明,在标准与CRS设置下,我们的方法在分类与分割CTTA任务上均持续优于现有方法,消融研究与可视化分析进一步证实了其有效性与鲁棒性。我们的代码发布于 https://github.com/ZJC25127/Domain-Self-Adaptive-CTTA.git。