paper-with-me

홈 › Papers

TaPR: Test-Aware Policy Refinement for Feedback-Conditioned Code Generation

2026-08-01 · Aofan Liu, Jingxiang Meng, Fangxin Liu, Yongbiao Chen arxiv

Multi-turn code agents rely on execution feedback to repair incorrect programs, yet standard reinforcement learning paradigms optimize and evaluate policy performance primarily using single-shot outcome rewards. This misalignment conflates initial code generation with feedback-driven refinement, discards granular execution signals across intermediate turns, and fails to evaluate whether the policy actually acquires self-repair capabilities. We propose Test-aware Policy Refinement (TaPR), a framework that transforms execution feedback into a dense per-turn test-pass-ratio reward under a consistent multi-turn interaction protocol. Across six models on 219 code-generation problems from LiveCodeBench, TaPR improves the pooled three-turn success rate (Pass@3) by 2.44 percentage points. In the predefined 7B/8B high-headroom slice, pooled accuracy increases from 30.25% to 33.56% (+3.31 pp), with 42 improvements and 13 regressions in paired trials. On a matched Qwen3-8B ablation, the dense reward supplies nonzero feedback in all of the first ten steps and reaches a higher Hard-subset peak than outcome-only GRPO within the tested budget, although GRPO nearly matches pooled Pass@3 by step 300. Our primary contribution is a reward-decomposition framework and a turn-aware evaluation protocol that decouple first-shot generation quality from multi-turn repair competence.

📄 PDF Abstract BibTeX arXiv:2608.00494

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningCode Generation

Similar Papers 제목 키워드 기반

Rewarding the Scientific Process: Process-Level Reward Modeling for Agentic Data Analysis

2026-04-27 · Zhisong Qiu, Shuofei Qiao, Kewei Xu, Yuqi Zhu 외 arxiv

Process Reward Models (PRMs) have achieved remarkable success in augmenting the reasoning capabilities of Large Language Models (LLMs) within static domains such as mathematics. However, their potential in dynamic data a…

Reinforcement Learning

SVR: Self-Verifying Refinement via Joint Verdict-Confidence Reinforcement Learning for Adaptive Test-Time Compute

2026-07-30 · Hongyu Chen, Liang Lin, Guangrun Wang arxiv

Scaling test-time computation can improve language-model reasoning, but uniform budgets waste computation on easy inputs, while verifier-guided refinement relies on external feedback. We introduce Self-Verifying Refineme…

Mathematical ReasoningReinforcement Learning

BoostAPR: Boosting Automated Program Repair via Execution-Grounded Reinforcement Learning with Dual Reward Models

2026-05-09 · Yuanhao Li, Hongbo Wang, Xiaotang Shang, Xunzhu Tang 외 arxiv

Reinforcement learning for program repair is hindered by sparse execution feedback and coarse sequence-level rewards that obscure which edits actually fix bugs. We present BoostAPR, a three-stage framework addressing the…

Reinforcement LearningProgram Repair

Frontier Coding Agents Use Metaprogramming to Adapt to Unfamiliar Programming Languages

2026-06-09 · Aman Sharma, Sushrut Thorat, Paras Chopra arxiv

LLM-based coding agents are usually evaluated in familiar software settings: mainstream languages, common libraries, and public repositories. These benchmarks remain important, but they can hide how agents behave when th…

DeltaPrompts: Escaping the Zero-Delta Trap in Multimodal Distillation

2026-05-15 · Jaehun Jung, Hyunwoo Kim, Brandon Cui, Ximing Lu 외 arxiv

Distillation enables compact Vision-Language Models (VLMs) to obtain strong reasoning capabilities, yet the prompts driving this process are typically chosen via simple heuristics or aggregated from off-the-shelf dataset…