arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.09877cs.LGcs.AIcs.DCstat.ML
收藏

分布式专家混合模型的最优传输聚合

Optimal Transport Aggregation for Distributed Mixture-of-Experts

IRT SystemX(IRT系统X);Normandie Univ, UNICAEN, CNRS, LMNO(诺曼底大学、UNICAEN、CNRS、LMNO)

Faïcel Chamroukhi, Nhat Thien Pham

AI总结:

本文提出基于最优传输的分布式MoE模型聚合方法,通过减少传输分歧构建全局估计器,实现高效且低通信开销的分布式学习。

摘要:

混合专家(MoE)模型提供了一种灵活的统计框架,用于建模异质性和非线性关系。然而,在许多现代应用中,由于存储、计算或治理限制,数据集自然地分布在多个机器上。我们考虑一种分布式模型聚合设置,在这种设置中,本地MoE模型在去中心化数据集上独立训练,然后结合成一个全局估计器。聚合MoE模型具有挑战性,因为标准平均会产生不保留MoE结构的模型,因此无法得到全局模型参数的估计。为了解决这个问题,我们提出了一种基于最优传输的原理性聚合框架,通过最小化局部估计器集合与聚合模型之间的传输分歧,构建一个简化的全局MoE估计器。为此,推导出一个高效的majorization-minimization(MM)算法来解决由此产生的优化问题。该方法只需要从本地机器到中央服务器进行一次通信步骤,使其成为一种经济的分布式学习方法,尤其适用于大规模设置,其中通信成本是一个主要瓶颈。我们还为聚合估计器建立了统计保证,包括在标准局部估计器假设下的一致性。在合成和真实数据集上的实验表明,该方法在性能上与集中式训练相当,同时显著减少了计算时间。源代码在GitHub上公开。

英文摘要:

This paper considers the setting in which local Mixture-of-experts (MoE) models are fitted independently on distributed datasets and must be combined into a single global MoE model. Weighted averaging the local mixtures, whose experts are not aligned across machines, often yields a large mixture with many experts instead of $K$ and does not provide an estimator of the true model parameters. We propose to reduce this large mixture to a $K$-expert MoE by minimizing an expected transportation divergence, in which the transport plan depends on the covariates. A relaxation of this problem separates the experts from the gating network: the experts are computed by a majorization--minimization algorithm, which decreases the objective monotonically, and the gating network is then fitted to the gates implied by the optimal plan, with an explicit bound on the resulting loss. We show that the aggregated estimator is consistent whenever the local estimators are, without requiring the local models to have the same labeling across machines. The procedure only needs a single one-way communication round. Experiments on simulated and real data show accuracy close to centralized estimation at a fraction of its computation time. Our source code is available at https://github.com/nhat-thien/Distributed-Mixture-Of-Experts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑