- Rating
- 3
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
This paper studies whether direct in-context reinforcement learning (ICRL), where an LLM is prompted with past trajectory-reward pairs, should be understood as inference-time reinforcement learning or as ordinary in-context learning / imitation. Through reward perturbations, fixed-memory experiments, replay analysis, and trajectory perturbations, the authors find that performance gains are largely insensitive to whether rewards are true, flipped, randomized, or removed. They argue that direct ICRL is mainly driven by imitation of task-relevant trajectories rather than by reward semantics.
Strengths and weaknesses
The paper asks an important and timely question. Many LLM-agent methods implicitly treat trajectory-reward memories as a form of inference-time RL, so it is useful to test whether the reward field actually drives behavioral improvement. The paper''s controlled interventions are clean and intuitive. In particular, comparing true, flipped, random, and removed rewards is a strong diagnostic, and the fixed-memory and replay analyses help support the claim that raw trajectories are strong imitation targets while reward labels have only weak direct effects.
However, I think the paper’s empirical scope is too limited for the strength of its conclusion. Two of the three main benchmarks, HumanEval+ and MBPP+, are single-action coding tasks: the model receives a prompt, emits a full program once, and gets a unit-test reward. In this setting, the “trajectory” is essentially a previous code completion for the same problem, so the setup is very close to ordinary few-shot code demonstration. It is therefore not surprising that imitation and surface-form effects dominate reward semantics.
The paper includes ScienceWorld as a multi-step environment, which is helpful, but this evaluation is still relatively small and does not fully address the limitation. The paper does not evaluate harder long-horizon agentic tasks such as SWE-bench-style software engineering, WebArena, OSWorld, multi-turn debugging, or tool-use repair tasks. These are the kinds of settings where reward feedback, exploration, and credit assignment might matter more. As a result, the current evidence supports a narrower claim: reward semantics are weak in the tested direct ICRL setups. It does not fully establish that direct ICRL is generally closer to ICL than RL.
I also think the model and prompt coverage is somewhat limited. Some of the deeper mechanistic analyses appear to rely heavily on one main model, and the appendix suggests that verbal rewards can make reward effects stronger. This raises the possibility that the observed reward-insensitivity depends on reward formatting or prompt design, rather than being a fundamental property of direct ICRL.
Questions
- Would the same reward-insensitivity hold on harder long-horizon tasks such as SWE-bench, WebArena, OSWorld, multi-turn debugging, or tool-use repair tasks?
- Since HumanEval+ and MBPP+ are single-action MDPs, can the authors clarify how much their conclusion depends on tasks where trajectories resemble few-shot demonstrations?
- The appendix suggests that verbal rewards can increase reward sensitivity. Does this mean the main conclusion depends on reward rendering or prompt format?
- Can the replay and probability-level analyses be repeated across more model families and scales?
- Please clarify whether reward can still matter indirectly through memory selection, e.g., top-k trajectory selection, even if reward labels have weak direct influence at inference time.
Limitations
The authors discuss some limitations, but they should more explicitly acknowledge that most of the evidence comes from simple or relatively limited settings. In particular, the paper does not test difficult long-horizon agentic benchmarks requiring exploration, tool use, or credit assignment.
Paper formatting concerns
no
Final justification
Thank you for the detailed responses and additional experiments. The new results are useful and partially address my concerns. However, I do not think they fully resolve my main concern about the empirical scope relative to the strength of the paper’s conclusion. I view the rebuttal as strengthening the evidence within the studied settings, but not as establishing that reward insensitivity generalizes to the broader class of direct ICRL tasks suggested by the paper’s framing. I therefore maintain my original score.
We thank the reviewer ExTd for their constructive and insightful comments. Below are our responses to each question.
Q1.
A1.
We evaluate this question on SWE-bench Lite using gpt-5-mini with the mini-SWE-agent codebase.
The evaluation covers four nontrivial instances on which gpt-5-mini achieved neither 0% nor 100% accuracy under Random Sampling: mwaskom__seaborn-2848, pylint-dev__pylint-7114, sphinx-doc__sphinx-10325, and sphinx-doc__sphinx-11445. We report the per-episode means and standard deviations over the four instances and three seeds below.
These results show a stronger effect of trajectory accumulation than of reward correctness. ICRL-True and ICRL-Flipped have overlapping standard deviation ranges at the final episode. At the same time, all three accumulated-memory conditions outperform Random Sampling, with Trajectory-only achieving the strongest final performance. Thus, the gain is more closely associated with accumulated trajectories than with correct reward values.
Notably, ICRL-Flipped outperforms ICRL-True, and Trajectory-only outperforms both reward-labeled conditions. One possible explanation is the extreme length imbalance between trajectories and rewards in SWE-bench Lite. SWE-bench trajectories contain extensive interaction feedback, including error messages and tool outputs. The ratio of reward length to trajectory length is 19.4% in ScienceWorld, 23.7% in MBPP+, and 36.1% in HumanEval+, but only 0.13% in SWE-bench Lite. This imbalance may further reduce the relative influence of the reward.
Also, we want to emphasize that this experiment uses gpt-5-mini. This extends our finding beyond Qwen-3.5-9B in Figure 2 to a commercial model from a different model family. We will include these results and the corresponding figure in the revised version.
Q2.
A2.
Our conclusion is not based solely on single-action MDPs. Our experiments generally cover both single-action and multi-action MDPs. The only exceptions are the analyses in Tables 2 and 3 of Section 5, which are restricted to coding tasks.
To address this concern directly, we repeated the key controls from Table 2 on ScienceWorld. ScienceWorld is a multi-action MDP whose trajectories contain sequential action-observation transitions rather than single code completions. The results are reported below.
These results reproduce the qualitative pattern observed in Table 2. Adding the trajectory raises the Target Replay Rate from 17.3% to 24.3% for τ− and from 6.1% to 52.4% for τ+. Adding the true reward changes these rates only to 24.3% and 53.2%, while flipping the target reward changes them to 25.0% and 52.9%.
This pattern persists when trajectories are multi-step interaction histories rather than few-shot-like code solutions. We will include the full ScienceWorld analysis in the revised version.
Q3.
A3.
Reward rendering can increase reward sensitivity, but our main conclusion remains unchanged. In Figure 5, verbal rewards widen the gap between the True and Flipped conditions. However, Verbal Random remains close to Verbal True, and Verbal Flip still outperforms Random Sampling. Most of the performance gain therefore persists even when verbal rewards are randomized or flipped.
Section 5 shows the same pattern under fixed memory. Verbal Reward yields ΔLOO values of 0.404/0.151, close to True Reward at 0.360/0.173 and Random Reward at 0.417/0.153. Its Memory Replay Rate also remains near 30%, similar to the other reward variants. Even with verbalization, the reward-induced shift is only about 14% of the trajectory-presence effect. This shows that verbalization does not make the reward signal dominant over trajectory exposure.
However, reward rendering is an important open question. One broader goal of our work is to shift the focus of direct ICRL research from “What reward should be provided?” to “How should reward-derived feedback be represented in context?” The former connects to directions such as LLM-as-a-judge evaluation, world modeling, and on-policy distillation, while the latter includes verbalization and abstraction-based methods. Our results show that the models are not making full use of reward information. The increased sensitivity under verbalization suggests that better reward representations may turn rewards into a stronger learning signal.
Q4.
A4.
Below, we report Qwen3-14B results for a selected set of key conditions from Table 2. The overall trend is consistent with Table 2. Rewards shift the probabilities in the expected direction, but their effect remains marginal compared with the effect of the trajectory itself. We will include the Qwen3-14B results for the full set of conditions in Table 2 in the revised version.
Q5.
A5.
Rewards can affect performance through memory selection even when reward labels have only a limited direct effect in context. We therefore separate two roles of reward in our experimental design: (i) selecting which trajectories enter memory and (ii) presenting reward labels alongside a fixed set of trajectories. The controlled reward-perturbation experiments in the main paper focus on (ii).
Figure 7 analyzes (i), showing a clear performance difference between top-k and bottom-k selection. This confirms that even if the model does not effectively utilize reward labels within the context, reward can still be useful as a selection criterion for memory construction. However, the gaps among Top-k, Random (ICRL-True), and Bottom-k differ between MBPP+ and HumanEval+. This indicates that memory selection is highly task-dependent, and that designing an effective memory selection rule remains an important challenge for ICRL tasks.