Introduction
Source-Free Domain Adaptation (SFDA) is a critical task in machine learning where a model must adapt to a new target domain without access to the original source domain data. This constraint is common in scenarios involving data privacy or proprietary datasets. The standard pipeline involves pre-training a network on a large dataset (like ImageNet), fine-tuning it on source data, and then adapting that source model to the target domain.
However, this paper identifies a fundamental flaw in this approach: "source training" often causes the model to overfit to the specific quirks of the source domain, leading it to "forget" the generalized features learned during pre-training. Consequently, when adapting to a target domain, the model's pseudo-labels are frequently overconfident yet incorrect.
The Co-Learning Framework
To address this, the authors propose a Co-learning strategy that reintroduces the original pre-trained network into the adaptation process as a "second opinion." The framework utilizes two distinct branches:
- The Adaptation Branch: The source model that is actively fine-tuned on the target data.
- The Pre-trained Branch: A frozen ImageNet feature extractor paired with a "weighted nearest-centroid classifier" (NCC) that estimates class centers based on target data features.
The "MatchOrConf" Strategy
The core of the co-learning process is the MatchOrConf strategy for generating high-quality pseudolabels. The two branches collaborate to label unlabeled target data:
- Agreement: If both branches predict the same label, that label is accepted.
- Disagreement: If they disagree, the system selects the prediction with the higher confidence score, provided it exceeds a set threshold.
This collaborative approach helps mitigate the bias introduced during source training. By alternating between updating the adaptation model and refining the class centers in the pre-trained branch, the two models mutually improve their understanding of the target domain.
Key Insights and Results
The Bias of Source Training
The researchers found that source training can actually decrease the "oracle" accuracy of a feature extractor. For instance, in a "Clipart to Real World" task, the original ImageNet model was often better at recognizing real-world objects than the model specifically fine-tuned on Clipart. The pre-trained branch acts as a safeguard against this "tunnel vision."
Performance Benchmarks
The co-learning strategy consistently outperformed state-of-the-art (SOTA) SFDA methods across several benchmarks:
- Office-Home: Integrating co-learning with the NRC method boosted average accuracy from 72.0% to 81.4% when using a Swin-B pre-trained branch.
- VisDA-C: On this synthetic-to-real challenge, the method improved the SHOT baseline by nearly 3%, achieving 85.2% accuracy.
- Architecture Scaling: The authors demonstrated that using modern architectures like Swin Transformers or ConvNeXt in the pre-trained branch provides significant performance gains over traditional ResNet-50 backbones.
Conclusion and Future Work
By challenging the practice of discarding pre-trained weights, this work shows that maintaining a general-purpose "anchor" significantly stabilizes and improves domain adaptation. While the method introduces some computational overhead by requiring two feature extractors during training, the performance gains are substantial. Future research may explore using even larger self-supervised or multi-modal models (like CLIP) to provide even more robust anchors for adaptation.
Summary updated