Pith. sign in

REVIEW 3 cited by

$\textbf{PLUM}$: Improving Code LMs with Execution-Guided On-Policy Preference Learning Driven By Synthetic Test Cases

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2406.06887 v4 pith:KAN4ECZN submitted 2024-06-11 cs.CL cs.AIcs.LGcs.PLcs.SE

classification cs.CLcs.AIcs.LGcs.PLcs.SE
keywords preferencecodeplumon-policytextbfdatalearningcases
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
abstract

Preference learning provides a promising solution to address the limitations of supervised fine-tuning (SFT) for code language models, where the model is not explicitly trained to differentiate between correct and incorrect code. Recent findings demonstrate that on-policy data is the key to successful preference learning, where the preference data is collected using the same policy LM being trained. Inspired by this, we propose PLUM, an on-policy $\textbf{P}$reference $\textbf{L}$earning framework A$\textbf{u}$gmented with test cases for code L$\textbf{M}$ s. The framework operates in three key stages: (1) automatic generation of test cases from natural language instructions, (2) creation of a preference data by evaluating candidate code solutions sampled from the policy, which can then be used to (3) train the policy LM. PLUM levitates the need to train reward models, allowing for large scale on-policy and online preference data collation. PLUM is evaluated on both standard benchmarks (HumanEval, MBPP) and more challenging ones (LiveCodeBench), delivering substantial improvements over original SFT'ed models and other execution-feedback-driven approaches. We show PLUM's benefits are consistent across various widely-used code LMs even they have been well-trained with SFT. For example, PLUM increases pass rates by up to 4.8% on average on standard benchmarks and 11.8% on LiveCodeBench, demonstrating its effectiveness and generalizability. We also demonstrate the benefits of on-policy and online preference learning by comprehensive experimentation.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. DHRCL:Training Code LLMs with Dense Hierarchical Rewards and Curriculum Learning

    cs.LG 2026-07 conditional novelty 6.0 of 10

    DHRCL stages syntax, execution, test-pass, and AST-similarity rewards during code-LLM RL and redistributes token credit by stage, yielding about a 1-point average Pass@1 gain across Qwen3 scales.

  2. Insights from Verification: Training a Verilog Generation LLM with Reinforcement Learning with Testbench Feedback

    cs.AR 2025-04 conditional novelty 6.0 of 10

    VeriPrefer improves Verilog generation LLMs by automatically building testbenches, using them to construct preference pairs, and training with direct preference optimization to increase functional correctness.

  3. DSTC: Direct Preference Learning with Only Self-Generated Tests and Code to Improve Code LMs

    cs.SE 2024-11 conditional novelty 5.0 of 10

    DSTC builds preference pairs by selecting the hardest self-generated test that the best self-generated code passes, then fine-tunes code LMs with DPO or KTO to improve pass@1 accuracy.

Pith tools