Introduction
Unsupervised Domain Adaptation (UDA) is a critical task in computer vision, aimed at bridging the performance gap when a model trained on a labeled source domain (e.g., real-world images) is applied to an unlabeled target domain (e.g., sketches or clipart). Traditional UDA techniques primarily focus on aligning the feature space—the high-dimensional internal representations of the model. However, this approach faces significant hurdles: it is often highly sensitive to specific model architectures and the inherent "domain gap" caused by style variations, which can introduce significant noise into the alignment process.
The Case for Probability Space
A key insight of this work is the observation that while raw features vary wildly across domains, the probability distributions produced by robust pre-trained classifiers remain remarkably consistent. The authors demonstrate this by measuring the $A_L$-distance, a metric for domain discrepancy.
As illustrated in Figure 1, the $A_L$-distance is significantly smaller in the probability space compared to the feature space across diverse architectures, including ResNet-50, ViT, Swin Transformer, and gMLP. This suggests that aligning probabilities is a more robust and architecture-agnostic strategy for UDA.
Methodology: Bidirectional Probability Calibration (BiPC)
The proposed Bidirectional Probability Calibration (BiPC) framework leverages the synergy between a task-specific head and a pre-trained head to achieve effective domain adaptation. Unlike previous methods that align features or rely solely on cross-attention, BiPC focuses on calibrating the output distributions.
The BiPC framework (Figure 2c) introduces two primary components:
- Calibrated Probability Alignment (CPA): Instead of raw feature alignment, CPA aligns the probability distributions of the source and target domains. It utilizes a modified Jensen-Shannon (JS) divergence to measure dissimilarity, preventing "shortcut learning" and ensuring the probability space remains discriminative.
- Calibrated Gini Impurity (CGI): This module refines pseudo-labeling by incorporating prior knowledge from the pre-trained model. By calculating a calibration factor based on the agreement between the task head and the pre-trained head, CGI reduces the impact of noisy labels and focuses training on high-confidence samples.
The "bidirectional" nature of the framework allows the task head to refine the pre-trained head during alignment, while the pre-trained head simultaneously guides the task head through calibrated pseudo-labels.
Experimental Results
BiPC was evaluated across several major UDA benchmarks, demonstrating state-of-the-art (SoTA) performance:
- Office-Home: Achieved 81.6% average accuracy using a ViT backbone, surpassing previous leaders like CDTrans.
- Office-31: Set a new SoTA with 94.2% average accuracy.
- Partial-Set Domain Adaptation (PDA): On Office-Home, BiPC reached 88.8% accuracy, a substantial improvement over the previous best of 79.5%.
Furthermore, BiPC exhibits faster convergence than competing methods and maintains high performance across a wide range of modern architectures, including ConvNeXt and CrossViT.
Conclusion
BiPC represents a significant shift in UDA research by prioritizing probability alignment over traditional feature alignment. By leveraging the inherent robustness of pre-trained probability spaces and introducing a bidirectional calibration mechanism, BiPC provides a flexible, efficient, and highly effective solution for cross-domain knowledge transfer.
Summary updated