Multi-source Domain Adaptation via Weighted Joint Distributions Optimal Transport

Rosanna Turrisi, Rémi Flamary, Alain Rakotomamonjy, Massimiliano Pontil

Abstract

This paper introduces MSDA-WJDOT, a novel framework for Multi-Source Domain Adaptation (MSDA) that leverages Optimal Transport to align an unlabeled target domain with a weighted combination of multiple labeled sources. By embracing source diversity rather than forcing domain invariance, the method automatically identifies relevant sources and achieves state-of-the-art performance across vision and audio benchmarks.

The Challenge of Multi-Source Adaptation

Machine learning models often struggle with "domain shift," where performance degrades when the training and testing data distributions differ. In real-world scenarios, we often have access to multiple labeled source datasets—such as data from different sensors, users, or environments.

Traditional MSDA methods typically attempt to map all domains into a single "invariant" feature space. However, the authors argue that this "crushing" of diversity can be counterproductive. If only a subset of sources is relevant to the target, forcing the model to ignore differences across all sources may destroy the very features needed for accurate classification. The core challenge is: How do we automatically identify and weight the most relevant sources while simultaneously learning a classifier for the target?

The MSDA-WJDOT Framework

The proposed method, MSDA-WJDOT (Multi-Source Domain Adaptation via Weighted Joint Distribution Optimal Transport), addresses this by learning to weight sources based on their relevance to the target. The key technical pillars include:

  1. Joint Distribution Optimal Transport (JDOT): Instead of just aligning features, JDOT aligns the joint distribution of features and labels. For the unlabeled target, the model uses current classifier predictions as proxy labels.
  2. Source Re-weighting ($\alpha$): A weight vector $\alpha$ is introduced to prioritize sources that are "closer" to the target in the Wasserstein sense.
  3. Alternating Optimization: The algorithm iteratively updates the classifier to fit the weighted source data and re-calculates the weights $\alpha$ to match the target distribution.
Figure 1: Visualizing the alignment and reweighting process on a toy dataset. The method identifies relevant sources and aligns their joint distributions with the target.

Key Insights and Results

A significant finding is that the learned weights ($\alpha$) often become sparse, effectively performing automatic source selection. This allows the model to ignore irrelevant or noisy sources without human intervention. The authors also provide a new generalization bound, mathematically justifying why minimizing the Wasserstein distance between the target and a convex combination of sources leads to lower target error.

Figure 4: Optimization dynamics of MSDA-WJDOT, illustrating the convergence of the loss function and the emergence of sparsity in the source weights ($\alpha$) over iterations.

Experimental Validation

The method was evaluated on three distinct benchmarks:

  • Simulated 2D/3D Data: Demonstrated robustness to complex shifts, such as rotations and changing class proportions (target shift).
  • Caltech-Office: Achieved a top average rank (2.25) against state-of-the-art competitors like JCPOT and IWERM.
  • Music-Speech Discrimination: In this challenging audio task across 14 noisy environments, the model significantly outperformed competitors with an average rank of 1.25 and showed remarkably low variance.

Conclusion

MSDA-WJDOT demonstrates that diversity in multi-source data is a feature to be exploited rather than a problem to be suppressed. By providing a theoretically grounded approach to source weighting, the authors offer a robust solution for complex domain adaptation tasks. While the current implementation involves a pre-training step (MSDA-WJDOT$_{MTL}$), future work may explore end-to-end approaches to further streamline the learning of embeddings, classifiers, and source weights simultaneously.

Summary updated

BibTeX
@inproceedings{turrisi2022multi,
  author = {Rosanna Turrisi and Rémi Flamary and Alain Rakotomamonjy and Massimiliano Pontil},
  title = {{Multi-source Domain Adaptation via Weighted Joint Distributions Optimal Transport}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=ljxeoONZIM},
}
Figure