TL;DR
Self-training is a powerful tool for unsupervised domain adaptation, but relying on hard, noisy pseudo-labels often leads to overconfident error propagation. This paper introduces Confidence Regularized Self-Training (CRST), a framework that treats pseudo-labels as continuous latent variables and applies label or model regularization to smooth predictions. By preventing infinite entropy minimization, CRST avoids confirmation bias and achieves state-of-the-art performance across image classification and semantic segmentation tasks.
What Problem Does This Paper Address?
Unsupervised Domain Adaptation (UDA) aims to transfer knowledge from a labeled source domain (e.g., synthetic images from a game engine) to an unlabeled target domain (e.g., real-world camera frames). Deep self-training has emerged as a top contender for UDA. It works iteratively: the model predicts labels for the target domain, selects the most confident predictions as "pseudo-labels," and retrains itself using these pseudo-labels as ground truth.
The catch? Pseudo-labels are inherently noisy. Standard self-training treats these pseudo-labels as absolute, one-hot ground truth, forcing the network to minimize entropy aggressively. This causes the network to become overconfident in its own mistakes, especially on ambiguous or incorrect classes. These errors propagate and amplify across training rounds, ultimately leading to deviated solutions and degraded model performance.
Methods
The authors propose Confidence Regularized Self-Training (CRST). Instead of forcing pseudo-labels to be rigid one-hot vectors, they relax the feasible space to a continuous probability simplex and introduce regularization terms to prevent overconfidence. They propose two distinct flavors of confidence regularization:
- Label Regularization (LR): Modifies the pseudo-label generation step to produce soft pseudo-labels. Specifically, they introduce a Label Entropy regularizer (LRENT) that distributes confidence across multiple classes, mathematically acting like a generalized softmax function with a temperature parameter.
- Model Regularization (MR): Retains hard pseudo-labels but adds a smoothing penalty directly to the network's output loss during the retraining phase. They explore three MR variants: $L_2$ regularization (MRL2), entropy regularization (MRENT), and Kullback-Leibler Divergence against a uniform distribution (MRKLD).
The optimization alternates between generating regularized pseudo-labels (Step A) and retraining the network weights (Step B).
Datasets
The authors evaluated CRST on two primary computer vision tasks:
- Image Classification:
- VisDA17: A large-scale synthetic-to-real benchmark containing 152,409 synthetic source images and 55,400 real-world target images across 12 classes.
- Office-31: A standard domain adaptation dataset with 31 classes across three domains: Amazon (A), Webcam (W), and DSLR (D).
- Semantic Segmentation:
- GTA5 $\rightarrow$ Cityscapes: Adapting a model trained on 24,966 synthetic driving images from the GTA5 game engine to real-world urban driving scenes.
- SYNTHIA $\rightarrow$ Cityscapes: Another synthetic-to-real urban scene segmentation benchmark.
Key Insights and Ideas
- A Rigorous Probabilistic Foundation: The authors mathematically prove that CRST is equivalent to a regularized version of Classification Maximum Likelihood (RCML), optimized via the Classification Expectation Maximization (CEM) algorithm. This provides a solid theoretical justification for what was previously a heuristic process.
- Preserving Class Rankings: Label Regularization (LRENT) scales the smoothness of the pseudo-labels while strictly preserving the model's internal ranking of classes. In contrast, Model Regularization (MR) penalties tend to smooth negative classes uniformly, discarding order information between non-top classes.
- MRKLD as a Superior Barrier: Among the model regularizers, MRKLD acts as a more effective mathematical barrier against sharp, overconfident outputs because its gradient prevents the model from pushing probabilities completely to 0 or 1 too aggressively.
- Complementary Effects: Because LR and MR tackle overconfidence from two different angles (label generation vs. model optimization), combining them (MRKLD+LRENT) yields a powerful synergy that outperforms either method individually.
Key Results
- Image Classification: On VisDA17, the combined MRKLD+LRENT framework achieved a mean accuracy of 78.1%, significantly outperforming the non-regularized CBST baseline (76.4%) and setting a new state-of-the-art for ResNet-101. On Office-31, CRST variants consistently beat the baseline across all transfer tasks.
- Semantic Segmentation: For GTA5 $\rightarrow$ Cityscapes (using a DeepLabv2 backbone), MRKLD improved the mean Intersection-over-Union (mIoU) to 47.1% compared to CBST's 45.9%. When scaled up with a ResNet-38 backbone and spatial priors, CRST achieved a state-of-the-art mIoU of 49.8%.
Limitations and Future Work
- Storage Overhead for Label Regularization: Label regularization requires storing dataset-level soft pseudo-labels. While trivial for image classification, this introduces significant disk I/O and storage overhead for high-resolution semantic segmentation tasks where label maps are massive.
- Hyperparameter Tuning: Combining MR and LR introduces multiple regularization weights ($\alpha$) that must be validated, adding complexity to the training pipeline.
- Future Directions: The authors suggest that this framework opens the door for designing novel regularizers acting as specific inductive biases to benefit a broader range of unsupervised domain adaptation and semi-supervised learning problems.
Summary updated