mlsanityData to 7 Oct 2026

Process-Supervised Reinforcement Learning for Code Generation

arXiv 2502.01715 ↗First posted 3 Feb 2025cs.SE cs.AIcited by 21

Not on the map. Why?

Abstract (arXiv)

Existing reinforcement learning strategies based on outcome supervision have proven effective in enhancing the performance of large language models(LLMs) for code generation. While reinforcement learning based on process supervision has shown great promise in handling multi-step reasoning tasks, its effectiveness in code generation remains largely underexplored and underjustified. The primary obstacle stems from the resource-intensive nature of constructing high-quality process-supervised data, which demands substantial human expertise and computational resources. In response to this challenge, we propose a "statement mutation/refactoring-compile and execution verification" strategy: mutating and refactoring code line-by-line through a teacher model, and utilizing compiler execution results to automatically label each line, resulting in line-by-line process-supervised data, which is pivotal for training a process-supervised reward model. The trained reward model is then integrated into the PRLCoder framework, followed by experimental validation on several benchmarks. Experimental results demonstrate that process-supervised reinforcement learning significantly surpasses methods relying solely on outcome supervision. Notably, in tackling complex code generation tasks, process-supervised reinforcement learning shows a clear advantage, ensuring both the integrity of the code generation process and the correctness of the generation results.

Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 47 of its 59 references that are in the map. First posted on arXiv 3 Feb 2025.

Builds on

47 of 59 references.

References · 47

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2017Proximal Policy Optimization Algorithmscited by 14,441
  6. 2024The Llama 3 Herd of Modelscited by 14,192
  7. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  8. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  9. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  10. 2023Let's Verify Step by Stepcited by 3,598
  11. 2021Program Synthesis with Large Language Modelscited by 3,509
  12. 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
35 more
  1. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  2. 2015Deep Reinforcement Learning with Double Q-learningcited by 1,704
  3. 2016Concrete Problems in AI Safetycited by 1,582
  4. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  5. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  6. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
  7. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  8. 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
  9. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  10. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  11. 2022Solving math word problems with process- and outcome-based feedbackcited by 871
  12. 2023StarCoder: may the source be with you!cited by 790
  13. 2023Open Problems and Fundamental Limitations of Reinforcement Learning from Human Feedbackcited by 743
  14. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
  15. 2024A Survey on Large Language Models for Code Generationcited by 646
  16. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  17. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  18. 2024Improve Mathematical Reasoning in Language Models by Automated Process Supervisioncited by 426
  19. 2023Fine-Grained Human Feedback Gives Better Rewards for Language Model Trainingcited by 399
  20. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  21. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
  22. 2021Recursively Summarizing Books with Human Feedbackcited by 287
  23. 2023Human Preference Score: Better Aligning Text-to-Image Models with Human Preferencecited by 284
  24. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
  25. 2019SPoC: Search-based Pseudocode to Codecited by 176
  26. 2022Large Language Models Meet NL2Code: A Surveycited by 135
  27. 2023RLTF: Reinforcement Learning from Unit Test Feedbackcited by 110
  28. 2023Let's reward step by step: Step-Level reward model as the Navigators for Reasoningcited by 96
  29. 2024StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedbackcited by 74
  30. 2022Compilable Neural Code Generation with Compiler Feedbackcited by 46
  31. 2016Towards End-to-End Reinforcement Learning of Dialogue Agents for Information Accesscited by 36
  32. 2024CodeDPO: Aligning Code Models with Self Generated and Verified Source Codecited by 32
  33. 2017Hybrid Code Networks: practical and efficient end-to-end dialog control with supervised and reinforcement learningcited by 31
  34. 2024Process Supervision-Guided Policy Optimization for Code Generationcited by 25
  35. 2023PPO-Clip Attains Global Optimality: Towards Deeper Understandings of Clippingcited by 17

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 13; 2026: 8.

21 papers.

Sort:

By area:

  1. 2025The Landscape of Agentic Reinforcement Learning for LLMs: A Surveycited by 195
  2. 2025StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimizationcited by 82
  3. 2025A Survey on Agentic Multimodal Large Language Modelscited by 19
  4. 2025Scoring Verifiers: Evaluating Synthetic Verification for Code and Reasoningcited by 8
  5. 2025Beyond Pipelines: A Survey of the Paradigm Shift toward Model-Native Agentic AIcited by 8
  6. 2025MOSS-ChatV: Reinforcement Learning with Process Reasoning Reward for Video Temporal Reasoningcited by 7
  7. 2025Improving LLM-Generated Code Quality with GRPOcited by 5
  8. 2025How Many Code and Test Cases Are Enough? Evaluating Test Cases Generation from a Binary-Matrix Perspectivecited by 4
  9. 2026Beyond Binary: Turning Partial Success into Dense Verifiable Rewards for Reinforcement Learning in Code Generationcited by 3
  10. 2025WebRenderBench: Enhancing Web Interface Generation through Layout-Style Consistency and Reinforcement Learningcited by 2
  11. 2025SLMFix: Leveraging Small Language Models for Domain Specific Language Error Fixing with Reinforcement Learningcited by 2
  12. 2026RM -RF: Reward Model for Run-Free Unit Test Evaluationcited by 2
9 more
  1. 2026Beyond Trajectory Rewards: Step-level Credit Assignment for Agentic Search via Graph Modelingcited by 2
  2. 2025From Static to Dynamic: Adaptive Monte Carlo Search for Mathematical Process Supervisioncited by 1
  3. 2025Reinforcement Learning-Guided Chain-of-Draft for Token-Efficient Code Generationcited by 1
  4. 2025CosmoCore-Evo: Evolutionary Dream-Replay Reinforcement Learning for Adaptive Code Generationcited by 0
  5. 2026BatCoder: Self-Supervised Bidirectional Code-Documentation Learning via Back-Translationcited by 0
  6. 2026Adapt to Thrive! Adaptive Power-Mean Policy Optimization for Improved LLM Reasoningcited by 0
  7. 2026Primal Generation, Dual Judgment: Self-Training from Test-Time Scalingcited by 0
  8. 2026StepPRM-RTL: Stepwise Process-Reward Guided LLM Fine-Tuning for Enhanced RTL Synthesiscited by 0
  9. 2026Reinforcement Learning from Intermediate Renders for Image-to-Code Generationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Do We Need to Verify Step by Step? Rethinking Process Supervision from a Theoretical Perspective
  2. 2024Reasoning Through Execution: Unifying Process and Outcome Rewards for Code Generation
  3. 2026Function-Level Execution Feedback for Code Preference Optimization
  4. 2025ReCode: Reinforcing Code Generation with Reasoning-Process Rewards
  5. 2026Inducing Process Supervision from Outcome-Only Reinforcement Learning
  6. 2026Internalizing Outcome Supervision into Process Supervision: A New Paradigm for Reinforcement Learning for Reasoning
  7. 2023Execution-based Code Generation using Deep Reinforcement Learning
  8. 2025Hybrid Reward Normalization for Process-supervised Non-verifiable Agentic Tasks