Automata from Agent Traces: Failure and Next-Step Prediction
Update NeurIPS 2026 submission taEDHOLbwW: 6 notes
@openreview[bot] · 2026-11-24 15:56 UTC · e80c5ea4fba6 ·
reviews/openreview/taedholbww/notes/0njm9zawhd.json added
+++ b/reviews/openreview/taedholbww/notes/0njm9zawhd.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "0NjM9ZAWhd",+ "replyTo": "iFY6WnxWCY",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We thank the Area Chair for requesting two concrete clarifications for Sections 3.3 and 3.4. We give both here so they can be checked now; the new baseline measurements are in the per-reviewer replies, with full tables.\n\n**How multi-depth merges form cycles.** Step 2 merges prefix-tree states by the activity on their incoming edge, so all occurrences of an activity collapse into a single state regardless of their depth in the tree. If an activity occurs at depth 2 and again at depth 5 along a trace, Step 2 identifies those two states, and the path from the shallower occurrence to the deeper one therefore becomes a cycle whose endpoints are the same quotient state. Every cycle in Figure 3 arises this way, and it is why the merge cannot be the acyclic construction described by the submitted Theorem 2.\n\n**The exact prefix tree versus the generalized FSM.** These are two different objects and the submitted text conflated them. The Step 1 prefix tree is the exact representation of the observed traces: acyclic, with one state per distinct observed prefix. The Step 2 quotient is a generalization: cyclic, with |Q| = |A|+1 states, extending beyond the corpus by chaining observed directly-follows transitions into unseen orderings. The paper measures that gap rather than assuming it away, and the numbers are already in the submission: the FSM rejects 100% of random traces and at least 99.9% of permuted traces (Table 20), with adversarial mutation rejection in Table 21. The camera-ready will name the two objects separately in Section 3.3 and carry the precision measurements forward as the quantitative statement of how much the quotient generalizes.\n\nThese corrections revise the paper's formal characterization, including the submitted minimality claim, but they do not change the implemented construction or any downstream empirical result. Failure prediction from per-state features, next-step prediction with FSM-state context against AWM, the online monitor, and the cross-model analysis were all measured on the extracted automata, and those automata are unchanged."+ },+ "createdAt": "2026-08-02T17:22:04.349Z",+ "modifiedAt": "2026-11-19T16:45:12.438Z",+ "url": "https://openreview.net/forum?id=taEDHOLbwW¬eId=0NjM9ZAWhd",+ "license": "CC-BY-4.0"+}
reviews/openreview/taedholbww/notes/bexgwfo79w.json added
+++ b/reviews/openreview/taedholbww/notes/bexgwfo79w.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "bexgwfO79w",+ "replyTo": "v9j3S3SI8w",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer XvDL",+ "content": {+ "title": "Rebuttal describes a different approach",+ "comment": "Thank you for the clarification. While I agree that claims like fitness preservation remain, your rebuttal describes a substantial change to the paper. \n\n**Q1/Type of automaton -> Presentation and Baselines**\nNow, this is not really automaton learning in the classical sense and is closer to process mining, as you note in your rebuttal. This leads to two problems that I mentioned in my initial review, but the problems have slightly changed. \n\n *Presentation*:\nThe paper uses concepts that are commonly used in grammatical inference, like using Myhill-Nerode quite prominently, and talks about learning minimal deterministic finite automata. So, your rebuttal makes this a very different paper. All the references to \"Myhill-Nerode\" can be removed. The congruence that you describe in your rebuttal can very well make sense, but it does not have the properties of the Nerode relation. E.g., it has finite index for the non-regular language a^n b^n. \nMore generally, and maybe I should have made this clearer in my original review: I think the paper could have been presented in much simpler terms without losing anything, making it easier to read. Invoking complex concepts that hardly apply does not help. \n\n *Baselines*:\nNow that I understand better what you do, I don't think that the baseline choices are adequate. \n* N-Grams: From what I understand, a directly-follows automaton is like an automaton version of a bigram. Therefore, I would suggest using Bigrams instead of Unigrams or N-grams of order 7. \n* Alergia: Since your algorithm merges very aggressively, it would make sense to let Alergia merge more aggressively as well, i.e., setting epsilon to a lower value than 0.005 as reported in the paper. Alergia convergence proofs use epsilon (also called alpha) of k/T, where k is a small constant, and T is the size of the prefix tree. With k=1 and 500 traces, this could be much lower.\n* From your new description, I would expect process mining baselines. These might be better suited than automata learning algorithms that are designed for different use cases. \n\n**RPNI**\n\nWhat do you mean by \"Our RPNI column reports a conservative merge that rejects any nondeterminism-inducing merge rather than folding.\"?\nThere cannot be any non-determinism if there are no negative samples. \n\nI disagree with your comment \"k-Tails, which you group with RPNI, does not share this failure mode: it merges by identical k-length futures and needs no negative sample, so it is a legitimate positive-only comparison\", on the assumption that you use AALpy as reported in the paper. k-Tails as implemented in AALpy is basically RPNI with compatibility up to a length of k; see here: \nhttps://github.com/DES-Lab/AALpy/blob/master/aalpy/learning_algs/general_passive/GsmAlgorithms.py\n\nTo be precise, it is an FSM version of RPNI, which requires input-output traces (and can produce non-deterministic FSMs). Where do the outputs in your traces actually come from? In Line 94, you only introduce a single finite alphabet.\n\n**Q3 and Q4**: \nThank you for the explanation.\n\n**Overall**\nWhile I understand the approach a lot better now, it appears quite different from the paper."+ },+ "createdAt": "2026-07-31T09:12:39.115Z",+ "modifiedAt": "2026-11-19T16:45:12.448Z",+ "url": "https://openreview.net/forum?id=taEDHOLbwW¬eId=bexgwfO79w",+ "license": "CC-BY-4.0"+}
reviews/openreview/taedholbww/notes/dxs2j6ll9l.json added
+++ b/reviews/openreview/taedholbww/notes/dxs2j6ll9l.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "dxS2j6ll9L",+ "replyTo": "qXlvLoECSG",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for the careful follow-up, and no apology is needed; the process mining rows are easy to miss in the appendix, which is itself a symptom of the density you point out.\n\n**Revision.** The revision will include the changes discussed in this thread: the restated Theorem 2, the Section 3.3 description in directly-follows terms, the corrected baseline labels, the bigram row, and the Alergia sweep.\n\n**Section 3 density.** We agree, and we will follow your suggestion. The revision condenses Section 3.5 to the next-step estimator and the statements Section 4 relies on, moving the formal treatments of the consistency bound, the Neyman-Pearson argument, the regret bound, and the Information Bottleneck connection to the appendix. That space goes to Section 4, making the task setups and the currently compressed failure-prediction and cross-model analyses more accessible.\n\n**k-Tails encoding.** No, no time step index is attached to the activity. The activities are passed unmodified as the output sequence, and each is paired with the same constant input symbol across every step of every trace, so the input alphabet is a singleton and no position information enters the machine. Growth at k >= 2 comes from the merge criterion itself: states merge only when their sets of length-k output futures coincide, and distinct futures multiply quickly on these traces, so state counts grow to hundreds or thousands with timeouts on the large datasets, which is the explosion we reported. At k = 1 the merge is coarsest, and that row is the closest comparison in the appendix k-Tails table."+ },+ "createdAt": "2026-08-02T20:51:55.817Z",+ "modifiedAt": "2026-11-19T16:45:12.434Z",+ "url": "https://openreview.net/forum?id=taEDHOLbwW¬eId=dxS2j6ll9L",+ "license": "CC-BY-4.0"+}
reviews/openreview/taedholbww/notes/ify6wnxwcy.json modified
+++ b/reviews/openreview/taedholbww/notes/ify6wnxwcy.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair N3Ko","content": {- "metareview": "This paper addresses the opacity of LLM agent execution traces by proposing a framework to extract minimal finite-state machines (FSMs) directly from trace logs. Teh approach constructs a prefix tree acceptor over a small activity alphabet and applies structural state merging via Myhill-Nerode equivalence. The authors evaluate their learned automata across twelve datasets for next-step prediction, failure prediction, and runtime monitoring. One of the main headline findings is that a single FSM can replay traces from four different LLMs at perfect fitness on tau2-bench, leading the authors to argue that agent behavioral structure is driven more by the deployment harness than the underlying language model.\n\nAll reviewers agreed that extracting interpretable, structural models from opaque agent traces is a super timely and important goal for safety auditing. Reviewers Uo1C and z8Vn praised the theoretical underpinnings, including the linear-time complexity, state minimality proofs, and sample complexity bounds. Teh fact that the state merging procedure is deterministic, hyperparmeter-free, runs in milliseconds, and shows zero structural variance across splits is a huge practical advantage over traditional automata learning methods. On top of that, the empirical suite is extensive, showing solid performance on next-step prediction over baselines like Agent Workflow Memory and achieving impressive AUROC scores for failure prediction.\n\nThe biggest sticking point, highlighted by both z8Vn and Uo1C, is that the activity extraction mapping function is manually designed for each dataset. This effectively pushes the modeling choices into a bespoke parsing step, which makes the hyperparameter-free framing a bit misleading. Reviewer z8Vn also noted that the perfect cross-LLM replay result on tau2-bench might just be an artifact of using a coarse activity alphabet rather than a deep insight into harness behavior. Meanwhile, reviewer Uo1C pointed out that some claims in the abstract are over-sold, such as the runtime monitor's early stopping where a simple flag-everything baseline actually beats it on F1 score due to heavy class imbalance in SWE-agent. \n\nAlso, as XvDL pointed out, please add explicit clarifying sentences in Section 3.3 explaining how multi-depth merges form cyclic transitions. Their review raised formal language theory concerns, arguing that merging positive traces should strictly yield an acyclic DAG for finite prefix languages and questioning how loops form under Gold's theorem bounds. The authors need to add explicit clarifying sentences in Sections 3.3 and 3.4 for the camera-ready version to detail how multi-depth local merges form cyclic transitions and properly distinguish the exact prefix DAG from the generalized FSM."+ "metareview": "This paper addresses the opacity of LLM agent execution traces by proposing a framework to extract minimal finite-state machines (FSMs) directly from trace logs. Teh approach constructs a prefix tree acceptor over a small activity alphabet and applies structural state merging via Myhill-Nerode equivalence. The authors evaluate their learned automata across twelve datasets for next-step prediction, failure prediction, and runtime monitoring. One of the main headline findings is that a single FSM can replay traces from four different LLMs at perfect fitness on tau2-bench, leading the authors to argue that agent behavioral structure is driven more by the deployment harness than the underlying language model.\n\nAll reviewers agreed that extracting interpretable, structural models from opaque agent traces is a super timely and important goal for safety auditing. Reviewers Uo1C and z8Vn praised the theoretical underpinnings, including the linear-time complexity, state minimality proofs, and sample complexity bounds. Teh fact that the state merging procedure is deterministic, hyperparmeter-free, runs in milliseconds, and shows zero structural variance across splits is a huge practical advantage over traditional automata learning methods. On top of that, the empirical suite is extensive, showing solid performance on next-step prediction over baselines like Agent Workflow Memory and achieving impressive AUROC scores for failure prediction.\n\nThe biggest sticking point, highlighted by both z8Vn and Uo1C, is that the activity extraction mapping function is manually designed for each dataset. This effectively pushes the modeling choices into a bespoke parsing step, which makes the hyperparameter-free framing a bit misleading. Reviewer z8Vn also noted that the perfect cross-LLM replay result on tau2-bench might just be an artifact of using a coarse activity alphabet rather than a deep insight into harness behavior. Meanwhile, reviewer Uo1C pointed out that some claims in the abstract are over-sold, such as the runtime monitor's early stopping where a simple flag-everything baseline actually beats it on F1 score due to heavy class imbalance in SWE-agent. \n\nAlso, as XvDL pointed out, please add explicit clarifying sentences in Section 3.3 explaining how multi-depth merges form cyclic transitions. Their review raised formal language theory concerns, arguing that merging positive traces should strictly yield an acyclic DAG for finite prefix languages and questioning how loops form under Gold's theorem bounds. The authors need to add explicit clarifying sentences in Sections 3.3 and 3.4 for the camera-ready version to detail how multi-depth local merges form cyclic transitions and properly distinguish the exact prefix DAG from the generalized FSM.",+ "final_justification": "Although the original formal characterization and several baseline descriptions require substantial correction, the implemented method and core empirical results remain unchanged. The additional experiments directly address the main concerns about activity granularity, novel-ordering generalization, runtime monitoring, and baseline sensitivity. \n\nI view the remaining issues as addressable in the camera-ready version."},"createdAt": "2026-07-25T00:16:14.898Z",- "modifiedAt": "2026-11-18T15:24:49.256Z",+ "modifiedAt": "2026-11-19T05:03:03.387Z","url": "https://openreview.net/forum?id=taEDHOLbwW¬eId=iFY6WnxWCY","license": "CC-BY-4.0"}
reviews/openreview/taedholbww/notes/ktkc4dkjym.json added
+++ b/reviews/openreview/taedholbww/notes/ktkc4dkjym.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "KtKc4DkJyM",+ "replyTo": "bexgwfO79w",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for the detailed engagement. The implemented construction and its results are unchanged; the corrections concern the formal characterization, including the theorem statements and proofs, and the baseline documentation. The runs below add baseline comparisons.\n\n**The submitted FSM results are unchanged.**\nMerging by incoming activity identifies occurrences of the same activity across trace positions. Whenever one such occurrence is reachable from another along a prefix-tree path, identifying them closes the intervening path into a cycle; this is how the cycles in Figure 3 arise. This is checkable in the PDF without rerunning anything. Reading the |A| column of Table 5 against the Ours |Q| column of Tables 1, 6, and 8 shows |Q| = |A|+1 on all twelve datasets (telecom 42/43, airline 17/18, ATBench 14/15). A Myhill-Nerode quotient would generally have size determined by the residual structure of the finite prefix language, not fixed at |A|+1. The measurements were of this automaton; what was wrong was its formal characterization.\n\n**Myhill-Nerode: you are right.**\nYour a^n b^n example settles it: the last-activity congruence has finite index on languages that are not regular, so it is a right congruence but not the Nerode relation. The invocation was wrong rather than imprecise. The revision removes every Myhill-Nerode reference, restates Theorem 2 as determinism and compactness, and describes the construction in Section 3.3 in plain directly-follows terms. No measurement depends on it.\n\n**Process mining baselines are already in the paper.**\nSection 4's baseline list includes Alpha, Inductive, and Heuristic Miner via PM4Py, with per-dataset fitness and conformance precision in Table 22, where precision ranges from 0.00 to 0.80. This is the process-mining comparison you suggest, and we will point to it from Section 4's baseline discussion.\n\n**Across the aggressive-epsilon sweep, Alergia never falls below |A|+1.**\nAlergia's state count is a function of epsilon; ours is fixed by the construction. We swept the Hoeffding parameter as you suggest, at five levels from the paper's 0.005 down to 0.1/T with T the prefix-tree size, on all twelve datasets; the table shows three of the five:\n\n| dataset | ours | 0.005 | 1/T | 0.1/T |\n|---|---|---|---|---|\n| SWE-smith | 10 | 10 | 10 | 10 |\n| SWE-agent | 25 | 35 | 30 | 29 |\n| WebArena | 25 | 149 | 127 | 105 |\n| AgentNet | 25 | 45 | 31 | 29 |\n| tau2 airline | 18 | 23 | 20 | 20 |\n| tau2 retail | 19 | 25 | 25 | 25 |\n| tau2 telecom | 43 | 75 | 55 | 48 |\n| ATBench | 15 | 15 | 15 | 15 |\n| OSWorld | 27 | 31 | 27 | 27 |\n| Who and When | 9 | 12 | 12 | 12 |\n| Mind2Web | 8 | 8 | 8 | 8 |\n| GUI-Odyssey | 7 | 24 | 12 | 8 |\n\nTest fitness stays at or above 0.9986 throughout. Across all sixty tested cells, Alergia matches or exceeds |A|+1 and never falls below it, landing exactly on |A|+1 on four datasets. Three of those ties already hold at the paper's own 0.005 and are printed in Tables 1, 6, and 8. No tested setting works uniformly across datasets: 0.005 ties three datasets while leaving WebArena at 149 states, and at 0.1/T WebArena is still 4.2x above. Our construction reaches that count on every dataset with no parameter to choose.\n\n**Baseline documentation: addressed.**\nOn n-grams, we measured your suggestion rather than argue it. Implemented with a start symbol and the paper's own Lidstone estimator, a bigram agrees with the automaton's next-step conditional to within 0.0009 bits on all twelve datasets; they are the same estimator up to the rare-transition filter. We will add the bigram explicitly and revise the discussion to state that the FSM's next-step estimator is equivalent to a filtered bigram on these traces. The contribution is therefore not a superior Markov estimator, but the deterministic construction, its fixed |A|+1 state count without dataset-specific tuning, and the downstream structural analyses. On RPNI, the submitted label was inaccurate: the implementation rejects any merge whose targets conflict on the same symbol, where textbook positive-only RPNI folds those targets instead; with no negative samples nothing blocks the fold, so the faithful algorithm degenerates to the one-state acceptor. We will correct the label and report that degeneration. On k-Tails, each activity a_t was encoded as the output at step t over a singleton input alphabet; we will document this encoding explicitly in the baseline description.\n\nWhat changes is the formal characterization and the baseline documentation. The implemented construction, the extracted automata, their state counts, and the downstream empirical results do not."+ },+ "createdAt": "2026-08-02T00:21:38.601Z",+ "modifiedAt": "2026-11-19T16:45:12.440Z",+ "url": "https://openreview.net/forum?id=taEDHOLbwW¬eId=KtKc4DkJyM",+ "license": "CC-BY-4.0"+}
reviews/openreview/taedholbww/notes/qxlvloecsg.json added
+++ b/reviews/openreview/taedholbww/notes/qxlvloecsg.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "qXlvLoECSG",+ "replyTo": "KtKc4DkJyM",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer XvDL",+ "content": {+ "title": "Thank you for the explanations and the new results",+ "comment": "First off, apologies for forgetting about the process mining baseline. I was perhaps too focused on the automata learning aspects.\nThank you for considering checking Alergia with decreased epsilon and for considering experiments with the bigram baseline!\n\nHere is where I stand currently regarding:\n* I would appreciate seeing the changes regarding the FSM in a revision of the paper. \n* think the submitted paper is considerably more complicated than necessary. We mainly discussed this issue for Sections 3.3 and 3.4, but the same concern applies to Section 3.5. The section introduces a sequence of concepts (cross-entropy estimation, consistency bounds, Neyman-Pearson optimality, regret bounds, and Information Bottleneck) in rapid succession. While each of these may be mathematically correct, it is not clear that they are needed to support the paper's main contributions, and they distract from the core idea.\n* On the positive side: the experiments show interesting results. However, they are difficult to appreciate given how dense the section is. My personal suggestion would be streamlining Section 3 and using the gained space to make Section 4 more accessible.\n\nRegarding your encoding for k-Tails: Do you add the time step index to the activity? This certainly explains why the created automaton blows up in size."+ },+ "createdAt": "2026-08-02T17:45:04.608Z",+ "modifiedAt": "2026-11-19T16:45:12.437Z",+ "url": "https://openreview.net/forum?id=taEDHOLbwW¬eId=qXlvLoECSG",+ "license": "CC-BY-4.0"+}