- Rating
- 5
- Clarity
- 2
- Confidence
- 4
- Originality
- 4
- Quality
- 2
- Significance
- 4
Read review
Summary
The authors propose a principled framework for evaluating the consistency of LLM/agent outputs/trajectories. A consistent agent is one whose behavior is robust to small variations in problem/environment specifications. The paper considers two types of consistency: at the output-level and at the trajectory-level. They use similarity-based metrics to compare outputs/trajectories and consistency is defined as the average similarity across outputs to perturbed inputs. The authors prove that this consistency metric forms a U-statistic and the soundness of statistical hypothesis tests with this metric.
For comparing outputs, they use standard embedding based similarity scores, while for trajectories, they use two metrics: (i) the order-agnostic Jensen-Shannon distance that measures the difference in empirical frequencies of outputs in trajectories, and (ii) the Levenshtein distance that considers the order as well to compute the edit distance between two sequences.
To evaluate their framework, the authors consider three agentic benchmarks. They consider prompt-level perturbations (noise, paraphrasing) and also environment-level perturbations (e.g., altering the tools available to the agent). The main takeaway is that while agents are consistent at the output level, their accuracy often drops under perturbations. This drop in performance is explained by the low Levenshtein consistency indicating that agents do not follow similar trajectories under perturbations, even if their empirical action frequencies remain consistent.
Strengths and weaknesses
Strengths The paper considers a very relevant topic that has the potential to be a good contribution. The proposed statistical framework is also sound and the authors consider an interesting set of metrics and experiments. The motivation presented in the introduction is clear. The gap between the Jensen-Shannon consistency and Levenshtein consistency is particularly a very fascinating finding!
Weaknesses While the content is very interesting, the presentation and writing is extremely subpar. It took me multiple readings to understand the main results and takeaways of the paper. Parts which I believe require heavy reworking:
- In the introduction, the final paragraph describing the contributions is too small. I believe expanding this by going into more detail about what output-level and trajectory-level mean would greatly help a reader. This could be accompanied by a short example or a figure.
- In the theoretical section, while I appreciate the exhaustive details, it is quite long and dense. Is there a way to present the output-level and trajectory-level metrics in a unified format instead of having to repeat the assumptions? I believe a bit more thought could go into the presentation here to make it neater and convey the ideas of the metrics more intuitively.
- Section 4, the first experimental part, is also very hard to parse and the plots in Fig 1 are not at all well presented. The section can be formatted much better while highlighting the important takeaways.
- In the following section, the plot studying perturbation strength seems uninteresting since the consistency is not impacted much and I believe the authors could consider moving it to the appendix.
- The temporal dynamics part requires reworking because a reader's eye first goes towards Table 1 which is hard to interpret and the explanation above is not intuitive. It can be made more intuitive and less verbose.
Questions
As stated previously, I greatly appreciated the content and experiments of the paper but the presentation requires reworking as discussed in the weaknesses.
Additional question for the authors:
- Is it possible to provide an example of two trajectories where the actions remain similar but the ordering diverges? What are examples of early-stage and late-stage divergences? Such an example would also help the exposition in making the takeaway of the paper clear.
- Building upon that, is is it possible to analyze and broadly categorize the triggers for diverging trajectories? What distinguishes good and bad trajectories? Lastly, how do the agents fail under perturbations?
- What are the average/median lengths/number of turns in trajectories? What does the average edit position correspond to in terms of the length of an average/median trajectory?
I am happy to raise my evaluation score to 5: Accept if the authors are able to address these questions (or why they are not easy to answer) and how they would improve the presentation in terms of writing, figures, and plots. If the authors disagree with any of the suggestions, I am also happy to engage in a discussion.
Limitations
Yes.
Paper formatting concerns
No.
Final justification
I am satisfied with the rebuttal of the authors that has addressed how they will improve the presentation of the work which was my main concern along with including few examples of perturbations and outputs in the main body. I believe that they can make the necessary edits to turn this into an important contribution.
I have also read other reviews and rebuttals. I believe the authors have sufficiently addressed the concerns raised regarding semantic-preserving perturbations. I disagree with other reviewer's opinions regarding the theoretical assumptions being too strong. These assumptions are used to prove the validity of the statistical tests but the empirical results show that important insights regarding agentic consistency can still be derived even if the assumptions do not hold in practice.
Therefore, I am updating my score to 5: Accept.
Thank you for your detailed feedback. We appreciate that you found the idea valuable and the findings interesting.
On the writing, we had to shorten the main content in a number of places to fit into 9 pages. We agree that your suggestions remove readability, and commit to the following
Below are our responses to your questions. Given a chance, we'd gladly add this discussion in a revised version.
1. Examples of divergence
Early vs Late
Example A and B below show start-level and end-level mismatches, respectively.
Example A: BFCL task
live_irrelevance_544-168-7, agentopenhands-kimik2,decoy_funcperturbation.The base run starts with a
[think]block:The user is asking if a specific Python file is currently running... I need to: 1. Check for running Python processes..., goes on to call theexecute_bashtool 7 times, and gives answer{"status": "not_running", ...}. The perturbed run start with no think block, instead has[execute bash] ps aux | grep python, goes on to callexecute_bash6 times with the same commands as base, and gives answer[].Example B: Task
live_irrelevance_484-138-1, same as A otherwise.Since neither of the functions are relevant to the task, the correct behavior in both runs is to write
[]. Both runs reach that conclusion, but only the perturbed run explicitly emitsfinishto signal it.Base:
[execute_bash, str_replace_editor x 5, execute_bash x 2]Perturbed:
[execute_bash, str_replace_editor x 5, execute_bash x 2, finish]Together, A and B show the same perturbation mechanism producing a start-only mismatch on one task and an end-only mismatch on another.
Order divergence
Example C: BFCL task
live_simple_152-95-9, agentopenhands-kimik2, paraphrase perturbation.Base:
[task_tracker, execute_bash x 4, task_tracker, finish]Perturbed:
[task_tracker, execute_bash x 3, task_tracker, execute_bash, finish]Both runs use identical action counts. The reordering of actions results in different answers: in the base run the agent marks its plan as as
donein the secondtask_trackeronly after creating and verifying the output file, while in the perturbed run it marks the plandoneprematurely, then performs one furtherexecute_bashto actually write the required file/app/result.json.Examples A-C above are drawn from the tails of the edit-position distribution across real task pairs (e.g.\ `{decoy_func} task-pair positions range 0.136-0.817 across 337 tasks). While the start-vs-end and reordering examples are clean for them, most base vs perturbed task pairs show a mixed pattern, with edit operations at both early and late positions within the same pair, rather than concentrating entirely at one end.
2. Failure analysis
2.a Significant triggers
Broadly, three failure triggers are worth pointing out. While we have discussed the first two in the submission, we will make sure to discuss them together in the revised version, given the topical similarity.
Moving task description out of instructions resulted in considerable degradation in outcome consistency, as seen in the
linear_mcpperturbation (line 254-259). 0.516 (codex-gpt5mini) and 0.444 (openhands-kimik2), each the lowest among that agent's perturbation types — despite its trajectory-level process-consistency score not being unusually low (0.584 for codex, which is actually the highest of the five). As an example, on SWE-bench task 161django_django-14580,linear_mcpreplaces the bug report in the perturbed prompt by a pointer to the same instance via Linear MCP tools. Consequently, the agent adopts a 5-step plan built around a nonfunctional external issue tracker instead of the bug report itself — same task, substantially reshaped instructions for how to approach the task, performing even a web search to get the bug report.Capability-mismatch was observed on perturbation
xml_reson BFCL, when evaluatingopenhands-kimi-k2an agent-specific tool-calling scaffold failure (Line 317-327 and Appendix E.3). xml_res} changes only the required output format but the task itself is unchanged. The collapse in accuracy for OpenHands+Kimi-K2 was due to the LLM not being able to form XML outputs. As a consequence, more than half (54.6%) of the perturbed runs got stuck repeatedly emitting a malformed call to a tool the task never required:\path{Missing required parameters for function 'str_replace_editor': {'security_risk'}}until the token limit exhausts. This is not observed in any of the base trajectories.Phrasing sensitivity. Lexical rewrites that leave the task unchanged still divert trajectories, in two distinct ways. In a first example on SWE-bench
astropy__astropy-14096(Codex+GPT-5-mini, paraphrase), rewording the issue title and body leaves the base run passing in 13 commands, while the perturbed run never stabilizes on a plan: it debugs its own debug code, issues web searches, attempts a second fix, and ends by asking the user how to proceed. In a second example on BFCL tasklive_multiple_779-173-1(OpenHands+Kimi-K2, paraphrase), when "psychologist" is rephrased to "mental health professional", the perturbed run selects the same tool and resolvescityidentically to base, but wrongly sets output type as "mental health therapist", resulting in a failure. Note that the two trajectories are identical under our current action ontology, which records function names only the divergence is entirely in argument content. This clarifies the limitation raised in Lines 328-335 and Appendix D.6, and we will move the example into the main text.2.b What distinguishes good from bad trajectories.
Across the cases we inspected, the separating property is not which actions are taken but whether the agent commits to a plan and terminates on it. Successful runs are short and monotone, roughly following the sequence reason -> execute -> verify -> stop. Failing runs under perturbation are long and non-monotone, characterized by re-planning loops after an error, self-inflicted errors that generate further work (the astropy code debug loop), unproductive repetition (the
xml_resscaffold loop), or termination by deferral to the user rather than by task completion.2.c How agents fail
The three triggers above correspond to three mechanisms unrelated to task-solving capability of an agent or the underlying LLM.
linear_mcp): the task is intact but its presentation is restructured, and the agent reorganizes its approach around the new channel than around the problem.xml_res): the model cannot satisfy a format the harness requires. The resulting error is non-recoverable, producing repetition until tokens are exhausted.In each case the underlying task remains solvable and the base run solves it. The failures are located in the interface between the agent and its environment. This is the region accuracy-only evaluation leaves unobserved, and we give visibility to.
3. Summary statistics
For SWE-bench, mean avg. edit position is ~0.22 across five perturbations, mean action count is ~24, corresponding to divergence concentrated around action 5-6 of a typical 25-action run. For Spider2-DBT (mean avg. edit position 0.31-0.44 depending on agent, mean action count 19-41) divergence happens between action 6-18, depending on agent. For BFCL, mean action count is less than 2, suggesting roughly 1--2 actions per run. Since avg. edit position takes just a few discrete values here, it can act at best as a qualitative signal than compared directly against the other two benchmarks.