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

关于堆叠在提升推理能力方面的归纳偏置研究

On the Inductive Bias of Stacking Towards Improving Reasoning

Google Research(谷歌研究院)

Nikunj Saunshi, Stefani Karp, Shankar Krishnan, Sobhan Miryoosefi, Sashank J. Reddi, Sanjiv Kumar

AI总结:

本文提出渐进式堆叠变体 MIDAS,在提升训练效率最高达 40% 的同时,发现其具有增强推理能力的归纳偏置,并通过推理原语实验及与循环模型的关联分析加以验证。

摘要:

随着模型规模的不断扩大,诸如渐进式堆叠(gradual stacking)[Gong et al., 2019, Reddi et al., 2023] 等新型训练策略引起了广泛关注。堆叠通过分阶段逐步增加模型深度,并利用前一阶段较小模型的层来初始化下一阶段,从而实现高效训练。尽管堆叠在训练效率方面具有优势,但此类逐步增长方法所引入的模型偏置在很大程度上尚未得到探索。本文针对渐进式堆叠的这一根本特性展开研究,超越了其效率优势本身。我们提出了一种名为 MIDAS 的渐进式堆叠变体,可将语言模型训练速度提升高达 40%。此外,我们发现了一个引人注目的现象:MIDAS 不仅训练高效,而且出人意料地具有一种有利于提升下游任务表现的归纳偏置,尤其是需要推理能力的任务,如阅读理解与数学问题,尽管与基线训练相比,其困惑度(perplexity)相似或略差。为了进一步分析这种归纳偏置,我们构建了推理原语(reasoning primitives)——即构成推理能力的简单合成任务——并发现,使用堆叠预训练的模型在这些原语上的表现显著优于标准预训练模型,无论是否进行微调。这为堆叠朝向推理的归纳偏置提供了更强且更稳健的证据。上述关于训练效率和推理归纳偏置的发现已在 1B、2B 和 8B 参数规模的语言模型上得到验证。最后,我们通过探索堆叠与循环模型(looped models)之间的联系,推测了这一归纳偏置产生的深层原因,并提供了有力的实证分析支持。

英文摘要:

Given the increasing scale of model sizes, novel training strategies like gradual stacking [Gong et al., 2019, Reddi et al., 2023] have garnered interest. Stacking enables efficient training by gradually growing the depth of a model in stages and using layers from a smaller model in an earlier stage to initialize the next stage. Although efficient for training, the model biases induced by such growing approaches are largely unexplored. In this work, we examine this fundamental aspect of gradual stacking, going beyond its efficiency benefits. We propose a variant of gradual stacking called MIDAS that can speed up language model training by up to 40%. Furthermore we discover an intriguing phenomenon: MIDAS is not only training-efficient but surprisingly also has an inductive bias towards improving downstream tasks, especially tasks that require reasoning abilities like reading comprehension and math problems, despite having similar or slightly worse perplexity compared to baseline training. To further analyze this inductive bias, we construct reasoning primitives -- simple synthetic tasks that are building blocks for reasoning -- and find that a model pretrained with stacking is significantly better than standard pretraining on these primitives, with and without fine-tuning. This provides stronger and more robust evidence for this inductive bias towards reasoning. These findings of training efficiency and inductive bias towards reasoning are verified at 1B, 2B and 8B parameter language models. Finally, we conjecture the underlying reason for this inductive bias by exploring the connection of stacking to looped models and provide strong supporting empirical analysis.

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

↑