mlsanityData to 7 Oct 2026

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

arXiv 2603.24202 ↗First posted 25 Mar 2026cs.LG cs.AIcited by 3

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

  1. 2025Learning to Solve and Verify: A Self-Play Framework for Code and Test Generation20 Feb

Other references · 26

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  3. 2025Qwen3 Technical Reportcited by 8,195
  4. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  5. 2024Qwen2.5 Technical Reportcited by 4,713
  6. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
  7. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  8. 2025The Entropy Mechanism of Reinforcement Learning for Reasoning Language Modelscited by 463
  9. 2025Absolute Zero: Reinforced Self-play Reasoning with Zero Datacited by 323
  10. 2025Logic-RL: Unleashing LLM Reasoning with Rule-Based Reinforcement Learningcited by 260
  11. 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 251
  12. 2025Online Difficulty Filtering for Reasoning Oriented Reinforcement Learningcited by 100
14 more
  1. 2025CWM: An Open-Weights LLM for Research on Code Generation with World Modelscited by 87
  2. 2025GRPO-LEAD: A Difficulty-Aware Reinforcement Learning Approach for Concise Mathematical Reasoning in Language Modelscited by 81
  3. 2017Intrinsically Motivated Goal Exploration Processes with Automatic Curriculum Learningcited by 79
  4. 2025STP: Self-play LLM Theorem Provers with Iterative Conjecturing and Provingcited by 77
  5. 2024Training Large Language Models for Reasoning through Reverse Curriculum Reinforcement Learningcited by 63
  6. 2025Self-Challenging Language Model Agentscited by 56
  7. 2024Learning Formal Mathematics From Intrinsic Motivationcited by 45
  8. 2025Synthetic Data Generation & Multi-Step RL for Reasoning & Tool Usecited by 45
  9. 2025DUMP: Automated Distribution-Level Curriculum Learning for RL-based LLM Post-trainingcited by 45
  10. 2024Curry-DPO: Enhancing Alignment using Curriculum Learning & Ranked Preferencescited by 39
  11. 2025SwS: Self-aware Weakness-driven Problem Synthesis in Reinforcement Learning for LLM Reasoningcited by 39
  12. 2025Synthetic Data RL: Task Definition Is All You Needcited by 15
  13. 2025SPARQ: Synthetic Problem Generation for Reasoning via Quality-Diversity Algorithmscited by 7
  14. 2025Generative Data Refinement: Just Ask for Better Datacited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025QueST: Incentivizing LLMs to Generate Difficult Problems
  2. 2024StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedback
  3. 2024TeaMs-RL: Teaching LLMs to Generate Better Instruction Datasets via Reinforcement Learning
  4. 2026Scaling Data Difficulty: Improving Coding Models via Reinforcement Learning on Fresh and Challenging Problems
  5. 2025Synthetic Data Generation Using Large Language Models: Advances in Text and Code
  6. 2026Mid-Training with Self-Generated Data Improves Reinforcement Learning in Language Models
  7. 2025Agent RL Scaling Law: Agent RL with Spontaneous Code Execution for Mathematical Problem Solving
  8. 2025Increasing LLM Coding Capabilities through Diverse Synthetic Coding Tasks