UniPool: 一种全局共享专家池的混合专家架构
UniPool: Learning Expert-to-Layer Ownership from Brief Global Access
AI总结:
UniPool通过全局共享专家池替代传统每层独立专家资源,减少专家参数线性增长需求,提升模型效率和效果。
摘要:
现代混合专家(MoE)架构通过每层独立的专家集分配专家容量,但这种规则导致深度扩展与线性专家参数增长耦合。本文提出UniPool,通过全局共享专家池替代每层独立所有权,引入池级辅助损失平衡专家利用,并采用NormRouter实现稳定稀疏路由。在五个LLaMA架构模型规模上,UniPool在验证损失和困惑度上优于基线模型,且专家参数增长可亚线性化,同时与更细粒度专家分解结合效果更优。
英文摘要:
Most Mixture-of-Experts (MoE) transformers preassign each expert to one layer for the whole of training. We study whether a brief global-access phase can learn a compatible expert-to-layer allocation that is then executed privately. UniPool-Lock gives every layer its own router over one global pool, balances aggregate pool usage, and scores experts with a scale-stable NormRouter. After the short ownership-learning phase, it assigns each expert to one layer, locks the disjoint allocation, and continues training as a layer-private MoE. With the same expert-FFN budget and routed expert FLOPs, this recipe lowers held-out loss relative to vanilla MoE by 0.024-0.037 across five dense-equivalent scales from 182M to 1.5B, including -0.0247 at 1.5B after 60B tokens. The ownership-learning phase lasts 2K steps, about 3.3% of training, and post-lock step time is within -0.7% to +2.8% of vanilla MoE in our throughput measurements. Controls locate the gain in full-pool training and in the allocation it produces: a random disjoint allocation fixed at initialization, trained with the same router and losses, matches vanilla, whereas locking the allocation learned during the full-pool phase recovers nearly all of the persistent full-pool gain, and substituting a random allocation at the lock forfeits about half of it. Keeping full-pool access throughout training (UniPool-Full) also improves over vanilla MoE at four scales and outperforms it with only 66.7% (182M) to 50% (469M and 650M) of its expert parameters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。