计算机科学 > 机器学习
[提交于 2025年12月1日 (v1),最后修订于 2026年10月22日 (此版本, v2)]
标题:How Does RL Post-training Induce Skill Composition? A Case Study on Countdown
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Simon Park[v1] 2025年12月1日 星期一 15:17:16 UTC (753 KB)
[v2] 2026年10月22日 星期四 17:59:20 UTC (1,825 KB)