TL;DR
Just because an AI agent gets the right final answer doesn’t mean it got there safely or reliably. OpenClawBench introduces a large-scale dataset of 31,264 real agent execution trajectories to measure this "Outcome–Process Gap," revealing that nearly 1 in 11 successful runs still contain serious process-side anomalies. Using this supervision, a locally deployable, fine-tuned 12B model outperforms a frontier model (GPT-5.4) by over 30 F1 points at detecting these hidden failures.
What Problem Does This Paper Address?
Imagine a junior engineer who ships a working feature—the tests pass, the output looks right—but along the way they ignored compiler warnings, wrote to a production database without checking, and guessed at ambiguous requirements. If you only grade the final output, everything looks fine.
In AI agent evaluation, we have the exact same blind spot. Most benchmarks grade agents on task outcomes (did they finish the job?) or policy compliance (did they break a safety rule?). They rarely ask whether the process itself was reliable. The authors call this mismatch the Outcome–Process Gap: an agent can pass the final task oracle while accumulating unresolved ambiguity, unsafe external writes, ignored errors, or weakly grounded commitments. Without a dataset that separates task success from process reliability in real execution traces, we can’t systematically measure—let alone train models to catch—these silent failures.
Methods
To make the Outcome–Process Gap measurable, the authors built a five-stage pipeline starting from real OpenClaw agent executions on BFCL (Berkeley Function Calling Leaderboard) tasks across six different source models:
- Normalization & Evidence Abstraction: Raw agent logs are messy and vary wildly across models. The authors normalize every session into a unified ReAct-style trajectory (thinking, action, feedback) and attach lightweight, step-level event descriptors (e.g., state-changing actions, tool errors, unresolved uncertainty).
- Outcome-Aware Structuring: Each trajectory is paired with its BFCL oracle outcome (pass/fail) and assigned a heuristic process-risk score (low/medium/high). Crucially, the oracle outcome is used as context, not as the anomaly label.
- FullTax Annotation: Instead of asking an LLM judge for a brittle yes/no verdict, FullTax breaks annotation into four constrained stages: recall-oriented triage (Stage A), subtype classification (Stage B1), onset/span localization and severity/recoverability scoring (Stage B2), and consistency verification (Stage C).
All anomalies are classified under a flat 5-subtype taxonomy defined strictly by process evidence:
Finally, the authors fine-tune an open-weight Gemma 3 12B Instruct model with rank-32 LoRA on the resulting high-confidence supervised pool to predict trajectory-level anomalies as a single-token classification task.
Datasets
- OpenClawBench (Full Corpus): 31,264 annotated trajectories collected from OpenClaw agents running BFCL tasks across 6 source-model backbones (
deepseek-r1,glm-4.5-air,gpt-oss-20b,qwen3.5_9b,qwen3.6_27b, andqwen3.6_35b_a3b). - Supervised Pool: 26,503 high-confidence trajectories from a final relabeling pass, split 9:1 into 23,857 training and 2,646 test trajectories (with a 14.8% test anomaly rate).
- Gold-300 & Audit Set: 300 test trajectories (50 per source model) independently labeled by two human annotators, plus a 140-case subtype-enriched human audit. Silver labels match the final human binary verdict on 93.3% (280/300) of Gold-300 trajectories.
Key Insights and Ideas
- Task success hides a massive amount of process failure: Out of 31,135 oracle-passing executions, 2,904 (9.33%) are still process-anomalous. Among oracle-passing runs that trigger high-risk process evidence, 92.70% (1,765 of 1,904) are anomalous.
- Zero-shot detectors fail by over-flagging, not by missing anomalies: Both the base Gemma 3 12B model and zero-shot GPT-5.4 achieve high recall (~81.3%), but they cry wolf constantly—flagging 49.8% and 41.6% of trajectories as anomalous against a true rate of 14.8%.
- Calibration beats raw scale: Trajectory-aware fine-tuning teaches the 12B model when not to flag. It keeps the exact same 81.3% recall as GPT-5.4 while dropping its predicted-anomaly rate to 18.2%, dramatically boosting precision.
- Generalization to unseen agent backbones: When the authors hold out an entire source model (
gpt-oss-20B-bfcl) from training, the fine-tuned detector still achieves 0.767 F1 on that unseen slice (compared to 0.793 in-distribution and 0.483 for GPT-5.4), showing it learns general process-anomaly patterns rather than model-specific quirks.
Key Results
On the cleaner-labels silver test split ($n = 2,646$), the LoRA-fine-tuned Gemma 3 12B detector sets a strong benchmark:
- Binary F1: 0.729, beating zero-shot GPT-5.4 (0.426) by +0.302 and the un-fine-tuned Gemma 3 12B base (0.372) by +0.357.
- Per-Model Consistency: The fine-tuned detector wins on all six source-model slices, with the largest gains on
glm-4.5-air(+0.469 F1) andqwen3.6-35B-A3B(+0.377 F1).
Limitations and Future Work
The authors note several honest caveats:
- LLM-generated silver labels: The large-scale corpus labels come from an LLM judge (DeepSeek-V4-Pro), and the silver test split was used to guide training schedule and checkpoint selection, which could make the headline F1 slightly optimistic.
- Controlled scope: The trajectories come from BFCL tool-use tasks rather than messy, long-running production workflows with persistent memory or organization-specific tools. Additionally, the three tail anomaly subtypes have fewer than 35 test examples each.
- Single-backbone detector: The experiments test one fine-tuned open-weight backbone against one frontier reference, leaving room to explore other detector architectures and runtime intervention strategies.
Summary updated