RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
Summary
Meta RLEF fine-tunes Llama 3 with PPO using public-test execution feedback; Llama 3.1 70B CodeContests improve from ~27.5% to ~40.1% (1@3). Cited by Philipp Schmid LinkedIn re Anthropic coding quality.
- Venue
- arXiv 2410.02089
- Publisher
- arXiv 2410.02089
- Source
- arxiv
- Access
- open arXiv PDF/abs
- License
- arXiv non-exclusive
- License family
- Other
- Purpose
- Ground code LLMs in execution feedback via RL (RLEF) on CodeContests-style tasks
- Scale
- Llama 3 8B/70B; CodeContests eval
- Domain
- code LLMs; RL with execution feedback
- Used for
- Code RL; execution-feedback post-training
- Time period
- arXiv 2024-10; Discord LinkedIn mid 2024-11-06
- Author type
- industry research (Meta)
- Added
- Oct 2, 2026
- Found via
- #random-papers
From the source
- Published
- Oct 2, 2024
- Last revised
- Feb 18, 2025
- arXiv categories
- cs.CL, cs.AI
- Author comment
- Add repair model ablation, update related work
- Citations
- 181 (6 influential)
- References
- 52
- Published in
- International Conference on Machine Learning
Abstract (from arXiv)
Large language models (LLMs) deployed as agents solve user-specified tasks over multiple steps while keeping the required manual engagement to a minimum. Crucially, such LLMs need to ground their generations in any feedback obtained to reliably achieve the desired outcomes. We propose an end-to-end reinforcement learning method for teaching models to leverage execution feedback in the realm of code synthesis, where state-of-the-art LLMs struggle to improve code iteratively compared to independent sampling. We benchmark on competitive programming tasks, where we achieve new state-of-the art results with both small (8B parameters) and large (70B) models while reducing the amount of samples required by an order of magnitude. Our analysis of inference-time behavior demonstrates that our method produces LLMs that effectively leverage automatic feedback over multiple steps.
Tags
Topics
code LLMs; RL with execution feedback
Research notes
- Resolved from LinkedIn philipp-schmid Anthropic-coding post (Discord mid 1303849791200956487). Primary: arXiv abs.
Cites, within this collection
Cited by, within this collection
Similar entries
- Paper Extrapolative Weight Averaging Reveals Correctness-Efficiency Frontiers in Code RL
- Paper Harness Learning Enables Generalizable Test-Time Adaptation
- Paper Reinforcement Learning for Code Optimization
- Paper AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents
- Thread Reward design lessons from 7,780 MiMo RL environments (X thread)
- Code Orbit: Stable and Efficient Reinforcement Learning for Trillion-Parameter LLMs