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

Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRs

该论文研究了认知行为如何促进语言模型通过强化学习进行自我改进,并发现特定的认知行为(如验证、回溯、子目标设置和反向链)对模型改进能力至关重要。

更新于 2025-03-04。作者:Kanishk Gandhi、Ayush Chakravarthy、Anikait Singh、Nathan Lile、Noah D. Goodman。

中文摘要

测试时推理已成为一种强大的范式,它使语言模型能够像熟练的人类专家一样,对复杂挑战进行更长时间和更细致的思考。虽然强化学习(RL)可以在可验证的任务中推动语言模型的自我改进,但一些模型表现出显著的进步,而另一些模型则迅速达到平台期。例如,我们发现,在相同的强化学习训练下,Qwen-2.5-3B在“倒计时”游戏中的表现远超Llama-3.2-3B。这种差异引发了一个关键问题:哪些内在属性能够促进有效的自我改进?我们引入了一个框架,通过分析四个关键认知行为——验证、回溯、子目标设置和反向链接——来探讨这个问题,这些行为既是专家级人类问题解决者也是成功的语言模型所采用的。我们的研究揭示,Qwen自然表现出这些推理行为,而Llama最初缺乏这些行为。在针对受控行为数据集的系统实验中,我们发现,通过包含这些推理行为的示例对Llama进行预训练,可以在强化学习过程中实现显著的改进,其表现可与Qwen相匹配或超过。重要的是,推理行为的存在,而不是答案的正确性,被证明是关键因素——预先训练含有正确推理模式的错误解决方案的模型,其表现与在正确解决方案上训练的模型相当。最后,利用持续预训练与OpenWebMath数据,经过过滤以增强推理行为,使Llama模型能够与Qwen的自我改进轨迹相匹配。我们的发现建立了初始推理行为与改进能力之间的基本关系,解释了为什么一些语言模型能够有效地利用额外的计算资源,而另一些则达到平台期。

英文摘要

Test-time inference has emerged as a powerful paradigm for enabling language models to ``think'' longer and more carefully about complex challenges, much like skilled human experts. While reinforcement learning (RL) can drive self-improvement in language models on verifiable tasks, some models exhibit substantial gains while others quickly plateau. For instance, we find that Qwen-2.5-3B far exceeds Llama-3.2-3B under identical RL training for the game of Countdown. This discrepancy raises a critical question: what intrinsic properties enable effective self-improvement? We introduce a framework to investigate this question by analyzing four key cognitive behaviors -- verification, backtracking, subgoal setting, and backward chaining -- that both expert human problem solvers and successful language models employ. Our study reveals that Qwen naturally exhibits these reasoning behaviors, whereas Llama initially lacks them. In systematic experimentation with controlled behavioral datasets, we find that priming Llama with examples containing these reasoning behaviors enables substantial improvements during RL, matching or exceeding Qwen's performance. Importantly, the presence of reasoning behaviors, rather than correctness of answers, proves to be the critical factor -- models primed with incorrect solutions containing proper reasoning patterns achieve comparable performance to those trained on correct solutions. Finally, leveraging continued pretraining with OpenWebMath data, filtered to amplify reasoning behaviors, enables the Llama model to match Qwen's self-improvement trajectory. Our findings establish a fundamental relationship between initial reasoning behaviors and the capacity for improvement, explaining why some language models effectively utilize additional computation while others plateau.

解读

一句话总结

该论文研究了认知行为如何促进语言模型通过强化学习进行自我改进,并发现特定的认知行为(如验证、回溯、子目标设置和反向链)对模型改进能力至关重要。

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

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

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

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

来源