A Deep Dive into Scaling RL for Code Generation with Synthetic Data and Curricula
On the map: Synthetic data and self-improvement for LLMs → Code and instruction data synthesis
Abstract (arXiv)
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.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in Code and instruction data synthesis, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 27 of its 31 references that are in the map. First posted on arXiv 25 Mar 2026.
Builds on
27 of 31 references.
Closest ancestors · 1
Same direction, newest first
Other references · 26
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2025Qwen3 Technical Reportcited by 8,195
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2025The Entropy Mechanism of Reinforcement Learning for Reasoning Language Modelscited by 463
- 2025Absolute Zero: Reinforced Self-play Reasoning with Zero Datacited by 323
- 2025Logic-RL: Unleashing LLM Reasoning with Rule-Based Reinforcement Learningcited by 260
- 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 251
- 2025Online Difficulty Filtering for Reasoning Oriented Reinforcement Learningcited by 100
14 more
- 2025CWM: An Open-Weights LLM for Research on Code Generation with World Modelscited by 87
- 2025GRPO-LEAD: A Difficulty-Aware Reinforcement Learning Approach for Concise Mathematical Reasoning in Language Modelscited by 81
- 2017Intrinsically Motivated Goal Exploration Processes with Automatic Curriculum Learningcited by 79
- 2025STP: Self-play LLM Theorem Provers with Iterative Conjecturing and Provingcited by 77
- 2024Training Large Language Models for Reasoning through Reverse Curriculum Reinforcement Learningcited by 63
- 2025Self-Challenging Language Model Agentscited by 56
- 2024Learning Formal Mathematics From Intrinsic Motivationcited by 45
- 2025Synthetic Data Generation & Multi-Step RL for Reasoning & Tool Usecited by 45
- 2025DUMP: Automated Distribution-Level Curriculum Learning for RL-based LLM Post-trainingcited by 45
- 2024Curry-DPO: Enhancing Alignment using Curriculum Learning & Ranked Preferencescited by 39
- 2025SwS: Self-aware Weakness-driven Problem Synthesis in Reinforcement Learning for LLM Reasoningcited by 39
- 2025Synthetic Data RL: Task Definition Is All You Needcited by 15
- 2025SPARQ: Synthetic Problem Generation for Reasoning via Quality-Diversity Algorithmscited by 7
- 2025Generative Data Refinement: Just Ask for Better Datacited by 6
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025QueST: Incentivizing LLMs to Generate Difficult Problems
- 2024StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedback
- 2024TeaMs-RL: Teaching LLMs to Generate Better Instruction Datasets via Reinforcement Learning
- 2026Scaling Data Difficulty: Improving Coding Models via Reinforcement Learning on Fresh and Challenging Problems
- 2025Synthetic Data Generation Using Large Language Models: Advances in Text and Code
- 2026Mid-Training with Self-Generated Data Improves Reinforcement Learning in Language Models
- 2025Agent RL Scaling Law: Agent RL with Spontaneous Code Execution for Mathematical Problem Solving
- 2025Increasing LLM Coding Capabilities through Diverse Synthetic Coding Tasks