mlsanityData to 7 Oct 2026

Improving LLM Code Generation via Requirement-Aware Curriculum Reinforcement Learning

arXiv 2605.00433 ↗First posted 1 May 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Code generation, which aims to automatically generate source code from given programming requirements, has the potential to substantially improve software development efficiency. With the rapid advancement of large language models (LLMs), LLM-based code generation has attracted widespread attention from both academia and industry. However, as programming requirements become increasingly complex, existing LLMs still exhibit notable performance limitations. To address this challenge, recent studies have proposed training-based curriculum reinforcement learning (CRL) strategies to improve LLM code generation performance. Despite their effectiveness, existing CRL approaches suffer from several limitations, including misaligned requirement difficulty perception, the absence of requirement difficulty optimization, and suboptimal curriculum sampling strategies. In CRL-based code generation, programming requirements serve as the sole input to the model, making their quality and difficulty critical to training effectiveness. Motivated by insights from software requirements engineering, we propose RECRL, a novel requirement-aware curriculum reinforcement learning framework for enhancing LLM-based code generation. RECRL automatically perceives model-specific requirement difficulty, optimizes challenging requirements to improve training data utilization, and employs an adaptive curriculum sampling strategy to construct training batches with smoothly varying difficulty. Extensive experiments on five state-of-the-art LLMs across five widely-used code generation benchmarks by comparing with five state-of-the-art baselines, demonstrate the significant effectiveness of RECRL. For example, RECRL achieves an average Pass@1 improvement of 1.23%-5.62% over all state-of-the-art baselines.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 37 of its 48 references that are in the map. First posted on arXiv 1 May 2026.

Builds on

37 of 48 references.

References · 37

  1. 2022Training language models to follow instructions with human feedbackcited by 15,712
  2. 2017Proximal Policy Optimization Algorithmscited by 14,441
  3. 2024The Llama 3 Herd of Modelscited by 14,192
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  6. 2021Program Synthesis with Large Language Modelscited by 3,509
  7. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  8. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  9. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
  10. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  11. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  12. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
25 more
  1. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  2. 2021Measuring Coding Challenge Competence With APPScited by 879
  3. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  4. 2024A Survey on Large Language Models for Code Generationcited by 646
  5. 2021Asleep at the Keyboard? Assessing the Security of GitHub Copilot's Code Contributionscited by 417
  6. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
  7. 2020Curriculum Learning for Reinforcement Learning Domains: A Framework and Surveycited by 350
  8. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
  9. 2024WebRL: Training LLM Web Agents via Self-Evolving Online Curriculum Reinforcement Learningcited by 243
  10. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
  11. 2025Self-Evolving Curriculum for LLM Reasoningcited by 107
  12. 2025Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scalingcited by 93
  13. 2025Curriculum Reinforcement Learning from Easy to Hard Tasks Improves LLM Reasoningcited by 89
  14. 2024StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedbackcited by 74
  15. 2024Training Large Language Models for Reasoning through Reverse Curriculum Reinforcement Learningcited by 63
  16. 2025Uncertainty-Guided Chain-of-Thought for Code Generation with LLMscited by 30
  17. 2023Chain-of-Thought in Neural Code Generation: From and For Lightweight Language Modelscited by 27
  18. 2023Catastrophic Forgetting in Deep Learning: A Comprehensive Taxonomycited by 24
  19. 2022AixBench: A Code Generation Benchmark Datasetcited by 22
  20. 2024Curriculum Learning for Small Code Language Modelscited by 22
  21. 2024Enhancing Code Generation Performance of Smaller Models by Distilling the Reasoning Ability of LLMscited by 17
  22. 2023Fixing Large Language Models' Specification Misunderstanding for Better Code Generationcited by 16
  23. 2025CodeBoost: Boosting Code LLMs by Squeezing Knowledge from Code Snippets with RLcited by 7
  24. 2024Improving FIM Code Completions via Context & Curriculum Based Learningcited by 6
  25. 2025Aligning Requirement for Large Language Model's Code Generationcited by 4

Built on by

Not cited yet.