RL后训练如何诱导技能组合?基于Countdown任务的案例研究
How Does RL Post-training Induce Skill Composition? A Case Study on Countdown
研究以Countdown任务为案例,将模型解答解析为表达式树,每个子树对应可复用的子任务即"技能",追踪树形与成功率随训练的变化。结果显示模型对更大n和未见树形具备OOD泛化能力,体现子任务的组合复用;技能习得顺序取决于组合结构,模型先掌握浅层平衡树,再掌握深层非平衡树,固定组合深度下右重结构持续脆弱。
arXiv:2512.01775v2 Announce Type: replace Abstract: 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org