Coarse-Tuning Models of Code with Reinforcement Learning Feedback
Abhinav Jain, Chima Adiole, Thomas Reps, Swarat Chaudhuri, Chris Jermaine
OpenReview ground truth
TL;DR — Coarse-tuning models of code with reinforcement learning feedback
Abstract
Large Language Models (LLMs) pre-trained on code have recently emerged as the dominant approach to program synthesis. However, these models are trained using next-token prediction, which ignores the syntax and semantics of code. We propose RLCF, that further trains a pre-trained LLM via reinforcement learning, using feedback from a grounding function that scores the quality of the code. The grounding function uses (i) compiler-derived feedback on whether the code it generates passes a set of correctness checks; and (ii) feedback from a different LLM that compares the generated code to a reference code. RLCF is model- and language-agnostic. We empirically evaluate it on the MBJP and MathQA tasks for Java. Our experiments show that RLCF raises the odds that an LLM-generated program compiles, is executable, and produces the right output on tests, often allowing LLMs to match the performance of 2x-8x larger LLMs.
Author context
Most prolific author: 7 submissions (credibility 1.00).
No mass-submission penalty for this paper (authors within normal submission volume).
Aggregate statistics only — no individual author rankings.
Ranking trajectory
Percentile by tournament round — convergence indicates rating stability.
Battle history — 36 comparisons
Ranked above opponent in 46% of matchups.
- ▲ beat Improving Compositional Text-to-image Gene… ×6
- ▼ lost to In-Context Learning Learns Label Relations… ×4
- ▼ lost to Simple-TTS: End-to-End Text-to-Speech Synt… ×4
- ▼ lost to Generative Pre-Trained Speech Language Mod… ×4
- ▼ lost to Diffusion in Diffusion: Cyclic One-Way Dif… ×4
Judge assessments
Mean overall score 0.0 ± 0.0 (n = 36)