AI news and explainers at 7 AM weekdays, plus a Sunday weekly at 8Get it in your inbox

METAL LAB

Automata from Agent Traces: Failure and Next-Step Prediction

arXiv:2608.236702026-08-26

Researchers compress massive LLM-agent execution logs into one small finite-state machine that predicts both the next action and eventual failure

LLM-based agents leave behind long, messy execution traces that are hard for humans to audit for safety. The authors compress an entire corpus of traces from 12 public datasets into a single compact finite-state machine (FSM) with only 7-43 states, and show it serves both next-step prediction and failure prediction. The FSM is built in milliseconds and replays held-out traces with at least 0.997 fitness.

METAL LAB explanatory visual

From traces to one FSM to two predictions

Evidence statusMeasured results reported

  1. Collect tracesConvert tool calls, action tags, and messages from twelve public agent datasets into activity symbols
  2. Merge into a compact FSMInsert all traces into a prefix tree, then merge states sharing the same last activity to get a deterministic FSM with 7-43 states
  3. Next-step predictionUsing the current FSM state as context beats AWM's top-1 accuracy on every ground-truth-matched dataset
  4. Failure predictionPer-state visit frequency, error rate, and related features reach held-out AUROC up to 0.94
  5. Runtime monitoringWatching just 32% of a trace lets the monitor stop likely failures early, saving 68% of remaining compute on SWE-agent
An explanatory diagram made by METAL LAB, not a figure supplied by the paper's authors.

What they did

  1. Each agent message (tool call, action tag, or command) is mapped to a symbol; all traces are merged into a prefix tree and then collapsed by grouping states that share the same last incoming activity, producing a deterministic finite-state machine with no learning hyperparameters.
  2. Across all twelve datasets the resulting FSMs stayed compact at 7-43 states, replayed held-out traces with at least 0.997 fitness, and were constructed in milliseconds using a linear-time algorithm.
  3. Using the FSM's current state as context for next-action prediction beat Agent Workflow Memory (AWM), a prior method that extracts linear workflows only from successful traces, on every dataset where ground truth could be matched.
  4. For failure prediction, features computed per FSM state (visit frequency, message length, error rate, etc.) reached held-out AUROC (a 0.5-to-1.0 discrimination score, 0.5 being random guessing) up to 0.94, and an online monitor watching only 32% of a trace could flag likely failures early enough to stop them before completion.
  5. The behavioral structure captured by the FSM appeared to depend more on the deployment system (tools, harness) than on which LLM generated the traces: a single FSM built from four different LLMs' traces still fit each model's traces almost perfectly.
Figure 1: FSM evolution on SWE-agent. State count |Q| (red, left) and test fitness (blue, right) over training traces, with FSM snapshots at six milestones. The state space grows incrementally as new behavioral modes appear, while fitness saturates early (≥0.99 at 240 traces, 15% of training); construction completes in milliseconds.
Figure 1: FSM evolution on SWE-agent. State count |Q| (red, left) and test fitness (blue, right) over training traces, with FSM snapshots at six milestones. The state space grows incrementally as new behavioral modes appear, while fitness saturates early (≥0.99 at 240 traces, 15% of training); construction completes in milliseconds.
Table 1: FSM extraction results on eight labeled real-trace datasets (excluding SWE-smith synthetic). |Q|: states. Fit: test replay fitness. †RPNI timeout at 120 s. Full baselines in Table 8; SWE-smith and the unlabeled datasets appear in Appendix D.1.
OursRPNIAlergia
Dataset|Q|Fit|Q|Fit|Q|FitCompr.
SWE-agent250.99959,510†0.646350.9992,380×
WebArena251.0003821.0001491.00015×
AgentNet251.00062,495†0.742451.0002,500×
tau2-bench (air)181.0006,506†0.844230.999361×
tau2-bench (ret)191.00014,249†0.837251.000750×
tau2-bench (tel)431.00063,897†0.491750.9991,486×
ATBench151.000899†0.984151.00060×
OSWorld270.99738,232†0.706310.9991,416×
Figure 2: Next-step prediction cross-entropy (bits, ↓). (a) Per-dataset: FSM-conditioned methods (red) achieve 3–5× lower CE than baselines. (b) Average ranking: FSM-conditioned variants outperform their non-FSM counterparts on all four datasets. RPNI overfits worse than Uniform due to sparse transitions across thousands of states.
Figure 2: Next-step prediction cross-entropy (bits, ↓). (a) Per-dataset: FSM-conditioned methods (red) achieve 3–5× lower CE than baselines. (b) Average ranking: FSM-conditioned variants outperform their non-FSM counterparts on all four datasets. RPNI overfits worse than Uniform due to sparse transitions across thousands of states.
Table 2: Next-step prediction cross-entropy (bits, ↓). 5×5-fold CV across all datasets. Best per dataset in bold. The “FSM” columns use the FSM-state context format (ASG-minimal) selected on validation in Section 4.3.
MethodSWE-smSWE-agW&WM2WATBAvg
Uniform3.1704.5853.0002.8073.8073.474
Unigram2.4612.8502.2291.8562.7992.439
RPNI3.8514.2842.8553.5492.4483.397
Our FSM0.6381.0710.9630.7561.2430.934
FSM-PPM-AD0.4630.7410.6240.7821.3090.784
Ens(D0/3/5/7)0.4650.7000.6210.7361.2620.757
NGram-LR-K70.4640.6870.6100.7961.1810.748
ESN-H640.4760.6910.5800.7461.1840.735
FSM-LR-K70.4600.6860.5820.7551.1620.729
FSM-ESN-H640.4740.7000.5460.7531.1850.732
Figure 3: Failure prediction. (a) AUROC: FSM features (red) vs. raw trace statistics (blue) vs. fitness alone (gray). FSM features outperform raw features on SWE-agent (+7.9pp). (b) Early prediction: FSM features at 50% completion achieve 92% of final AUROC on SWE-agent. Solid: FSM; dashed: baseline.
Figure 3: Failure prediction. (a) AUROC: FSM features (red) vs. raw trace statistics (blue) vs. fitness alone (gray). FSM features outperform raw features on SWE-agent (+7.9pp). (b) Early prediction: FSM features at 50% completion achieve 92% of final AUROC on SWE-agent. Solid: FSM; dashed: baseline.
Table 3: FSM context format ablation (tau2-bench retail, N=1,095, gpt-4.1-mini top-1 %).
Context formatTop-1 (%)
No memory (trace prefix only)27.6
AWM (linear success workflows) (Wang et al., 2025d)52.9
ASG-full (state + transitions + full graph)52.2
ASG++ (ASG-full + multi-step continuations)49.2
ASG-success (success-only ASG-full)50.3
ASG (minimal: probabilities + top-15 continuations)65.1
Figure 4: FSM-based runtime monitor. Cycle-rate over trace progress for one failing (red) vs. one successful (blue) SWE-agent run. The failing trace exceeds the cycle-rate threshold (0.778) at 32% of trace completion (vertical dashed line), triggering early termination. The successful trace stays below threshold and continues until natural completion.
Figure 4: FSM-based runtime monitor. Cycle-rate over trace progress for one failing (red) vs. one successful (blue) SWE-agent run. The failing trace exceeds the cycle-rate threshold (0.778) at 32% of trace completion (vertical dashed line), triggering early termination. The successful trace stays below threshold and continues until natural completion.
Table 4: FSM vs. AWM as context for an LLM next-action predictor (gpt-4.1-mini, top-1 %). 6/8 gaps statsig at p<10−8. †tau2-retail used for FSM-context-format selection (§4.2); other 7 held out.
DatasetNAWMFSMΔ
WebArena4,80065.581.2+15.7
SWE-smith30074.7100.0+25.3
SWE-agent1,20067.770.5+2.8
tau2-bench (tel)1,09528.545.6+17.1
tau2-bench (ret)†1,09552.965.1+12.2
tau2-bench (air)48056.557.3+0.8
ATBench60047.862.5+14.7
OSWorld1,28655.070.7+15.7
Figure 10: Per-dataset test fitness across all methods including Alergia. Our FSM achieves ≥0.997 fitness on all panels. Process mining baselines (Heur., Ind.) achieve competitive fitness but with low precision (Table 18).
Figure 10: Per-dataset test fitness across all methods including Alergia. Our FSM achieves ≥0.997 fitness on all panels. Process mining baselines (Heur., Ind.) achieve competitive fitness but with low precision (Table 18).
Table 5: Evaluation datasets. |𝒜|: alphabet size. ∗7 primary + 17 rare. ‡4 LLMs. aTrivially separable.
DatasetDomainTraces|𝒜|Labels
Labeled (main results)
SWE-smithCoding5009
SWE-agentCoding2,00024∗
WebArenaWeb nav.8,33724
AgentNetDesktop GUI5,00024
tau2-bench (air)Cust. svc.800‡17
tau2-bench (ret)Cust. svc.1,824‡18
tau2-bench (tel)Telecom1,824‡42
ATBenchSafety1,00014
OSWorldDesktop OS2,16626
Unlabeled (Appendix D.1)
Who_and_WhenMulti-agent1848
Mind2WebWeb nav.5007
GUI-OdysseyMobile GUI7,7356✓a
Figure 11: Runtime comparison. Left: FSM construction time (1–110 ms) vs. RPNI (7,000–36,000 ms) with speedup ratios annotated. Right: per-trace replay latency (0.003–0.015 ms), enabling real-time monitoring.
Figure 11: Runtime comparison. Left: FSM construction time (1–110 ms) vs. RPNI (7,000–36,000 ms) with speedup ratios annotated. Right: per-trace replay latency (0.003–0.015 ms), enabling real-time monitoring.
Table 6: Cross-model failure-prediction AUROC across three tau2-bench suites. Self-AUROC (diagonal) and mean cross-AUROC (off-diagonal); σ over the 4 self-AUROCs and 12 cross-pair AUROCs. Mean cross-AUROC across all 36 pairs is 0.786 vs. self mean 0.877 (0.091 gap). Self/cross fitness on airline 1.000/0.962, retail 1.000/0.972, telecom 1.000/0.990.
Self-AUROC (diagonal)Cross-AUROC (off-diagonal)
Suitemeanσrangemeanσrangegap
τ2 airline0.9260.0510.84–0.970.7730.1020.56–0.920.154
τ2 retail0.7490.0520.68–0.820.6810.0750.54–0.790.068
τ2 telecom0.9560.0280.92–0.990.9050.0450.82–0.990.051
Mean (3 suites)0.8770.7860.091
Figure 13: Random and permuted trace rejection rates. Our FSM achieves near-100% rejection across most datasets, while RPNI shows poor permuted rejection on WebArena.
Figure 13: Random and permuted trace rejection rates. Our FSM achieves near-100% rejection across most datasets, while RPNI shows poor permuted rejection on WebArena.
Table 7: Compression results on unlabeled datasets. Same methodology as Table 1.
OursRPNIAlergia
Dataset|Q|Fit|Q|Fit|Q|FitCompr.
Who_and_When91.0009710.984121.000108×
Mind2Web81.0004760.97081.00060×
GUI-Odyssey71.00021,255†0.929240.9993,036×
Figure 14: FSM convergence: test fitness (right axis) and state count (left axis) as training traces are added. Fitness converges rapidly; the state space stabilizes later as rare patterns appear.
Figure 14: FSM convergence: test fitness (right axis) and state count (left axis) as training traces are added. Fitness converges rapidly; the state space stabilizes later as rare patterns appear.
Table 12: k-Tails results. |Q|: states. Fit: test fitness. TO: timeout (300s). Our method requires no hyperparameter.
Oursk-Tails (k=1)k-Tails (k=2)
Dataset|Q|Fit|Q|Fit|Q|Fit
SWE-smith101.000221.000531.000
SWE-agent250.999740.9963320.993
WebArena251.000300.7431720.743
AgentNet251.000330.806TO
tau2-bench (air)181.000370.9737310.773
tau2-bench (ret)191.000460.9978740.888
tau2-bench (tel)431.0002100.930TO
Who_and_When91.000140.541200.541
Mind2Web81.000340.965950.905
GUI-Odyssey71.000730.9647590.939
Figure 16: (a) State compression across labeled datasets: our FSM (10–43 states) vs. Alergia (10–149) and RPNI (382–63,897), with compression ratios annotated. (b) Cross-dataset fitness matrix: replaying traces from one dataset through another’s FSM. Diagonal entries (in-distribution) approach 1.0; off-diagonal entries (OOD) drop to near-zero for structurally distinct pairs (AUROC 1.000), except schema-sharing tau2-bench airline↔retail (near-1.0).
Figure 16: (a) State compression across labeled datasets: our FSM (10–43 states) vs. Alergia (10–149) and RPNI (382–63,897), with compression ratios annotated. (b) Cross-dataset fitness matrix: replaying traces from one dataset through another’s FSM. Diagonal entries (in-distribution) approach 1.0; off-diagonal entries (OOD) drop to near-zero for structurally distinct pairs (AUROC 1.000), except schema-sharing tau2-bench airline↔retail (near-1.0).
Table 14: Failure prediction AUROC (held-out). Main: full GBT pipeline. FSM-D ablation: training-free LR, Len+Ent vs. +per-state KL (Δ = gain). SWE-smith synthetic; tau2-bench aggregates 4 models.
MainFSM-D ablation
Dataset|𝒜|HoldoutLen+EntFSM-DΔ
tau2-bench (tel)420.9410.7250.857+0.132
WebArena240.9030.7180.773+0.056
AgentNet240.8900.7240.724+0.000
ATBench140.8940.5550.703+0.147
tau2-bench (air)170.8640.6250.777+0.152
SWE-agent240.7990.6900.689−0.001
tau2-bench (ret)180.7790.5960.660+0.064
OSWorld260.7740.7700.778+0.008
SWE-smith90.7030.6950.702+0.006
Table 15: Failure prediction with Alergia FSMs under matched pipeline. Identical features, classifier, and CV protocol; FSM source varies. CV: 10×5-fold; Holdout: held-out test AUROC.
CV AUROCHoldout AUROC
DatasetOursAlergiaOursAlergia
tau2-bench (tel)0.9230.7480.9150.752
WebArena0.8640.8440.8880.868
AgentNet0.8710.8710.8720.872
SWE-agent0.7900.7090.8050.714
tau2-bench (air)0.7920.6640.8260.764
tau-bench (ret)0.7890.6060.6660.498
tau-bench (air)0.7580.6510.8410.810
tau2-bench (ret)0.7130.5760.7430.575
SWE-smith0.6850.6530.6730.683
Table 17: Failure prediction: neural models on sequence vs. FSM features. CV AUROC (10×5-fold). Bold: FSM>Seq for same model.
MLPGRUTransformer
DatasetSeqFSMSeqFSMSeqFSM
SWE-smith0.6630.6990.6830.7000.6490.665
SWE-agent0.7820.7900.7620.7930.7790.751
tau2-tel0.9620.9690.9580.9700.9640.967
tau2-air0.8160.8390.7930.8150.8190.845
tau2-ret0.7470.8000.6980.7890.7550.798
WebArena0.8480.8610.8180.8350.8600.868
AgentNet0.8780.9200.8770.9170.8760.917
FSM wins7/77/76/7
Table 18: Precision analysis. Rand./Perm.: acceptance rate (lower is better).
OursRPNI
DatasetRand.Perm.Rand.Perm.
SWE-smith0.0%0.1%0.0%0.0%
SWE-agent0.0%0.05%0.0%1.6%
WebArena0.0%0.02%0.2%75.3%
AgentNet0.0%0.02%0.2%0.9%
tau2-bench (air)0.0%0.0%0.0%11.5%
tau2-bench (ret)0.0%0.0%0.0%3.1%
tau2-bench (tel)0.0%0.0%0.0%0.0%
Table 19: Adversarial trace rejection rate (%, ↑). Five mutations per trace.
DatasetSubst.InsertDeleteSwapSuffix
SWE-smith8110098100100
SWE-agent871009710097
tau2-tel77966193100
tau2-air7890779397
tau2-ret79928095100
WebArena100968410068
AgentNet1001009710099
Table 20: PM4Py miner results. Fit: replay fitness. Prec: precision from conformance checking. p/t: Petri net places/transitions.
Alpha MinerHeuristic MinerInductive Miner
Datasetp/tFitPrecp/tFitPrecp/tFitPrec
Who_and_When3/80.370.1910/231.000.3116/241.000.27
SWE-smith7/90.150.2013/221.000.3625/331.000.23
Mind2Web2/70.630.2915/290.960.4523/301.000.32
SWE-agent12/240.050.0021/591.000.2044/701.000.13
tau2-bench (air)3/170.450.2415/370.950.2063/931.000.17
tau2-bench (ret)3/180.460.2312/320.950.2136/581.000.14
tau2-bench (tel)4/40.460.2510/130.950.8015/191.000.42
GUI-Odyssey2/60.580.3312/220.980.6421/271.000.46
WebArena23/240.240.1135/710.980.5517/421.000.10
AgentNet174/240.300.0035/840.990.4518/391.000.13
Table 21: Convergence and generalization. Left: fraction at which fitness reaches 0.99. Right: train−test fitness gap at increasing fractions (all within ±0.003). Convergence behavior is similar across extraction levels (Appendix G.2).
ConvergenceGen. gap (train−test)
DatasetTrain0.99 atFrac|Q|10%30%60%100%
Who_and_When14785%9+0.002+0.00100
SWE-smith4004010%10−0.002−0.0010−0.001
Mind2Web400205%8−0.003−0.00100
SWE-agent1,60024015%25−0.002−0.001−0.001+0.001
Table 22: Conditional entropy (bits) by context order. The large drop from order 0→1 and convergence by order 2–3 shows strong sequential regularity.
Datasetk=0k=1k=2k=3Drop 0→1
SWE-agent2.161.060.800.7951%
SWE-smith1.980.630.550.5568%
Mind2Web1.690.740.790.6856%
Table 23: Early prediction AUROC (holdout) by trace completion fraction. FSM vs. raw-statistic baseline.
FractionSWE-agentSWE-smith
FSMBaseFSMBase
10%0.6570.4000.7220.416
25%0.6560.4560.6870.693
50%0.7260.6770.6810.668
75%0.7260.6720.6880.685
100%0.7730.7530.6820.692
Table 24: Activity granularity robustness. |𝒜|: alphabet size. Fit: test fitness. AUROC: failure prediction (entropy-based).
DatasetLevel|𝒜|FitAUROC
SWE-smithrole-only41.0000.688
role-type91.0000.692
role-action91.0000.692
tool-only91.0000.692
SWE-agentrole-only21.0000.663
role-type180.9990.659
role-action180.9990.659
tool-only180.9990.659
Table 25: Best monitoring rules by F1 score. All rules use a single FSM-derived feature with a fixed threshold.
DatasetRulePrec.RecallF1
SWE-agentcycle-rate >0.8850.9560.4510.613
SWE-smithcycle-rate >0.8780.2670.7500.393
Table 26: Failure prediction: FSM features vs. probabilistic baselines (holdout AUROC).
DatasetFSM feat.Trans. CELikelihoodN-gram
SWE-agent0.8130.4520.6260.317
SWE-smith0.7180.7190.7110.622
Table 27: ProbGuard (Wang et al., 2025b) vs. our FSM features for failure prediction. ProbGuard column = best AUROC over 20 configurations (Kunsafe× horizon, polarity-aware); FSM column = holdout AUROC from Table 14. Our FSM wins on every shared dataset by mean +17.6pp.
DatasetProbGuard (Wang et al., 2025b)FSM features (ours)Δ
τ2-bench (tel)0.7090.941+0.232
τ2-bench (air)0.7230.864+0.141
τ2-bench (ret)0.5660.779+0.213
SWE-agent0.6830.799+0.116
SWE-smith0.5250.703+0.178
Mean (5 shared datasets)0.6410.817+0.176
Table 28: Fitness under 10% perturbation intensity. Baseline fitness shown for reference.
DatasetSubst.Insert.SwapTrunc.Base
SWE-smith0.6580.8250.8921.0001.000
SWE-agent0.8180.8850.9380.9990.999
Mind2Web0.8810.9850.9991.0001.000
Who&When0.8280.8651.0001.0001.000
Table 29: Statistical next-step prediction: top-1 accuracy (%, ↑) on full validation sets.
DatasetStepsUnigramFSMAWMAWM cov.
SWE-smith5,50050.0100.034.534.5%
WebArena17,14626.281.181.092.9%
SWE-agent22,28849.165.726.657.0%
tau2 (tel)23,05533.061.819.859.0%
tau2 (air)4,02030.869.255.991.3%
tau2 (ret)10,20727.472.663.591.4%
Mind2Web88680.280.20.00.0%
Table 30: Cross-dataset transfer: FSM vs. raw feature AUROC. Bold: FSM advantage > 3pp.
Test dataset
TrainFeaturesSWE-smSWE-ag
SWE-smithFSM0.6810.715
Raw0.6940.683
SWE-agentFSM0.6480.780
Raw0.6820.720

Findings

  • Across all twelve public datasets, the extracted FSMs stayed compact at 7-43 states, replayed held-out data with at least 0.997 fitness, and were built in milliseconds.
  • For next-step prediction, FSM-state context beat AWM's top-1 accuracy on every ground-truth-matched dataset (e.g., SWE-smith 100% vs. 34.5%, tau2-telecom 61.8% vs. 19.8%), and a controlled comparison showed FSM conditioning improved cross-entropy by an average of 0.155 bits (21%) over using raw context alone.
  • For failure prediction, per-state features reached held-out AUROC up to 0.94 (tau2-bench telecom), outperformed raw trace statistics by +7.9 percentage points on SWE-agent, while fitness alone gave AUROC around only 0.50.
  • Using only 50% of a trace, FSM features reached 92% of the AUROC achievable with the full trace, and on SWE-agent the monitor triggered early stopping at 32% completion, saving 68% of remaining compute with 85.9% precision and 95.5% recall.
  • Compared to the automata-learning baseline RPNI, the FSM used 15-3,036x fewer states while matching or exceeding replay fitness, and was constructed up to tens of thousands of times faster (1-110 ms vs. 7,000-36,000 ms).

Where it can be used

  • Automatically compressing an agent's execution history into a small structure for safety audits or for pinpointing which behavioral states cause bugs
  • Running a lightweight runtime monitor alongside a deployed agent that flags and stops likely-failing runs before they finish
  • Using the FSM-derived context, which draws on both successful and failed traces, as a lighter alternative or complement to workflow-memory systems that only learn from successes

Limits and open work

  • Evaluation was limited to twelve public datasets across coding, web-navigation, and customer-service agent domains with relatively small activity alphabets of 6-42 symbols.
  • The runtime monitor's rules (e.g., cycle-rate threshold) worked well on datasets with rich state diversity but under-discriminated on smaller-alphabet domains like tau2-bench retail and SWE-smith, requiring per-dataset tuning according to the authors.
  • The authors note the FSM recovers only the observed surface-level flow of activities (a directly-follows automaton), not the true underlying generating process, which is provably impossible to identify from positive examples alone.
  • Cross-model transfer of failure-prediction features was imperfect: mean cross-model AUROC was 0.786 versus 0.877 within the same model, showing a measurable gap.
  • Structurally similar domains that share a schema, such as tau2-bench's airline and retail suites, were an exception where the FSM could not clearly distinguish out-of-distribution traces from in-distribution ones.

Why it matters

If long, opaque agent execution logs can be summarized into a small, inspectable structure, teams can audit and monitor deployed agents for safety without reading every trace by hand. Because the method does not depend on any specific LLM, it offers a reusable building block that could apply across many different agent systems.

Terms in this paper

  • 유한 상태 기계 (FSM) · A mathematical model that represents a system's behavior as a set of possible situations (states) and rules for moving between them
  • 재현 적합도 (replay fitness) · The fraction of a real execution trace that the FSM can successfully follow step by step; closer to 1.0 means the FSM explains the behavior well
  • AUROC · A score measuring how well a model separates two outcomes (e.g., success vs. failure); 0.5 is random guessing, 1.0 is perfect separation
  • Agent Workflow Memory (AWM) · A prior method that extracts linear sequences of steps only from successful execution traces, used here as a comparison baseline
  • cross-entropy · A measure in bits of how far a model's predicted probability of the next action is from what actually happened; lower means better prediction

Original abstract (English)

LLM-based agents execute multi-step tasks, but their behavioral structure remains opaque: long unstructured traces resist the safety auditing and runtime monitoring that deployment requires. Existing approaches operate per-trace or success-only, so they miss the cross-run topology that links next-step and failure prediction. To recover that shared structure, we collapse an entire trace corpus into a single, compact finite-state machine (FSM) that serves as a structural substrate for the otherwise unpredictable behavior of LLM agents. Across twelve public datasets, the FSMs are compact (7-43 states), replay held-out data at >=0.997 fitness with near-identical topology across splits, and build in milliseconds. This substrate addresses both prediction goals. For next-step prediction, FSM-state context outperforms Agent Workflow Memory on every ground-truth-matched dataset. For failure prediction, per-state behavioral features reach held-out AUROC up to 0.94, and an online monitor ranks failing runs above passing ones from a partial trace, triggering early stopping well before completion. Behavioral topology thus appears shaped more by the deployment harness than by the LLM, providing a model-agnostic structural primitive for safety auditing and runtime monitoring.

Authors · Seonglae Cho, Franklin Cardenoso Fernandez, Umar Mohammed, Zekun Wu, Kleyton Da Costa, Ilham Wicaksono, Adriano Koshiyam

Read on arXiv

Latest papers

All papers →

Latest from METAL LAB

Figures: Seonglae Cho et al., arXiv:2608.23670, CC BY 4.0