mlsanityData to 7 Oct 2026

RLPF: Reinforcement Learning from Performance Feedback for Code Generation

arXiv 2607.27271 ↗First posted 29 Jul 2026cs.LG cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Code models are increasingly trained with execution feedback, but most training signals still stop at correctness. This leaves an important gap for systems code: two programs can pass the same tests while differing greatly in runtime. We study how to train code agents to prefer faster correct implementations, rather than treating efficiency only as an evaluation metric. The key difficulty is that runtime is a fragile reward. It is meaningful only after a program is correct, varies across tasks, and gives little guidance when most sampled programs fail to compile or run. We propose RLPF, reinforcement learning from performance feedback, which turns execution outcomes into a staged reward. Failed programs are ordered by execution progress, while correct programs are ranked by their relative improvement from the baseline toward the expert reference. This gives useful feedback before correctness and performance-sensitive feedback after correctness. Fine-tuning Qwen3-32B with RLPF on PerfCodeBench raises correct-and-runnable solutions from 11.1% to 54.6% and improves relative efficiency from 8.1% to 38.6%. The trained model becomes competitive with stronger open-weight systems, and its optimization behavior transfers modestly to EffiBench-X. Additional studies show that model-generated references provide useful but weaker supervision, and that the full composite reward is more reliable than correctness-only or runtime-only baselines. These results suggest that code agents can be trained not only to pass tests, but also to optimize the programs they write.

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

Builds on

25 of 37 references.

References · 25

  1. 2017Proximal Policy Optimization Algorithmscited by 14,441
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  3. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  4. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  5. 2021Measuring Coding Challenge Competence With APPScited by 879
  6. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  7. 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 146
  8. 2023RLTF: Reinforcement Learning from Unit Test Feedbackcited by 110
  9. 2023PanGu-Coder2: Boosting Large Language Models for Code with Ranking Feedbackcited by 69
  10. 2024Evaluating Language Models for Efficient Code Generationcited by 69
  11. 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 62
  12. 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 59
13 more
  1. 2025EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Codecited by 24
  2. 2024PerfCodeGen: Improving Performance of LLM Generated Code with Execution Feedbackcited by 22
  3. 2025CodeRL+: Improving Code Generation via Reinforcement with Execution Semantics Alignmentcited by 22
  4. 2025COFFE: A Code Efficiency Benchmark for Code Generationcited by 18
  5. 2023B-Coder: Value-Based Deep Reinforcement Learning for Program Synthesiscited by 16
  6. 2024EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuningcited by 15
  7. 2026DevBench: A Realistic, Developer-Informed Benchmark for Code Generation Modelscited by 8
  8. 2026CodeScaler: Scaling Code LLM Training and Test-Time Inference via Reward Modelscited by 5
  9. 2026CoRe-Code: Collaborative Reinforcement Learning for Code Generationcited by 4
  10. 2026MaxCode: A Max-Reward Reinforcement Learning Framework for Automated Code Optimizationcited by 3
  11. 2026Large Language Model-Powered Evolutionary Code Optimization on a Phylogenetic Treecited by 2
  12. 2026PerfCodeBench: Benchmarking LLMs for System-Level High-Performance Code Optimizationcited by 2
  13. 2026Improving Small Language Models for Code Generation with Reinforcement Learning from Verification Feedbackcited by 1

Built on by

Not cited yet.