[Paper Review] Understanding Self-Training for Gradual Domain Adaptation
This paper proposes gradual self-training for domain adaptation in settings with slow, incremental distribution shifts, demonstrating theoretically and empirically that leveraging intermediate unlabeled data improves performance over direct adaptation. It proves a non-vacuous error bound under small Wasserstein-infinity shifts and shows 84% accuracy on the Portraits dataset—10% higher than direct adaptation—highlighting the importance of regularization and label sharpening even with infinite data.
Machine learning systems must adapt to data distributions that evolve over time, in applications ranging from sensor networks and self-driving car perception modules to brain-machine interfaces. We consider gradual domain adaptation, where the goal is to adapt an initial classifier trained on a source domain given only unlabeled data that shifts gradually in distribution towards a target domain. We prove the first non-vacuous upper bound on the error of self-training with gradual shifts, under settings where directly adapting to the target domain can result in unbounded error. The theoretical analysis leads to algorithmic insights, highlighting that regularization and label sharpening are essential even when we have infinite data, and suggesting that self-training works particularly well for shifts with small Wasserstein-infinity distance. Leveraging the gradual shift structure leads to higher accuracies on a rotating MNIST dataset and a realistic Portraits dataset.
Motivation & Objective
- To address the challenge of machine learning models degrading over time due to gradual distribution shifts in real-world applications like self-driving cars and brain-machine interfaces.
- To analyze self-training in the context of gradual domain adaptation, where shifts occur step-by-step rather than all at once.
- To prove the first non-vacuous theoretical error bound for self-training under gradual shifts, especially when direct adaptation fails.
- To demonstrate empirically that gradual self-training outperforms direct adaptation and baseline methods on rotating MNIST and Portraits datasets.
Proposed method
- The method uses a sequence of classifiers trained on progressively shifted data, starting from a source classifier and updating via self-training on unlabeled data from intermediate domains.
- At each step, pseudolabels are generated for unlabeled examples in the current domain, and a regularized supervised classifier is trained on these pseudolabeled examples.
- The approach incorporates label sharpening and L2 regularization to improve robustness, especially when the shift is small in Wasserstein-infinity distance.
- A sliding window of size W is used to process unlabeled data incrementally, with model retraining every few steps to adapt to the evolving distribution.
- Confidence thresholding filters out low-confidence predictions, improving reliability of pseudolabels.
- Theoretical analysis considers two settings: a margin-based distribution-free setting and a Gaussian generative model setting, both showing improved generalization with gradual adaptation.
Experimental results
Research questions
- RQ1Can self-training achieve better performance in gradual domain adaptation compared to direct adaptation to the target domain, especially when support overlap is minimal?
- RQ2What theoretical guarantees can be provided for self-training under gradual distribution shifts, particularly when direct adaptation leads to unbounded error?
- RQ3How do regularization and label sharpening affect performance in self-training under gradual shifts, even with infinite data?
- RQ4Does the structure of small, incremental shifts enable better generalization than large, single-step shifts in high-dimensional settings?
- RQ5To what extent is the performance of gradual self-training robust to hyperparameter choices such as window size and confidence thresholding?
Key findings
- On the Portraits dataset, gradual self-training achieved 84% accuracy, significantly outperforming direct target adaptation (77%) and self-training on all unlabeled data (77%).
- On rotating MNIST, gradual self-training reached 80.3% accuracy, compared to 31.1% for direct target self-training and 32.6% for self-training on all data.
- The theoretical error bound for gradual self-training is non-vacuous for small initial error (α₀), showing exponential dependence on time steps T, but remains tight and informative.
- Ablation studies confirm that gradual self-training is robust to hyperparameter choices, including window size and confidence thresholding, with performance improvements persisting across variations.
- Even with 20,000 intermediate unlabeled examples, gradual self-training achieved 60.6% accuracy on Portraits, outperforming direct adaptation (56.5%) and full-data self-training (57.4%), though all methods still underperform on extreme shifts.
- The study reveals that regularization and label sharpening are essential for performance, even in the infinite data limit, underscoring their role in stabilizing self-training under distribution shift.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.