arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.24202cs.LGcs.AI
收藏

深入探讨通过合成数据和课程学习扩展强化学习用于代码生成

A Deep Dive into Scaling RL for Code Generation with Synthetic Data and Curricula

University of Tübingen(图宾根大学);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所)

Cansu Sancaktar, David Zhang, Gabriel Synnaeve, Taco Cohen

AI总结:

本文提出多轮合成数据生成流程,通过教师模型迭代优化问题难度,提升代码生成性能,并系统研究任务难度、课程调度和环境多样性对强化学习训练的影响。

摘要:

强化学习(RL)已展现出在大语言模型上超越监督微调的潜力,但规模化性能提升仍面临挑战,因为数据多样性与结构而非单纯数量成为限制因素。本文引入了一个可扩展的多轮合成数据生成流程,教师模型根据上下文学生表现总结迭代优化问题,生成结构化的难度递进,无需教师微调。与单轮生成相比,多轮方法显著提高了有效合成问题的产出,并自然产生阶梯石,即相同核心任务的易难变体,支持基于课程的学习训练。我们系统研究了任务难度、课程调度和环境多样性在Llama3.1-8B Instruct和Qwen3-8B Base模型家族中的交互,以及在Qwen2.5-32B上的额外扩展实验。结果表明,合成增强一致提升了领域内代码和大多数情况下领域外数学性能,并提供了关于课程设计和数据多样性如何共同塑造RL训练动态的实证见解。

英文摘要:

Reinforcement learning (RL) has emerged as a powerful paradigm for improving large language models beyond supervised fine-tuning, yet sustaining performance gains at scale remains an open challenge, as data diversity and structure, rather than volume alone, become the limiting factor. We address this by introducing a scalable multi-turn synthetic data generation pipeline in which a teacher model iteratively refines problems based on in-context student performance summaries, producing structured difficulty progressions without any teacher fine-tuning. Compared to single-turn generation, this multi-turn approach substantially improves the yield of valid synthetic problems and naturally produces stepping stones, i.e. easier and harder variants of the same core task, that support curriculum-based training. We systematically study how task difficulty, curriculum scheduling, and environment diversity interact during RL training across the Llama3.1-8B Instruct and Qwen3-8B Base model families, with additional scaling experiments on Qwen2.5-32B. Our results show that synthetic augmentation consistently improves in-domain code and in most cases out-of-domain math performance, and we provide empirical insights into how curriculum design and data diversity jointly shape RL training dynamics.

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

↑