Abstract
In the classic setting of unsupervised domain adaptation (UDA), the labeled source data are available in the training phase. However, in many real-world scenarios, owing to some reasons such as privacy protection and information security, the source data is inaccessible, and only a model trained on the source domain is available. This paper proposes a novel deep clustering method for this challenging task. Aiming at the dynamical clustering at feature-level, we introduce extra constraints hidden in the geometric structure between data to assist the process. Concretely, we propose a geometry-based constraint, named semantic consistency on the nearest neighborhood (SCNNH), and use it to encourage robust clustering. To reach this goal, we construct the nearest neighborhood for every target data and take it as the fundamental clustering unit by building our objective on the geometry. Also, we develop a more SCNNH-compliant structure with an additional semantic credibility constraint, named semantic hyper-nearest neighborhood (SHNNH). After that, we extend our method to this new geometry. Extensive experiments on three challenging UDA datasets indicate that our method achieves state-of-the-art results. The proposed method has significant improvement on all datasets (as we adopt SHNNH, the average accuracy increases by over 3.0% on the large-scaled dataset).
Introduction
Unsupervised Domain Adaptation (UDA) typically involves adapting a model from a labeled source domain to an unlabeled target domain. However, real-world constraints like data privacy regulations or massive dataset sizes often make the source data inaccessible during the adaptation phase. This gives rise to Source Data-absent UDA (SAUDA), where only a pre-trained source model and unlabeled target data are available.
Recent approaches to SAUDA rely on self-supervised deep clustering, where the model generates pseudo-labels for target data and iteratively refines its predictions. However, clustering individual data points is inherently fragile; a single misclassification can lead to a "drift" where the model reinforces its own errors. This paper addresses this fragility by leveraging the local geometric structure of the data.
Methodology: Neighborhood-Based Clustering
The core innovation is shifting the fundamental unit of clustering from individual points to Nearest Neighborhoods (NNH). By binding a data point to its neighbors, the model creates a structural constraint that resists incorrect pseudo-labeling.
Semantic Consistency on Nearest Neighborhood (SCNNH)
The baseline method, N2DC, introduces the SCNNH constraint. It forces a data point and its nearest neighbor in feature space to share the same semantic representation. This creates a "gravitational pull": if a misclassified point is grouped with a correctly classified neighbor, the neighbor helps pull the point into the correct cluster during training.
Semantic Hyper-Nearest Neighborhood (SHNNH)
While SCNNH is effective, it can fail if the nearest neighbor is also misclassified. To solve this, the authors propose SHNNH (used in N2DC-EX), which adds a "semantic credibility" constraint. The target data is split into "confident" and "unconfident" groups based on prediction entropy. For any unconfident sample, the algorithm performs a chain-search to find a "home sample"—a highly similar neighbor that belongs to the confident group.
Experimental Results
The proposed methods were evaluated on three major benchmarks: Office-31, Office-Home, and the large-scale VisDA-C.
- VisDA-C (Large): N2DC-EX achieved a state-of-the-art accuracy of 85.8%, representing a 3.1% improvement over previous leading methods like SHOT and BAIT.
- Office-Home (Medium): The method reached 73.1% average accuracy, a 1.2% gain over previous benchmarks.
- Office-31 (Small): N2DC-EX achieved 90.0% accuracy, outperforming the previous best SAUDA method.
The results demonstrate that the SHNNH constraint (N2DC-EX) consistently outperforms the simpler SCNNH (N2DC), particularly on larger datasets where the feature space is denser and geometric neighborhoods are more reliably defined.
Conclusion
This work demonstrates that local geometry serves as a powerful anchor for self-supervised learning in the absence of source data. By using neighborhoods as the fundamental unit of clustering and filtering for semantic credibility, the proposed N2DC-EX method achieves robust adaptation. Future work will explore mining these geometric structures in non-Euclidean manifold spaces to capture even richer semantic relationships.
Summary updated