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

利用专家选择偏差克服数据不平衡

Overcoming Data Imbalances with Expert Selection Biases

EPFL(洛桑联邦理工学院)

Ayush K. Tarun, Clara Meister, Antoine Bosselut

AI总结:

本研究针对MoE模型的数据不平衡问题,提出基于输入类别的专家选择偏差方法,可提升低资源类别性能,在106亿参数模型上实现模态、低资源语言等的性能增益。

摘要:

混合专家(MoE)模型已成为前沿大语言模型(LLM)的标准架构。每个Transformer块中的多个并行专家,理论上可在预训练期间根据领域、语言或模态等类别实现专家专业化。然而,当不同类别的数据不平衡时,少数类别会集中在小部分专家池中,或低效分散在整个专家池中,从而有效限制了其可用容量。本研究表明,基于类别的专家选择偏差可将不同类别的token优先路由至专门的专家池。通过应用基于输入类别的偏差,我们提供了一种诱导软类别对齐专业化的简单方法。该干预措施鼓励各类别使用不同的专家子集,同时在必要时保留跨类别共享。更重要的是,它能将专家容量过度分配给原本因数据稀缺而处于劣势的类别。我们在参数规模达106亿的模型中,观察到模态、低资源语言和代码方面的性能提升。在最小和最大模型规模下,这些增益分别相当于额外分配了18.5%和2.7%的基线训练token。总体而言,我们的结果表明,专家偏差可作为类别级专家分配的轻量控制手段,在保留标准MoE推理的同时,为低资源类别腾出空间。

英文摘要:

Mixture-of-Experts (MoE) models have become the standard architecture for frontier LLMs. The multiple parallel experts in each transformer block theoretically enable expert specialization according to categories such as domains, languages, or modalities during pretraining. However, when data is imbalanced across categories, minority categories can become concentrated in a small fraction of the expert pool or spread inefficiently across them, effectively limiting their available capacity. In this work, we demonstrate that category-conditioned expert-selection biases can preferentially route tokens from different categories toward specialized expert pools. By applying biases based on input category, we provide a simple way to induce soft category-aligned specialization. This intervention encourages categories toward distinct expert subsets while retaining cross-category sharing when useful. More importantly, it enables the over-allocation of expert capacity to categories that would otherwise be disadvantaged by data scarcity. We observe performance improvements across modalities, low-resource languages, and code in models up to 10.6B parameters. At our smallest and largest model scales, these gains are equivalent to allocating 18.5% and 2.7% additional baseline training tokens, respectively. Overall, our results show that expert biases can serve as a lightweight control for category-level expert allocation, making room for low-resource categories while retaining standard MoE inference.

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

↑