arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2509.11348cs.LG
收藏

混合专家架构的线性模式连通性

On Linear Mode Connectivity of Mixture-of-Experts Architectures

Independent Researcher(独立研究者)

Viet-Hoang Tran, Van Hoan Trinh, Khanh Vinh Bui, Tan M. Nguyen

AI总结:

本研究系统探究混合专家架构中的线性模式连通性,提出匹配算法对齐独立训练的MoE,并在多种配置与数据集上实证验证其存在,为深度学习优化景观提供基础洞见。

摘要:

线性模式连通性(LMC)是神经网络损失景观中的一个显著现象,其中独立训练的模型已被观察到——在置换对称性下——通过参数空间中损失保持持续较低的线性路径相连。这一观察挑战了非凸优化的经典观点,并对模型集成、泛化以及我们对神经损失几何的理解具有深远意义。受近期关于标准神经网络中LMC研究的启发,我们系统地研究了混合专家(MoE)架构中的这一现象——MoE是一类以可扩展性和计算效率著称的模型,通过可学习的门控机制将传统神经网络(称为专家)结合起来。我们首先对密集和稀疏门控机制进行全面分析,证明MoE架构固有的对称性完全由作用于专家组件和门控函数的置换来表征。基于这些基础性发现,我们提出了一种匹配算法,能够实现独立训练的MoE之间的对齐,从而促进LMC的发现。最后,我们使用所提出的算法在多种MoE配置下——包括密集、稀疏和共享专家变体——以及广泛的模型设置和不同规模与模态的数据集上,实证验证了LMC的存在。我们的结果证实了MoE架构中LMC的存在,并为深度学习模型的功能景观和优化动力学提供了基础性见解。

英文摘要:

Linear Mode Connectivity (LMC) is a notable phenomenon in the loss landscapes of neural networks, wherein independently trained models have been observed to be connected--up to permutation symmetries--by linear paths in parameter space along which the loss remains consistently low. This observation challenges classical views of non-convex optimization and has implications for model ensembling, generalization, and our understanding of neural loss geometry. Inspired by recent studies on LMC in standard neural networks, we systematically investigate this phenomenon within Mixture-of-Experts (MoE) architectures--a class of models known for their scalability and computational efficiency, which combine traditional neural networks--referred to as experts--through a learnable gating mechanism. We begin by conducting a comprehensive analysis of both dense and sparse gating regimes, demonstrating that the symmetries inherent to MoE architectures are fully characterized by permutations acting on both the expert components and the gating function. Building on these foundational findings, we propose a matching algorithm that enables alignment between independently trained MoEs, thereby facilitating the discovery of LMC. Finally, we empirically validate the presence of LMC using our proposed algorithm across diverse MoE configurations--including dense, sparse, and shared-expert variants--under a wide range of model settings and datasets of varying scales and modalities. Our results confirm the existence of LMC in MoE architectures and offer fundamental insights into the functional landscape and optimization dynamics of deep learning models.

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

↑