MURPHY: Feedback-Aware GRPO with Retrospective Credit Assignment for Multi-Turn Code Generation
Chanakya Ekbote, Vijay Lingam, sujay sanghavi, Jun Huan, Behrooz Omidvar Tehrani, Anoop Deoras, Stefano Soatto
NeurIPS 2026
TL;DR. MURPHY extends GRPO to multi-turn, feedback-driven code generation, helping LLMs learn from failed attempts and achieve stronger self-correction performance across benchmarks.
Abstract. Reinforcement Learning with Verifiable Rewards (RLVR) has become a standard recipe for post-training LLMs on reasoning tasks, with Group Relative Policy Optimization (GRPO) emerging as a leading approach. However, GRPO and its variants are inherently single-turn: they optimize terminal rewards on isolated prompt-response pairs, leaving them poorly suited to agentic settings where models iteratively refine solutions using environmental feedback. We introduce MURPHY, a multi-turn extension of GRPO for self-correcting code generation. MURPHY constructs feedback-conditioned rollout trees in which failed candidate solutions are paired with executor feedback and expanded into subsequent turns. It then propagates rewards backward through the tree so that later successful refinements credit earlier attempts that surfaced informative feedback. We study two propagation strategies, Max Reward (MaRS) and Mean Reward (MeRS), and introduce post-rollout pruning mechanisms that reduce multi-turn optimization cost. Across three code generation benchmarks, HumanEval, MBPP, and LiveCodeBench-v6, and two model families, Qwen3-1.7B/4B and OLMo-2-7B, MURPHY delivers up to 6% absolute pass@1 gains over the strongest prior multi-turn execution-feedback methods. Gains are largest on the Medium/Hard LiveCodeBench subsets, reaching +4.38%/+4.20% at Iter-5, where iterative self-correction matters most.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper introduces MURPHY, a GRPO-compatible method for multi-turn feedback-driven code generation that retrospectively credits failed attempts when their feedback enables successful refinements. The method is simple and well motivated, and achieves consistent improvements over the evaluated multi-turn baselines across multiple code benchmarks and model configurations.
The main concern in the initial meta-review, also raised by CALu, was whether the evidence supports the broader tree-structured multi-turn framing beyond one-step retrospective credit assignment. The rebuttal provides a direct two- versus three-turn comparison, showing benefits on LiveCodeBench but little or negative improvement elsewhere. This partially addresses the concern: deeper propagation can be useful, particularly on harder tasks, but scalability and benefits for substantially deeper training-time trees remain unestablished.
Other concerns were more substantially addressed. The authors provide scaffold-controlled REVEAL comparisons and compute-matched GRPO-MT experiments, reducing the baseline and efficiency concerns raised by CALu and N9ef. Additional feedback ablations and counterfactual analyses strengthen the evidence for MaRS credit assignment, while the Sudoku experiment substantially reduces the generalization concern; N9ef subsequently considered this concern largely addressed. The remaining limitations are primarily deeper-tree scalability and the moderate algorithmic novelty noted by 1Dsq.
Overall, the empirical gains are consistent and establish an advantage over the evaluated multi-turn feedback-training baselines, although the margins are not uniformly large and the conceptual advance is relatively modest. Given the simplicity of the method, the controlled empirical evidence, and the concerns substantially addressed during rebuttal, I find the contribution sufficient for acceptance, while recognizing that it is not among the strongest accepts.
Final justification
The rebuttal substantially addresses the concerns about baseline comparability, compute, feedback validity, and generalization through additional controlled experiments. While the gains and conceptual novelty are relatively modest and deeper-tree scalability remains open, the method consistently improves over the evaluated multi-turn baselines and is sufficiently well validated to support acceptance.
Read meta-review
Meta-review
This paper introduces MURPHY, a GRPO-compatible method for multi-turn feedback-driven code generation that retrospectively credits failed attempts when their feedback enables successful refinements. The method is simple and well motivated, and achieves consistent improvements over the evaluated multi-turn baselines across multiple code benchmarks and model configurations.
The main concern in the initial meta-review, also raised by CALu, was whether the evidence supports the broader tree-structured multi-turn framing beyond one-step retrospective credit assignment. The rebuttal provides a direct two- versus three-turn comparison, showing benefits on LiveCodeBench but little or negative improvement elsewhere. This partially addresses the concern: deeper propagation can be useful, particularly on harder tasks, but scalability and benefits for substantially deeper training-time trees remain unestablished.
Other concerns were more substantially addressed. The authors provide scaffold-controlled REVEAL comparisons and compute-matched GRPO-MT experiments, reducing the baseline and efficiency concerns raised by CALu and N9ef. Additional feedback ablations and counterfactual analyses strengthen the evidence for MaRS credit assignment, while the Sudoku experiment substantially reduces the generalization concern; N9ef subsequently considered this concern largely addressed. The remaining limitations are primarily deeper-tree scalability and the moderate algorithmic novelty noted by 1Dsq.
Overall, the empirical gains are consistent and establish an advantage over the evaluated multi-turn feedback-training baselines, although the margins are not uniformly large and the conceptual advance is relatively modest. Given the simplicity of the method, the controlled empirical evidence, and the concerns substantially addressed during rebuttal, I find the contribution sufficient for acceptance, while recognizing that it is not among the strongest accepts.
Final justification
The rebuttal substantially addresses the concerns about baseline comparability, compute, feedback validity, and generalization through additional controlled experiments. While the gains and conceptual novelty are relatively modest and deeper-tree scalability remains open, the method consistently improves over the evaluated multi-turn baselines and is sufficiently well validated to support acceptance.
2 comments
Consolidated Response to the Meta-Review and Reviewer Concerns [Part-2]
5. Generalization beyond code generation: Reviewers N9ef W1/follow-up, CALu W3, and 1Dsq Q1.
We additionally ported MURPHY to Sudoku using Qwen3-1.7B. The trainer, two-stage rollout procedure, MaRS credit assignment, optimization settings, and prompt structure remain unchanged from the code experiments; only the domain interface changes. Unit-test execution becomes validation of rows, columns, boxes, and fixed clues; the reward measures correctly filled blank cells; and feedback lists violated constraints and affected cells without revealing the reference solution. We train on 2,048 puzzles and evaluate on a disjoint set of 320 puzzles.
Under the same 72-rollout budget, MURPHY reaches 63.96% at Iter-1 and 92.71% at Iter-2, compared with 43.33% and 58.13% for compute-matched GRPO-MT (as defined in the paper) improvements of +20.63 and +34.58 percentage points. Because both methods use the same two-stage interaction protocol and rollout budget, this comparison isolates retrospective credit assignment from merely training on second-turn trajectories.
Although trained with only two stages, MURPHY continues improving to 97.60% at Iter-3 and 98.44% at Iter-5, whereas GRPO-MT reaches 64.27% and 68.23%, respectively. These results show that MURPHY’s learned feedback utilization transfers to a structurally different, non-code constraint-solving domain and generalizes beyond its two-stage training horizon. See our follow-up responses to Reviewers N9ef and CALu.
Sudoku still provides immediate, programmatically verifiable feedback. We therefore view this experiment as evidence of domain generalization, complementing our robustness results for sparse, coarse, corrupted, and candidate-misaligned feedback. Delayed or human-provided feedback and substantially deeper training-time rollout trees remain outside the present evaluation.
We hope these experiments address the raised concerns and that the AC and reviewers will take the complete paper and rebuttal evidence into account in their final assessment and decision.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies how to extend GRPO to multi-turn code generation with execution feedback. Standard GRPO is mainly designed for single-turn prompt-response settings, but real code generation agents often revise their solutions over multiple turns after observing executor feedback such as error messages, stack traces, and failing test cases. To address this problem, the authors propose MURPHY, a feedback-aware GRPO method. MURPHY expands failed candidate solutions into later turns together with executor feedback, forming a feedback-conditioned rollout tree. It then propagates rewards from later successful refinements back to earlier failed attempts, so that an earlier failed attempt can receive positive credit if it produced useful feedback for later correction. The paper proposes two reward propagation strategies, MARS based on Max Reward and MERS based on Mean Reward, and also introduces pruning strategies to reduce the training cost of multi-turn rollouts.
Strengths and weaknesses
O Strengths
-
The paper addresses an important and timely problem. GRPO has recently become widely used for LLM reasoning post-training, but it is basically designed for single-turn settings. In contrast, code generation agents often execute code multiple times and revise their answers based on failure feedback. Therefore, extending GRPO to multi-turn code generation with execution feedback is practical and meaningful.
-
The proposed method is intuitive and well motivated. The paper does not treat a failed code generation simply as a bad attempt. Instead, it considers that a failed attempt may produce useful feedback that helps a later refinement. This is a reasonable motivation for retrospective credit assignment in multi-turn code generation.
-
The method is relatively simple. MURPHY does not require a separate verification policy, and it keeps the GRPO-style update while modifying the reward assignment mechanism for the multi-turn rollout tree. This makes the method easy to understand and relatively clean compared with methods that require additional verification or value-estimation components.
O Weaknesses
-
The comparison with prior multi-turn execution-feedback methods is not fully comprehensive or uniform. REVEAL is compared only in the LiveCodeBench-v6 setting with Qwen3-4B, and it is evaluated using its own official generation-verification scaffold rather than the same Reflexion scaffold used for other baselines. This introduces a cross-scaffold confound. In addition, RLEF is excluded due to compute cost, although it is one of the most directly related multi-turn RL baselines.
-
The training cost and scalability of MURPHY remain important concerns. Since MURPHY constructs feedback-conditioned rollout trees, the number of generated trajectories can grow quickly as the number of turns increases. Although the paper proposes pruning strategies, pruning is applied after rollout generation, so the generation cost and execution reward computation cost largely remain. Therefore, it is still unclear how well the method scales to longer refinement horizons or larger training datasets.
-
The evaluation scope is limited to code generation benchmarks where execution feedback is relatively clean. In repository-level debugging, issue resolution, or broader software engineering agent tasks, feedback can be noisier, delayed, or distributed across multiple files. It is therefore unclear whether MURPHY can generalize well to more complex software engineering tasks.
-
The claims of the paper depend heavily on a two-turn setting, although the method is motivated as a general multi-turn and tree-structured framework. Most main experiments use S=2, and the only three-turn result mainly compares pruned and unpruned three-turn variants. It does not clearly compare three-turn MURPHY against two-turn MURPHY. Therefore, it is unclear whether increasing the tree depth provides additional benefits, or whether the main gains mostly come from one-step retrospective credit assignment.
Questions
- Can the authors clarify how MURPHY scales when the refinement horizon becomes longer, given that pruning is applied after rollout generation?
- Can the authors compare two-turn MURPHY with three-turn or deeper MURPHY to show whether deeper rollout trees provide additional benefits?
Limitations
Yes
Final justification
I have reviewed the authors’ rebuttal and updated my score accordingly.
Formatting concerns
No
6 comments
Rebuttal
We thank reviewer CALu for the detailed feedback and thoughtful comments. Please note that below, W denotes weaknesses and Q denotes questions.
W1. (The comparison ... multi-turn RL baselines)
Comparisons with REVEAL: In the main paper, Base, GRPO-MT, μCode, and MURPHY use the same Reflexion scaffold, while REVEAL uses its official implementation and native generation–verification scaffold. We made this choice because REVEAL has a method-specific inference procedure / inference scaffold, including its own prompts, output parser, test generation, execution feedback, and memor, and replacing it with Reflexion could potentially disadvantage the method.
Nevertheless, we agree that this creates a potential cross-scaffold confound. We therefore reran REVEAL with Qwen3-4B using the same Reflexion harness as the other methods, similar to Table-5 in the appendix. Its performance is similar under the native and Reflexion harnesses, and MURPHY achieves a higher mean score than the better REVEAL configuration at every difficulty level and iteration budget. Here, Δ is MURPHY’s absolute percentage-point improvement over the better of the two REVEAL results. Note that here `Iter' denotes the number of inference-time generation/refinement iterations in the Reflexion framework.
| Difficulty | Iter. | REVEAL (native harness) | REVEAL (Reflexion harness) | MURPHY (Our Method) | Δ |
|---|---|---|---|---|---|
| Easy | 1 | 86.23 ± 1.09 | 84.1 ± 1.1 | 87.49 ± 0.52 | +1.26 |
| Easy | 3 | 92.49 ± 0.56 | 92.9 ± 1.1 | 93.38 ± 0.18 | +0.48 |
| Easy | 5 | 93.79 ± 0.54 | 92.8 ± 1.1 | 94.23 ± 0.16 | +0.44 |
| Medium | 1 | 46.51 ± 1.53 | 48.2 ± 0.5 | 51.12 ± 0.53 | +2.92 |
| Medium | 3 | 62.38 ± 2.58 | 60.7 ± 0.9 | 66.23 ± 0.54 | +3.85 |
| Medium | 5 | 61.61 ± 1.74 | 61.3 ± 1.3 | 67.57 ± 0.61 | +5.96 |
| Hard | 1 | 11.43 ± 1.59 | 10.8 ± 1.5 | 14.33 ± 0.41 | +2.90 |
| Hard | 3 | 18.13 ± 1.28 | 18.5 ± 0.8 | 21.29 ± 0.43 | +2.79 |
| Hard | 5 | 19.14 ± 0.86 | 20.3 ± 1.6 | 24.29 ± 0.38 | +3.99 |
Following the reviewer’s suggestion, we also performed a fully controlled Qwen3-1.7B comparison using the Reflexion harness for all methods on HumanEval, MBPP, and LiveCodeBench-v6. Because our focus is multi-turn execution-feedback learning, Iteration 3, after the model has received and acted on execution feedback, is our primary comparison; we report Iteration 1 for completeness. The table reports Pass@1 (mean ± sample standard deviation) over three runs, with LiveCodeBench-v6 evaluated on the Aggregate split. Here, Δ denotes the Iteration-3 improvement over the Base model’s Iteration-3 score.
| Variant | HumanEval Iter-1 | HumanEval Iter-3 | Δ | MBPP Iter-1 | MBPP Iter-3 | Δ | LCB Iter-1 | LCB Iter-3 | Δ |
|---|---|---|---|---|---|---|---|---|---|
| Base | 74.19 ± 1.95 | 80.07 ± 1.27 | — | 43.47 ± 0.64 | 53.93 ± 3.52 | — | 32.54 ± 0.19 | 38.52 ± 1.06 | — |
| GRPO-MT | 70.33 ± 0.93 | 82.11 ± 0.35 | +2.04 | 46.00 ± 0.40 | 58.53 ± 1.03 | +4.60 | 34.32 ± 0.24 | 41.05 ± 0.05 | +2.53 |
| μCode [9] | 73.58 ± 1.27 | 83.34 ± 0.70 | +3.27 | 44.00 ± 0.69 | 56.20 ± 0.60 | +2.27 | 36.08 ± 0.67 | 43.42 ± 1.14 | +4.90 |
| REVEAL | 72.76 ± 3.36 | 82.72 ± 3.07 | +2.65 | 44.40 ± 0.72 | 56.67 ± 1.72 | +2.74 | 34.44 ± 1.12 | 41.27 ± 0.76 | +2.75 |
| MURPHY (Our Method) | 79.67 ± 3.01 | 86.58 ± 1.06 | +6.51 | 44.73 ± 0.50 | 62.00 ± 1.91 | +8.07 | 37.41 ± 0.52 | 45.35 ± 0.81 | +6.83 |
Comparisons with RLEF: Regarding RLEF, we agree that it is closely related. However, a faithful reproduction is beyond our available resources: RLEF reports 1,024 rollouts per iteration and 288 H100 GPUs for its 8B experiments, increasing to 2,304 H100 GPUs for 70B, and no official implementation is available. Although μCode and REVEAL (our baselines) also discuss RLEF as related work, neither reports an empirical comparison. We will clarify these limitations, expand our qualitative comparison with RLEF, and add the new scaffold-controlled REVEAL results to the revision.
W2. & W3. (The training ... larger training datasets) and (The evaluation ... engineering tasks)
We agree that feedback-conditioned rollout generation and execution contribute to MURPHY’s training cost, particularly because our current pruning strategies operate after rollouts are generated. However, this concern is not specific to MURPHY. Our principal multi-turn baselines, REVEAL and μCode, also generate, evaluate, and refine multiple candidate solutions and therefore face the same fundamental increase in generation and execution costs as the refinement horizon grows. Although their mechanisms and exact cost profiles differ, neither eliminates the underlying expense of multi-turn interaction.
Such interaction is intrinsic to agentic tasks such as code generation, debugging, and tool use, where an agent must act, observe environmental feedback, and revise its behavior. The relevant comparison is therefore how effectively each method uses a fixed multi-turn compute budget. In our experiments, MURPHY and the baselines use the same training data and matched compute budgets and are evaluated under the same refinement budget. Under these controlled conditions, MURPHY consistently outperforms REVEAL and μCode, indicating that its gains arise from using the available multi-turn experience more effectively rather than from additional data or computation.
As preliminary evidence that these benefits extend beyond function-level code generation to more complex software-engineering tasks, we additionally evaluate the Qwen3-4B checkpoint from Figure 1 using the mini-swe-agent harness on all 500 SWE-Bench Verified tasks, with a 32K-token context window and up to 50 agent iterations per task. In this substantially more complex repository-level setting, MURPHY resolves 5.20% (26/500) of tasks, compared with 2.80% (14/500) for the base model and 2.40% (12/500) for GRPO-MT. These results provide initial evidence that MURPHY’s learned feedback-conditioned behavior transfers to longer-horizon, repository-level software-engineering tasks.
These preliminary results complement the scope of our main evaluation. As stated in the paper, our primary claims concern the evaluated model sizes, dataset scales, compute budgets, and refinement horizons. Moreover, HumanEval, MBPP and LiveCodeBench-v6 are standard evaluation settings used by the relevant baselines, and neither REVEAL nor μCode establishes scalability to arbitrarily long refinement horizons or arbitrarily large datasets. MURPHY is therefore evaluated at a scale consistent with prior work rather than under an unusually restricted setting, while the SWE-Bench Verified results provide additional evidence beyond that standard scope.
Finally, scalability cannot be determined from the number of turns alone. It depends on several interacting factors, including base-model capability, task difficulty and dataset composition, the quality and informativeness of execution feedback, branching factor, and the rate at which successful trajectories terminate early. For example, a stronger base model or higher-quality feedback may require fewer refinement attempts, substantially reducing the realized rollout and execution cost. We therefore view longer-horizon scalability as a broader, setting-dependent question for multi-turn feedback-based methods, including REVEAL and μCode, rather than a limitation isolated to MURPHY. While our SWE-Bench Verified results are encouraging, they do not by themselves resolve training-time scalability to substantially larger datasets or rollout trees. We leave broader evaluation across models, agent scaffolds, training scales, and complex software-engineering tasks to future work.
For our ablation on sensitivity to the executor-feedback format and quality, please refer to our response to W1 from Reviewer N9ef.
[Continued below]
W4. & Q2. (The claims of … credit assignment) and (Can the authors … provide additional benefits?)
We conducted a direct comparison between MURPHY trained with a maximum rollout depth of two turns and MURPHY trained with a maximum depth of three turns. In both cases, we use the MaRS credit-assignment strategy. HumanEval and MBPP use Qwen3-1.7B, while LiveCodeBench-v6 uses Qwen3-4B, consistent with our corresponding main experiments. All results report the mean and standard deviation over three independent evaluation runs. "LCB Agg" denotes the aggregate LiveCodeBench-v6 score over its Easy, Medium, and Hard subsets.
| Training depth | HumanEval Iter-1 | HumanEval Iter-3 | MBPP Iter-1 | MBPP Iter-3 | LCB Agg Iter-1 | LCB Agg Iter-3 |
|---|---|---|---|---|---|---|
| Two-turn MURPHY-MaRS | 79.67 ± 3.01 | 86.58 ± 1.06 | 44.74 ± 1.91 | 62.00 ± 1.91 | 37.41 ± 0.52 | 45.35 ± 0.81 |
| Three-turn MURPHY-MaRS | 79.27 ± 2.11 | 83.94 ± 1.41 | 44.80 ± 1.11 | 62.20 ± 1.40 | 40.61 ± 0.89 | 46.97 ± 0.28 |
| Three-turn minus two-turn | -0.40 | -2.64 | +0.06 | +0.20 | +3.20 | +1.62 |
The comparison shows that additional rollout depth is beneficial in some settings but not universally. On MBPP, the two depths perform nearly identically. On HumanEval, three-turn training is similar at Iter-1 but lower at Iter-3. In contrast, on the more challenging LiveCodeBench-v6 benchmark, three-turn MURPHY consistently improves the aggregate score: from 37.41 to 40.61 at Iter-1 and from 45.35 to 46.97 at Iter-3. These results demonstrate that useful learning signals can propagate through deeper trees, while also showing that increasing depth does not produce monotonic gains on every benchmark. The additional benefit is most apparent in the more difficult LCB-v6 setting.
The larger benchmarks also provide a broader and more statistically stable evaluation than HumanEval: MBPP contains 500 problems and LCB-v6 contains approximately 1,000, compared with 164 in HumanEval. On these larger evaluation sets, three-turn MURPHY matches two-turn MURPHY on MBPP and consistently improves it on LCB-v6. LCB-v6 is particularly informative because it additionally covers a broader range of difficulty levels. We nevertheless report the HumanEval regression transparently; collectively, the results indicate that deeper rollouts are most beneficial on larger, more challenging task distributions rather than uniformly beneficial across all benchmarks.
However, this depth ablation is necessarily setting-dependent: the value of additional rollout depth depends strongly on the capability of the base model, the composition and difficulty of the training data, and the downstream evaluation task.
This task dependence is consistent with MURPHY's failure-gated rollout construction. The following expansion analysis is computed specifically from our two-turn MURPHY-MaRS training run on KodCode-1K and therefore characterizes the transition from turn 1 to turn 2. Across its 200 logged training steps, 69.96% of first-turn rollout nodes achieve maximum reward and terminate, so only 30.04% are expanded to turn 2; this expansion rate decreases from 35.42% early in training to 26.29% later in training. These two-turn logs do not directly measure the turn-2-to-turn-3 expansion rate. However, under three-turn training, only the subset of these second-turn descendants that also fail can be expanded to turn 3. Thus, when the base model already solves most nodes at turn 1, the pool of trajectories that can receive an additional turn of feedback is limited. Harder tasks leave more opportunities for deeper feedback-conditioned refinement, which is consistent with the gains observed on LCB-v6.
The depth ablation also separates two aspects of our claim. First, at the matched depth of two turns, MURPHY already outperforms the multi-turn baselines GRPO-MT, μCode, and REVEAL, showing that its gains do not depend on using a deeper rollout horizon than the baselines. Second, the three-turn results on LCB-v6 show that MURPHY can obtain additional benefits from deeper reward propagation when the task provides sufficient unresolved trajectories. Thus, our results support MURPHY as a general tree-structured framework, but do not claim that increasing depth must improve every task or model.
We will add this direct two-turn versus three-turn comparison and clarify that the marginal value of additional depth depends on task difficulty, base-model capability, and the proportion of rollout nodes that remain unsolved at each turn. MURPHY's formulation supports deeper trees, while failure-gated expansion prevents solved nodes from incurring unnecessary deeper-rollout costs.
[Continued Below]
Q1. Can the authors ... after rollout generation??
We agree that feedback-conditioned rollout generation and execution contribute to MURPHY’s training cost, particularly because our current pruning strategies operate after rollouts are generated. Thus, post-rollout pruning reduces optimization cost but does not eliminate the growth in generation and execution cost as the refinement horizon increases. The realized cost depends not only on the number of turns, but also on the branching factor and the proportion of failed trajectories expanded at each turn; successful trajectories terminate early. Consequently, our present results establish scalability only for the evaluated refinement horizons, not for arbitrarily deep rollout trees.
This concern is not specific to MURPHY. Our principal multi-turn baselines, REVEAL and Code, also generate, evaluate, and refine multiple candidates and therefore face the same fundamental cost of multi-turn interaction. Such interaction is intrinsic to agentic code generation, debugging, and tool use, where an agent must act, observe environmental feedback, and revise its behavior. The relevant comparison within our evaluated regime is therefore how effectively each method uses a fixed multi-turn compute budget. MURPHY and the baselines use the same training data and matched compute budgets and are evaluated under the same refinement budget. Under these controlled conditions, MURPHY consistently outperforms REVEAL and μCode, indicating that it uses the available multi-turn experience more effectively rather than benefiting from additional data or computation. We also evaluate the Qwen3-4B checkpoint from Figure 1 on all 500 SWE-Bench Verified tasks using mini-swe-agent, a 32K-token context window, and up to 50 agent iterations. MURPHY resolves 5.20% (26/500) of tasks, compared with 2.80% (14/500) for the base model and 2.40% (12/500) for GRPO-MT. This provides preliminary evidence that feedback-conditioned behavior learned at shorter training horizons transfers to substantially longer inference-time interactions and repository-level tasks. However, it does not by itself establish the training-time scalability of constructing deeper rollout trees.
More generally, realized scalability depends on the base model, task difficulty, feedback quality, branching factor, and early-termination rate. A stronger model or more informative feedback can reduce the number of failed trajectories requiring expansion. Nevertheless, scaling training to substantially deeper trees would likely require generation-time mechanisms, such as adaptive branching or selective node expansion—in addition to our current post-rollout pruning. We will clarify this distinction and limit our claims to the model sizes, datasets, compute budgets, and refinement horizons evaluated in this work.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes MURPHY, a multi-turn extension of GRPO for code generation with execution feedback. The method constructs feedback-conditioned rollout trees, where failed candidate programs are expanded into later refinement attempts using executor feedback. It then propagates rewards backward through the tree so that earlier failed attempts can receive credit when their feedback leads to later successful refinements. The paper studies two reward propagation strategies, MARS and MERS, and introduces pruning strategies to reduce optimization cost. Experiments are conducted on HumanEval, MBPP, and LiveCodeBench-v6 across Qwen3 and OLMo model families.
Strengths and weaknesses
Strengths
- Clear and useful idea. This work addresses the central challenge of credit assignment in feedback-conditioned multi-turn code generation. The observation that failed attempts can produce useful feedback for later correction is intuitive and important.
- Simple GRPO-compatible design. MURPHY does not require a PPO critic, learned verifier, or separate verification policy. This makes the method cleaner than some prior execution-feedback training methods.
- Solid experimental evidence. The paper evaluates on HumanEval, MBPP, and LiveCodeBench-v6, across multiple model families and model sizes. The gains are especially clear in multi-turn settings where self-correction matters.
- Good ablation and efficiency analysis. The paper compares MARS and MERS, studies pruning strategies, reports mean and standard deviation across runs, includes scaffold sensitivity analysis, and provides a useful compute breakdown.
Weaknesses
- MURPHY remains more expensive than single-turn GRPO, as the authors acknowledge. INTERP pruning substantially reduces optimization time, but rollout generation and execution-feedback collection are mostly unchanged because pruning is applied after rollouts are generated. This may limit scalability to longer-horizon settings.
- The algorithmic novelty is moderate. MARS and MERS are natural max/mean backup rules over rollout trees. The main contribution is not a fundamentally new credit-assignment algorithm, but a clean and effective integration of retrospective reward propagation into GRPO for feedback-conditioned code refinement.
Questions
I do not have major questions, as the paper is generally complete and the experimental results are convincing. Could the authors comment on which domains beyond code generation they expect MURPHY to transfer to most naturally? In particular, what properties of the feedback signal are necessary for retrospective reward propagation to be effective?
Limitations
Yes.
Final justification
I have reviewed the authors’ rebuttal and additional experiments and have decided to maintain my original rating.
Formatting concerns
I did not notice any major formatting or anonymity concerns.
1 comment
Rebuttal
We thank reviewer 1Dsq for the detailed feedback and thoughtful comments as well as the recognition of our work.
Q1. (I do not ... to be effective?)
To better understand which properties of the feedback signal are important for retrospective reward propagation, we ran an additional controlled experiment with Qwen3-1.7B on all 164 HumanEval and 500 MBPP tasks. We compare the full executor feedback used in the paper with several weaker, noisier, or deliberately misaligned alternatives:
-
Binary pass/fail: Reports only whether any visible test failed. This tests whether a minimal correctness signal is sufficient.
-
Aggregate score: Reports only the number and percentage of visible tests passed. This provides information about the degree of success but no diagnostic details.
-
Natural-language error category: Reports only a coarse label,
timeout,syntax error,runtime error, orwrong result. -
Corrupted executor output: Randomly deletes 30% of nonblank output lines and replaces 15% of retained alphanumeric tokens with
[CORRUPTED]. This tests robustness to incomplete and noisy diagnostic information. -
No executor feedback: Provides no execution signal. This isolates the benefit of additional generation and self-refinement from the benefit of executor feedback.
-
Same-task shuffled feedback: Provides full feedback from a different failed candidate for the same task. This tests whether feedback must be precisely aligned with the current candidate or whether broadly task-relevant diagnostics can still help.
-
Full executor output: Provides the visible-test pass count and complete raw executor output, including failed assertions, exceptions, and observed values. This is the setting used in the paper.
For each task and seed, every condition starts from exactly the same Iter-1 implementation; only the feedback shown during refinement changes. Final programs are evaluated on hidden tests. The table reports Iter-3 Pass@1 and its improvement over Iter-1, with mean ± sample standard deviation across three independent seeds.
| Feedback during refinement | HumanEval Iter-3 (%) | HumanEval Δ from Iter-1 (%) | MBPP Iter-3 (%) | MBPP Δ from Iter-1 (%) |
|---|---|---|---|---|
| Binary pass/fail | 84.55 ± 1.27 | +4.88 ± 0.61 | 50.87 ± 0.83 | +4.07 ± 0.31 |
| Aggregate score | 84.15 ± 2.11 | +4.47 ± 0.70 | 51.13 ± 0.61 | +4.33 ± 0.12 |
| Natural-language error category | 84.15 ± 0.61 | +4.47 ± 2.31 | 50.87 ± 1.55 | +4.07 ± 0.99 |
| Corrupted executor output | 84.76 ± 1.83 | +5.08 ± 0.35 | 55.00 ± 1.44 | +8.20 ± 0.87 |
| No executor feedback | 85.16 ± 1.86 | +5.49 ± 0.00 | 50.33 ± 0.83 | +3.53 ± 0.31 |
| Same-task shuffled feedback | 86.18 ± 0.93 | +6.50 ± 0.93 | 58.60 ± 1.22 | +11.80 ± 0.72 |
| Full executor output (paper setting) | 86.58 ± 1.06 | +6.91 | 62.00 ± 1.91 | +17.27 |
These results lead to several observations:
-
Even minimal feedback is useful. Binary pass/fail feedback, aggregate scores, and coarse error categories all produce improvements on both benchmarks. Retrospective reward propagation therefore does not require detailed execution traces to be effective.
-
MURPHY tolerates noisy feedback. The gains under corrupted executor output show that the method remains effective even when substantial portions of the diagnostic information are missing or corrupted.
-
Feedback need not be perfectly candidate-aligned. The strong performance of same-task shuffled feedback suggests that diagnostic information about common failures for the same task can remain useful even when it comes from a different candidate.
-
Self-refinement explains only part of the improvement. The no-feedback condition shows that additional generation and self-refinement provide some benefit. However, full executor feedback performs best overal, particularly on MBPP, where it improves Pass@1 by 17.27 percentage points, compared with 3.53 points without feedback. Detailed, candidate-specific feedback therefore provides considerable additional value, even if it is not strictly required.
Based on these findings, we expect MURPHY to transfer naturally to domains in which candidate solutions can receive some form of informative evaluation. Examples include mathematical reasoning, formal theorem proving in systems such as Lean, and tasks involving simulators, constraint checkers, or automated verifiers. Overall, from our experiments it appears that feedback appears most effective when it is:
-
grounded in a valid evaluation of the task;
-
at least weakly correlated with solution quality;
-
relevant to the task or its likely failure modes; and
-
sufficiently informative to distinguish productive from unproductive decisions.
Greater detail, reliability, and candidate alignment generally make the feedback more useful, but our experiments suggest that these are helpful properties rather than strict requirements. Because improvements persist with sparse, coarse, corrupted, and candidate-misaligned feedback, MURPHY may also apply to domains with inherently noisy signals, such as human preferences or learned reward-model feedback. We view evaluating these settings, together with feedback validation and confidence weighting, as promising directions for future work.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes MURPHY, a feedback-aware extension of GRPO for multi-turn code generation. MURPHY represents code generation process as a feedback-conditioned rollout tree: failed programs are expanded into later refinement attempts using their execution feedback, and later rewards are propagated backward to earlier attempts through retrospective credit assignment. The paper studies two backup rules, MARS and MERS, and introduces pruning strategies to reduce the optimization burden of multi-turn rollouts. The reported results show consistent gains in multi-turn evaluation, especially on harder LiveCodeBench subsets where iterative correction is more important.
Strengths and weaknesses
Strenths are:
- I think one big strength is the simplicity of the proposed method relative to several prior multi-turn code RL methods. MURPHY does not require a learned verifier, a separate critic, or a dedicated verification policy. It keeps the GRPO-style local group normalization and changes the reward assignment through retrospective propagation. This makes the algorithm easier to understand and potentially easier to implement within existing GRPO training pipelines.
- The paper identifies a real mismatch between single-turn RLVR training and multi-turn code-agent behavior. In execution-feedback settings, a wrong first attempt is not always useless: it may expose a failing test, a runtime error, or an edge case that makes a later correction possible. The rollout-tree formulation is a clean way to preserve this causal relation between an attempted solution, the feedback it produces, and the refinements that follow.
- The extensive experiments are good. The paper evaluates on three benchmarks, multiple model families and sizes, and several inference-turn budgets. The results are most persuasive in Iter-3 and Iter-5 settings, because those are the settings where feedback-conditioned refinement is actually tested.
Weaknesses:
- My big concern is the evaluation is limited to code-generation tasks with relatively clean executable feedback. This is a natural starting point, but it means the method has not yet been shown to work when feedback is noisy, ambiguous, delayed, or human-provided.
- My second concern is about the cost. INTERP reduces the number of sequences used in optimization, but the rollout tree still has to be generated and executed before pruning. Thus, the main computational bottleneck is only partly addressed.
- I think MARS may over-credit some early failures. If a descendant solution succeeds because of sampling luck or because the model abandons the parent’s reasoning path, the parent attempt may receive credit even though its feedback was not actually informative. The MARS vs. MERS ablation is helpful, but the paper would benefit from a failure analysis of cases where retrospective credit assignment helps versus cases where it reinforces misleading attempts.
Questions
- How sensitive are the gains to the executor feedback format? For example, do the results hold with only pass/fail labels, noisy public tests, or natural-language error summaries?
- How often does MARS assign high credit to an early failed attempt whose feedback was not actually useful? A small qualitative taxonomy of such cases would be useful.
- Can the authors provide an end-to-end compute/performance frontier, including rollout generation, code execution, optimization, and inference-time cost?
Limitations
yes
Formatting concerns
N/A
6 comments
Rebuttal
We thank reviewer N9ef for the detailed feedback and thoughtful comments. Below, W denotes weakness and Q denotes questions.
W1. & Q1. (My big concern ... or human-provided) and (How sensitive ... error summaries?)
To assess sensitivity to the executor feedback format, we compare the feedback used in the paper with progressively weaker, noisier, or misaligned alternatives:
- Full executor output (used in the paper): The visible-test pass count and complete raw executor output, including failed assertions, exceptions, and observed values.
- Binary pass/fail: Only whether any visible test failed, with no pass count or failure details.
- Aggregate score: Only the number and percentage of visible tests passed, without per-test details.
- Natural-language error category: Only
timeout,syntax error,runtime error, orwrong result, without raw executor output. - Corrupted executor output: A lossy version of the full feedback. Each nonblank line is independently deleted with probability 0.30. If all lines are removed, one is restored so that the feedback remains nonempty. This corruption changes only the text shown to the model; it does not alter the program, tests, test outcomes, or hidden-test evaluation.
- No executor feedback: No execution signal, isolating the improvement obtained from additional generation and self-refinement alone.
- Same-task shuffled feedback: Full feedback from a different failed candidate for the same task, testing whether task-relevant but candidate-misaligned feedback remains useful.
We run this controlled comparison with Qwen3-1.7B trained using MURPHY - MARS (Table 4) on all 164 HumanEval and 500 MBPP tasks. For each task and seed, the feedback-ablation conditions start from exactly the same Iter-1 implementation; only the feedback shown during refinement changes. Final programs are evaluated on hidden tests. The table reports Iter-3 Pass@1 and its change from Iter-1, with mean ± sample standard deviation over three independent seeds.
| Feedback during refinement | HumanEval Iter-3 (%) | HumanEval Δ from Iter-1 (%) | MBPP Iter-3 (%) | MBPP Δ from Iter-1 (%) |
|---|---|---|---|---|
| Binary pass/fail | 84.55 ± 1.27 | +4.88 ± 0.61 | 50.87 ± 0.83 | +4.07 ± 0.31 |
| Aggregate score | 84.15 ± 2.11 | +4.47 ± 0.70 | 51.13 ± 0.61 | +4.33 ± 0.12 |
| Natural-language error category | 84.15 ± 0.61 | +4.47 ± 2.31 | 50.87 ± 1.55 | +4.07 ± 0.99 |
| Corrupted executor output | 84.76 ± 1.83 | +5.08 ± 0.35 | 55.00 ± 1.44 | +8.20 ± 0.87 |
| No executor feedback | 85.16 ± 1.86 | +5.49 ± 0.00 | 50.33 ± 0.83 | +3.53 ± 0.31 |
| Same-task shuffled feedback | 86.18 ± 0.93 | +6.50 ± 0.93 | 58.60 ± 1.22 | +11.80 ± 0.72 |
| Full executor output (paper setting) | 86.58 ± 1.06 | +6.91 | 62.00 ± 1.91 | +17.27 |
The gains therefore persist when feedback is reduced to a binary label, an aggregate score, or a coarse natural-language category, and also when the executor output is substantially corrupted. The no-feedback control shows that additional generation and self-refinement explain part of the improvement. The strong result with same-task shuffled feedback further suggests that task-relevant diagnostic information can remain useful even when it is not aligned with the current candidate. Thus, MURPHY tolerates sparse, coarse, corrupted, and candidate-misaligned feedback when the underlying tests are valid. We will clarify this distinction in the paper and identify test validation, selection, and confidence weighting as important directions for future work.
W3. & Q2. (I think ... misleading attempts) and (How often ... be useful)
To analyze whether a successful descendant reflects informative executor feedback, sampling variation, or a change in the model’s reasoning path, we evaluate the fully trained Qwen3-1.7B MaRS model on 50 held-out MBPP problems that were not part of the training data.
We use three sampling seeds. For each seed, the model generates eight initial solutions per problem. For each failed initial solution within this group, we condition the model on the original problem, the corresponding failed solution, and its executor feedback, and generate eight new solutions. MaRS propagates a higher reward to the failed initial solution if at least one of these eight new solutions passes all visible tests.
This occurs for 64 of 212 failed initial solutions for seed 123, 62 of 194 for seed 124, and 60 of 208 for seed 125. Pooling the three seeds, MaRS assigns retrospective credit to 186 of 614 failed initial solutions.
For each of these 186 cases, we then generate two independent holdout sets:
- With feedback: Eight new solutions generated using the original problem, failed solution, and executor feedback.
- Without feedback: Eight new solutions generated using the same problem and failed solution, but without the executor feedback.
We use newly generated solutions for this comparison because reusing the solutions that triggered the original MaRS backup would guarantee a success in the feedback condition by construction. The holdout comparison instead tests whether the feedback advantage reappears in independent samples.
We evaluate the role of feedback using two measures:
-
Best-of-eight result: Among the 186 MaRS-credited cases, feedback wins in 97 cases: at least one of the eight feedback-guided solutions passes all visible tests while all eight solutions generated without feedback fail. Averaged across the three seeds, this corresponds to 52.3% ± 6.1% of cases. The two conditions tie in 86 cases (46.1% ± 4.7%): both find a passing revision in 48 cases, while neither does so in 38. No-feedback resampling wins in only 3 cases (1.6% ± 1.6%). Thus, feedback is important in 52.3% of cases, enabling a best-of-eight success that ordinary resampling misses, while it rarely harms performance: no-feedback resampling succeeds when feedback does not in only 1.6% of cases
-
Pass percentage: For each condition, we compute the percentage of the eight newly generated solutions that pass all visible tests. For example, if two of eight solutions pass, the pass percentage is 25%. Pooling the three seeds, feedback produces a higher pass percentage in 127 of 186 cases, the same pass percentage in 51, and a lower pass percentage in only 8. Across seeds, feedback improves the pass percentage in 68.4% ± 5.2% of MaRS-credited failures and is strictly worse in only 4.3% ± 0.8%.
Thus, both results show that feedback is useful in most MaRS-credited cases: it produces a uniquely successful best-of-eight outcome in more than half and increases the pass percentage in more than two-thirds.
Qualitative taxonomy. We additionally inspect a balanced set of 20 feedback/no-feedback comparisons: 10 cases in which feedback increases the pass percentage and 10 in which it does not. This balanced selection is used only to contrast the qualitative behaviors and does not represent their prevalence in the full evaluation. For compact presentation, we group the comparisons using six descriptive labels. The qualitative labels were generated by GPT-5.6-sol using the failed initial solution, executor feedback, solutions generated with and without feedback, and their test outcomes. We use this taxonomy as an illustrative analysis and do not claim human inter-annotator agreement.
| Outcome | Annotation label | Comparisons | Representative behavior |
|---|---|---|---|
| Feedback increases pass percentage | Output-contract repair | 5 | The executor output reveals an interface error, such as printing instead of returning a tuple or returning tuple elements in the wrong order. Solutions generated with feedback correct the required output structure, while those generated without feedback generally retain the error. |
| Feedback increases pass percentage | Algorithmic or semantic repair | 4 | A failed assertion localizes a conceptual error, such as counting individual characters instead of a substring or using an incorrect recurrence. Solutions generated with feedback adopt the correct interpretation more consistently. |
| Feedback increases pass percentage | Runtime or API localization | 1 | A runtime error identifies a missing or incorrectly named entry point, enabling the generated solution to expose the required function. |
| Feedback does not increase pass percentage | Repair is not feedback-specific | 2 | Solutions generated both with and without feedback independently discover the same correction, so the successful repair is not unique to the feedback condition. |
| Feedback does not increase pass percentage | Feedback is ignored or only partially used | 6 | The executor output identifies the required type, ordering, or behavior, but the generated solution changes only a comment, preserves the error, or makes an incomplete repair. |
| Feedback does not increase pass percentage | Algorithmic misconception persists | 2 | The generated solution reacts to the failed example but retains the underlying incorrect interpretation or algorithm and continues to fail. |
Overall, the counterfactual results show that executor feedback is informative in most MaRS-credited cases: it increases the pass percentage in 127 of 186 cases pooled across the three seeds, while reducing it in only 8. The qualitative analysis further shows that feedback commonly enables concrete output-contract, semantic, runtime, and API repairs. Cases without improvement mainly arise when the model independently discovers the same repair or fails to use the available diagnostic information. These findings support MaRS as a useful credit-assignment mechanism while also characterizing the limited set of cases in which a best-of-eight success is not unique to the feedback condition. We will add this analysis and taxonomy to the paper.
[Continued below]
W2. My second concern .. only partly addressed.
We agree that multi-turn training is inherently more expensive than single-turn training. However, interaction is intrinsic to agentic tasks such as code generation, debugging, and tool use, where an agent must act, observe environmental feedback, and revise its behavior. This cost is not specific to MURPHY: our multi-turn baselines, REVEAL and μCode, also generate, evaluate, and refine multiple candidate solutions during training. The relevant comparison is therefore how effectively each method uses a given multi-turn interaction budget.
The reviewer is correct that INTERP is applied after rollout generation and execution. The central difficulty with pruning before generation is that the usefulness of a failed trajectory is hard to estimate a priori. A solution with a low immediate reward may nevertheless produce execution feedback that enables a successful subsequent refinement. Pruning such nodes before observing their descendants could therefore discard precisely the feedback-conditioned trajectories that MURPHY seeks to identify and learn from. INTERP operates retrospectively because signals of usefulness, such as improvement among descendants or within-group reward variance, become observable only after the refinements have been generated and evaluated.
Nevertheless, MURPHY also performs an online form of structural pruning during training-time rollout construction, before deeper rollouts are generated. Specifically, nodes achieving maximum reward terminate immediately and are not expanded; only failed nodes produce feedback-conditioned children. Thus, MURPHY does not construct an unconditional full rollout tree during training. This failure-gated expansion directly reduces generation and execution costs, whereas INTERP subsequently reduces the optimization cost of the rollouts that were collected.
The savings from failure-gated expansion also increase as the policy improves during training. Across 200 logged steps of our two-turn MaRS run on KodCode-1K, the fraction of first-turn rollout nodes achieving maximum reward increases from 64.58% during steps 1-50 to 73.71% during steps 151-200. Correspondingly, the fraction expanded to the second turn decreases from 35.42% to 26.29%. Thus, progressively fewer nodes enter deeper layers of the rollout tree as training proceeds.
Averaged over the full run, 69.96% of first-turn rollout nodes terminate immediately and only 30.04% are expanded. With eight children per failed node, failure-gated expansion generates and executes 62.19% fewer rollout nodes than an unconditional two-stage tree. The two mechanisms are therefore complementary: failure-gated expansion reduces generation and execution during training-time rollout construction, increasingly as the policy improves, while INTERP reduces the cost of optimizing the trajectories that have already been collected.
Importantly, all methods in our comparison, including MURPHY, GRPO-MT, μCode, and REVEAL, are trained on exactly the same KodCode-1K training split. MURPHY therefore receives no advantage from additional training data. We use matched training-compute settings for the direct comparison with GRPO-MT and evaluate all methods under the same refinement budget. REVEAL and μCode use their recommended method-specific configurations but receive the same training examples. Notably, REVEAL’s official configuration requires approximately 23 hours on 8×H100s, compared with approximately 11 hours for MURPHY for Qwen3-4B. MURPHY’s consistent improvements under these conditions indicate that it extracts a more effective learning signal from the available multi-turn feedback rather than benefiting from additional training data.
We additionally observe preliminary evidence that this learned feedback-conditioned behavior transfers to more complex agentic settings. Using the Qwen3-4B checkpoint from Figure 1 with the mini-swe-agent harness on all 500 SWE-Bench Verified tasks, a 32K-token context window, and up to 50 agent iterations per task, MURPHY resolves 5.20% (26/500) of tasks, compared with 2.80% (14/500) for the base model and 2.40% (12/500) for GRPO-MT. This repository-level setting involves substantially longer-horizon interaction, including code inspection, execution, and iterative revision. The results provide encouraging initial evidence that MURPHY’s learned use of environmental feedback transfers beyond function-level code generation.
[Continued Below]
While failure-gated expansion already avoids refining solved nodes, further savings would require identifying which failed nodes are worth expanding before generating their children. A prospective controller could learn this decision from completed rollout trees, using descendant success and reward improvement as supervision, and allocate a fixed rollout budget to the most promising failed nodes while retaining limited exploration. This would move part of INTERP’s retrospective selection into rollout construction and directly reduce generation and execution costs. We leave this direction to future work.
Q3. Can the authors … cost?
We conducted an additional controlled profile comparing unpruned MURPHY-MaRS with GRPO-MT, with both methods matched at 216 generated and executed rollouts per training step, with the Qwen3-1.7B model.
GRPO-MT is our multi-turn GRPO baseline. In this profile, it uses a linear two-turn structure: 36 first-turn responses are generated for each prompt, and each receives one feedback-conditioned second-turn refinement, yielding 36 + 36 = 72 rollouts per prompt. GRPO-MT trains on these multi-turn trajectories without MURPHY's branching refinement groups and retrospective reward propagation. MURPHY instead generates eight first-turn responses and up to eight feedback-conditioned children for each failed response, yielding 8 + 64 = 72 rollouts per prompt. With a batch-size of 3, both configurations process 216 rollouts.
Importantly, this experiment uses the unpruned version of MURPHY-MaRS: INTERP is disabled, and all generated nodes are retained for reward propagation and optimization. The comparison therefore measures the cost of MURPHY's rollout-tree and credit-assignment structure itself, without including the optimization savings provided by INTERP.
These measurements were collected on 8×NVIDIA B200 GPUs, whereas the timing results in the main paper were collected on H100 GPUs. Consequently, absolute times and GPU-hours should not be compared directly across the two hardware settings. The comparison below is controlled within the B200 setting, where both methods use identical hardware and matched rollout counts. Note that the captured metrics below were averaged across 50 steps.
| Training component | Unpruned MURPHY-MaRS | GRPO-MT |
|---|---|---|
| Rollout generation | 43.7 s | 58.0 s |
| First-turn generation | 25.9 s | 28.9 s |
| Second-turn generation | 17.8 s | 29.0 s |
| Code execution | 4.2 s | 3.7 s |
| Optimization and overhead | 21.5 s | 17.4 s |
| Total per step | 69.4 s | 79.1 s |
| B200 GPU-seconds per rollout | 2.57 | 2.93 |
At an equal rollout budget, unpruned MURPHY-MaRS is approximately 12.3% faster per training step and requires approximately 12.5% fewer B200 GPU-hours over 200 steps. MURPHY incurs lower rollout-generation time, particularly during the second turn. MURPHY's second-turn rollouts are organized into groups of up to eight children sharing the same feedback-conditioned parent context. This enables prefix caching: the shared prefix is computed once and reused across the children. In contrast, GRPO-MT processes a larger number of distinct second-turn contexts, whose feedback-conditioned prefixes may differ and therefore offer substantially less opportunity for prefix reuse. This greater reuse of shared prefixes, together with fewer generation stragglers, accounts for much of MURPHY's lower second-turn generation time.
For the corresponding Qwen3-1.7B evaluation, the training-compute comparison can be paired with the following performance points:
| Method | HumanEval Iter-1 | HumanEval Iter-3 | MBPP Iter-1 | MBPP Iter-3 |
|---|---|---|---|---|
| GRPO-MT | 70.33% | 82.11% | 46.00% | 58.53% |
| Unpruned MURPHY-MaRS | 79.67% | 86.58% | 44.73% | 62.00% |
At the target multi-turn inference setting, MURPHY achieves higher performance on both benchmarks while also requiring less measured training compute in the matched B200 profile. Because this profile excludes INTERP, these savings do not rely on post-rollout pruning; enabling INTERP can additionally reduce the optimization cost, as analyzed separately in the paper.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Consolidated Response to the Meta-Review and Reviewer Concerns [Part-1]
We thank the AC and reviewers for their careful evaluation and constructive feedback. The paper demonstrates feedback-conditioned gains across HumanEval, MBPP, and LiveCodeBench-v6 with three model configurations. The rebuttal and subsequent experiments address deeper trees, scalability, baselines, feedback robustness, credit validity, and generalization beyond code generation.
1. Benefits from deeper rollout trees: Meta-review; Reviewer CALu W4/Q2.
We directly compared two- and three-turn MURPHY-MaRS. Three-turn training matches two-turn training on MBPP and improves LiveCodeBench-v6 from 37.41% to 40.61% at Iter-1 (+3.20 points) and from 45.35% to 46.97% at Iter-3 (+1.62 points), but is lower on HumanEval Iter-3. Deeper propagation can therefore help on harder tasks but need not improve every setting. Two-turn MURPHY already outperforms the baselines, so its main gains do not depend on a third turn. More details captured in our response to Reviewer CALu W4/Q2.
2. End-to-end compute and scalability: Meta-review; Reviewer N9ef W2/Q3; Reviewer CALu W2/Q1.
INTERP reduces post-rollout optimization cost, while MURPHY also reduces generation and execution through failure-gated expansion: solved nodes terminate immediately and only failed nodes are expanded. Across 200 logged training steps, 69.96% of first-turn nodes terminate and only 30.04% are expanded, producing 62.19% fewer rollout nodes than an unconditional two-stage tree.
We also profiled unpruned MURPHY against GRPO-MT with both methods matched at 216 generated and executed rollouts per step on identical 8×B200 hardware. MURPHY requires 69.4 s versus 79.1 s per step, approximately 12.3% less time, while improving Iter-3 performance from 82.11% to 86.58% on HumanEval and from 58.53% to 62.00% on MBPP. Because INTERP is disabled, this does not rely on post-rollout pruning. See Reviewer N9ef W2/Q3.
Overall comparison: MURPHY is not favored by a larger data, rollout, or compute budget. The direct GRPO-MT experiment fixes the model, data, hardware, 216-rollout budget, and evaluation budget; in the original setup, GRPO-MT uses 72 first-turn rollouts plus refinements, while MURPHY uses at most 72 total. μCode and REVEAL use the same KodCode split and refinement budget under their recommended configurations, with comparable or greater training cost; μCode additionally trains a verifier/expert, while REVEAL requires approximately 23 hours versus 11 hours for MURPHY on 8×H100s. Although their mechanisms differ, the central comparison is how effectively they convert multi-turn feedback into a learning signal. MURPHY's gains under similar or smaller budgets therefore cannot be attributed to additional data, rollouts, or compute.
On SWE-Bench Verified with up to 50 agent iterations, MURPHY resolves 5.20% (26/500), versus 2.80% for the base model and 2.40% for GRPO-MT, providing preliminary longer-horizon transfer evidence. See CALu W2/W3 and N9ef W2.
3. REVEAL and RLEF comparisons: Meta-review; Reviewer CALu W1.
To remove the cross-scaffold ambiguity, we reran REVEAL using the same Reflexion harness. MURPHY outperforms the better of REVEAL's native and Reflexion configurations at every LiveCodeBench-v6 difficulty and iteration budget, including +5.96 points on Medium Iter-5 and +3.99 points on Hard Iter-5. In a second fully controlled Qwen3-1.7B comparison, all methods use Reflexion on HumanEval, MBPP, and LiveCodeBench-v6; MURPHY is best at Iter-3 on all three benchmarks.
A faithful RLEF comparison is not feasible: no official implementation is available, and its reported 8B setup uses 1,024 rollouts per iteration and 288 H100 GPUs, well outside our resources. μCode and REVEAL also discuss RLEF without empirical comparisons. We therefore limit empirical claims to reproducible baselines. More details in our response to Reviewer CALu W1.
4. Feedback robustness and validity of MaRS credit: Reviewers N9ef W1/W3/Q1/Q2 and 1Dsq Q1.
Across seven feedback conditions and three seeds, MURPHY's gains persist with binary, aggregate, coarse natural-language, corrupted, and candidate-misaligned feedback. Full executor feedback remains strongest overall, particularly on MBPP, where it improves Iter-3 by 17.27 points, compared with 3.53 points without feedback.
We also performed independent counterfactual resampling on 186 MaRS-credited failures. Feedback uniquely enables best-of-eight success in 52.3% of cases and is uniquely worse in only 1.6%; it increases sample-level pass percentage in 68.4% and reduces it in only 4.3%. Thus, MaRS credit is usually associated with a reproducible feedback advantage rather than sampling luck. See Reviewer N9ef W3/Q2; feedback-format and transfer details appear under N9ef W1/Q1 and 1Dsq Q1.
[Continued below]