Machine Learning
Optimal Transport Method Combines Distributed Mixture-of-Experts Models into Single Global System
Researchers propose a new approach to merge independent expert models trained across multiple machines while preserving accuracy and reducing computational overhead.
Training large machine learning models across distributed datasets and then merging them poses a significant challenge: when local Mixture-of-Experts (MoE) models are independently fitted on different machines, their expert networks typically lack alignment, making simple combination strategies ineffective.
The Challenge of Distributed Merging#
When researchers attempt to average multiple MoE models trained separately, the result is often a large, unwieldy mixture containing many more experts than the original target number. Worse, this averaged model fails to recover reliable estimates of the true underlying parameters. This misalignment problem has limited the practical application of distributed MoE training, despite its potential to leverage data across multiple locations.
Proposed Solution#
A team has introduced a method based on optimal transport theory to solve this aggregation problem. Their approach reduces a large combined mixture back down to a target number of K experts by minimizing an expected transportation divergence that accounts for how inputs (covariates) influence expert selection.
The method breaks the problem into two stages: first, experts are aligned using a majorization–minimization algorithm that monotonically improves the objective function; second, the gating network—which decides which experts to use for each input—is fitted to match the alignment discovered in the first step. The researchers provide theoretical guarantees bounding the resulting loss.
Key Advantages#
- No relabeling required: Local models don't need to share the same expert labeling across machines
- Efficient communication: Requires only a single one-way exchange of information between nodes
- Consistent aggregation: The combined estimator remains statistically consistent as long as each local estimator is consistent
- Practical performance: Experiments on both simulated and real data demonstrate accuracy comparable to training centrally, while using only a fraction of the computational resources
The approach represents a step forward in enabling practical federated learning for complex expert-based models.