Tracing Agentic Failure from the Flow of Success
Samuel Yeh, Yiwen Zhu, Shaleen Deep, Sharon Li
NeurIPS 2026
Abstract. Failure attribution for LLM-based agentic systems, i.e., identifying which steps in a failure trajectory caused the task to fail, is critical for debugging and improving these systems. Existing approaches either rely on prompting-based pipelines, which are computationally expensive, or require post-training on failure trajectories with step-level error annotations, which are costly to collect and difficult to scale. We argue that a practical failure attribution model should be lightweight and trainable without step-level supervision on failure data. To this end, we address unsupervised failure attribution, i.e., training exclusively on successful trajectories and identifying error steps at inference time given a failure trajectory. We propose OAT, which casts this problem as one-class learning with neural controlled differential equations, modeling the dynamical pattern of successful trajectories in latent space. At inference time, each step in a failure trajectory is assigned an anomaly score based on its deviation from the dynamics learned on successful trajectories, which is then used to form a set of error steps. With training on only 100 successful trajectories, experiments show that OAT is 200--5000$\times$ faster than prompting-based baselines, and, at the same time, consistently outperforms them in both in-domain and out-of-distribution datasets with +20% and +7% F1 scores, respectively, demonstrating that OAT is a promising and efficient direction for diagnosing agentic system failures.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The reviewers agree that step-level failure attribution for agentic systems is an important and timely problem, and that training only on successful trajectories is an appealing way to avoid costly step-level annotation. At the same time, several substantive concerns emerged.
The most central issue, raised in different forms by all three reviewers, is the gap between anomaly detection and failure attribution. Reviewers cEW6 and e2Y4 both note that a step deviating from the distribution of successful trajectories is not necessarily causally responsible for the failure, and that an uncommon-but-valid step could be flagged while a distributionally normal error is missed; Reviewer PAA8 relatedly finds the definition of "failure contributing steps" too loose compared to counterfactual definitions used elsewhere. A clear response on what OAT is actually claimed to identify, and how the evaluation supports that claim, would go a long way (see cEW6 Q3, e2Y4's questions, and PAA8's fourth weakness).
Another thing is isolating the contribution of the proposed modeling choices. Reviewer cEW6 (W3, Q2) asks for standard one-class anomaly detection baselines on the same step embeddings, which seems a reasonable and fairly lightweight request that would clarify whether the Neural CDE formulation itself matters. Related to soundness of the reported numbers, please also address whether the latency comparison reflects end-to-end cost including hidden-state extraction (cEW6 Q1), and in particular whether CORAL was fitted on the Who&When test set (cEW6 Q5), if so, please explain how the OOD claims should be interpreted. The reliance on hidden states of a specific open model and the quality of the successful-trajectory bootstrap set raise questions about applicability; please respond to PAA8's first question on cross-model generalization and to cEW6 Q4 and e2Y4's concern about mislabeled "successful" trajectories that contain corrected errors.
Final justification
The rebuttal addressed the main concerns from my initial meta-review, one-class baselines, end-to-end latency, the CORAL fitting procedure with a cross-validated OOD result, sensitivity to the bootstrap set, and cross-encoder generalization. And all three reviewers have positive assessments after the discussion. I still recommend acceptance, and ask the authors to follow through on the camera-ready commitments made in the discussion.
Read meta-review
Meta-review
The reviewers agree that step-level failure attribution for agentic systems is an important and timely problem, and that training only on successful trajectories is an appealing way to avoid costly step-level annotation. At the same time, several substantive concerns emerged.
The most central issue, raised in different forms by all three reviewers, is the gap between anomaly detection and failure attribution. Reviewers cEW6 and e2Y4 both note that a step deviating from the distribution of successful trajectories is not necessarily causally responsible for the failure, and that an uncommon-but-valid step could be flagged while a distributionally normal error is missed; Reviewer PAA8 relatedly finds the definition of "failure contributing steps" too loose compared to counterfactual definitions used elsewhere. A clear response on what OAT is actually claimed to identify, and how the evaluation supports that claim, would go a long way (see cEW6 Q3, e2Y4's questions, and PAA8's fourth weakness).
Another thing is isolating the contribution of the proposed modeling choices. Reviewer cEW6 (W3, Q2) asks for standard one-class anomaly detection baselines on the same step embeddings, which seems a reasonable and fairly lightweight request that would clarify whether the Neural CDE formulation itself matters. Related to soundness of the reported numbers, please also address whether the latency comparison reflects end-to-end cost including hidden-state extraction (cEW6 Q1), and in particular whether CORAL was fitted on the Who&When test set (cEW6 Q5), if so, please explain how the OOD claims should be interpreted. The reliance on hidden states of a specific open model and the quality of the successful-trajectory bootstrap set raise questions about applicability; please respond to PAA8's first question on cross-model generalization and to cEW6 Q4 and e2Y4's concern about mislabeled "successful" trajectories that contain corrected errors.
Final justification
The rebuttal addressed the main concerns from my initial meta-review, one-class baselines, end-to-end latency, the CORAL fitting procedure with a cross-validated OOD result, sensitivity to the bootstrap set, and cross-encoder generalization. And all three reviewers have positive assessments after the discussion. I still recommend acceptance, and ask the authors to follow through on the camera-ready commitments made in the discussion.
3 comments
2. On Isolating the Contribution of the Neural CDE and Soundness of Reported Numbers
We thank the AC for consolidating these points. We address each in turn.
(1) Standard one-class baselines
We reported the performance of RNN baseline in Figure 5 and show that OAT outperforms it by a 6% F1 score.
As suggested by reviewer cEW6, we additionally compare OAT against two classical anomaly detection methods, OC-SVM and Isolation Forest, on MCP-Atlas, where each step is scored independently. As shown below, OAT consistently outperforms these baselines, demonstrating that modeling the trajectory dynamics using Neural CDE provides a more discriminative signal for failure attribution.
| Method | F1 ↑ | AUROC ↑ | AUPR ↑ |
|---|---|---|---|
| OAT | 0.435 | 0.629 | 0.324 |
| OC-SVM | 0.411 | 0.569 | 0.282 |
| Isolation Forest | 0.411 | 0.589 | 0.295 |
(2) Whether latency reflects end-to-end cost including hidden-state extraction
The reported inference includes every stage after the generator LLM forward pass, except hidden-state extraction. In practice, if the model for trajectory generation and failure attribution are the same, the hidden states are byproducts during generation, which does not take extra time to collect.
As suggested, we also measure the runtime with hidden-state extraction. The end-to-end failure attribution takes around 1000ms per trajectory when running with 2 H200 GPUs. Although it is higher than the latency excluding hidden-state extraction, it is still 4~5 times faster than the prompting baselines.
(3) Whether CORAL was fitted on the Who&When test set, and how this affects OOD interpretation
CORAL was fitted using representations from Who&When trajectories. Importantly, this procedure does not use task outcomes, failure labels, or step-level annotations; it only estimates aggregate feature statistics of the target environment.
This assumption is reasonable in many realistic deployment settings. Before deploying OAT in a new agent environment, one can realistically collect a batch of unlabeled agent trajectories through routine execution (just by letting the agent run) or a calibration phase and use them to estimate the target-domain statistics. This is substantially less costly than obtaining step-level failure annotations, which OAT is designed to avoid.
To ensure that the representation of each evaluated trajectory is not used when estimating its own target-domain statistics, we additionally perform five-fold cross-validation on Who&When. For each fold, CORAL statistics are estimated from the remaining four unlabeled folds, and evaluation is conducted on the held-out fold. The results show that OAT's performance remains competitive (with 0.197 F1 vs. GPT-5's 0.152).
(4) Cross-model generalization and applicability to close source models
While OAT operates on hidden representations, these representations need not necessarily come from the target (close source) LLM itself. Our empirical results already support this claim. In the OOD experiment (Section 5.2, Table 2), OAT outperforms the LLM-as-a-Judge baseline while using Qwen3.5 (open weight) to encode GPT-4o trajectories (closed-source).
In Appendix G.2, we extract trajectory representations from Qwen3.5-generated trajectories using different encoder models, including Llama, Gemma, and GPT-OSS, and then train and evaluate OAT using these new representations. In other words, we do not train OAT on Qwen3.5 representations, but instead representations from another encoder. The purpose of this experiment is to show that the model used to generate the trajectories and the model used to encode them for failure attribution need not be the same. The comparable performance across different encoders suggests that OAT does not critically depend on model-specific hidden representations.
We therefore believe OAT provides a practical path toward supporting closed-source agent systems by extracting trajectory representations with an accessible open-weight encoder, without requiring access to the proprietary model's internal states.
(5) Definition of a successful trajectory and the dependence on the bootstrapping set
We define the success of a trajectory based on its final outcome rather than the correctness of every intermediate step. This is aligned with the definition in previous work. For verifiable tasks, it can be determined automatically by the testing environment. For subjective tasks, it can be determined by humans. Consequently, successful trajectories may contain recoverable errors, detours, or suboptimal decisions that are later corrected. This property makes OAT more robust than approaches that assume successful trajectories are error-free, because it naturally tolerates recoverable mistakes while identifying deviations that prevent the trajectory from reaching a successful outcome.
While OAT requires an initial set of successful trajectories, this is substantially less burdensome than collecting step-level failure annotations. In practice, successful trajectories are often available from deployment logs, demonstrations, or automated testing, whereas failure attribution labels are rarely available at scale.
To understand how many trajectories are needed, we sample only 25, 50, 75, and 90 trajectories to train OAT. We run each setting 5 times to reduce the impact of randomness. The result in the table below shows that a larger sample set resulted in better performance, and the trend becomes stable after sample size > 75, suggesting that OAT is sample-efficient. The result also shows that the standard deviations across 5 runs are small after sample size > 50, suggesting that OAT is not highly sensitive to sampled trajectories.
| Sample size | F1 ↑ | AUROC ↑ | AUPR ↑ |
|---|---|---|---|
| 25 | |||
| 50 | |||
| 75 | |||
| 90 | |||
| All (103) |
We have also responded to all individual reviewer comments in detail below. We hope these clarifications address the concerns and demonstrate the value of OAT as a practical and annotation-efficient approach to step-level failure attribution for LLM agents.
Thank you again for your time and careful consideration.
Best regards, The Authors
Reference
[1]: Zhang et al. Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems. ICML'25
[2]: Kong et al. Aegis: Automated Error Generation and Attribution for Multi-Agent Systems. ICLR'26
[3]: Ma et al. DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems. ICLR'26
- Rating
- 4/6
- Confidence
- 5/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 paper addresses the failure attribution problem in agentic systems. The authors propose OAT, a method that models the continuous dynamics of successful agent trajectories using Neural Controlled Differential Equations applied to LLM hidden states. During inference, it identifies failure contributing steps by assigning anomaly scores based on deviations from the learned successful dynamics. Experiments show improvements in attribution accuracy compared to prompt based methods.
Strengths and weaknesses
Strengths
- The method attempts to formulate failure attribution without requiring costly step level error annotations on failure trajectories.
- The system significantly reduces inference latency and token costs compared to frontier LLM prompting baselines.
Weaknesses
- The approach relies on accessing internal hidden states of the LLM backbone. This highly limits the application potential. Modern frontier agentic systems often use proprietary APIs where internal representations are inaccessible, making OAT inapplicable to close source models.
- The selected baselines and evaluation datasets are somewhat weak. The baselines are two models prompted with all-at-once method. The evaluation dataset misses AEGIS[1], which provides synthesized traces with error annotations.
- The definition part is redundant in my opinion. For example, definition 3.1 is not mentioned later in the paper, making the explicit definition of a new "unsupervised" case feel unnecessary.
- Following 3, the definition of "Failure Contributing Steps" is subjective and blurred. Unlike Who&When that define a critical error through strict counterfactuals (i.e., correcting the step directly leads to success), this paper defines it as any step that "meaningfully degrades the trajectory". This phrasing is too vague to be a rigorous definition.
[1] Aegis: Automated Error Generation and Attribution for Multi-Agent Systems. ICLR 26.
Questions
- OAT is trained on the hidden states extracted from a single Qwen model. How does it generalize to hidden states extracted from other models during actual agent execution? I noticed an ablation on G.2, but the setting is not clearly described.
- Can you explain intuitively why OAT works on out-of-distribution dataset? Who&When traces are collected with gpt-4o on GAIA and AssistantBench, the model and task set in it is far from your data generation pipeline. Is there an explanation on why it can generalize to Who&When detection? How does OAT's performance compare to methods tested on Who&When, like DoVer[1]?
Please address the weakness section. I find the idea itself interesting, but the experiments are too thin to support the claims on superior results, and whether it generalizes to other tasks, models, agentic systems remains unknown.
[1] DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems. ICLR 26.
Limitations
yes
Final justification
This paper is a step towards step-level failure attribution in agentic systems. The novelty seems limited, given the prior works that covers different aspects of failure attribution. At the end of the day, it's just a classifier that takes in a trajectory, outputs a step, an agent, an error mode that leads to the failure. The difference mainly lies in the output protocol, the definition of what to attribute. Nevertheless, I find the proposed method interesting. In my opinion it's a borderline accept.
Formatting concerns
N/A
3 comments
Rebuttal
We sincerely appreciate your feedback and insightful comments! We address the questions and comments below in detail.
W1: The approach relies on accessing internal hidden states of the LLM backbone, making it inapplicable to close source models.
We thank the reviewer for pointing out this practical issue. While OAT operates on hidden representations, these representations need not necessarily come from the target (close source) LLM itself. Our empirical results already support this claim. In the OOD experiment (Section 5.2, Table 2), OAT outperforms the LLM-as-a-Judge baseline while using Qwen3.5 (open weight) to encode GPT-4o trajectories (closed-source). Furthermore, Appendix G.2 shows that using a different encoder model to represent Qwen3.5 trajectories achieves performance comparable to the same-model setting. These results suggest that OAT does not critically depend on model-specific hidden representations and that a separate open-weight encoder can effectively represent trajectories generated by another model.
We therefore believe OAT provides a practical path toward supporting closed-source agent systems by extracting trajectory representations with an accessible open-weight encoder, without requiring access to the proprietary model's internal states. We will clarify this distinction and discuss it explicitly in the paper.
W2: Baselines and evaluaton dataset
We completely understand your concern. Admittedly, the field of step-level failure attribution for LLM agents is still in its early stages, and there are currently very few established and reproducible methods that can be fairly compared under a common evaluation protocol. We therefore adopt the representative prompting-based baselines from the original Who&When benchmark [1] to enable direct and reproducible comparisons.
We'd also like to emphasize that the prompting baselines are reasonably competitive. Moreover, our implementation of the all-at-once baseline achieves a higher hit rate (equivalent to accuracy on Who&When) than both prompting variants reported in [1]. In addition, the step-by-step baseline requires separate LLM calls for a trajectory of length , making it substantially more expensive in both inference time and API cost than the all-at-once formulation.
Regarding the dataset, we'd like to point out that AEGIS [2] primarily annotates the error-contributing agent and error mode, rather than the step. Since our task is step-level failure attribution, AEGIS is not directly applicable to our evaluation protocol. Nevertheless, we agree that it is a valuable contribution to the broader landscape of agent failure analysis. We will cite this work in the revised paper and discuss its relationship to OAT.
W3: The definition part is redundant in my opinion.
Our intention in introducing Definition 3.1 is to formally distinguish the problem setting addressed by OAT from prior supervised failure attribution methods. Specifically, OAT studies unsupervised step-level failure attribution, where only successful trajectories are available during training and no failure annotations are required. We will revise the presentation to explicitly reference Definition 3.1 when introducing the learning objective and discussing the problem formulation. If the formal definition still appears unnecessary after revision, we are also happy to simplify or remove it to improve readability.
W4: The definition of "Failure Contributing Steps"
We thank the reviewer for raising this important point. We agree that our notion of failure-contributing steps differs from the stricter counterfactual definition adopted by Who&When, and this is an intentional design choice. In complex agent tasks, final failures are often the result of multiple compounding errors rather than a single decisive mistake. During our verification of the Who&When annotations, we also observed many examples where the annotated first decisive error alone did not fully capture the chain of events leading to the final failure.
More fundamentally, the counterfactual criterion (i.e., whether correcting a step alone would lead to success) is difficult to verify during annotation. Annotators generally do not have access to an oracle action that correctly replaces the step, nor can they intervene on that step and regenerate the remainder of the trajectory to test whether the task would succeed. As a result, the counterfactual definition is conceptually appealing but difficult to operationalize consistently in practice. This challenge has also been discussed by DoVer [3] (Section 3).
Therefore, we deliberately adopt a broader operational definition that encompasses steps contributing to the eventual failure, rather than requiring a strict counterfactual guarantee. We agree that the phrase "meaningfully degrades the trajectory" is too informal and will revise it to better reflect this intent. Rather than relying solely on a formal definition, we emphasize annotation transparency by documenting our annotation criteria and representative examples in Appendix E, allowing readers to understand and assess the rationale behind each annotation.
Q1: OAT is trained on the hidden states extracted from a single Qwen model. How does it generalize to hidden states extracted from other models during actual agent execution? I noticed an ablation on G.2, but the setting is not clearly described.
In Appendix G.2, we extract trajectory representations from Qwen3.5-generated trajectories using different encoder models, including Llama, Gemma, and GPT-OSS, and then train and evaluate OAT using these new representations. In other words, we do not train OAT on Qwen3.5 representations, but instead representations from another encoder. The purpose of this experiment is to show that the model used to generate the trajectories and the model used to encode them for failure attribution need not be the same. The comparable performance across different encoders suggests that OAT does not critically depend on model-specific hidden representations. We will clarify this experimental setup in the revised paper. Thanks for flagging this!
Q2: Why OAT works on out-of-distribution dataset?
We thank the reviewer for the questions. OAT generalizes because it models the dynamics of successful agent trajectories rather than memorizing task- or model-specific behaviors. Although GAIA, AssistantBench, and MCP-Atlas differ substantially in tasks and underlying LLMs, successful agent execution still exhibits common structural patterns, such as maintaining coherent reasoning, making consistent progress toward the goal, and appropriately recovering from intermediate errors. OAT learns these trajectory-level dynamics from successful executions and identifies deviations from them, making it less dependent on the specific task or model than supervised classifiers trained to recognize particular failure patterns. Our OOD experiments demonstrate that these learned dynamics transfer effectively across both different models and different task distributions.
Q3: How does OAT's performance compare to methods tested on Who&When, like DoVer?
DoVer [3] is a valuable and closely related work, which we already cited. However, its primary objective differs from ours. Rather than proposing a new step-level failure attribution method, DoVer advocates an intervention-driven debugging paradigm and evaluates success based on whether targeted interventions recover the failed task or improve downstream progress, arguing that attribution accuracy alone may be insufficient. Consequently, its main evaluation metrics differ from ours, making a direct quantitative comparison difficult. We will add further discussion on this in our revised paper.
[1]: Zhang et al. Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems. ICML'25
[2]: Kong et al. Aegis: Automated Error Generation and Attribution for Multi-Agent Systems. ICLR'26
[3]: Ma et al. DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems. ICLR'26
Cool. I thank the authors for the clarification on the task definition and providing intuitive explanation to the results. I think this is an interesting and novel work and vote for acceptance of this paper.
Thank you so much for your quick and positive response! We are glad that our response resolves your concerns, and we will revise our paper accordingly.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper addresses step-level failure attribution in trajectories. Its main idea is to learn successful agent trajectory, then use reconstruction error to falure steps; steps that deviate from successful behavior. The paper also explores top-k and conformal thresholding for selecting anomalous steps, and adds a gated control mechanism to make the CDE more stable when processing abnormal trajectories.
Strengths and weaknesses
Quality
Identifying the failure-attribution step in failed agent trajectories is important. The approach involves learning successful trajectory dynamics and treating deviations as suspicious. However, one concern is how do we know it trajectory is successful? some trajectory can be early error, which are later corrected. Moreover, method looks like it detects temporal anomaly as opposed to step level anomaly, so how does it distinguish failure symptoms from earlier attribution steps? Moreover, how was sampling done?
Clarity
The paper is well written. It learns normal successful behavior, reconstruct failed trajectories, and flag steps with high reconstruction error.
Significance
The problem is significant. Step-level failure attribution is important for reliability of agent.
Originality
While many components are already established, such as reconstruction-based anomaly detection, successful-only training, and continuous-time sequence modeling, the novelty lies mainly in the problem framing and adaptation to agent trajectories.
Questions
- One concern is how do we know it trajectory is successful? some trajectory can be early error, which are later corrected.
- Method looks like it detects temporal anomaly as opposed to step level anomaly, so how does it distinguish failure symptoms from earlier attribution steps?
Limitations
Yes
Final justification
The author addresses my concern. The paper should be ready for acceptance.
Formatting concerns
None
2 comments
Rebuttal
We sincerely appreciate your positive feedback and insightful comments! We address the questions and comments below in detail.
Q1. How do we know it trajectory is successful? some trajectory can be early error, which are later corrected. Moreover, how was sampling done?
We define the success of a trajectory based on its final outcome rather than the correctness of every intermediate step. This is aligned with the definition in previous work. For verifiable tasks, it can be determined automatically by the testing environment. For subjective tasks, it can be determined by humans. Consequently, successful trajectories may contain recoverable errors, detours, or suboptimal decisions that are later corrected. This property makes OAT more robust than approaches that assume successful trajectories are error-free, because it naturally tolerates recoverable mistakes while identifying deviations that prevent the trajectory from reaching a successful outcome.
Each successful trajectory is sampled directly through vLLM with the default generation config of Qwen3.5 (temperature=0.6, top_k=20, top_p=0.95), and we didn't do any data filtering before training OAT. We will clarify this in Section 3 in the revision.
Q2. Moreover, method looks like it detects temporal anomaly as opposed to step level anomaly, so how does it distinguish failure symptoms from earlier attribution steps?
We thank the reviewer for this insightful question. OAT indeed models trajectory-level dynamics, but the attribution is still performed at the step level. Specifically, the Neural CDE encoder summarizes the trajectory history into a sequence of latent state, while the decoder reconstructs each step conditioned on this evolving trajectory context. The anomaly score assigned to a step therefore reflects how inconsistent that step is with the expected dynamics of successful trajectories given its preceding context, rather than merely whether the overall trajectory eventually fails.
Consequently, OAT tends to identify earlier step at which the trajectory begins to deviate from successful dynamics, after which subsequent anomaly scores often increase as the deviation accumulates. This behavior is illustrated in the qualitative examples in Appendix H, where OAT progressively increases the anomaly score along a suboptimal trajectory instead of only flagging its final erroneous states.
Dear Reviewer,
We sincerely thank you again for your constructive comments and for expressing your willingness to reconsider the score. As the discussion period is nearing its end, we would be grateful if you could let us know whether you have any remaining questions or concerns regarding our response. We would be happy to provide any further clarification.
Thank you again for your time and thoughtful consideration.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces OAT, a lightweight unsupervised failure attribution framework for LLM-based agentic systems. The method is trained exclusively on successful trajectories and does not require step-level supervision on failure data. OAT represents each agent step using mean-pooled LLM hidden-state embeddings, models successful trajectory dynamics with a Neural CDE, and assigns anomaly scores to steps in failed trajectories based on reconstruction error. The paper evaluates OAT on MCP-Atlas and Who&When, comparing against prompting-based frontier LLM baselines and reporting both quantitative results and qualitative cases.
Strengths and weaknesses
Strengths:
S1. The motivation is clear and timely. Debugging long LLM-agent trajectories is difficult, and the paper presents a coherent framework around the practical goal of identifying suspicious failure-related steps without expensive step-level annotations.
S2. The training setup is appealing: learning only from successful trajectories can reduce annotation cost compared with supervised failure attribution methods that require fine-grained labels on failed trajectories.
S3. The paper provides empirical evaluation on both an in-domain dataset (MCP-Atlas) and an OOD dataset (Who&When), and reports multiple metrics including precision, recall, F1, hit rate, AUROC, and AUPRC.
S4. The paper is generally clear and includes helpful figures, ablations, and qualitative success/failure cases, which help illustrate both the potential and the limitations of the approach.
Weaknesses:
W1. Limited technical novelty. The core method is largely a standard one-class trajectory anomaly detection pipeline applied to a new setting: extract step-level LLM hidden-state embeddings, model successful trajectories with a Neural CDE, and use reconstruction error as an anomaly score. The main novelty appears to be the application framing rather than a substantially new modeling technique.
W2. Anomaly detection is not necessarily failure attribution. A step with high reconstruction error may simply be unusual relative to the observed successful trajectories, not causally responsible for the failure. Conversely, a valid but less common solution path could be flagged as anomalous, while an early reasoning mistake that looks distributionally normal could be missed.
W3. Missing anomaly detection baselines. Since OAT is essentially a one-class anomaly detection method over step embeddings, the evaluation should include standard anomaly detection baselines using the same representations, such as OC-SVM, Isolation Forest, kNN distance, autoencoders, or RNN/Transformer predictors. Without these comparisons, it is difficult to isolate the contribution of the Neural CDE formulation.
W4. Dependence on successful-trajectory bootstrapping. OAT requires an initial set of representative successful trajectories for the target agent/task distribution. This requirement is less costly than collecting step-level failure annotations, but it is not trivial. Successful trajectories may be scarce, noisy, or insufficiently diverse, and the reported number of successful trajectories in MCP-Atlas is relatively small.
W5. Dataset and label-semantics concerns. MCP-Atlas is small and in-domain, while MCP-Atlas and Who&When appear to use different failure-label semantics: MCP-Atlas labels sets of contributing steps, whereas Who&When focuses on first decisive errors. This complicates the interpretation of cross-dataset metrics.
W6. Potentially weak prompting baselines. Prompting frontier LLMs is a natural baseline, but a single-pass prompting setup may be weaker than structured audit pipelines, cross-model auditing, decomposition-based review, or tool-assisted verification. This makes it unclear whether OAT outperforms strong LLM-based debugging systems or only simple prompting baselines.
Questions
Q1. Does the reported inference latency include hidden-state extraction, PCA/CORAL preprocessing, and any proxy or generator LLM forward pass? If not, could the authors report end-to-end runtime and compute cost?
Q2. How does OAT compare to standard anomaly detection baselines such as OC-SVM, Isolation Forest, kNN distance, autoencoders, or RNN/Transformer predictors when all methods use the same step embeddings?
Q3. Could the authors clarify whether OAT is intended to identify causal failure-contributing steps or more generally suspicious/anomalous steps? How should reviewers interpret cases where a high-anomaly step is merely an uncommon but valid trajectory segment?
Q4. How many successful trajectories are needed before OAT becomes reliable, and how sensitive is performance to the diversity and cleanliness of the successful-trajectory bootstrap set?
Q5. Was CORAL fitted using statistics from the full Who&When test set? If so, how should the OOD results be interpreted in a realistic deployment setting where target-distribution statistics may not be available in advance?
Limitations
The authors discuss some limitations and include qualitative failure cases, which is useful. However, I think the limitations section should more explicitly address the gap between anomaly detection and causal failure attribution, the dependence on a representative successful-trajectory bootstrap set, and the incomplete accounting of end-to-end inference cost. The paper would also benefit from a clearer discussion of how label ambiguity and different annotation semantics across MCP-Atlas and Who&When affect the interpretation of the reported metrics.
Final justification
I keep my original rating of borderline accept. As discussed during the rebuttal phase, the authors resolved my questions on latency, CORAL leakage, and the bootstrap set, but the thin margin over simple one-class baselines and the anomaly-detection-vs-attribution gap remain.
Formatting concerns
N/A
5 comments
Rebuttal
We sincerely appreciate your thorough feedback and insightful comments! We address the questions and comments below in detail.
W1: Technical novelty
The primary novelty lies in reformulating step-level failure attribution as one-class trajectory learning and introducing continuous-time trajectory modeling into agentic failure attribution. Establishing this connection itself is a novel and meaningful contribution. Existing failure attribution methods either rely on expensive supervised annotations or repeated LLM-based reasoning during inference, whereas OAT instead learns the dynamics of successful executions, enabling training solely from successful trajectories without requiring any failure annotations.
Technically, OAT goes beyond a standard anomaly detector. Rather than performing independent anomaly detection on step embeddings, OAT models the continuous temporal dynamics of agent trajectories using Neural CDEs, introduces a gated control mechanism, and a step-level attribution scores from reconstruction dynamics. These design choices are specifically motivated by the sequential, long-horizon nature of agent trajectories and are validated through ablations in the paper.
More broadly, we believe the paper's main contribution is introducing a new practical paradigm for failure attribution that eliminates the need for costly failure annotations while substantially outperforming prompting-based approaches in both accuracy and efficiency. We will revise the paper to more clearly articulate both the conceptual and technical novelty.
W2 & Q3: Anomaly detection vs failure attribution
We thank the reviewer for raising this important point. We agree that anomaly detection is not equivalent to causal attribution, and OAT does not claim to identify the causal root of a failure.
Importantly, most of existing failure attribution approaches, including prompting-based [1] and training-based approaches [2], cannot guarantee that an identified step is causal failure-contributing. Establishing causal attribution is fundamentally challenging, since it requires intervening on candidate step with the correct (oracle) action and replaying the trajectory to determine whether the final outcome changes. Such intervention-based evaluation is prohibitively expensive and impractical for real-world agent systems.
Our key hypothesis is that deviations from successful trajectory dynamics provide an effective surrogate signal for identifying likely failure-contributing steps. While not every anomaly is causal and not every causal error must appear anomalous, our empirical results demonstrate that this surrogate is highly effective in practice across both in-domain and out-of-distribution benchmarks. To better understand what steps are identified by OAT, we conduct qualitative analysis in Appendix H, including both successful and failure cases. The result shows that OAT does not merely identify unusual steps: reasonable steps executed according to a suboptimal plan gradually receive a higher score by OAT, suggesting that OAT knows the trajectory is gradually drifting away from success.
W3 & Q2: Missing anomaly detection baselines
We reported the performance of RNN baseline in Figure 5 and show that OAT outperforms it by a 6% F1 score.
As suggested, we additionally compare OAT against two classical anomaly detection methods, OC-SVM and Isolation Forest, on MCP-Atlas, where each step is scored independently. As shown below, OAT consistently outperforms these baselines, demonstrating that modeling the trajectory dynamics using Neural CDE provides a more discriminative signal for failure attribution.
| Method | F1 ↑ | AUROC ↑ | AUPR ↑ |
|---|---|---|---|
| OAT | 0.435 | 0.629 | 0.324 |
| OC-SVM | 0.411 | 0.569 | 0.282 |
| Isolation Forest | 0.411 | 0.589 | 0.295 |
W4 & Q4: Dependence on successful-trajectory bootstrapping
While OAT requires an initial set of successful trajectories, this is substantially less burdensome than collecting step-level failure annotations. In practice, successful trajectories are often available from deployment logs, demonstrations, or automated testing, whereas failure attribution labels are rarely available at scale.
To understand how many trajectories are needed, we sample only 25, 50, 75, and 90 trajectories to train OAT. We run each setting 5 times to reduce the impact of randomness. The result in the table below shows that a larger sample set resulted in better performance, and the trend becomes stable after sample size > 75, suggesting that OAT is sample-efficient. The result also shows that the standard deviations across 5 runs are small after sample size > 50, suggesting that OAT is not highly sensitive to sampled trajectories. We do agree that the diversity and quality of successful trajectories are important factors that warrant further study, and we will discuss this limitation more explicitly in the paper.
| Sample size | F1 ↑ | AUROC ↑ | AUPR ↑ |
|---|---|---|---|
| 25 | |||
| 50 | |||
| 75 | |||
| 90 | |||
| All (103) |
W5: Dataset and label-semantics concerns
We agree that the label semantics are different in the two datasets, and we've stated that in Appendix D. We will make this difference more obvious in Section 5.1. In addition, our evaluation have already accounted for this difference: we report set-based metrics (precision, recall, F1 score, and hit rate) that, for MCP-Atlas, these metrics measure region overlaps with any labeled step, and for Who&when, they measure region contains the first decisive step. We also report rank-based metrics (AUROC and AUPRC). These metrics are less sensitive to the difference between the label of a single step and a set. When interpreting the result, we meant to compare OAT and baselines under the same dataset, rather than focusing on the OAT performance across the two datasets. We will clarify these points in the revision.
W6: Prompting baselines
We completely understand your concern. Admittedly, the field of step-level failure attribution for LLM agents is still in its early stages, and there are currently very few established and reproducible methods that can be fairly compared under a common evaluation protocol. We therefore adopt the representative prompting-based baselines from the original Who&When benchmark [1] to enable direct and reproducible comparisons.
We'd also like to highlight that the step-level accuracy of the step-by-step prompt and all-at-once prompt reported in Who&When are quite competitive with each other, and the hit rate (which is equivalent to accuracy on the Who&When dataset) of our all-at-once baseline performs better than those two. This suggests that our baseline performs reasonably well. In addition, the step-by-step baseline would be times more expensive than all-at-once in terms of cost and time, where is the trajectory length, make it less practical.
Q1: Does the reported inference latency include hidden-state extraction, PCA/CORAL preprocessing, and any proxy or generator LLM forward pass? If not, could the authors report end-to-end runtime and compute cost?
The reported inference includes every stage after the generator LLM forward pass, except hidden-state extraction. In practice, if the model for trajectory generation and failure attribution are the same, the hidden states are byproducts during generation, which does not take extra time to collect. We will clarify this in the revision.
As suggested, we also measure the runtime with hidden-state extraction. The end-to-end failure attribution takes around 1000ms per trajectory when running with 2 H200 GPUs. Although it is higher than the latency excluding hidden-state extraction, it is still 4~5 times faster than the prompting baselines.
Q5: Was CORAL fitted using statistics from the full Who&When test set? If so, how should the OOD results be interpreted in a realistic deployment setting where target-distribution statistics may not be available in advance?
CORAL was fitted using representations from Who&When trajectories. Importantly, this procedure does not use task outcomes, failure labels, or step-level annotations; it only estimates aggregate feature statistics of the target environment.
This assumption is reasonable in many realistic deployment settings. Before deploying OAT in a new agent environment, one can realistically collect a batch of unlabeled agent trajectories through routine execution (just by letting the agent run) or a calibration phase and use them to estimate the target-domain statistics. This is substantially less costly than obtaining step-level failure annotations, which OAT is designed to avoid.
To ensure that the representation of each evaluated trajectory is not used when estimating its own target-domain statistics, we additionally perform five-fold cross-validation on Who&When. For each fold, CORAL statistics are estimated from the remaining four unlabeled folds, and evaluation is conducted on the held-out fold. The results show that OAT's performance remains competitive (with 0.197 F1 vs. GPT-5's 0.152).
Limitation: The limitations section should more explicitly address the gap between anomaly detection and causal failure attribution, the dependence on a representative successful-trajectory bootstrap set, and the incomplete accounting of end-to-end inference cost.
We thank the reviewer for the suggestion. We will add these points to the limitations section to make it more comprehensive.
[1]: Zhang et al. Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems. ICML'25
Dear Reviewer,
We sincerely thank you again for your constructive comments and for expressing your willingness to reconsider the score. As the discussion period is nearing its end, we would be grateful if you could let us know whether you have any remaining questions or concerns regarding our response. We would be happy to provide any further clarification.
Thank you again for your time and thoughtful consideration.
I thank the authors for the detailed response and for running the additional experiments — the one-class baselines, the sample-size study with error bars, the end-to-end timing, and the cross-validated CORAL results all directly address my questions. I appreciate the effort within the rebuttal period, and I will maintain my positive rating.
A few small suggestions for the camera-ready, mostly about making the reported claims match the new numbers:
- Since the full-training-set row of the sample-size table reports 0.425 ± 0.013 over 5 runs while the baseline comparison reports 0.435, it would help to state all OAT numbers as mean ± std, and to report the OC-SVM / Isolation Forest results with the same protocol so the margin is easy to read.
- It would be good to reflect the end-to-end latency (~4–5× over prompting) and the cross-validated OOD result (0.197 vs 0.152) in the abstract and main tables, with the byproduct-hidden-state and full-set CORAL settings noted as the favorable conditions they assume.
- On the sample-size study: F1 still rises from 0.409 to 0.425 when the training set grows from 90 to 103 trajectories, so the phrasing around the trend saturating could be softened slightly — the current data are consistent with performance still improving at the largest available pool.
One optional question, purely out of interest rather than as a condition: since the response notes that anomaly scores tend to accumulate along a drifting trajectory, do the authors have a sense of whether OAT's top-ranked step tends to fall before or after the annotated first decisive error on Who&When? A brief note on this would nicely support the claim that OAT localizes the onset rather than the downstream symptoms.
Thanks again for the thoughtful engagement.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear Area Chair,
We sincerely thank you and the reviewers for the thoughtful and constructive feedback. Overall, reviewers recognized that our work
Below we address your highlighted questions in the meta-review, which was very helpful in guiding our rebuttal preparation.
1. On the Gap Between Anomaly Detection and Failure Attribution
We thank the AC for synthesizing this concern, and we want to state clearly that OAT does not claim to identify the causal root of a failure.
Importantly, most of existing failure attribution approaches, including prompting-based [1] and training-based approaches [2], cannot guarantee that an identified step is causal failure-contributing. Establishing causal attribution is fundamentally challenging, since it requires intervening on candidate step with the correct (oracle) action and replaying the trajectory to determine whether the final outcome changes. Such intervention-based evaluation is prohibitively expensive and impractical for real-world agent systems.
Our key hypothesis is that deviations from successful trajectory dynamics provide an effective operational signal for identifying likely failure-contributing steps. While not every anomaly is causal and not every causal error must appear anomalous, our empirical results demonstrate that this operational signal is highly effective in practice across both in-domain and out-of-distribution benchmarks.
We particularly want to clarify some experimental designs and results to strengthen the evaluation support of our claim:
Rationale behind the definition
As pointed out by reviewer PAA8, our notion of failure-contributing steps differs from the stricter counterfactual definition adopted by Who&When, and this is an intentional design choice. In complex agent tasks, final failures are often the result of multiple compounding errors rather than a single decisive mistake. During our verification of the Who&When annotations, we also observed many examples where the annotated first decisive error alone did not fully capture the sequence of events leading to the final failure.
More fundamentally, the counterfactual criterion (i.e., whether correcting a step alone would lead to success) is difficult to verify during annotation. Annotators generally do not have access to an oracle action that correctly replaces the step, nor can they intervene on that step and regenerate the remainder of the trajectory to test whether the task would succeed. As a result, the counterfactual definition is conceptually appealing but difficult to operationalize consistently in practice. This challenge has also been discussed by DoVer [3] (Section 3).
Therefore, we deliberately adopt a broader operational definition that encompasses steps contributing to the eventual failure, rather than requiring a strict counterfactual guarantee. We agree that the phrase "meaningfully degrades the trajectory" is too informal and will revise it to better reflect this intent. Rather than relying solely on a formal definition, we emphasize annotation transparency by documenting our annotation criteria in and representative examples in
Appendix E, allowing readers to understand and assess the rationale behind each annotation.What OAT models and how evaluation supports it
OAT models the dynamics of successful trajectories rather than directly modeling failures. Specifically, the Neural CDE encoder summarizes the trajectory history into a sequence of latent state, while the decoder reconstructs each step conditioned on this evolving trajectory context. The anomaly score assigned to a step therefore reflects how inconsistent that step is with the expected dynamics of successful trajectories given its preceding context, rather than whether it is the unique causal root of the eventual failure.
Consequently, OAT tends to identify earlier step at which the trajectory begins to deviate from successful dynamics, after which subsequent anomaly scores often increase as the deviation accumulates. Our evaluation is designed to assess this operational notion of failure attribution. This behavior is illustrated in the qualitative examples in
Appendix H, where OAT progressively increases the anomaly score along a suboptimal trajectory instead of only flagging its final erroneous states. Quantitatively, OAT consistently outperforms prompting-based baselines on both in-domain and out-of-distribution benchmarks, demonstrating that deviations from successful trajectory dynamics provide an effective signal for localizing failure-contributing steps.