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

塑造潜在混合专家模型:从专家几何到分层容量分配

Shaping Latent Mixture-of-Experts: From Expert Geometry to Layerwise Capacity Allocation

Xiamen University(厦门大学);Tencent Hunyuan(腾讯混元);Soochow University(苏州大学)

Yaoxiang Wang, Kai Zhang, Ruobing Xie, Lanrui Wang, Guoliang Zhao, Junhui Li, Jinsong Su

AI总结:

该研究针对混合专家(MoE)模型,提出LatentMoE框架,通过分析专家几何特性确定最优专家形状,并用分层固有维度指导容量分配,提升了模型性能。

摘要:

细粒度混合专家(MoE)模型通常通过缩小每个专家的规模来增加专家数量,将专家形状视为路由粒度的副产物。LatentMoE将专家计算转移到低维空间,把每个专家的输入维度和中间宽度作为明确的设计选择。我们证明,专家的局部雅可比秩受这两个维度的共同约束,在固定每个专家参数的情况下,平衡这两个维度可最大化秩上限。在不同模型规模和路由粒度下进行的受控形状扫描始终倾向于接近正方形的专家。我们进一步使用分层固有维度(ID)指导跨深度的容量分配,在保持每层参数数量、激活的浮点运算(FLOPs)和通信量不变的情况下,同时调整专家的数量和形状。与层同质基线相比,我们的ID引导分配实现了更低的验证损失和更强的下游性能。这些结果确立了专家形状和分层分配是MoE的实用设计维度。

英文摘要:

Fine-grained mixture-of-experts (MoE) models commonly increase expert count by narrowing each expert, treating expert shape as a by-product of routing granularity. LatentMoE moves expert computation into a lower-dimensional space, exposing the input dimension and intermediate width of each expert as explicit design choices. We show that an expert's local Jacobian rank is jointly bounded by these two dimensions, and that balancing them maximizes the rank ceiling at fixed per-expert parameters. Controlled shape sweeps across model scales and routing granularities consistently favor near-square experts. We further use layerwise intrinsic dimension (ID) to guide capacity allocation across depth, co-varying the number and shape of experts while keeping per-layer parameter count, activated FLOPs, and communication volume constant. Compared with layer-homogeneous baselines, our ID-guided allocation achieves lower validation loss and stronger downstream performance. These results establish expert shape and layerwise allocation as practical design axes for MoEs.

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

↑