[Paper Review] CoSDA: Continual Source-Free Domain Adaptation
CoSDA proposes a continual source-free domain adaptation method using a dual-speed teacher-student framework with consistency learning to mitigate catastrophic forgetting during sequential adaptation. It outperforms state-of-the-art methods by significantly reducing forgetting (e.g., BWT improved from -36.79 to -10.01) while maintaining high adaptation accuracy across multiple domains.
Without access to the source data, source-free domain adaptation (SFDA) transfers knowledge from a source-domain trained model to target domains. Recently, SFDA has gained popularity due to the need to protect the data privacy of the source domain, but it suffers from catastrophic forgetting on the source domain due to the lack of data. To systematically investigate the mechanism of catastrophic forgetting, we first reimplement previous SFDA approaches within a unified framework and evaluate them on four benchmarks. We observe that there is a trade-off between adaptation gain and forgetting loss, which motivates us to design a consistency regularization to mitigate forgetting. In particular, we propose a continual source-free domain adaptation approach named CoSDA, which employs a dual-speed optimized teacher-student model pair and is equipped with consistency learning capability. Our experiments demonstrate that CoSDA outperforms state-of-the-art approaches in continuous adaptation. Notably, our CoSDA can also be integrated with other SFDA methods to alleviate forgetting.
Motivation & Objective
- To investigate the mechanism of catastrophic forgetting in source-free domain adaptation (SFDA) under continual adaptation settings.
- To address the trade-off between adaptation gain and forgetting loss in SFDA by introducing a consistency regularization mechanism.
- To design a practical continual SFDA framework that maintains performance across all previously seen domains without requiring source data or domain ID information during inference.
- To develop a method that is both robust to hard domains and compatible with existing SFDA approaches.
Proposed method
- CoSDA employs a dual-speed optimized teacher-student model pair, where the teacher model updates slowly to preserve prior knowledge, and the student model adapts quickly to new domains.
- Consistency learning is enforced by having the teacher model generate pseudo-labels on target domain data, which the student model then aligns with via a consistency loss.
- Mixup augmentation is used to generate diverse training samples and improve generalization during consistency learning.
- Mutual information (MI) loss is introduced to enhance feature robustness, particularly on hard domains like Quickdraw.
- The framework is designed to be plug-and-play, allowing integration with existing SFDA methods to further reduce forgetting.
- No domain ID information is required during inference, enabling real-world deployment in privacy-sensitive scenarios.
Experimental results
Research questions
- RQ1What causes catastrophic forgetting in source-free domain adaptation when adapting to multiple domains sequentially?
- RQ2How does the trade-off between adaptation performance and forgetting manifest across different SFDA methods in continual settings?
- RQ3Can consistency learning between a slowly updated teacher and a fast-adapting student mitigate forgetting without access to source data?
- RQ4To what extent can CoSDA improve transferability and stability compared to existing continual DA methods like GSFDA and CoTTA?
- RQ5How does the integration of CoSDA with other SFDA methods affect forgetting and adaptation accuracy?
Key findings
- CoSDA achieves a BWT of -10.01 on DomainNet when integrated with AaD, a significant improvement from the original AaD's BWT of -36.79, indicating substantial forgetting reduction.
- On DomainNet, CoSDA improves average adaptation accuracy by 11.31% when combined with AaD, demonstrating strong transferability.
- CoSDA outperforms GSFDA by 4.02% in average accuracy and CoTTA by 5.23%, showing superior generalization and stability in multi-domain settings.
- Ablation studies confirm that dual-speed optimization is critical—removing it leads to severe catastrophic forgetting despite high adaptation accuracy.
- t-SNE visualizations show that CoSDA learns a shared feature space between source and target domains, while removing dual-speed optimization results in persistent domain shift and feature divergence.
- The removal of mutual information loss leads to training failure on hard domains like Quickdraw, highlighting its essential role in robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.