Abstract
Semi-supervised domain adaptation (SSDA) aims to adapt models to a target domain using a small amount of labeled data and a large volume of unlabeled data. However, traditional SSDA methods often rely on simultaneous access to source and target data, which poses privacy and storage challenges. This paper introduces Semantic Regularization Learning (SERL), a source-free framework that adapts a pre-trained source model to a target domain without requiring the original source data. By integrating three novel regularization modules—Semantic Probability Contrastive Regularization (SPCR), Hard-sample Mixup Regularization (HMR), and Target Prediction Regularization (TPR)—SERL achieves state-of-the-art performance, outperforming existing methods by double-digit margins on major benchmarks.
Introduction
In real-world machine learning deployments, models trained on a data-rich "source" domain frequently encounter performance degradation when applied to a "target" domain with different characteristics, such as shifting from real-world photographs to sketches. Semi-supervised domain adaptation (SSDA) is the standard approach to bridge this gap.
Despite its utility, existing SSDA paradigms face three critical hurdles. First, Source Data Dependency: many methods require the source data to be present during adaptation, which is often impossible due to privacy regulations or bandwidth constraints. Second, Superficial Semantic Learning: models often fail to capture deep semantic relationships, instead memorizing simple instance-level features. Third, Noisy Pseudo-labels: the reliance on self-generated labels for unlabeled data can lead to a negative feedback loop where the model learns from its own errors.
The SERL Framework
SERL addresses these challenges through a source-free architecture. The process begins with a model pre-trained on the source domain. During adaptation, the source classifier is frozen to act as a semantic anchor, while only the feature extractor is fine-tuned on the target domain. To ensure robust learning, the authors propose three distinct regularization modules.
1. Semantic Probability Contrastive Regularization (SPCR)
Unlike standard contrastive learning that operates on raw feature embeddings (e.g., InfoNCE), SPCR operates on probability distributions. It encourages the model to produce highly confident and similar probability vectors for samples sharing the same semantic pseudo-labels. To mitigate the impact of noisy data, SPCR employs adaptive weighting, effectively down-weighting low-confidence samples to prevent them from corrupting the contrastive learning process.
2. Hard-sample Mixup Regularization (HMR)
HMR introduces a structured curriculum for learning complex target samples. By using the frozen source classifier weights as anchors, the model calculates the cosine distance of target samples to categorize them into "easy" and "hard" samples. It then applies the Mixup technique to blend these categories. This process allows the clear signals from easy samples to guide the feature representation of more ambiguous, hard samples located near decision boundaries.
3. Target Prediction Regularization (TPR)
To combat the accumulation of errors from noisy pseudo-labels, TPR leverages the "early learning phenomenon"—the tendency of neural networks to learn clean, simple patterns before memorizing noise. TPR forces the model's current predictions to remain consistent with a moving average of its past predictions. This temporal anchoring prevents the model from overfitting to incorrect pseudo-labels in the later stages of training.
Experimental Results
SERL was evaluated on three standard domain adaptation benchmarks: DomainNet (126 classes), Office-Home (65 classes), and Office-31 (31 classes), under 1-shot and 3-shot settings.
Quantitative Performance
The results demonstrate that SERL significantly outperforms previous state-of-the-art (SOTA) methods like DEEM and G-ABC:
- DomainNet (1-shot, ResNet-34): SERL achieved an average accuracy of 89.9%, a massive 11.8% absolute improvement over DEEM (78.1%).
- Office-Home (1-shot, VGG-16): SERL reached 80.6% average accuracy, surpassing DEEM (70.5%) by 10.1%.
- Office-31: Improvements were more modest (80.1% vs. 76.2%), as the simpler nature of this dataset provides less opportunity for complex semantic regularization to show its full potential.
Ablation and Insights
Ablation studies revealed that SPCR and TPR are the primary drivers of performance. While HMR provides complementary gains, its impact is smaller because the other modules already improve feature representations so significantly that fewer "hard" samples remain for HMR to process.
Discussion
A key insight from this research is that source-free adaptation can be superior to source-dependent adaptation. In traditional SSDA, the massive volume of source data can overwhelm the small amount of labeled target data. By removing the source data, the model is forced to focus entirely on the target distribution, leading to better alignment. Furthermore, the success of probability-level contrast over feature-level contrast suggests that forcing confident semantic judgments is more effective for classification tasks than simply clustering raw features.
Conclusion
SERL represents a significant advancement in semi-supervised domain adaptation. By combining source-free learning with sophisticated semantic regularization, it overcomes the limitations of data privacy and noisy pseudo-labeling. While the performance gap between SERL and baselines narrows as more labeled target data becomes available, its effectiveness in low-label, source-free scenarios makes it a powerful tool for real-world applications where data is scarce and privacy is paramount.
Summary updated