Distributionally Robust Classification for Multi-source Unsupervised Domain Adaptation

Seonghwi Kim, Sung Ho Jo, Wooseok Ha, Minwoo Chae

Introduction

Unsupervised Domain Adaptation (UDA) is the statistical learning challenge of training a model on labeled data from a "source" domain (e.g., synthetic images) so that it performs reliably on an unlabeled "target" domain (e.g., real-world photos). Traditionally, researchers tackle this using distribution alignment (forcing source and target features to look similar) or pseudo-labeling (guessing labels for target data to self-train).

However, these standard approaches suffer from two major vulnerabilities:

  1. Data Scarcity: When only a handful of unlabeled target samples are available, alignment becomes unreliable and pseudo-labels become highly noisy.
  2. Spurious Correlations: If the source domain contains "shortcuts"—such as a bird always appearing against a blue sky—standard models learn to associate the background with the class. When the target domain features birds in forests, the model fails.

To address these challenges, this paper introduces a novel Distributionally Robust Optimization (DRO) framework that jointly models uncertainty in both input features and label distributions. By optimizing for the "worst-case" scenario within a set of plausible target distributions, the method achieves state-of-the-art performance in challenging, data-scarce, and spuriously correlated settings.

Methodology: Distributionally Robust Learning

Instead of assuming the target distribution perfectly matches the small sample observed, the authors define an ambiguity set—a collection of plausible distributions the target might actually follow.

Key components of this framework include:

  • Dual Uncertainty Modeling: Unlike standard DRO, which often focuses solely on the input distribution ($P_X$), this method also models uncertainty in the conditional label distribution ($P_{Y|X}$).
  • The Mixture-of-Sources Trick: The target's label distribution is modeled as a mixture of different source distributions. In single-source scenarios, the authors cleverly partition the source data into "pseudo-sources" via random sub-sampling to simulate diversity.
  • Wasserstein Ambiguity: An infinite-order Wasserstein ball is used to allow the input distribution to shift slightly around the observed target samples, providing a buffer against sampling bias.

To train the model, the authors develop an efficient minimax optimization algorithm.

Algorithm 1: The proposed minimax optimization procedure.

As shown in Algorithm 1, the training loop alternates between three steps:

  1. Adversarial Perturbation: Finding the "hardest" feature representations within the Wasserstein ball.
  2. Weight Adjustment: Updating the mixture weights ($\beta$) to favor source conditionals that the current model finds difficult.
  3. Model Update: Training the classifier ($\theta$) to minimize the loss against this adversarial "worst-case" target.

Experimental Setup

The researchers evaluated their method on two distinct types of benchmarks:

  • Digit Recognition: MNIST, SVHN, and USPS, specifically testing "extreme scarcity" scenarios with as few as 10 unlabeled samples per class.
  • Spurious Correlation Benchmarks: Datasets like Waterbirds (birds on land vs. water backgrounds), CelebA (identifying hair color where gender is a spurious cue), and Colored MNIST (digits where color is highly correlated with the label in the source but not the target).

Key Insights and Results

By training against a "worst-case" mixture of source distributions, the model learns to rely on features that are consistently predictive across different slices of data. This effectively forces the model to ignore "shortcuts" that only appear in specific sub-populations. Furthermore, applying adversarial perturbations in the latent feature space—rather than raw pixel space—makes the DRO approach computationally tractable for deep neural networks.

The proposed method, particularly when combined with existing UDA techniques like STAR or CDAN, demonstrated dramatic improvements:

Performance comparison on digit recognition tasks under extreme data scarcity.
  • Extreme Scarcity: As detailed in the results table, in the SVHN $\to$ MNIST task with only 10 samples per class, the method achieved 91.3% accuracy, compared to just 61.2% for the popular DANN algorithm.
  • Defeating Shortcuts: On the Waterbirds dataset, the method reached 87.3% test accuracy, a massive jump over the 48.4% achieved by a standard Empirical Risk Minimization (ERM) baseline.
  • Consistency: Across all tasks, the method was less sensitive to the specific target samples provided, proving that the "Wasserstein buffer" successfully hedges against sampling variability.

Limitations and Future Work

While powerful, the framework does introduce computational overhead, as it requires training $K$ separate conditional estimators (though implemented as simple linear layers in this paper). Additionally, tuning the radii of the ambiguity sets ($\epsilon_1, \epsilon_2$) in a purely unsupervised setting remains a challenge. Finally, while the current work focuses on computer vision, extending this robust framework to Natural Language Processing (NLP) or time-series data represents a highly promising direction for future research.

Summary updated

BibTeX
@inproceedings{kim2026distributionally,
  author = {Seonghwi Kim and Sung Ho Jo and Wooseok Ha and Minwoo Chae},
  title = {{Distributionally Robust Classification for Multi-source Unsupervised Domain Adaptation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=RyAyH8ufGu},
}
Figure