TRACE links evidence across distant steps, achieving 0.713 F1 in detecting malicious LLM agent behavior
TRACE can detect hidden malicious objectives in long-horizon LLM agent trajectories with high recall
AI/ML arXiv 5 Jun 2026 Method Simulation evidence
Published as “TRACE: Trajectory Reasoning through Adaptive Cross-Step Evidence Aggregation for LLM Agents”
Why it matters
The adaptive monitoring approach can improve detection of covert sabotage with lower compute, but its practical impact is limited until it is validated beyond the SHADE-Arena benchmark.
Summary
TRACE detects sabotage in LLM agent trajectories with an aggregate F1 of 0.713 and recall of 0.844, beating the full-trajectory (F1 0.577) and sequential (F1 0.700) baselines while using 35% fewer LLM calls. The gain comes from an adaptive Triage-Inspect-Judge loop that selects suspect windows and maintains persistent evidence across steps. However, TRACE’s precision drops to 0.641, leading to more false positives, and it underperforms on some tasks (e.g., Bank Transfer) where baselines achieve higher F1. The evaluation is limited to the SHADE-Arena benchmark (463 trajectories across ten domains).
What they found 1
- TRACE achieves higher aggregate F1 and recall than both baselines
“TRACE achieves F1 = 0.713, outperforming the full-trajectory monitor (0.577) and the sequential monitor (0.700).”
Caveats 6
- TRACE trades some precision for substantially higher recall, yielding the best aggregate F1.
- TRACE trails the leading baseline on F1, as on Bank Transfer (TRACE 0.793 vs. Sequential 0.894) and Expenditure Accounting (TRACE 0.731 vs. full trajectory 0.909).
- TRACE is evaluated only on SHADE-Arena; generalization to other benchmarks and reasoning-capable models with extended thinking modes remains future work.
- The verdict threshold, inspection budget, and action space are fixed based on a small validation set and are not fully tuned per model.
- TRACE is currently focused on sabotage detection in LLM agent trajectories and has not yet been evaluated on other threat classes or failure modes.
- Finally, TRACE operates entirely at inference time and does not incorporate learned monitoring policies or online adaptation, which may further improve robustness in long-horizon settings.
What’s new here 4
- Adaptive selection of suspect windows instead of fixed-length chunking
- Persistent cross-step evidence state that aggregates weak signals over time
- Training-free monitoring loop (TIJ) that reshapes evidence selection without fine-tuning
- Reduced inference cost: 12.3 LLM calls per trajectory versus 18.8 for the sequential baseline