TrajAD: Trajectory Anomaly Detection for Trustworthy LLM Agents
On the map: LLM agents and tool use → Agent threats, guardrails and governance
Abstract (arXiv)
We address the problem of runtime trajectory anomaly detection, a critical capability for enabling trustworthy LLM agents. Current safety measures predominantly focus on static input/output filtering. However, we argue that ensuring LLM agents reliability requires auditing the intermediate execution process. In this work, we formulate the task of Trajectory Anomaly Detection. The goal is not merely detection, but precise error localization. This capability is essential for enabling efficient rollback-and-retry. To achieve this, we construct TrajBench, a dataset synthesized via a perturb-and-complete strategy to cover diverse procedural anomalies. Using this benchmark, we investigate the capability of models in process supervision. We observe that general-purpose LLMs, even with zero-shot prompting, struggle to identify and localize these anomalies. This reveals that generalized capabilities do not automatically translate to process reliability. To address this, we propose TrajAD, a specialized verifier trained with fine-grained process supervision. Our approach outperforms baselines, demonstrating that specialized supervision is essential for building trustworthy agents.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 33 of its 36 references that are in the map. First posted on arXiv 6 Feb 2026.
Builds on
33 of 36 references.
Closest ancestors · 4
Same direction, newest first
- 2025SecureWebArena: A Holistic Security Evaluation Benchmark for LVLM-based Web Agents11 Oct
- 2025Just Do It!? Computer-Use Agents Exhibit Blind Goal-Directedness2 Oct
- 2024Agent-SafetyBench: Evaluating the Safety of LLM Agents19 Dec
- 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agents18 Jan
Other references · 29
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2025Qwen3 Technical Reportcited by 8,195
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2023Let's Verify Step by Stepcited by 3,598
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
17 more
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2025Gemma 3 Technical Reportcited by 1,686
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2023SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Modelscited by 787
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 349
- 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 347
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 319
- 2023MedAgents: Large Language Models as Collaborators for Zero-shot Medical Reasoningcited by 311
- 2023FacTool: Factuality Detection in Generative AI -- A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarioscited by 247
- 2023FireAct: Toward Language Agent Fine-tuningcited by 247
- 2024Safeguarding Large Language Models: A Surveycited by 73
- 2023FinGPT: Instruction Tuning Benchmark for Open-Source Large Language Models in Financial Datasetscited by 68
- 2024AgentBank: Towards Generalized LLM Agents via Fine-Tuning on 50000+ Interaction Trajectoriescited by 56
- 2024FinRobot: AI Agent for Equity Research and Valuation with Large Language Modelscited by 10
Built on by
Citing papers per year: 2026: 13.
13 papers.
Sort:
By area:
- 2026HINTBench: Horizon-agent Intrinsic Non-attack Trajectory Benchmarkcited by 8
- 2026REFLECT: Intervention-Supported Error Attribution for Silent Failures in LLM Agent Tracescited by 7
- 2026OpenClawBench: Benchmarking Process-side Anomalies in Real-world Agent Execution Trajectoriescited by 4
- 2026Strained Coherence: A Pre-Failure Signal in Coding Agent Execution Trajectoriescited by 3
- 2026AgentDrift: A Step-Labeled Benchmark of Injection-Hijacked LLM Agent Trajectoriescited by 2
- 2026ClawTrack: Towards Trace-Level Evaluation and Improvement of Real-World Autonomous Agentscited by 1
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agentscited by 1
- 2026MCPEvol-Bench: Benchmarking LLM Agent Performance Across Dynamic Evolutions of MCP Serverscited by 0
- 2026TRACE: A Multi-Layer Benchmark for Human AI Controller Coordination Under Drift and Failurecited by 0
- 2026Closing the Consistency Gap: Self-Evolving Agents That Learn to Stay on Coursecited by 0
- 2026DriftNet: A Dual-Head Trajectory Transformer for Detecting and Localizing Prompt Injection in LLM Agentscited by 0
- 2026AgentPProf: Semantic Profiler for Long Horizon AI Agentscited by 0
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agents30 Sep 2026
- 2026AgentPProf: Semantic Profiler for Long Horizon AI Agents14 Sep 2026
- 2026DriftNet: A Dual-Head Trajectory Transformer for Detecting and Localizing Prompt Injection in LLM Agents9 Sep 2026
- 2026Closing the Consistency Gap: Self-Evolving Agents That Learn to Stay on Course8 Sep 2026
- 2026AgentDrift: A Step-Labeled Benchmark of Injection-Hijacked LLM Agent Trajectories7 Sep 2026
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agents31 Aug 2026
- 2026TRACE: A Multi-Layer Benchmark for Human AI Controller Coordination Under Drift and Failure7 Aug 2026
- 2026ClawTrack: Towards Trace-Level Evaluation and Improvement of Real-World Autonomous Agents30 Jul 2026
- 2026MCPEvol-Bench: Benchmarking LLM Agent Performance Across Dynamic Evolutions of MCP Servers16 Jul 2026
- 2026REFLECT: Intervention-Supported Error Attribution for Silent Failures in LLM Agent Traces8 Jun 2026
- 2026Strained Coherence: A Pre-Failure Signal in Coding Agent Execution Trajectories5 Jun 2026
- 2026OpenClawBench: Benchmarking Process-side Anomalies in Real-world Agent Execution Trajectories28 May 2026
1 more
- 2026HINTBench: Horizon-agent Intrinsic Non-attack Trajectory Benchmarkcited by 8
- 2026REFLECT: Intervention-Supported Error Attribution for Silent Failures in LLM Agent Tracescited by 7
- 2026Strained Coherence: A Pre-Failure Signal in Coding Agent Execution Trajectoriescited by 3
- 2026AgentDrift: A Step-Labeled Benchmark of Injection-Hijacked LLM Agent Trajectoriescited by 2
- 2026ClawTrack: Towards Trace-Level Evaluation and Improvement of Real-World Autonomous Agentscited by 1
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agentscited by 1
- 2026MCPEvol-Bench: Benchmarking LLM Agent Performance Across Dynamic Evolutions of MCP Serverscited by 0
- 2026Closing the Consistency Gap: Self-Evolving Agents That Learn to Stay on Coursecited by 0
- 2026DriftNet: A Dual-Head Trajectory Transformer for Detecting and Localizing Prompt Injection in LLM Agentscited by 0
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agentscited by 0
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agents30 Sep 2026
- 2026DriftNet: A Dual-Head Trajectory Transformer for Detecting and Localizing Prompt Injection in LLM Agents9 Sep 2026
- 2026Closing the Consistency Gap: Self-Evolving Agents That Learn to Stay on Course8 Sep 2026
- 2026AgentDrift: A Step-Labeled Benchmark of Injection-Hijacked LLM Agent Trajectories7 Sep 2026
- 2026Agents in the Large: Perception-Centered Architecture for Persistent Agents31 Aug 2026
- 2026ClawTrack: Towards Trace-Level Evaluation and Improvement of Real-World Autonomous Agents30 Jul 2026
- 2026MCPEvol-Bench: Benchmarking LLM Agent Performance Across Dynamic Evolutions of MCP Servers16 Jul 2026
- 2026REFLECT: Intervention-Supported Error Attribution for Silent Failures in LLM Agent Traces8 Jun 2026
- 2026Strained Coherence: A Pre-Failure Signal in Coding Agent Execution Trajectories5 Jun 2026
- 2026HINTBench: Horizon-agent Intrinsic Non-attack Trajectory Benchmark15 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026TRAJDEBUG: Tracing Error Lifecycle to Identify Critical Failures in Long-Horizon Agent Trajectories
- 2026ATBench: A Diverse and Realistic Agent Trajectory Benchmark for Safety Evaluation and Diagnosis
- 2026AURA-Eval: Evaluation Framework for Acting Under Risk Awareness in LLM Agent Trajectories
- 2025TraceAegis: Securing LLM-Based Agents via Hierarchical and Behavioral Anomaly Detection
- 2026DeFA: Dependency-Guided Failure Attribution for LLM Agents
- 2026When Agentic Executions Fail: Detecting and Localizing Runtime Faults from Telemetry
- 2026AgentFixer: From Failure Detection to Fix Recommendations in LLM Agentic Systems
- 2026Lightweight, Rubric-Guided Trajectory Evaluation for Production AI Agents