TrajEvolve: Trajectory Evolution for Reinforcement Learning with Hindsight Credit Assignment
Yi Wen, Hao Chen, Wanyu Wang, Maolin Wang, Pengyue Jia, Derong Xu, Hui-Ze Tan, Yingyi Zhang, Wenlin Zhang, weihongluo, Xiku Du, Xiangyu Zhao
Abstract. The Reinforcement Learning (RL) paradigm has achieved remarkable success in enhancing the reasoning capabilities of Large Language Models (LLMs). However, when applied to long-horizon tasks, it faces severe challenges: i) Due to the high task complexity, the model struggles to sample enough successful trajectories, resulting in slow convergence. ii) Relying solely on sparse final rewards causes all steps to be updated indiscriminately, encouraging redundant step generation. When both the quantity and quality of successful trajectories become difficult to guarantee, the performance is severely constrained. This dilemma stems from the limitations: existing RL paradigms rely entirely on the reasoning capability of base models, lacking the ability to actively optimize trajectories. To address the above issues, we propose a novel trajectory evolution paradigm with hindsight credit assignment, termed TrajEvolve. TrajEvolve not only relies on the trajectory inferred by the model but also generates ``evolutionary trajectories'' by refining low-quality steps in historical trajectories, thereby exposing the policy to high-quality compositions that lie within the base model's support but are rarely sampled within practical training budgets. Furthermore, TrajEvolve reformulates step-level continuous credit assignment as a binary classification task, whether each step is necessary for task completion. This simplification not only reduces the learning difficulty but also enables step labels to be obtained through counterfactual verification, achieving precise identification of redundant steps. Extensive experiments on two datasets demonstrate the superiority of the proposed method.
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) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper proposes an RL framework for LLM agents, called TrajEvolve, to tackle the challenge of reward sparsity in long-horizon tasks. The approach is based on two main ideas: a) training a discriminator to label redundant steps, which can be used to shape rewards and advantage estimates, b) evolving historical trajectories through pruning and correction to provide higher-quality training data. The method is evaluated on two benchmarks (ALFWorld and WebShop), yielding improved success rates compared to several baselines.
The paper addresses the important issues of reward sparsity and redundant steps in long-horizoning LLM training. It provides a theoretical basis for its approach, while comprehensive experiments appear to confirm that its main components/modules (hindsight credit assignment and trajectory evolution) are important for achieving performance gains over the baselines. That said, the reviewers have identified several weaknesses of the proposed approach and evaluation, including:
- (W1) Computational requirements appear not to have been fully accounted for in the experiments (Reviewers Escz, jprB). For example, the approach appears to exhibit significant overhead compared to the baselines; therefore, it is unclear whether the comparisons were made on a computationally equivalent basis (Reviewer Escz).
- (W2) The current set of results does not seem to clearly demonstrate how much of the performance stems from the inherent task knowledge of the pre-trained model used or the task-domain knowledge injected into the approach's components, rather than from the RL framework itself (Reviewers jprB). It is also unclear under what conditions directly using a strong LLM judge would be preferable instead of training a discriminator (Reviewers jprB).
- (W3) Some empirical results appear to lack confidence intervals, while some of the claims, including theoretical ones, appear stronger than the results suggest (Reviewers gZsP, Fwjd).
- (W4) Conceptual validity and generalization risks are somewhat unclear (Reviewers gZsP, Fwjd, jprB). For example, it is not clear that the binary classification approach captures all the nuances across different possible cases (e.g., exploratory actions) (Reviewer gZsP) or whether it is important to rely on binary classification signals (Reviewer Fwjd). Additional empirical insights about the trajectory evolution module would also be beneficial (Reviewer Fwjd).
Overall, the paper proposes an interesting approach. However, the weaknesses above suggest that the paper could benefit from including additional experiments (W1, W2, W4), improving the statistical rigor (W3), providing additional discussion regarding the limitation of the proposed approach (W4), and more carefully interpreting the results (W3).
Final justification
The authors have provided a thorough rebuttal that includes additional experimental results. Many of the concerns identified in the initial meta-review appear to have been addressed. However, some concerns, e.g., (W4), were only partially addressed (see, for example, the related remaining concerns raised by Reviewer gZsP and Reviewer jprB in their final justifications). Reviewer Fwjd's concern regarding the theoretical results has also not been fully addressed. That said, the reviewers are generally positive about the paper, and my recommendation is consistent with the overall sentiment of the reviewers. The authors are encouraged to revise the manuscript to incorporate the new results and discussion points from the rebuttal.
Read meta-review
Meta-review
The paper proposes an RL framework for LLM agents, called TrajEvolve, to tackle the challenge of reward sparsity in long-horizon tasks. The approach is based on two main ideas: a) training a discriminator to label redundant steps, which can be used to shape rewards and advantage estimates, b) evolving historical trajectories through pruning and correction to provide higher-quality training data. The method is evaluated on two benchmarks (ALFWorld and WebShop), yielding improved success rates compared to several baselines.
The paper addresses the important issues of reward sparsity and redundant steps in long-horizoning LLM training. It provides a theoretical basis for its approach, while comprehensive experiments appear to confirm that its main components/modules (hindsight credit assignment and trajectory evolution) are important for achieving performance gains over the baselines. That said, the reviewers have identified several weaknesses of the proposed approach and evaluation, including:
- (W1) Computational requirements appear not to have been fully accounted for in the experiments (Reviewers Escz, jprB). For example, the approach appears to exhibit significant overhead compared to the baselines; therefore, it is unclear whether the comparisons were made on a computationally equivalent basis (Reviewer Escz).
- (W2) The current set of results does not seem to clearly demonstrate how much of the performance stems from the inherent task knowledge of the pre-trained model used or the task-domain knowledge injected into the approach's components, rather than from the RL framework itself (Reviewers jprB). It is also unclear under what conditions directly using a strong LLM judge would be preferable instead of training a discriminator (Reviewers jprB).
- (W3) Some empirical results appear to lack confidence intervals, while some of the claims, including theoretical ones, appear stronger than the results suggest (Reviewers gZsP, Fwjd).
- (W4) Conceptual validity and generalization risks are somewhat unclear (Reviewers gZsP, Fwjd, jprB). For example, it is not clear that the binary classification approach captures all the nuances across different possible cases (e.g., exploratory actions) (Reviewer gZsP) or whether it is important to rely on binary classification signals (Reviewer Fwjd). Additional empirical insights about the trajectory evolution module would also be beneficial (Reviewer Fwjd).
Overall, the paper proposes an interesting approach. However, the weaknesses above suggest that the paper could benefit from including additional experiments (W1, W2, W4), improving the statistical rigor (W3), providing additional discussion regarding the limitation of the proposed approach (W4), and more carefully interpreting the results (W3).
Final justification
The authors have provided a thorough rebuttal that includes additional experimental results. Many of the concerns identified in the initial meta-review appear to have been addressed. However, some concerns, e.g., (W4), were only partially addressed (see, for example, the related remaining concerns raised by Reviewer gZsP and Reviewer jprB in their final justifications). Reviewer Fwjd's concern regarding the theoretical results has also not been fully addressed. That said, the reviewers are generally positive about the paper, and my recommendation is consistent with the overall sentiment of the reviewers. The authors are encouraged to revise the manuscript to incorporate the new results and discussion points from the rebuttal.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies how to accelerate RL training for LLM agents on long-horizon tasks. The main idea is to pretrain a discriminator to identify low-quality or redundant steps, so as to provide richer reward signals. The authors also propose a trajectory evolution method that actively refines historical trajectories during sampling, perturbing rollouts to obtain more high-quality trajectories. The paper evaluates the proposed method on ALFWorld and WebShop and reports improvements in success rate.
Strengths and weaknesses
Strengths:
-
The paper highlights a problem in RL for LLMs on long-horizon tasks: the existence of redundant steps may hinder both training efficiency and task performance. Since long-horizon environments often provide sparse or delayed rewards, it is reasonable to consider how denser step level feedback can accelerate training.
-
The proposed method is also well motivated. If RL can be viewed as a sampling efficiency problem, then it makes sense to identify negative or low-quality examples and provide denser feedback. The reward signal from discriminator gives a concrete way to implement this idea. The trajectory evolution component is also an interesting attempt.
-
The experiments show that the proposed method can improve the success rate on the ALFWorld and WebShop benchmarks. These results suggest that the method may be useful for interactive decision-making benchmarks and long-horizon LLM-agent tasks.
Concerns:
-
In the discriminator training, the data is generated by Qwen2.5-14B-Instruct. I wonder what the performance of this data-generating model is on the ALFWorld and WebShop benchmarks. This would help clarify how much task knowledge or benchmark-specific behavior may already be present in the discriminator training data. If the data-generating model is already strong on these benchmarks, it becomes less clear how much of the final improvement comes from the proposed RL framework itself, rather than from knowledge injected through the data generation process.
-
When facing a new problem, it is unclear how much computational efficiency is actually gained by collecting data, doing post-hoc analysis, and training the discriminator, compared to designing a process where Qwen2.5-14B-Instruct acts as the judge directly. From the Discriminator Accuracy Experiment, the accuracy seems to be above 0.9, so maybe it is already easy to tell which step is redundant just by asking an LLM. The paper also mentions employing GPT-5.2-2025-12-11 as an approximate judge to evaluate the discriminator’s predictions on failed trajectories. I would like the authors to clarify when training the discriminator is preferable to directly using an LLM judge.
-
I am not fully clear how much task-domain knowledge is injected directly through Trajectory Evolution. In particular, the descriptions of Format Correction and Error Rollback are not detailed enough for me to assess whether these operations are general-purpose trajectory refinements or task-specific interventions. More description and examples would help make the method easier to understand and evaluate.
-
For redundancy, I am not fully convinced that redundancy is always harmful. In long-horizon interactive tasks, some apparently redundant steps may be useful for generalization, robustness, verification, or recovery. For example, in a stochastic setting, due to uncertainty, we might need some redundancy. I would appreciate examples of steps labeled as redundant versus useful, and some discussion of whether removing redundancy may overfit to the training environment.
Overall, I think the paper studies an important problem and proposes a reasonable method. However, my main concerns are about the computing cost tradeoff of training the discriminator and whether removing redundancy always helps.
Questions
My main questions are related to the discussed weaknesses: how does the discriminator training pipeline compare practically with directly using a strong LLM as a judge, how much knowledge is injected through Trajectory Evolution?
Limitations
yes
Final justification
The rebuttal resolved my main concern about the method’s practical effectiveness by providing additional evidence. A remaining limitation is that the structured benchmarks simplify the identification of redundant exploration or information-gathering steps, so generalization to real-world settings remains unclear. Overall, I place more weight on the clear empirical gains within the paper’s scope and therefore raise my score.
Formatting concerns
I did not notice major formatting or anonymity concerns.
5 comments
Rebuttal
Dear Reviewer jprB:
Thank you so much for your thoughtful review and valuable feedback. We deeply appreciate the time and effort you devoted to evaluating our work. Below, we have provided detailed responses to your comments.
1. The Performance of the Qwen2.5-14B-Instruct Model
Your Concern (W1): In the discriminator training, the data is generated by Qwen2.5-14B-Instruct. I wonder what the performance of this data-generating model is on the ALFWorld and WebShop benchmarks. This would help clarify how much task knowledge or benchmark-specific behavior may already be present in the discriminator training data.
Thanks for the comments. We show the performance of Qwen2.5-14B-Instruct on ALFWorld and WebShop as follows:
| ALFWorld | Pick | Look | Clean | Heat | Cool | Pick2 | All |
|---|---|---|---|---|---|---|---|
| Qwen2.5-14B-Instruct | 50.0 | 37.5 | 25.0 | 16.7 | 18.8 | 6.2 | 28.1 |
| WebShop | Score | Succ. |
|---|---|---|
| Qwen2.5-14B-Instruct | 30.4 | 12.5 |
As shown in the table, Qwen2.5-14B-Instruct performs only moderately on ALFWorld and WebShop. However, due to the advantages of our method, we do not need a very strong model to construct the trajectory data. In fact, we want the generated trajectories to contain both necessary steps and redundant steps, so that they can serve as effective training data for our discriminator.
2. Trained Discriminator vs. Direct LLM Judge
Your Concern (W2): When facing a new problem, it is unclear how much computational efficiency is actually gained by collecting data, doing post-hoc analysis, and training the discriminator, compared to designing a process where Qwen2.5-14B-Instruct acts as the judge directly. From the Discriminator Accuracy Experiment, the accuracy seems to be above 0.9, so maybe it is already easy to tell which step is redundant just by asking an LLM. The paper also mentions employing GPT-5.2-2025-12-11 as an approximate judge to evaluate the discriminator’s predictions on failed trajectories. I would like the authors to clarify when training the discriminator is preferable to directly using an LLM judge.
Thanks for the comments, and we apologize for any confusion caused. We would like to clarify a possible misunderstanding, then explain why a trained discriminator is preferable to a direct LLM judge.
Clarification on the accuracy. This accuracy is measured against the ground-truth labels from our hindsight verification, which are exact rather than estimated, not against GPT-5.2. GPT-5.2 is used only as an approximate evaluator for failed trajectories, where hindsight verification is inapplicable. It is never the label source for credit assignment.
Why not use an LLM judge directly?
-
For successful trajectories, an LLM judge is a regression. We already obtain exact ground-truth labels via counterfactual verification; replacing them with LLM predictions would introduces errors.
-
Without verification, judging necessity is intrinsically hard — even for strong models. A step's necessity depends on downstream effects not observable from the trajectory alone. E.g., in ALFWorld an agent may need to search a countertop to find the target; a step that merely passes that location without searching is easily misjudged, since its causal consequence only appears later. Per-step LLM judging tends to miss this dependency structure.
-
LLM labeling is prohibitively expensive. Credit labeling runs for every step of every trajectory at every iteration. Using a large (especially closed-source) judge makes cost scale catastrophically with horizon length and iterations.
Empirical comparison. We added an experiment replacing our discriminator with Qwen2.5-14B-Instruct as the judge:
| Credit signal | ALFWorld | WebShop |
|---|---|---|
| TrajEvolve (14B as Judge) | 80.5±1.6 | 61.2±1.2 |
| TrajEvolve (Discriminator) | 92.2±1.6 | 71.9±1.6 |
The 14B judge yields large negative gains, confirming that a regular LLM cannot reliably identify per-step necessity.
3. Clarifying Format Correction and Error Rollback
Your Concern (W3): I am not fully clear how much task-domain knowledge is injected directly through Trajectory Evolution. In particular, the descriptions of Format Correction and Error Rollback are not detailed enough for me to assess whether these operations are general-purpose trajectory refinements or task-specific interventions. More description and examples would help make the method easier to understand and evaluate.
Thanks for the comments, and we apologize for the confusion caused by the brief descriptions. We clarify that both operations are general-purpose refinements that inject no task-domain knowledge. They rely only on signals already available in any interactive environment, namely the admissible action set and our learned discriminator, rather than on hand-crafted task-specific rules.
Format Correction. When a step fails because the emitted action is not in the admissible action space , we map it to the admissible action with the longest common substring, so that the agent's intended action becomes executable.
Example. Suppose the admissible set is {"open drawer 1", "open cabinet 2", "take mug 1"} and the policy emits the malformed action "open drawer1". Its longest common substring with "open drawer 1" is "open drawer" (11 characters), longer than with any other admissible action, so the step is corrected to "open drawer 1" and becomes executable.
Error Rollback. When a trajectory fails due to a wrong decision, our discriminator identifies the first step predicted to be erroneous. We retain all steps before as a fixed prefix and re-rollout from with the current policy, letting it regenerate alternative actions from that state onward.
Example. For a failed 5-step trajectory where the discriminator flags as the first erroneous action, we keep the prefix , replay up to , and re-generate from , e.g. the policy tries a different and reaches success.
4. Examples of Redundancy
Your Concern (W4): For redundancy, I am not fully convinced that redundancy is always harmful. In long-horizon interactive tasks, some apparently redundant steps may be useful for generalization, robustness, verification, or recovery. For example, in a stochastic setting, due to uncertainty, we might need some redundancy. I would appreciate examples of steps labeled as redundant versus useful, and some discussion of whether removing redundancy may overfit to the training environment.
Thanks for the thoughtful comment. We address it in two parts: (i) concrete examples of redundant vs. necessary steps, and (ii) whether removing redundancy overfits to the training environment.
Redundant vs. necessary steps. For operational tasks such as ALFWorld and WebShop, removing redundant steps is consistently beneficial, because these steps are genuinely wasteful actions that do not contribute to task completion. Two representative cases from our hindsight verification on successful trajectories:
ALFWorld — Task: "clean some spatula and put it in diningtable."
| Step | Action | Credit |
|---|---|---|
| 0 | go to drawer 1 | redundancy |
| 1 | go to countertop 1 | redundancy |
| 2 | go to countertop 2 | necessary |
| 3 | take spatula 1 from countertop 2 | necessary |
| 4 | go to sinkbasin 1 | necessary |
| 5 | clean spatula 1 with sinkbasin 1 | necessary |
| 6 | go to diningtable 1 | necessary |
| 7 | move spatula 1 to diningtable 1 | necessary |
Steps 0–1 wander to irrelevant receptacles ; they locate nothing related to the spatula and can be dropped without affecting success. The remaining steps form the minimal path find → take → clean → place.
Does removing redundancy overfit? For purely operational tasks the answer is no, since the removed steps carry no task-relevant information. The subtlety arises only in tasks with genuine information gathering, e.g. ScienceWorld, where checking whether an object conducts electricity requires observing signals (such as whether a connected bulb lights up). Naively applying counterfactual verification there could mislabel these observation steps as redundant.
We handle this explicitly: information-gathering steps have a distinct action type (look/read) that is easily separable from environment-altering actions, so we retain all of them on successful trajectories, and additionally keep any operational step whose effect is observed by an information-gathering step. As is shown in Appendix C.4 on Page 21, TrajEvolve remains the best on ScienceWorld.
5. Discriminator Cost and the Benefit of Redundancy Removal
Your Concern: However, my main concerns are about the computing cost tradeoff of training the discriminator and whether removing redundancy always helps.
Thanks for the comments. We address both points below.
The discriminator cost is acceptable. The discriminator overhead is modest and does not scale with the policy. On the 7B setting, discriminator training and credit labeling together account for only around 8% of the per-step time. Our method does not critically depend on a strong discriminator: credit labels for successful trajectories come entirely from exact counterfactual verification in the environment (ground-truth labels, no learned estimator), which continuously supplies training signal regardless of discriminator quality.
Removing redundancy helps on both benchmarks. To directly test whether redundancy removal helps, we ablate the removing redundant steps:
| Variant | ALFWorld SR | WebShop SR |
|---|---|---|
| Ours (w/o redundancy removal) | 86.7 | 65.6 |
| Ours (full) | 92.2 | 71.9 |
Thanks again for the time and effort you have invested!
We hope these responses address your concerns comprehensively. Feel free to let us know if you have any additional questions, and we are more than happy to provide further clarification on any aspect of our work.
Respectfully and sincerely,
The Authors
Dear Reviewers jprB,
Thank you again for your great efforts and valuable comments. We have carefully addressed the main concerns in detail, and we hope you might find the response satisfactory. As the discussion phase is about to close, we are very much looking forward to hearing from you about any further feedback. We will be very happy to clarify any further concerns (if any).
Best,
Authors
Dear Reviewer jprB,
We sincerely appreciate your valuable time and insightful suggestions on our paper again, and we apologize for taking up more of your time. We hope that we have addressed your concerns in our responses. Since the reviewer-author discussion deadline is less than one day away, please let us know if you have any other questions or remaining concerns. We would be glad to further respond to them. With these clarifications in place, we kindly ask if you would consider the possibility of raising the score for our submission. Thank you very much!
Best regards,
The Authors
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work considers the problem of long-horizon trajectory optimization for LLM post-training with RL. The authors attribute challenges with long-horizon trajectory optimization to credit assignment from sparse trajectory-level rewards and particularly the difficulty in identifying and penalizing redundant steps in trajectories. They propose a method which identifies such redundant steps through hindsight verification, which identifies steps whose removal from a successful trajectory would not lead to a change in the successful outcome (through direct verification in the environment). They use this verification process to produce step-level binary labels for the trajectory, assigning 0 if redundant and 1 otherwise and train a discriminator to produce a step-level credit assignment module which is then used to assign an overall redundancy penalty and a step-level advantage during RL training. Additionally, they augment real rollout trajectories with additional trajectories which have redundancies eliminated. They test their method on two challenging benchmarks for LLM agents with long-horizon, multi-step tasks and demonstrate that the proposed method improves over base GRPO and prior method GiGPO overall.
Strengths and weaknesses
Strengths:
- (1) The paper considers an important problem in LLM post-training
- (2) The paper provides a theoretical analysis of the redundancy issue in LLM post-training demonstrating that normal on-policy RL has a redundancy floor. This analysis also provides justification for the proposed method, which the authors demonstrate can eliminate this floor through the injection of additional clean trajectories.
- (3) The experiments validate that the proposed method TrajEvolve improves over prior work GiGPO on two challenging benchmarks for long-horizon LLM reasoning tasks.
- (4) The authors ablate the contribution of both the step-level credit assignment and the trajectory evolution components and find that both components are necessary for the full performance gain.
Weaknesses: My primary concerns with the proposed method relate to the computational cost:
- (1) The proposed method adds significant computational overhead to GRPO. In Appendix C.3 the authors provide a computational breakdown that shows the new components (Discriminator training, hindsight verification, credit labeling and trajectory evolution) taken together nearly double the computational cost of the overall algorithm. Compared to the same breakdown from GiGPO which shows their method adds negligible computational cost to GRPO.
- (2) It is not clear to me that the comparisons across different post-training methods are made on a computationally equivalent basis. The different methods are compared at equivalent training iterations, however the proposed method TrajEvolve does significantly more computation per training iteration, since it requires determining all the dependent states in trajectories and training the discriminator. This possibly includes additional rollouts (see question below). This is particularly important since it does not appear that any of the methods have plateaued in performance improvement at the end of the training iterations, so it is possible some methods would surpass the proposed TrajEvolve method if supplied with the same computational budget.
Questions
- (1) Can you elaborate on how dependent sets are determined? "Action feasibility can be directly read from environment feedback—task execution environments such as ALFWorld explicitly return an execution-status signal, making this judgment trivial." Does this mean that for every step in a trajectory, that step must be removed from the trajectory and then the remaining steps unrolled in order to determine action feasibility at all subsequent states? If so, is this not effectively adding additional rollouts to the TrajEvolve method that other baselines do not receive?
- (2) Is the number of redundant steps actually correlated with overall success rate in general? I.e. if we look at the percentage of redundant steps in successful and unsuccessful trajectories.
- (3) What is the training time for TrajEvolve vs baselines GRPO and GiGPO?
Limitations
Limitations are not discussed in detail. Important limitations to discuss would include computational cost and the reliance on environments providing action feasibility feedback.
Final justification
My primary concern in recommending this paper for publication was regarding the computational cost of the method compared to prior methods and whether the performance gain could be attributed to the increased computation alone. The additional experiments demonstrating longer training on GiGPO did not surpass performance of the proposed method as well as the end-to-end training time comparisons with the smaller discriminator have sufficiently alleviated these concerns.
Formatting concerns
NA
4 comments
Rebuttal
Dear Reviewer Escz:
Thank you so much for your thoughtful review and valuable feedback. We deeply appreciate the time and effort you devoted to evaluating our work. Below, we have provided detailed responses to your comments.
1. The Computational Overhead of TrajEvolve
Your Concern (W1): The proposed method adds significant computational overhead to GRPO. In Appendix C.3 the authors provide a computational breakdown that shows the new components (Discriminator training, hindsight verification, credit labeling and trajectory evolution) taken together nearly double the computational cost of the overall algorithm. Compared to the same breakdown from GiGPO which shows their method adds negligible computational cost to GRPO.
Your Concern (Q3): What is the training time for TrajEvolve vs baselines GRPO and GiGPO?
We thank the reviewer for this comment. We would like to clarify that the per-module overhead reported in the Appendix C.3 leaves considerable room for reduction. We discuss each module below.
1. Discriminator-related training cost
The large discriminator share in Appendix C.3 arises because those numbers were profiled on the 1.5B setting, where the discriminator is the same scale as the policy; on the 7B setting, discriminator training and credit labeling together account for only around 8% of the per-step time. More fundamentally, our method does not critically depend on a strong discriminator, since credit labels for successful trajectories come entirely from counterfactual verification in the environment (exact ground-truth labels, no learned estimator), which continuously supplies training signal regardless of discriminator quality (Appendix C.2). To confirm the discriminator can be lightweight, we replaced the 1.5B discriminator with a Qwen2.5-0.5B-Instruct while training the 1.5B policy: performance remained comparable while reducing this portion of the overhead by 55%.
| ALFWorld | 0 | 1 | 2 | Avg |
|---|---|---|---|---|
| Ours (1.5B Disc.) | 91.4 | 93.0 | 92.2 | 92.2 |
| Ours (0.5B Disc.) | 90.6 | 92.2 | 91.4 | 91.4 |
| WebShop | 0 | 1 | 2 | Avg |
|---|---|---|---|---|
| Ours (1.5B Disc.) | 70.3 | 73.4 | 71.9 | 71.9 |
| Ours (0.5B Disc.) | 69.5 | 72.7 | 71.1 | 71.1 |
2. Hindsight verification cost
Hindsight verification judges each environment-changing step by replaying the trajectory with that step (and its dependent steps) removed and checking whether the task still succeeds. Since it only replays recorded actions, it involves no model inference and is therefore a purely CPU-based operation that uses no GPU resources. Moreover, the verification calls are independent of each other, so this stage is fully parallelizable across trajectories and across verification calls. As a result, its cost scales down with the number of available CPU cores. Our reported numbers were profiled on only 96 CPUs; with a few hundred cores, this stage would drop to roughly 30% of the reported cost. We therefore believe the time overhead of this stage still has considerable room for reduction.
3. Trajectory evolution cost
The trajectory evolution stage is an intrinsic, periodic cost of our method rather than a per-step tax. Since evolution is triggered every 5 iterations, over a 150-iteration run it adds the equivalent of roughly 30 steps of extra work in total. We argue this cost is well justified: as shown in our next response regarding performance the gains from evolution cannot be matched by simply giving baselines additional training steps, because evolution exposes the policy to high-quality compositions outside its current sampling distribution — an effect that on-policy training alone cannot reproduce within a practical budget (Theorem 3.5).
4. Total cost
Finally, we compare the end-to-end training-time overhead against PPO, GRPO, and GiGPO across both model scales over 3 independent runs per setting, all measured on 8 × H20 GPUs.
Qwen2.5-1.5B-Instruct
| Method | 0 | 1 | 2 | Avg |
|---|---|---|---|---|
| GRPO | 9.68 | 10.52 | 10.13 | 10.11 |
| GiGPO | 10.62 | 11.53 | 10.94 | 11.03 |
| PPO | 14.58 | 15.62 | 15.09 | 15.10 |
| Ours | 12.76 | 13.58 | 13.05 | 13.13 |
Qwen2.5-7B-Instruct
| Method | 0 | 1 | 2 | Avg |
|---|---|---|---|---|
| GRPO | 15.72 | 16.58 | 16.11 | 16.14 |
| GiGPO | 16.61 | 17.68 | 17.07 | 17.12 |
| PPO | 21.28 | 22.83 | 22.14 | 22.08 |
| Ours | 19.57 | 19.79 | 20.16 | 19.84 |
The total cost of TrajEvolve remains below that of PPO, a standard and widely used baseline. Since our overhead does not even exceed that of this common baseline, we consider it entirely acceptable, especially given the consistent performance gains our method delivers over all baselines.
2. Performance Comparsion with Different Training Steps
Your Concern (W2): It is not clear to me that the comparisons across different post-training methods are made on a computationally equivalent basis. The different methods are compared at equivalent training iterations, however the proposed method TrajEvolve does significantly more computation per training iteration, since it requires determining all the dependent states in trajectories and training the discriminator. This possibly includes additional rollouts (see question below). This is particularly important since it does not appear that any of the methods have plateaued in performance improvement at the end of the training iterations, so it is possible some methods would surpass the proposed TrajEvolve method if supplied with the same computational budget.
Thanks for the comments. To verify that the performance gains of our method do not simply stem from a larger effective number of rollout steps, we compare TrajEvolve against GiGPO trained for progressively more steps (150, 200, and 300 steps).
| ALFWorld | 0 | 1 | 2 | Avg |
|---|---|---|---|---|
| GiGPO (150 steps) | 84.4 | 87.5 | 88.3 | 86.7 |
| GiGPO (200 steps) | 88.3 | 89.8 | 89.1 | 89.1 |
| GiGPO (250 steps) | 87.5 | 89.1 | 88.3 | 88.3 |
| GiGPO (300 steps) | 86.7 | 87.5 | 86.7 | 87.0 |
| TrajEvolve (150 steps) | 91.4 | 93.0 | 92.2 | 92.2 |
| WebShop | 0 | 1 | 2 | Avg |
|---|---|---|---|---|
| GiGPO (150 steps) | 66.4 | 67.2 | 68.0 | 67.2 |
| GiGPO (200 steps) | 68.8 | 68.8 | 69.5 | 69.0 |
| GiGPO (250 steps) | 68.0 | 68.8 | 67.2 | 68.0 |
| GiGPO (300 steps) | 67.2 | 68.0 | 68.0 | 67.7 |
| TrajEvolve (150 steps) | 70.3 | 73.4 | 71.9 | 71.9 |
The results confirme that our gains stem from the credit-assignment and trajectory-evolution mechanism rather than from additional rollout compute.
3. The Determining Process of Dependent Sets
Your Concern (W1): Can you elaborate on how dependent sets are determined? "Action feasibility can be directly read from environment feedback—task execution environments such as ALFWorld explicitly return an execution-status signal, making this judgment trivial." Does this mean that for every step in a trajectory, that step must be removed from the trajectory and then the remaining steps unrolled in order to determine action feasibility at all subsequent states? If so, is this not effectively adding additional rollouts to the TrajEvolve method that other baselines do not receive?
Thanks for the comments. We clarify both parts of the question: the dependent set is obtained by environment replay rather than any learned model, and this replay adds no additional model rollouts.
Determining the dependent set. To verify a step , we take an already-sampled successful trajectory, remove step , and replay the remaining recorded actions in the environment. A later step is a dependent step of if its recorded action can no longer be executed once is removed — the environment simply returns a "nothing happens" signal for that action. Both the dependent set and the final necessity/redundancy judgment are read directly from the environment's execution-status and success signals.
For a concrete example, consider the task "clean some spatula and put it in diningtable", with the relevant steps take spatula 1 from countertop 2 (step 4), clean spatula 1 with sinkbasin 1 (step 6), and move spatula 1 to diningtable 1 (step 8). If we remove step 4, the agent never holds the spatula, so replaying steps 6 and 8 fails (the environment reports "nothing happens"). Steps 6 and 8 are thus identified as dependent on step 4, and step 4 is verified by checking whether the task still succeeds after removing all three together.
No additional rollout. Crucially, this replay only re-executes actions already recorded during the normal rollout phase; it never queries the policy to generate new actions, so no LLM inference and no GPU compute are involved. It is a lightweight, fully parallelizable CPU-side operation over the same rollouts all baselines use. Hence the number of policy generations (the GPU-bound cost) is identical to GRPO/GiGPO, and the comparison remains fair.
4. Redundancy Correlates with Task Success
Your Concern (W2): Is the number of redundant steps actually correlated with overall success rate in general? I.e. if we look at the percentage of redundant steps in successful and unsuccessful trajectories.
Thanks for the suggestion. Since failed trajectories have no ground-truth labels, we use GPT-5.2 to assess the redundancy of the failed trajectories among the rollouts produced within the first 50 steps of an ALFWorld run, while the successful trajectories are labeled directly by our hindsight verification module.
| Alf Step | 1-5 | 6-10 | 11-15 | 16-20 | 21-25 | 26-30 | 31-35 | 36-40 | 41-45 | 46-50 | Avg |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Success Redundancy | 74% | 76% | 78% | 73% | 66% | 70% | 62% | 64% | 64% | 62% | 69% |
| Failure Redundancy | 93% | 93% | 92% | 92% | 91% | 91% | 90% | 90% | 89% | 89% | 91% |
The results show a clear separation in redundancy between successful and failed trajectories.
Thanks again for the time and effort you have invested!
We hope these responses address your concerns comprehensively. Feel free to let us know if you have any additional questions, and we are more than happy to provide further clarification on any aspect of our work.
Respectfully and sincerely,
The Authors
Dear Reviewers Escz,
Thank you again for your great efforts and valuable comments. We have carefully addressed the main concerns in detail, and we hope you might find the response satisfactory. As the discussion phase is about to close, we are very much looking forward to hearing from you about any further feedback. We will be very happy to clarify any further concerns (if any).
Best,
Authors
I thank the authors for their thorough treatment of my concerns.
My primary concerns around the computational burden and computationally-equivalent comparisons have been largely addressed. I appreciate the clarification around the process of determining dependent sets, particularly the clarification that this is CPU-only procedure. My remaining concern here is that this process may be somewhat environment specific, i.e. in environments where rollouts are relatively cheap relative to model inference. However, I concede that in the LLM setting, the bulk of the computational cost lies in inference and therefore the additional environment steps are less concerning than in the standard RL setting. I am therefore raising my score.
Thanks for your valuable suggestions and for raising the score! We are very glad that our response resolved the remaining confusion.
We also appreciate the final point regarding the environment-specific nature of the procedure. We will incorporate this discussion into the revised version. Thanks again for the careful and constructive review, which has helped us improve the paper substantially!
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes TrajEvolve, an RL framework for long-horizon LLM agents that improves training by constructing evolved trajectories from historical rollouts. The method uses hindsight verification to label steps in successful trajectories as necessary or redundant, trains a discriminator with these labels, and uses the resulting signals for reward shaping, advantage estimation, and trajectory evolution. The evolved trajectories are then used together with on-policy rollouts for policy optimization. Experiments on ALFWorld and WebShop show improved success rates and shorter trajectories compared with several RL baselines.
Strengths and weaknesses
Strengths:
- The paper addresses an important problem in long-horizon RL for LLM agents, where sparse rewards and insufficient successful rollouts make policy optimization difficult. The proposed use of hindsight verification to identify redundant steps and refine historical trajectories is intuitive and practically useful in replayable environments.
- The empirical evaluation is reasonably broad, covering ALFWorld and WebShop with multiple RL baselines. The reported results show consistent gains over PPO, RLOO, GRPO, and GiGPO.
Weaknesses:
- I am not fully convinced by the motivation for turning credit assignment into a binary classification problem. Step-level supervision has already been studied in prior work, such as process supervision and process reward models . The more specific contribution here is using counterfactual replay to obtain necessary/redundant labels in agent environments. However, the paper does not compare this binary signal with continuous or scalar step-level credit signals, so it is hard to tell whether the binary formulation is really the key reason for the improvement.
- The hindsight verification procedure has some limitations. The dependent-step definition mainly checks whether a later action becomes infeasible after deleting an earlier step. This captures hard feasibility dependence, but some actions may still be feasible while becoming useless or semantically irrelevant. I think this is a reasonable operational definition for environments like ALFWorld and WebShop, but the paper should be more careful about claiming that these labels precisely capture true step-level credit.
- The trajectory evolution module feels more like a local trajectory editing heuristic than a fully principled way to generate high-quality trajectories. For example, format correction depends on how an invalid action is mapped to the nearest admissible action, but this is not clearly specified. Error rollback also requires identifying the first erroneous step, which can be difficult when only sparse final rewards are available. Since the evolved trajectories are still derived from existing rollouts, it is unclear how much the method expands the training distribution beyond local variants of current-policy behavior.
- The theoretical analysis does not really support the strongest claims. Assumption 3.1 is stronger than it sounds, since it requires a per-state lower bound on redundancy. Assumption 3.3 also simplifies a complex policy-level change into a linear dependence on the fraction of clean trajectories. More importantly, Proposition 3.7 assumes that trajectory evolution injects clean trajectories and then gives only a lower bound on redundancy. A decreasing lower bound does not show that actual redundancy decreases or that the sampling barrier is broken. The empirical redundancy reduction over GiGPO also seems relatively modest, so the claim about substantially reducing redundancy is not fully convincing.
References:
- Lightman, Hunter, et al. Let's verify step by step. International Conference on Learning Representations. Vol. 2024. 2024.
Questions
-
Can the authors compare the proposed binary necessary/redundant signal with continuous or scalar step-level credit signals? This would help clarify whether the binary formulation itself is important, or whether the gain mainly comes from having any useful step-level supervision.
-
Can the authors provide more direct ablations of the discriminator and the trajectory evolution module, such as oracle hindsight labels, pruning-only replay, or evolution without discriminator-based error-step prediction?
-
Can the authors clarify Proposition 3.7? As written, it seems to assume that trajectory evolution injects clean trajectories and then provides only a lower bound on redundancy, which does not imply that redundancy actually decreases.
Limitations
No. I did not find a clear limitations discussion in Section 5, although the checklist refers to it.
Final justification
The rebuttal and follow-up discussion resolved most of my empirical concerns:
- The new comparisons with continuous credit signals provide evidence that the simple binary signal is genuinely effective, rather than merely benefiting from generic step-level supervision.
- The additional replay and evolution ablations better isolate the gains from trajectory pruning and failed-trajectory repair. The re-sampling analysis also provides stronger evidence that evolved trajectories are rarely obtained under a practical on-policy rollout budget.
- I find the simple binary signal and trajectory editing mechanism practically appealing. If validated more broadly, this design could be useful for intermediate reward design and trajectory improvement in other settings.
My main remaining concern is the theory. The revised guarantee still relies on an assumption that directly enforces positive redundancy reduction, so the claim of theoretically “breaking the sampling barrier” remains highly conditional. I also believe the hindsight labels should be interpreted more carefully as removability under the evaluated downstream trajectory, rather than exact task-level necessity.
Overall, I believe this is a useful contribution to the community.
Formatting concerns
No major formatting concerns.
7 comments
Rebuttal
Dear Reviewer Fwjd:
Thank you so much for your thoughtful review and valuable feedback. We deeply appreciate the time and effort you devoted to evaluating our work. Below, we have provided detailed responses to your comments.
1. The Effectiveness of Binary Formulation and Signal
Respond to W1 and Q1
Thanks for the question, and we apologize for any confusion caused. We clarify the effectiveness of our binary signal from two angles: the underlying principle and empirical results
Principle Perspective
Classic PRMs rely on costly human-annotated step labels, impractical in interactive environments. Annotation-free credit assignment methods (e.g., GiGPO) avoid this, but can only coarsely estimate a step's credit from the final outcome, without truly identifying whether the step is necessary for task completion. GiGPO groups repeated anchor states and derives step advantages from the relative outcomes. Two inherent issues follow: (i) the same action at the same anchor state has different actual contributions depending on its preceding context, so such continuous credit assignment remains heuristic and does not reflect a step's true contribution to the final task; and (ii) the credit stays dominated by the final reward and has no mechanism to flag redundant steps, so redundant steps in successful trajectories still get positive credit and are never skipped.
Our counterfactual signal is actual label, not a estimation. We are not discretizing an unobservable continuous quantity. Necessity is directly verifiable by environment replay (Algorithm 1): remove a step with its dependents and check whether the task still succeeds. This yields (i) exact, verifiable labels of whether a step contributes to task completion, and (ii) dual guidance, since we both penalize redundant steps and supply the redundancy-eliminated trajectory as a high-quality target.
Empirical Results
To verify that the binary signal itself matters, we replace the binary credit signal with two continuous scalar variants, each run over three random seeds.
- GiGPO. Each step's scalar credit is the group-normalized discounted return over grouped anchor states.
- Implicit PRM. Following [1], we reuse the same discriminator as a scalar process reward, taking its log-odds between the two classes (i.e., the difference of the class logits ) as the step credit and adding the clipped value to that step's advantage:
| Credit signal | ALFWorld | WebShop |
|---|---|---|
| Continuous (Implicit PRM) | 90.1±2.3 | 69.0±1.8 |
| Continuous (GiGPO) | 89.1±2.7 | 68.8±2.1 |
| Binary (ours) | 92.2±1.6 | 71.9±1.6 |
Under an otherwise identical setup, the binary signal outperforms both continuous variants, indicating that the gain is not merely from having some step-level supervision, but specifically from a verifiable necessity signal that continuous credit cannot provide.
2. The Generalization of Hindsight Verification Procedure
Respond to W2
Thanks for this constructive comment, and we apologize for any confusion caused. We acknowledge that judging step dependency solely by whether later steps remain feasible is hard to generalize to cases where steps are "soft-feasible." However, this does not mean our method lacks transferability.
In ScienceWorld, a setting with many information-gathering steps, we make a corresponding adaptation (Appendix C.4 on Page 21). Rather than relying only on whether a later action stays feasible, we use an intermediate observation as the signal to check whether earlier steps have a soft dependency on later ones. For example, in a task testing whether an object conducts electricity, we use whether the bulb lights up as a key signal to determine whether preceding actions actually affect task completion. This lets us capture soft dependencies beyond hard feasibility constraints. Importantly, our method still performs strongly in this setting:
| Method | IID SR(%) | OOD SR(%) |
|---|---|---|
| GRPO | 92.19 | 86.72 |
| GiGPO | 92.97 | 87.50 |
| TrajEvolve | 95.31 | 89.06 |
This shows that our method remains transferable to soft-feasible tasks. That said, designing a more general method to automatically identify such signals is a worthwhile direction, and we will include the related discussion in the revised version. Thanks again for the valuable feedback.
3. Clarifying the Trajectory Evolution Mechanism and Its Distribution Expansion
Respond to W3
Thanks for the detailed comments. We clarify the three points in turn.
Format correction. An invalid action is deterministically mapped to the admissible command with the longest common substring, and we will add this specification to the revised version.
Accuracy of the first error step. Our step discriminator is pre-trained with SFT on a constructed label set, so it already has a solid baseline ability to flag erroneous steps. To validate it on failed trajectories (where no ground-truth labels exist), we use GPT-5.2 as an approximate judge, as reported in Appendix C.2 (Page 19), and the result is desirable: the discriminator attains 84.95% accuracy on failed ALFWorld trajectories and 77.26% on failed WebShop trajectories, indicating that erroneous-step identification is reliable rather than noisy.
Expanding the training distribution. To verify whether our trajectory evolution expands the base policy's distribution, we log the following two indicators (on ALFWorld).
- Failure → success conversion. We measure the fraction of evolution candidates (predominantly failed rollouts) that are converted into successful trajectories. It rises from ≈5.2% over the first ~50 training steps to ≈23.4% over the last ~50 steps. Crucially, these successes come from task instances where all on-policy rollouts in the group failed, so evolution effectively overturns the erroneous steps and produces genuine successful trajectories that the full on-policy rollouts rarely reach on their own.
- Evolved-trajectory duplication rate. We further check whether the evolved trajectories could have been produced by the base policy via rollout, and Cumulatively only ≈1.4% (65 of 4800) of evolved trajectories are exact copies of their source. This shows that the evolved trajectories are essentially not reproducible by the original policy's rollouts, i.e., they lie outside — not within — the current-policy distribution, thereby effectively expanding it.
4. Theoretical Revision and Analysis
Respond to W4 and Q3
Thanks for the comments. We clarify two points: (i) Our theorem and the subsequent proposition do not require Assumption 3.1 to hold in full; a strictly weaker version already yields the similar conclusions. (ii) Prop. 3.7 gives only a lower bound because Assump 3.3 bounds the gradient signal from above only. A two-sided characterization of the signal instead yields the intended upper bound. The revisions:
A3.1′ (Weakened version). Require only that at least a fraction of states along any rollout satisfy . The revised assumption allows some states after which only correct, non-redundant steps can be produced, with no possibility of making a mistake. All subsequent results hold with . Note can be measurable via hindsight verification; the initial episode length already indicates a large initial redundancy rate.
A3.3′ (Generalized Version). for some bounded positive non-decreasing for .
Justification: The original linear form is the special case , retained as a corollary for explicit constants.
Thm. 3.5: becomes , still exponential in .
Sketch: and give by Markov's inequality; Lemma A.2 then applies verbatim.
Prop. 3.7d: for any , after iterations — polynomial in all parameters and independent of .
Sketch: by construction, so monotonicity gives a constant per-iteration decrease ; summing yields . This implies: a redundancy lower bound persisting exponentially long in (on-policy) vs. an upper bound decreasing at a -independent rate (TrajEvolve).
Given the character limit we provide proof sketches only, and we are happy to share the complete revised proofs during the discussion phase, and they will revised in the subsequent revision.
5. More Ablation Experiments
Respond to Q2
Thanks for these suggestions. First, we would like to clarify: TrajEvolve already uses exact hindsight labels rather than the discriminator for successful trajectories (already use oracle hindsight labels). The discriminator is only used to label failed trajectories. We have additionally conducted the requested ablations, with results shown below:
| Ablation | ALFWorld | WebShop |
|---|---|---|
| Ours | 92.2±0.8 | 71.9±1.6 |
| only Pruning Replay | 89.8±0.8 | 70.3±0.8 |
| only Error-step Prediction | 85.2±0.8 | 63.5±0.5 |
| w/o Evolution | 83.3±1.2 | 62.8±0.9 |
Thanks again for the time and effort you have invested!
We hope these responses address your concerns comprehensively. Feel free to let us know if you have any additional questions, and we are more than happy to provide further clarification on any aspect of our work.
Respectfully and sincerely,
The Authors
Dear Reviewers Fwjd,
Thank you again for your great efforts and valuable comments. We have carefully addressed the main concerns in detail, and we hope you might find the response satisfactory. As the discussion phase is about to close, we are very much looking forward to hearing from you about any further feedback. We will be very happy to clarify any further concerns (if any).
Best,
Authors
Thank you for the detailed response and additional experiments. The new results are helpful. I still have four concerns, and I may raise my score if they are clarified:
- Still about binary credit signal. Do the continuous variants still use binary labels for pruning and evolution? If so, the comparison may only validate binary advantage shaping. I agree that a simple binary signal would be very useful if its effectiveness is clearly demonstrated.
- Hindsight labels and ScienceWorld. The labels seem to measure removability under a mostly fixed suffix, rather than true task-level necessity. The ScienceWorld procedure also seems inconsistent with Appendix C.4. Please clarify the actual implementation and whether the intermediate signals are manually designed.
- Distribution expansion. The failure-to-success result is useful, but a low exact-copy rate does not show that evolved trajectories lie outside the current-policy distribution. A likelihood-based or compute-matched rollout comparison would be more convincing.
- Theory and ablations. The revised theory seems to assume a positive redundancy reduction, which partly assumes the desired conclusion. A complete proof is needed. A successful-trajectory replay baseline without pruning would also help separate replay from editing.
- Rating
- 4/6
- Confidence
- 3/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 TrajEvolve, an RL framework for long-horizon LLM agents that uses hindsight verification to label steps as necessary or redundant, trains a discriminator from these labels, and periodically refines historical trajectories through redundancy pruning, format correction, and rollback. The main claim is that trajectory evolution can improve sparse-reward agent training by exposing the policy to higher-quality trajectories than on-policy sampling alone.
Strengths and weaknesses
Strength
- The method targets a real weakness of long-horizon agentic RL: sparse final rewards and indiscriminate credit assignment over multi-step trajectories.
- Hindsight replay provides a concrete supervision source for step-level redundancy labels in replayable environments, which is more grounded than purely heuristic confidence or LLM-judge signals.
- The paper includes relevant empirical support: comparisons to PPO/RLOO/GRPO/GiGPO on ALFWorld and WebShop, component ablations, trajectory-length analysis, discriminator accuracy, compute overhead, and off-policy diagnostics.
Weaknesses
- There is an important hidden assumption: if the task still succeeds after removing a step and its dependents, they label the step redundant. That is reasonable for many manipulation actions. But it can mislabel exploratory or information-gathering actions that helped the policy choose correctly but are not needed by a fixed replay script after the fact. A step can be unnecessary for replay but useful for online decision making.
- Uncertainty reporting is incomplete. Table 1 reports results over 3 seeds, but the paper does not clearly define whether the reprot statistics denotes standard deviation or standard error, and several ablations/appendix analyses lack confidence intervals.
- Some mechanistic claims are stronger than the evidence. Shorter successful trajectories support redundancy reduction, but do not fully establish that the discriminator learns robust causal credit, especially for failed trajectories or information-gathering actions.
Overall it is a good paper with interesting results and promising approach. I would consider further increasing the score if these points are clarified.
Questions
- What are the confidence intervals in the main tables, and can the authors provide missing confidence intervals ?
- How often does hindsight verification assign misleading labels, especially when information-gathering steps are necessary for later decisions but do not directly change environment state?
- Core question: can you explain the hidden assumption mentioned in Weakness 1?
- Can the authors explain more details about how the descriminator is trained?
Limitations
Yes.
Final justification
The rebuttal partly addressed my concerns. However, I still find some of the algorithm details, such as the discriminator design, might only work for certain tasks / environments, which has less impact to general RL tasks.
Formatting concerns
N/A
4 comments
Rebuttal
Dear Reviewer gZsP:
Thank you so much for your thoughtful review and valuable feedback. We deeply appreciate the time and effort you devoted to evaluating our work. Below, we have provided detailed responses to your comments.
1. The Applicability of TrajEvolve on Exploratory and Information-Gathering steps
Your Concern (W1): There is an important hidden assumption: if the task still succeeds after removing a step and its dependents, they label the step redundant. That is reasonable for many manipulation actions. But it can mislabel exploratory or information-gathering actions that helped the policy choose correctly but are not needed by a fixed replay script after the fact. A step can be unnecessary for replay but useful for online decision making.
Your Concern (Q3) : Core question: can you explain the hidden assumption mentioned in Weakness 1?
Thanks for this insightful comment. We would like to clarify that our method remains applicable to information-gathering and exploratory steps. We address the two aspects below.
1. On pruning exploratory steps. For exploratory actions that may affect the final outcome, early exploration is indeed necessary. However, once the model reaches the later stages of training, requiring a failed attempt before a successful one (e.g., needing a failed search query experience in order to arrive at a working one) is undesirable in real deployment: it introduces unnecessary latency and a poor user experience. Our trajevolve evolution goal is precisely for the policy to learn to produce the successful action directly in later training, rather than after a wasted round. In this sense, pruning such exploratory operational steps is beneficial: it improves trajectory quality and encourages the model toward better trajectories, rather than being a failure exploratory problem.
2. On handling information-gathering steps. We agree that counterfactual verification alone cannot, on its own, avoid mislabeling genuine information-gathering steps. However, such steps have a useful property: their action type is clearly distinguishable from ordinary operational steps. Taking ScienceWorld as an example, which contains many tasks requiring information gathering (e.g., wiring a bulb, where one must observe whether it lights up to verify completion), these steps are typically look/read actions, clearly separable from environment-altering actions (e.g., connecting wires). We exploit this to handle them explicitly: we retain all information-gathering steps on successful trajectories, and additionally, if an operational step affects the observation of an information-gathering step, we treat that operational step as necessary and retain it as well.
Concretely, on ScienceWorld with Qwen2.5-7B-Instruct (150 iterations), TrajEvolve achieves the best success rate on both splits, with the largest relative gains on the harder OOD split:
| Method | IID SR(%) | OOD SR(%) |
|---|---|---|
| GRPO | 92.19 | 86.72 |
| GiGPO | 92.97 | 87.50 |
| TrajEvolve | 95.31 | 89.06 |
These results show that although counterfactual verification does not eliminate every redundant step in tasks with substantial information gathering, it still improves trajectory quality and yields solid performance gains. This confirms that our method remains applicable even in settings with heavy information-gathering steps.
2. The Statistical Reliability of TrajEvolve
Your Concern (W2): Uncertainty reporting is incomplete. Table 1 reports results over 3 seeds, but the paper does not clearly define whether the reprot statistics denotes standard deviation or standard error, and several ablations/appendix analyses lack confidence intervals.
Your Concern (Q1) : What are the confidence intervals in the main tables, and can the authors provide missing confidence intervals ?
Thanks for the comment, and we apologize for any confusion caused. The ± values in all tables denote the standard deviation (SD), computed across independent runs with different random seeds. We will state this explicitly in the caption of Table 1 and in the experimental setup of the subsequent version.
Additional multi-seed experiments (main results). To further demonstrate the reliability of our method, we have extended the main experiments to 5 random seeds. We report the per-seed results together with their mean for the GIGPO and our method below:
| ALFWorld Variant | 0 | 1 | 2 | 3 | 4 | Mean |
|---|---|---|---|---|---|---|
| GiGPO | 84.4 | 87.5 | 88.3 | 87.5 | 85.2 | 86.6 |
| Ours | 91.4 | 93.0 | 92.2 | 93.8 | 91.4 | 92.4 |
| WebShop Variant | 0 | 1 | 2 | 3 | 4 | Mean |
|---|---|---|---|---|---|---|
| GiGPO | 66.4 | 67.2 | 68.0 | 64.8 | 65.6 | 66.4 |
| Ours | 70.3 | 71.9 | 73.4 | 70.3 | 72.7 | 71.7 |
A two-sided paired t-test over the 5 seeds shows that our method significantly outperforms GiGPO on both benchmarks (p<0.01, i.e., over 99% confidence), confirming that the improvement is stable rather than an artifact of seed selection.
Additional multi-seed ablations. We have also re-run the ablation study with 3 seeds and report the per-seed results together with the average below (Qwen2.5-1.5B-Instruct):
| ALFWorld Variant | 0 | 1 | 2 | Average |
|---|---|---|---|---|
| Ours | 91.4 | 93.0 | 92.2 | 92.2 |
| w/o Step Credit | 86.7 | 86.7 | 87.5 | 87.0 |
| w/o Evolution | 84.4 | 82.0 | 83.6 | 83.3 |
| w/o ALL | 78.1 | 76.6 | 78.1 | 77.6 |
| WebShop Variant | 0 | 1 | 2 | Average |
|---|---|---|---|---|
| Ours | 70.3 | 73.4 | 71.9 | 71.9 |
| w/o Step Credit | 68.8 | 69.5 | 70.3 | 69.5 |
| w/o Evolution | 63.3 | 61.7 | 63.3 | 62.8 |
| w/o ALL | 60.2 | 59.4 | 60.9 | 60.2 |
These results confirm that both components contribute consistently across seeds, and we will include the full multi-seed tables in the revised version.
3. Reliability of the Discriminator and Hindsight Credit Assignment
Your Concern (W3): Some mechanistic claims are stronger than the evidence. Shorter successful trajectories support redundancy reduction, but do not fully establish that the discriminator learns robust causal credit, especially for failed trajectories or information-gathering actions.
Your Concern (Q2): How often does hindsight verification assign misleading labels, especially when information-gathering steps are necessary for later decisions but do not directly change environment state?
We thank the reviewer for this comment and apologize for any confusion. Below we clarify the accuracy of our discriminator and hindsight credit assignment.
1. Discriminator Accuracy. For successful trajectories, credit labels are exact ground truth obtained through hindsight counterfactual verification, without relying on the discriminator at all. For failed trajectories, where no ground-truth labels exist, we evaluate the discriminator's predictions using GPT-5.2-2025-12-11 as an approximate judge. As reported in Figure 7 of Appendix C.2 on Page 19, the discriminator reaches strong overall accuracy (90.93% on ALFWorld, 83.17% on WebShop), with 95.06% / 87.59% on successful trajectories and 84.95% / 77.26% on failed ones. Overall, this high accuracy—particularly on failed trajectories—indicates that misleading labels are rare and that the discriminator provides reliable causal credit rather than noisy signals.
2. Ablation Evidence. Our ablation study further confirms that the credit signal contributes to final performance: removing step-level credit assignment (w/o Step Credit) leads to a consistent performance drop on both benchmarks. This shows the credit labels provide useful, task-relevant guidance rather than uninformative signals.
| Variant | ALFWorld | WebShop |
|---|---|---|
| w/o Step Credit | 87.0±0.5 | 69.5±0.8 |
| Ours | 92.2±1.6 | 71.9±1.6 |
3. Information-gathering actions. As stated in our previous response, we handle information-gathering steps with a separate categorization: they are retained unconditionally rather than subjected to counterfactual pruning, so they are not mislabeled as redundant. Moreover, the previous ScienceWorld results have shown that trajevolve achieves the desirable performance on this benchmark. This demonstrates that our approach remains applicable even in tasks that contain a large proportion of information-gathering steps.
4. The Training Process of Discriminator
Your Concern (Q4): Can the authors explain more details about how the descriminator is trained?
We thank the reviewer for the comment. Below we summarize the discriminator training procedure.
Labels. For each successful trajectory, we obtain ground-truth step-level labels via hindsight counterfactual verification (Algorithm 1 on Page 4): we remove a step together with its dependent steps and replay the trajectory; if the task still succeeds, the step is labeled redundant (y=0), otherwise necessary (y=1). No learned estimator is involved.
Training. Using these labels, we train the discriminator (Qwen2.5-1.5B-Instruct backbone) as a binary classifier via SFT with a cross-entropy loss (Eq. 5 on Page 4). To handle cold-start, we pre-train it before RL on ~2,000 labeled successful trajectories, then fine-tune it with LoRA during RL, updated alternately with the policy. Full hyperparameters are in Appendix B.2 on Page 16.
Why a small model suffices. Since labels come from counterfactual verification rather than the discriminator itself, and the task is a simple binary classification, a lightweight 1.5B model with LoRA is enough for strong performance.
Thanks again for the time and effort you have invested!
We hope these responses address your concerns comprehensively. Feel free to let us know if you have any additional questions, and we are more than happy to provide further clarification on any aspect of our work.
Respectfully and sincerely,
The Authors
Dear Reviewers gZsP,
Thank you again for your great efforts and valuable comments. We have carefully addressed the main concerns in detail, and we hope you might find the response satisfactory. As the discussion phase is about to close, we are very much looking forward to hearing from you about any further feedback. We will be very happy to clarify any further concerns (if any).
Best,
Authors
Thank you for your detailed response and additional experiments. Most of my concerns have been addressed, though several limitations regarding the framework's core assumptions remain.
-
In the rebuttal, the authors reframes failed trajecotries to failed attempts, which is not mentioned in the reviewer's original comment. The reviewer would like to ask about the reliability on failed trajectories rather than claiming the importance of a single failed attempt in the trajectory.
-
Even when discussing the failed attempts, the claim in the rebuttal
However, once the model reaches the later stages of training, requiring a failed attempt before a successful one (e.g., needing a failed search query experience in order to arrive at a working one) is undesirable in real deployment: it introduces unnecessary latency and a poor user experience.
generally has conflict to the trail-and-error nature of RL, which raise concerns on the genrealization capability beyond deteministic environments like ALFWorld and WebShop.
- Reliance on Human Priors: Protecting observation steps through keyword rules (look/read) introduces handcrafted human heuristics, which contradicts the claim of a fully autonomous framework.
Dear Reviewer gZsP:
Thanks very much for your response! The opportunity to discuss these points is genuinely valuable to us. We apologize for any confusion caused by our earlier reply, and we want to clarify three points below: (1) the reliability of failed trajectories, (2) the effect of the evolution phase on exploration, and (3) the extent of our reliance on human priors.
1. Reliability on Failed Trajectories
We sincerely apologize for any misunderstanding we may have caused. Before answering, we would like to take the liberty of confirming whether the "reliability on failed trajectories" you mentioned refers to whether the discriminator's judgments on failed trajectories are trustworthy. We ask because failed trajectories are handled by the discriminator alone and do not go through hindsight verification: hindsight verification is applied only to successful trajectories.
If this is indeed your concern, we suspect that our discussion in Point 3 of the previous response may not have been presented clearly enough, and we would like to take this opportunity to lay it out more fully here. For failed trajectories, no ground-truth labels exist, so we evaluate the discriminator's predictions using GPT-5.2-2025-12-11 as an approximate judge. As reported in Figure 7 of Appendix C.2 (Page 19), the discriminator reaches 90.93% overall accuracy on ALFWorld and 83.17% on WebShop, with 95.06% / 87.59% on successful trajectories and 84.95% / 77.26% on failed ones. The accuracy on failed trajectories indicates that misleading labels are relatively rare and that the discriminator provides usable credit signals rather than noise. We acknowledge that the GPT-5.2 judge may itself introduce evaluation noise, so these numbers should be read as an approximate reference rather than an exact measurement.
2. Effect on Exploration
We would like to clarify that TrajEvolve does not modify the exploration mechanism of the underlying RL algorithm. Exploration across iterations and across rollouts, including group sampling in GRPO and a rollout temperature of 1.0, is left entirely untouched, and the policy still discovers new successful paths through trial and error in the standard way.
The evolution phase is a separate stage triggered every 5 iterations, operating only on trajectories that have already been collected: successful ones are pruned of redundant environment-changing steps, and failed ones are repaired. These evolved trajectories then join training as an additional stage, without constraining the exploration that happens during the rollout phase. We apologize for any misunderstanding caused, and we will describe the separation between the evolution phase and the rollout phase more explicitly in the revision.
Empirically, this does not come at the cost of generalization. As our ScienceWorld results show, TrajEvolve retains its generalization in more complex settings, reaching 95.31% / 89.06% on the IID / OOD splits versus 92.97% / 87.50% for GiGPO, with a well gain on the OOD split.
3. Reliance on Human Priors
We acknowledge that for complex environments our method does rely on a certain amount of prior knowledge, but we would like to clarify this prior is a lightweight binary distinction based on the action verb directly. As described in Section 2.2 and Appendix C.4, it does not involve any finer-grained manual annotation, and the rule takes only 1-2 lines of code in practice. For a new environment, our method only needs to determine which action types the environment has, and this lightweight distinction can then be set up quickly, without any additional follow-up effort.
We have also re-checked the paper for the claim of a fully autonomous framework. The closest statement we could find is that the discriminator's labels are obtained automatically, without human annotation. We may well have missed something, so if any wording gave a stronger impression, we would be grateful if you could point it out, and we will revise it.
Once again, we sincerely thank the reviewer for giving us this opportunity to discuss. It truly means a lot to us. If you have any further questions, we would be glad to clarify.
Sincerely,
The Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear Area Chair ZjnU,
We sincerely thank you for your time, effort, and careful evaluation of our manuscript, and for the clear summary of the points to be addressed. We greatly appreciate the reviewers' constructive feedback, which has substantially improved our work. We have thoroughly addressed every concern raised by each reviewer. Below we summarize the key strengths noted by the reviewers and our responses, organized following the meta-review.
(We refer to Reviewer gZsP as R1, Reviewer Fwjd as R2, Reviewer Escz as R3, Reviewer jprB as R4.)
Key strengths highlighted by the reviewers:
R1, R2, R3, R4)R1, R2); the overall method is also seen as well motivated, with trajectory evolution regarded as an interesting attempt (R4).R1, R2, R3)Responses to the main weaknesses raised in the meta-review:
R3-W1/Q3,R4-final concern). We also ran the compute-matched control directly: giving GiGPO up to twice our training steps still leaves it clearly behind TrajEvolve, so the gains are not bought with extra compute (R3-W2).R4-W1), and the evolution operators rely only on the admissible action set and the discriminator, injecting no hand-crafted task-specific rules (R4-W3, see also AC-4). We further explain why a strong LLM judge is not the better option — it cannot observe the downstream consequences that determine necessity, and its cost scales with every step of every iteration — and back this with an experiment where a 14B judge substantially underperforms our discriminator (R4-W2).R1-W2/Q1). For the mechanistic claims, we substantiate them with the discriminator's accuracy on failed trajectories together with the credit ablation, and will calibrate the wording to exactly what this evidence supports (R1-W3). We also revise the theory so that it rests on weaker assumptions and yields the correct direction of the bound, i.e., an upper bound showing that redundancy actually decreases (R2-W4/Q3).R1-W1/Q2/Q3,R4-W4); we also give a soft-dependency variant for environments where feasibility alone is insufficient (R2-W2). To test whether the binary formulation itself matters, we compare it against two continuous step-credit variants under an identical setup, and it wins on both benchmarks (R2-W1/Q1). For trajectory evolution, we specify the operators precisely with examples to show they are general-purpose, add the requested finer-grained ablations, and provide diagnostics confirming that evolved trajectories genuinely extend beyond what the current policy samples (R4-W3,R2-Q2/W3).All the above analyses, comparisons, and discussions will be incorporated into the final version.
Thank you again for your careful reading and thoughtful evaluation. We hope this summary is helpful, and we are happy to provide any further clarification.
Respectfully and sincerely,
The Authors