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

MoLAE:用于参数高效语言模型的潜在专家混合

MoLAE: Mixture of Latent Experts for Parameter-Efficient Language Models

Huawei Noah’s Ark Lab(华为诺亚实验室)

Zehua Liu, Han Wu, Ruifeng She, Xiaojin Fu, Xiongwei Han, Tao Zhong, Mingxuan Yuan

AI总结:

本文提出MoLAE(潜在专家混合),通过共享低维潜在空间分解专家操作,减少参数和计算开销,实现与标准MoE相当的性能,适用于参数高效语言模型。

摘要:

混合专家(MoE)已成为通过为每个输入令牌选择性激活参数子集来高效扩展大型语言模型(LLM)的关键架构范式。然而,标准MoE架构面临重大挑战,包括分布式训练期间的高内存消耗和通信开销。在本文中,我们引入了潜在专家混合(MoLAE),一种新颖的参数化方法,通过共享投影到低维潜在空间,然后进行专家特定变换,重新制定专家操作来解决这些限制。这种分解方法大幅减少了参数数量和计算需求,特别是在现有LLM中隐藏维度显著超过MoE中间维度的情况下。我们提供了严格的数学框架,用于将预训练的MoE模型转换为MoLAE架构,刻画最优分解的条件,并开发了系统性的两步算法用于此转换。我们的全面理论分析表明,MoLAE在保持模型能力的同时,在多个维度上显著提高了效率。实验结果证实,MoLAE在资源需求大幅减少的情况下实现了与标准MoE相当的性能。

英文摘要:

Mixture of Experts (MoE) has become a key architectural paradigm for efficiently scaling Large Language Models (LLMs) by selectively activating a subset of parameters for each input token. However, standard MoE architectures face significant challenges, including high memory consumption and communication overhead during distributed training. In this paper, we introduce Mixture of Latent Experts (MoLAE), a novel parameterization that addresses these limitations by reformulating expert operations through a shared projection into a lower-dimensional latent space, followed by expert-specific transformations. This factorized approach substantially reduces parameter count and computational requirements, particularly in existing LLMs where hidden dimensions significantly exceed MoE intermediate dimensions. We provide a rigorous mathematical framework for transforming pre-trained MoE models into MoLAE architecture, characterizing conditions for optimal factorization, and developing a systematic two-step algorithm for this conversion. Our comprehensive theoretical analysis demonstrates that MoLAE significantly improves efficiency across multiple dimensions while preserving model capabilities. Experimental results confirm that MoLAE achieves comparable performance to standard MoE with substantially reduced resource requirements.

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

↑