Mixture Weight Estimation and Model Prediction in Multi-source Multi-target Domain Adaptation

Yuyang Deng, Ilja Kuzborskij, Mehrdad Mahdavi

Introduction

In the era of decentralized data and federated learning, Multi-source Multi-target Domain Adaptation (M²DA) has emerged as a critical challenge. The goal is to leverage data from $N$ heterogeneous source domains to optimize performance across a potentially vast number of target domains. Traditional approaches often struggle with two primary issues: the difficulty of finding optimal mixture weights for sources and the computational impossibility of training unique models for millions of individual users or targets.

This research, presented at NeurIPS 2023, introduces a framework to address these bottlenecks by treating model parameters as a learnable function of source mixture weights and providing a robust stochastic algorithm for weight estimation.

The Challenges of M²DA

Multi-source Domain Adaptation (MSDA) requires determining the optimal mixture weights ($\alpha$) that prioritize sources most relevant to a specific target. This leads to two significant hurdles:

  1. The Minimax Optimization Problem: Estimating $\alpha$ involves solving a "convex-nonconcave" minimax problem. Standard stochastic methods often fail here because they lack the "inner concavity" required for convergence.
  2. Scalability in Multi-target Scenarios: In applications like Federated Learning, the number of target domains $M$ can be enormous. Solving an Empirical Risk Minimization (ERM) problem for every target is computationally prohibitive.

Proposed Methodology

1. Stochastic Mixture Weight Estimation

The authors propose a Stochastic Corrected Gradient Descent-Ascent (SCGDA) algorithm. By casting the mixture weight estimation as a compositional minimax problem, they introduce a "correction" term. This term ensures that stochastic estimates of inner functions remain close to their true values, enabling convergence to a stationary point even in the absence of inner concavity.

2. Learning the Model Mapping (Offline)

A key insight of the paper is that under conditions of strong convexity and smoothness, the optimal model parameters $w^*(\alpha)$ are a Lipschitz function of the mixture weights $\alpha$.

Instead of re-solving the ERM for every new target, the authors train an overparameterized two-layer ReLU neural network to learn the mapping $\alpha \to w^*(\alpha)$. Once this "meta-model" is trained offline, generating a model for a new target requires only a single forward pass, drastically reducing inference-time computation.

3. Label-Efficient Online Prediction

For scenarios where targets arrive sequentially, the paper introduces an online nonparametric regression algorithm. Utilizing a Voronoi partitioning strategy, the algorithm clusters mixture weights and only performs full ERM "labeling" (solving the actual optimization) for a small fraction of targets. This strategy maintains low regret while significantly lowering the total computational burden.

Theoretical Contributions and Insights

The research provides several theoretical breakthroughs regarding the efficiency and structure of domain adaptation:

  • Efficiency Phase Transition: The authors identify a mathematical tipping point where predicting the model is provably more efficient than individual learning. This occurs when the number of target domains $M$ is sufficiently large relative to the number of sources $N$ (specifically $M \geq \Omega((1/\epsilon)^{N/2})$).
  • Simultaneous Optimization: The work proves that simultaneous (rather than alternating) stochastic updates can successfully optimize convex-nonconcave problems when the proposed stochastic correction is applied.
  • Co-component Structure: The shared underlying source data across all target problems creates a "co-component" structure. This shared structure is precisely what makes the functional mapping $\alpha \to w^*(\alpha)$ learnable.

Empirical Evaluation

The framework was evaluated using a modified MNIST dataset designed to simulate a multi-source environment with 15 source domains divided into digit-class groups (e.g., Group 1 contains digits 0-2, Group 2 contains 3-5, etc.).

  • Accuracy: The proposed method achieved 80% accuracy on specific target groups, significantly outperforming "Average ERM" (69.9%) and "Pure target training" (69.9%).
  • Convergence: The SCGDA algorithm achieved an $O(\epsilon^{-4})$ gradient complexity, providing the first such proof for stochastic algorithms on strongly-convex-nonconcave problems.
  • Generalization: The neural network predictor was shown to achieve an excess risk of $O(dn^{-2/(2+N)})$, matching the minimax optimal rate for learning Lipschitz functions.

Limitations and Future Directions

While the approach offers significant improvements, it faces the curse of dimensionality; as the number of sources $N$ increases, the number of targets required for the "phase transition" to be beneficial grows exponentially. Additionally, the current theory relies on the assumption of smooth, strongly convex loss functions. Extending these guarantees to the non-convex landscapes typical of deep neural networks remains a vital area for future research. Finally, the authors suggest that Meta-Learning techniques, such as MAML, could serve as alternative methods for solving the co-component ERM problem.

Summary updated

BibTeX
@inproceedings{deng2023mixture,
  author = {Yuyang Deng and Ilja Kuzborskij and Mehrdad Mahdavi},
  title = {{Mixture Weight Estimation and Model Prediction in Multi-source Multi-target Domain Adaptation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=WVmus8NWE8},
}
Figure