arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.29548cs.LG
收藏

为什么更大的模型学习得更多:容量、干扰和稀有任务保留的影响

Why Larger Models Learn More: Effects of Capacity, Interference, and Rare-Task Retention

Stanford University(斯坦福大学);Kempner Institute at Harvard University(哈佛大学凯普纳研究所);MIT(麻省理工学院);Anthropic

Jing Huang, Daniel Wurgaft, Rachit Bansal, Laura Ruis, Naomi Saphra, David Alvarez-Melis, Andrew Kyle Lampinen, Christopher Potts, Ekdeep Singh Lubana

AI总结:

通过理论分析和合成实验,研究模型规模对学习能力的影响,发现更大模型通过减少梯度干扰来学习稀有和复杂任务,并在OLMo模型上验证。

摘要:

更大的模型能学习更小模型无法学习的任务。是什么驱动了这一现象?我们提出了一个简单的现象学论证,即幂律缩放已经表明,即使训练数据无限,更大的模型也能够学习到更小模型无法学习的数据分布部分。为了验证这一说法并找出其原因,我们研究了模型缩放对合成设置的影响,该设置由一系列呈现单调缩放曲线的任务混合而成。结果指向数据引起的资源(神经元)竞争。具体来说,较小的模型将其神经元分配给高频或低复杂度的任务,因此它们学习到的解决方案在稀有和复杂任务上表现不佳。此外,即使存在能够表达所需任务的解决方案,这种情况也会发生。然后,我们评估了更大的模型如何规避这一以数据为中心的瓶颈,发现这归因于一种减少的干扰机制:更大的模型可以为常见任务分配足够的资源,使得这些任务的梯度更新变弱,这意味着它们不会在缓慢积累稀有任务特征时覆盖这些特征。最后,为了进一步验证这些说法,我们在不同频率和复杂性的新任务上预训练了OLMo模型(4M到4B参数)。结果与我们的合成数据实验相呼应:只有更大的OLMo模型学习了不频繁和复杂的任务,并且这些更大的模型在其表示中嵌入了更多的任务特征,并且任务之间的梯度干扰更少。总体而言,我们提供了一个以数据为中心的解释,说明为什么更大的模型能够学习更小模型无法学习的任务。这有助于解释为什么更大的模型在实践中更好,并且可以为有关模型大小和训练数据混合的实际问题提供信息。

英文摘要:

Larger models learn tasks smaller models do not. What drives this phenomenon? We develop a simple phenomenological argument that power-law scaling already suggests that a larger model will be able to learn a part of the data distribution that a smaller model fails to learn, even with infinite training data. To validate this claim and identify its causes, we study the effects of model scaling on a synthetic setup consisting of a mixture of tasks that show monotonic scaling curves. The results point to a data-induced competition over resources (neurons). Specifically, smaller models allocate their neurons to high frequency or low complexity tasks, and so they learn solutions that perform poorly on rare and complex tasks. Moreover, this happens even when solutions capable of expressing the desired task exist. We then assess how a larger model circumvents this data-centric bottleneck, finding that it traces to a reduced interference mechanism: larger models can allocate enough resources to common tasks that the gradient updates for those tasks become weak, which means that they do not overwrite rare-task features as they slowly accumulate. Finally, to further validate these claims, we pretrain OLMo models (4M to 4B parameters) on novel tasks of varying frequency and complexity. The results mirror those from our synthetic data experiments: only the larger OLMo models learn the infrequent and complex tasks, and these larger models embed more task features in their representations and show less gradient interference between tasks. Overall, we offer a data-centric account of why larger models learn tasks that smaller models fail to. This helps explain why larger models are better in practice, and it can inform practical questions concerning model sizing and training data mixtures.

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

↑