Distributed training of mixture-of-experts (MoE) models often produces local models whose experts are not aligned across machines. Simply averaging their parameters leads to a bloated mixture with far more than the intended K experts and does not yield a valid estimator of the underlying model. The authors of a new arXiv preprint propose an aggregation step that reduces this large mixture back to a K-expert MoE by minimizing an expected transportation divergence, where the transport plan is allowed to depend on the covariates.

The optimization is relaxed into two stages. First, the experts are updated with a majorization-minimization algorithm that monotonically decreases the objective. Then the gating network is fitted to the gates implied by the optimal transport plan, with an explicit bound on the resulting loss. This separation avoids the need for local models to share the same expert labeling across machines, and the entire procedure requires only a single one-way communication round.

Theoretically, the aggregated estimator is consistent whenever the local estimators are consistent. Experiments on simulated and real data show that the method achieves accuracy close to centralized estimation at a fraction of its computation time. The authors have released source code, making the approach straightforward to reproduce and extend.