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

强化学习后训练如何诱导技能组合?一个倒计时案例研究

How Does RL Post-training Induce Skill Composition? A Case Study on Countdown

Princeton Language and Intelligence (PLI), Princeton University(普林斯顿语言与智能研究所(PLI)、普林斯顿大学)

Simon Park, Simran Kaur, Sanjeev Arora

AI总结:

本研究通过倒计时任务分析强化学习后训练如何诱导技能组合,揭示了模型在不同树结构上的学习顺序和泛化能力差异。

摘要:

尽管强化学习(RL)成功地增强了大语言模型的推理能力,但其在促进组合泛化(即从已知组件合成新技能的能力)方面的作用往往被与单纯的长度泛化混淆。为此,我们研究RL后训练如何教授关于技能组合的知识,以及组合结构如何影响技能迁移。我们聚焦于倒计时任务(给定n个数字和一个目标,形成一个评估为目标的表达式),并分析模型解决方案作为表达式树,其中每个子树对应于一个可重用的子任务,因此可以被视为一个“技能”。跟踪树的形状及其成功率随训练的变化,我们发现:(i)对分布外(OOD)的泛化,包括对更大n值和未见过的树形状的泛化,表明对子任务的组合重用;(ii)一种结构依赖的可学习性层次——模型在掌握浅层平衡树(子任务之间的工作量平衡)之前,先掌握深层不平衡树,即使在深度相同的情况下,右偏结构仍然表现出持续的脆弱性。我们的诊断揭示了学习了什么、在什么顺序、以及泛化失败的地方,澄清了仅RL后训练如何诱导超出标准指标如pass@k之外的OOD泛化。

英文摘要:

While reinforcement learning (RL) successfully enhances reasoning in large language models, its role in fostering compositional generalization (the ability to synthesize novel skills from known components) is often conflated with mere length generalization. To this end, we study what RL post-training teaches about skill composition and how the composition structure affects the skill transfer. We focus on the Countdown task (given n numbers and a target, form an expression that evaluates to the target) and analyze model solutions as expression trees, where each subtree corresponds to a reusable subtask and thus can be viewed as a "skill." Tracking tree shapes and their success rates over training, we find: (i) out-of-distribution (OOD) generalization to larger n and to unseen tree shapes, indicating compositional reuse of subtasks; (ii) the order of skill acquisition depends upon the composition structure---models master shallow balanced trees (workload is balanced between subtasks) before deep unbalanced ones, with persistent fragility on right-heavy structures for a fixed composition depth. Our diagnostic reveals what is learned, in what order, and where generalization fails, clarifying how RL-only post-training induces OOD generalization beyond what standard metrics such as pass@k reveal. To study the implications of our findings for real-world tasks, we present a preliminary study on formal theorem proving.

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

↑