Entropy-Regularized Rank-Masked Policy Optimization for Test-Time Reinforcement Learning in Code Generation
Not on the map. Why?
Abstract (arXiv)
Existing methods for test-time reinforcement learning (TTRL) derive rewards from answer-level self-voting on unlabeled test-time tasks with canonical answers, but this breaks down for code generation because programs cannot be compared by surface form and therefore do not directly provide a usable training signal. To make TTRL applicable to code generation, we propose probe-driven TTRL, which constructs output-free probe inputs from the problem statement, executes candidate programs on these probes, and defines a Probe Consensus Reward (PCR) from the resulting behavioral agreement. PCR provides a behavioral training signal for open-vocabulary programs, but it is not a fully reliable verifier and remains susceptible to reward hacking through spurious consensus. We therefore introduce Entropy-Regularized Rank-Masked Policy Optimization (ERPO), which converts low PCR into conservative negative updates through rank masking and controls policy drift with an entropy ceiling. On coding benchmarks, ERPO substantially improves pass@1 and pass@k in both in-domain adaptation and zero-shot transfer.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 22 of its 27 references that are in the map. First posted on arXiv 8 Sep 2026.
Builds on
22 of 27 references.
References · 22
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,004
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
- 2022CodeT: Code Generation with Generated Testscited by 384
- 2025The Surprising Effectiveness of Negative Reinforcement in LLM Reasoningcited by 162
- 2023TACO: Topics in Algorithmic COde generation datasetcited by 160
- 2022Natural Language to Code Translation with Executioncited by 124
- 2025S*: Test Time Scaling for Code Generationcited by 98
10 more
- 2024Bugs in Large Language Models Generated Code: An Empirical Studycited by 60
- 2025Evolving Language Models without Labels: Majority Drives Selection, Novelty Promotes Variationcited by 45
- 2026How Far Can Unsupervised RLVR Scale LLM Training?cited by 30
- 2025HardTests: Synthesizing High-Quality Test Cases for LLM Codingcited by 23
- 2024Divide-and-Conquer Meets Consensus: Unleashing the Power of Functions in Code Generationcited by 19
- 2025Scaling Test-Time Compute to Achieve IOI Gold Medal with Open-Weight Modelscited by 10
- 2026Tool Verification for Test-Time Reinforcement Learningcited by 9
- 2026ZeroCoder: Can LLMs Improve Code Generation Without Ground-Truth Supervision?cited by 2
- 2026Majority Voting for Code Generationcited by 1
- 2026Two-Stage Reinforcement Learning for Sound and Adversarial Test Generation in Code LLMscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026TaPR: Test-Aware Policy Refinement for Feedback-Conditioned Code Generation
- 2025MURPHY: Feedback-Aware GRPO with Retrospective Credit Assignment for Multi-Turn Code Generation
- 2025ETTRL: Balancing Exploration and Exploitation in LLM Test-Time Reinforcement Learning Via Entropy Mechanism
- 2026Adaptive Decoding via Test-Time Policy Learning for Self-Improving Generation
- 2026TTPO: Test-Time Policy Optimization
- 2025Co-Evolving LLM Coder and Unit Tester via Reinforcement Learning
- 2025Afterburner: Reinforcement Learning Facilitates Self-Improving Code Efficiency Optimization
- 2026TIPCODER: Reinforcement Learning Boosted Test-time Instruction Proposer for Code Generation