arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.08586cs.LGcs.AImath.OC
收藏

学习专业化:去中心化场景下自适应 MoE 的门控-专家联合训练

Learning to Specialize: Joint Gating-Expert Training for Adaptive MoEs in Decentralized Settings

Department of Computer Science, Rice University(计算机科学系,里士满大学);Microsoft(微软公司)
Yehya Farhat, Hamza ElMokhtar Shili, Fangshuo Liao, Chen Dun, Mirian Hipolito Garcia, Guoqing Zheng, Ahmed Hassan Awadallah, Robert Sim, Dimitrios Dimitriadis, … 展开作者

Yehya Farhat, Hamza ElMokhtar Shili, Fangshuo Liao, Chen Dun, Mirian Hipolito Garcia, Guoqing Zheng, Ahmed Hassan Awadallah, Robert Sim, Dimitrios Dimitriadis, Anastasios Kyrillidis

AI总结:

本文提出 DDOME 框架,在去中心化联邦学习场景下通过门控-专家联合训练实现动态专家专业化,在图像和文本分类任务上较最先进 FL 基线提升 4% 至 24% 准确率,并给出理论支撑。

摘要:

专家混合模型(Mixture-of-Experts,MoEs)通过动态激活其组成部分的子集来实现可扩展性。然而,在缺乏明确任务划分的场景中,关于门控机制与专家联合训练如何促使专业能力形成的理解仍不完整。受推理成本和数据异质性驱动,我们研究了门控函数与专家的联合训练如何在多个底层数据分布之间动态分配领域特定专业能力。作为该框架的成果,我们开发了一个专门针对去中心化训练场景的实例,提出“动态去中心化 MoE 编排”(Dynamically Decentralized Orchestration of MoEs,简称 DDOME)。DDOME 利用去中心化数据源之间分布偏移所产生的异质性来动态地专业化专家。通过整合一个预训练的通用专家来指导门控函数,DDOME 实现了即时的个性化专家子集选择,促进了即时个性化。我们在联邦学习(Federated Learning,FL)环境中对 DDOME 进行了实证验证:在图像和文本分类任务中,DDOME 相比最先进的 FL 基线取得了 4% 至 24% 的准确率提升,同时保持了有竞争力的零样本泛化能力。此外,我们提供了理论洞见,证实门控-专家联合训练对于实现有意义的专家专业化至关重要。

英文摘要:

Mixture-of-Experts (MoEs) achieve scalability by dynamically activating subsets of their components. Yet, understanding how expertise emerges through joint training of gating mechanisms and experts remains incomplete, especially in scenarios without clear task partitions. Motivated by inference costs and data heterogeneity, we study how joint training of gating functions and experts can dynamically allocate domain-specific expertise across multiple underlying data distributions. As an outcome of our framework, we develop an instance tailored specifically to decentralized training scenarios, introducing \textit{Dynamically Decentralized Orchestration of MoEs} or \texttt{DDOME}. \texttt{DDOME} leverages heterogeneity emerging from distributional shifts across decentralized data sources to specialize experts dynamically. By integrating a pretrained common expert to inform a gating function, \texttt{DDOME} achieves personalized expert subset selection on-the-fly, facilitating just-in-time personalization. We empirically validate \texttt{DDOME} within a Federated Learning (FL) context: \texttt{DDOME} attains from 4\% up to an 24\% accuracy improvement over state-of-the-art FL baselines in image and text classification tasks, while maintaining competitive zero-shot generalization capabilities. Furthermore, we provide theoretical insights confirming that the joint gating-experts training is critical for achieving meaningful expert specialization.

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

↑