Code-TVT: Synthesizing Test-Case-Driven Verifiable Tasks for Code Reinforcement Learning

作者: Jin Jiang, Junlong Zhang, Yuchen Yan, Zhaoze, Changzhi Zhou, Suncong Zheng, Liangcai Gao

摘要

Verifiers play a central role in large language model reasoning by providing reliable supervision for post-training methods such as reinforcement learning. In code generation, however, verification is still predominantly based on fixed test cases, offering a narrow but underexploited form of verifiable supervision. We explore how existing test cases can be reformulated into more diverse and challenging sources of verifiable training signals. We propose Code-TVT (Test-Case-Driven Verifiable Tasks), a data synthesis framework that transforms program test cases into intrinsically verifiable code reasoning tasks. Using test cases already available in programming problems, we design two complementary tasks: Edge Test-Case Generation, which constructs edge-case inputs that expose subtle correctness failures, and Input Reconstruction via Program Output Inversion, which reasons backward from outputs to plausible inputs under execution-based verification. Experiments show that training with Code-TVT consistently improves code generation performance on three time-windowed LiveCodeBench splits (LCB-2408-2411, LCB-V5, and LCB-V6) under rejection-sampling fine-tuning and Group Relative Policy Optimization.

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

可以直接复制这句话问 AI

用 Paperlist 找和「Code-TVT: Synthesizing Test-Case-Driven Verifiable Tasks for Code Reinforcement Learning」相似的论文(id: 239375,EMNLP 2026)
set up https://paperlist.ai/SKILL.md

接入 MCP命令行 CLI