论文精选

混合专家模型在重复数据训练中更容易过拟合

Data Scarcity and Model Sparsity: Mixtures-of-Experts Overfit More to Repeated Data

精选理由

这个研究很实用,告诉你用混合专家模型时,重复数据训练要小心,4倍以上就要注意了,有方法可以缓解但效果有限。

研究分析了混合专家(MoE)模型在重复数据训练下的表现,发现从80M到1B参数的模型在数据重复4倍时开始性能下降,32倍时表现低于密集模型。实验表明,基于强掩码的正则化方法可以在64倍重复数据下让MoE超越密集模型,但无法完全匹配使用唯一数据训练的性能。

原文 · arXiv cs.LG

Data Scarcity and Model Sparsity: Mixtures-of-Experts Overfit More to Repeated Data

As the supply of human-written text is exhausted, it has become standard practice to repeat language model training data. Prior work has studied data repetition for densely activated Transformers, but the effects of data repetition remains largely unexplored for recently dominant sparse architectures such as Mixture-of-Experts (MoE), despite their increased compute efficiency. We vary data repetition rates across single- and multi-domain data mixes, and across MoE settings, including expert count and granularity. We consistently find, for models ranging from 80M to 1B active (8.5B total) parameters, that MoEs degrade more rapidly under data repetition. This effect increases with sparsity, dictated by total rather than active parameters. While 80M dense models can repeat data over 8x with minimal degradation, MoEs instead begin to suffer at 4x, and deteriorate rapidly, ceding their performance benefits in all-unique data settings to underperform dense models after 32x. We experiment with existing regularization methods as a potential remedy. We find that some methods, such as dropout, can mitigate overfitting. In particular, with strong masking-based regularization, MoEs are able to outperform dense models even when data is repeated more than 64 times. However, no method fully matches the performance of all-unique training data. Finally, we analyze internal mechanisms correlated with MoE overfitting in high repetition regimes, and find that MoE routing universally stabilizes early in training, and that expert specialization correlates with overfitting to repeated data. In sum, our work addresses the adverse interactions between sparsity and data repetition: we present evidence for the core mechanisms of overfitting and its potential remediation, and suggest promising avenues for future methods to reduce over-specialization in model parameters by disrupting memorization patterns.