2025-03-25 · 专家 · 机器学习 · 自然语言处理

Reasoning to Learn from Latent Thoughts

该论文提出了一种通过推理学习来提高语言模型预训练数据效率的方法,通过推断文本背后的潜在思维来改善学习效率。

更新于 2025-03-26。作者:Yangjun Ruan、Neil Band、Chris J. Maddison、Tatsunori Hashimoto。

中文摘要

计算语言模型(LM)预训练的扩展速度超过了人类编写的文本增长,导致人们担忧数据将成为LM扩展的瓶颈。为了在数据受限的环境下继续扩展预训练,我们提出明确地建模和推断支撑文本生成过程的潜在思维,可以显著提高预训练数据效率。直观地说,我们的方法将网络文本视为冗长的人类思维过程的压缩最终结果,并且潜在思维包含了重要的上下文知识和推理步骤,这对于数据高效学习至关重要。我们通过数据受限的数学继续预训练实证展示了我们方法的有效性。我们首先表明,用于推断潜在思维的合成数据方法显著提高了数据效率,在相同数量的原始数据(5.7%提高到25.4%在MATH上)的培训中表现更优。此外,我们展示了在没有强大教师的情况下进行潜在思维推断的情况,其中LM通过使用EM算法迭代地提高训练LM的能力和思维增强预训练数据的质量来提升自己的性能。我们表明,一个10亿的LM可以在至少三个迭代中提升其性能,并且与在原始数据上训练的基线相比有显著提升,当执行E步时,随着额外的推断计算能力的增加,收益也随之增加。推断扩展和EM迭代的收益为新机会提供了数据受限预训练扩展的视角。

英文摘要

Compute scaling for language model (LM) pretraining has outpaced the growth of human-written texts, leading to concerns that data will become the bottleneck to LM scaling. To continue scaling pretraining in this data-constrained regime, we propose that explicitly modeling and inferring the latent thoughts that underlie the text generation process can significantly improve pretraining data efficiency. Intuitively, our approach views web text as the compressed final outcome of a verbose human thought process and that the latent thoughts contain important contextual knowledge and reasoning steps that are critical to data-efficient learning. We empirically demonstrate the effectiveness of our approach through data-constrained continued pretraining for math. We first show that synthetic data approaches to inferring latent thoughts significantly improve data efficiency, outperforming training on the same amount of raw data (5.7\% rightarrow 25.4\% on MATH). Furthermore, we demonstrate latent thought inference without a strong teacher, where an LM bootstraps its own performance by using an EM algorithm to iteratively improve the capability of the trained LM and the quality of thought-augmented pretraining data. We show that a 1B LM can bootstrap its performance across at least three iterations and significantly outperform baselines trained on raw data, with increasing gains from additional inference compute when performing the E-step. The gains from inference scaling and EM iterations suggest new opportunities for scaling data-constrained pretraining.

解读

一句话总结

该论文提出了一种通过推理学习来提高语言模型预训练数据效率的方法,通过推断文本背后的潜在思维来改善学习效率。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源