EMNLP 2026Findings

CVeDRL: An Efficient Code Verifier via Difficulty-aware Reinforcement Learning

作者: Ji Shi, Peiming Guo, Meishan Zhang, Miao Zhang, Xuebo Liu, Weili Guan, Min Zhang

摘要

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 performance with only 0.6B parameters, outperforming GPT-4o by up to 17.55% in pass rate with over 20 faster inference than competitive baselines.

PDF打开原文
用 AI 找相似论文

可以直接复制这句话问 AI

用 Paperlist 找和「CVeDRL: An Efficient Code Verifier via Difficulty-aware Reinforcement Learning」相似的论文(id: 242369,EMNLP 2026)
set up https://paperlist.ai/SKILL.md

接入 MCP命令行 CLI