Abstract
Source-Free Domain Adaptation (SFDA) and Test-Time Adaptation (TTA) are critical for deploying models in privacy-sensitive or dynamic environments where source data is unavailable. This paper presents CNG-SFDA (Clean-and-Noisy Region Guided SFDA), a framework that addresses the challenge of noisy pseudo-labels by partitioning target data clusters into reliable "clean" regions and boundary "noisy" regions. By dynamically updating class prototypes and employing a specialized mix-up strategy for noisy samples, CNG-SFDA bridges the gap between these regions, achieving state-of-the-art performance across both online and offline adaptation scenarios.
Introduction
Adapting pre-trained models to new target domains without access to original source data is a significant challenge in fields like medical imaging and autonomous driving. This "Source-Free Domain Adaptation" (SFDA) often suffers from noisy pseudo-labels, particularly for data points near class boundaries. Blindly training on these incorrect guesses leads to performance degradation. Previous approaches often relied on static source-domain prototypes or simply discarded low-confidence samples, failing to capture the true geometry of the target domain.
Methodology
The proposed CNG-SFDA framework introduces a paradigm shift from offline to online target training by focusing on the internal structure of data clusters.
Online Prototype Updating and Partitioning
Unlike previous methods that use fixed prototypes, CNG-SFDA continuously updates cluster prototypes as target data arrives. A Gaussian Mixture Model (GMM) is applied to the distances between samples and these prototypes to calculate a "clean probability." This allows the model to segment the data into "Clean" regions (high probability, near the center) and "Noisy" regions (low probability, near the boundaries or "Gray Zone").
Region-Specific Learning
The framework applies distinct strategies to these regions:
- Clean Regions: Selective training is performed using refined pseudo-labels generated via a nearest-neighbor voting mechanism.
- Noisy Regions: Instead of discarding noisy data, a Cluster ComPactness (CCP) loss is introduced. This uses a "mix-up" strategy to create intermediate representations, pulling noisy samples toward reliable cluster centers and reducing the gap between clean and noisy data.
Contrastive Learning
To further enhance feature discriminability, the model employs prototype-aware and instance-aware contrastive losses, ensuring high intra-class compactness and inter-class separation.
Experimental Results
CNG-SFDA was evaluated on VisDA-C, DomainNet-126, and PACS benchmarks.
- VisDA-C: The model achieved a state-of-the-art 90.5% accuracy in offline settings and 86.8% in online settings. Notably, it outperformed the standard Tent method by 4.6% in test-time adaptation.
- DomainNet-126: CNG-SFDA surpassed existing methods by an average of 0.8% across various domain shifts (e.g., Real to Sketch).
The results demonstrate that treating the "Gray Zone" as a bridge for structural information—rather than just noise to be filtered—significantly improves adaptation robustness.
Conclusion
CNG-SFDA provides a robust solution for source-free adaptation by intelligently managing the transition between clean and noisy data regions. While currently focused on closed-set scenarios, its ability to dynamically evolve prototypes and leverage boundary samples sets a new benchmark for online and offline test-time adaptation. Future work may explore extending this logic to open-set environments where unknown categories are present.
Summary updated