CVeDRL: An Efficient Code Verifier via Difficulty-aware Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
Code verifiers play a critical role in post-verification for LLM-based code generation, yet existing supervised fine-tuning methods suffer from data scarcity, high failure rates, and poor inference efficiency. While reinforcement learning (RL) offers a promising alternative by optimizing models through execution-driven rewards without labeled supervision, our preliminary results show that naive RL with only functionality rewards fails to generate effective unit tests for difficult branches and samples. We first theoretically analyze showing that branch coverage, sample difficulty, syntactic and functional correctness can be jointly modeled as RL rewards, where optimizing these signals can improve the reliability of unit-test-based verification. Guided by this analysis, we design syntax- and functionality-aware rewards and further propose branch- and sample-difficulty--aware RL using exponential reward shaping and static analysis metrics. With this formulation, CVeDRL achieves state-of-the-art performance with only 0.6B parameters, yielding up to 28.97% higher pass rate and 15.08% higher branch coverage than GPT-3.5, while delivering over 20× faster inference than competitive baselines. Code is available at https://github.com/LIGHTCHASER1/CVeDRL.git
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 32 references that are in the map. First posted on arXiv 30 Jan 2026.
Builds on
16 of 32 references.
References · 16
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2023Let's Verify Step by Stepcited by 3,598
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wildcited by 505
- 2022CodeT: Code Generation with Generated Testscited by 369
- 2025Inference-Time Scaling for Generalist Reward Modelingcited by 233
- 2022Natural Language to Code Translation with Executioncited by 122
- 2024StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedbackcited by 74
4 more
- 2024HITS: High-coverage LLM-based Unit Test Generation via Method Slicingcited by 37
- 2024CoverUp: Effective High Coverage Test Generation for Pythoncited by 36
- 2025Dynamic Scaling of Unit Tests for Code Reward Modelingcited by 31
- 2025Enhancing LLM-Based Code Generation with Complexity Metrics: A Feedback-Driven Approachcited by 10
Built on by
Not cited yet.