Algorithms and Theory for Multiple-Source Adaptation

Judy Hoffman, Mehryar Mohri, Ningshan Zhang

Introduction

In modern machine learning, practitioners often have access to several high-quality models trained on different "source" domains (e.g., sentiment classifiers for books, electronics, and DVDs). However, deploying a model on a "target" domain that is an unknown mixture of these sources presents a significant challenge. This is especially true when labeled data for the target domain is unavailable, or when pooling all original source data is impossible due to privacy or storage constraints.

This paper tackles Multiple-Source Adaptation (MSA), providing a complete theoretical and algorithmic framework for combining pre-trained models from different domains. The core question is: How do we combine these source predictors into a single model that is robust to any possible mixture of those sources?

Previous work provided some theoretical grounding but lacked a practical algorithm to find the optimal combination weights. Furthermore, older models often relied on the unrealistic assumption that the relationship between inputs and labels ($P(y|x)$) was identical across all domains.

Methodology: Distribution-Weighted Combination

To address these challenges, the authors propose a distribution-weighted combination rule. Instead of a simple average of the source models, this rule weights each source predictor based on how likely the input $x$ belongs to that source's distribution.

Key technical contributions of this approach include:

  • Stochastic Framework: The MSA theory is extended to the stochastic case, accommodating a joint distribution over inputs and outputs. This allows for different conditional probabilities across domains.
  • Rényi Divergence Guarantees: The authors utilize Rényi Divergence to provide strong theoretical bounds on the expected loss of their combined predictor.
  • DC-Programming Algorithm: This serves as the critical "missing link" from previous research. The authors prove that finding the optimal mixture weights can be framed as a Difference of Convex (DC) functions optimization problem. They provide explicit DC-decompositions for both squared loss (regression) and cross-entropy loss (classification), enabling the use of efficient, convergent solvers.
  • Normalized Solutions: A specific version of the combination rule is introduced for probability models (like Softmax outputs) to ensure the final prediction remains a valid probability distribution.

Key Insights and Empirical Results

The authors evaluated their approach across three distinct problem types: sentiment analysis (Amazon reviews), digit recognition (SVHN, MNIST, USPS), and object recognition (Office dataset).

A major insight from the paper is that convex combinations are insufficient. A simple convex combination of predictors can fail significantly even in basic scenarios; weighting predictors by the underlying source distributions is essential for robustness.

Robustness Across Mixtures

The proposed Distribution-Weighted (DW) predictor is remarkably robust. Once the weights are learned, this single model performs exceptionally well regardless of the specific mixture of sources in the target domain.

MSE across different target mixture proportions

As shown in the sentiment analysis task, the DW method consistently outperforms baseline approaches like Uniform weighting and Kernel Mean Matching (KMM) across varying mixture proportions ($\lambda$). While true source distributions are rarely known, the authors show that even simple, standard density estimation techniques are sufficient to make the algorithm highly effective in practice.

Performance on Benchmark Datasets

The method's superiority extends to complex classification tasks. On the digit recognition datasets, the DW method achieved a mean accuracy of 94.7%, significantly outperforming the uniform combination (84.0%) and effectively matching the performance of a model trained jointly on all source data (94.6%).

Digit recognition accuracy across various test mixtures

Furthermore, on the Office object recognition benchmark, the DW method (84.7% mean accuracy) actually outperformed a jointly trained CNN (83.6%). This highlights that when domains are distinct, a distribution-weighted approach can be more effective than simply pooling all data together.

Limitations and Future Work

While highly effective, the framework has a few limitations:

  • Local Optima: The DC-programming approach is guaranteed to converge to a stationary point, but not necessarily a global optimum. However, empirical results show the algorithm consistently finds high-quality solutions.
  • Dependence on Density Estimation: The method relies on estimating source densities. In very high-dimensional spaces or data-scarce environments, accurate density estimation is challenging and could impact the combination's quality.
  • Mixture Assumption: The theoretical guarantees primarily focus on targets that are mixtures of the sources. Performance on completely "out-of-distribution" targets remains an open challenge.

Summary updated

BibTeX
@inproceedings{hoffman2018algorithms,
  author = {Judy Hoffman and Mehryar Mohri and Ningshan Zhang},
  title = {{Algorithms and Theory for Multiple-Source Adaptation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=rkWKaIWdZS},
}
Figure