Watermarking LLM Agent Trajectories
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
LLM agents rely heavily on high-quality trajectory data to guide their problem-solving behaviors, yet producing such data requires substantial task design, high-capacity model generation, and manual filtering. Despite the high cost of creating these datasets, existing literature has overlooked copyright protection for LLM agent trajectories. This gap leaves creators vulnerable to data theft and makes it difficult to trace misuse or enforce ownership rights. This paper introduces ActHook, the first watermarking method tailored for agent trajectory datasets. Inspired by hook mechanisms in software engineering, ActHook embeds hook actions that are activated by a secret input key and do not alter the original task outcome. Like software execution, LLM agents operate sequentially, allowing hook actions to be inserted at decision points without disrupting task flow. When the activation key is present, an LLM agent trained on watermarked trajectories can produce these hook actions at a significantly higher rate, enabling reliable black-box detection. Experiments on mathematical reasoning, web searching, and software engineering agents show that ActHook achieves an average detection AUC of 94.3 on Qwen-2.5-Coder-7B while incurring negligible performance degradation.
Key facts. Cited by 3 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 62 of its 75 references that are in the map. First posted on arXiv 21 Feb 2026.
Builds on
62 of 75 references.
Closest ancestors · 1
Same direction, newest first
Other references · 61
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,278
- 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
- 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
38 more
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2023A Watermark for Large Language Modelscited by 667
- 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 574
- 2025Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoningcited by 540
- 2024Executable Code Actions Elicit Better LLM Agentscited by 537
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 452
- 2023Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defensecited by 401
- 2024Measuring short-form factuality in large language modelscited by 345
- 2023AgentTuning: Enabling Generalized Agent Abilities for LLMscited by 319
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 300
- 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solvingcited by 276
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 255
- 2023Poisoning Language Models During Instruction Tuningcited by 254
- 2019A backdoor attack against LSTM-based text classification systemscited by 214
- 2021Hidden Killer: Invisible Textual Backdoor Attacks with Syntactic Triggercited by 203
- 2024Trial and Error: Exploration-Based Trajectory Optimization for LLM Agentscited by 194
- 2023On the Reliability of Watermarks for Large Language Modelscited by 170
- 2025Agentic Reinforced Policy Optimizationcited by 166
- 2025The Unreasonable Effectiveness of Entropy Minimization in LLM Reasoningcited by 160
- 2024Liger Kernel: Efficient Triton Kernels for LLM Trainingcited by 123
- 2024AgentTrek: Agent Trajectory Synthesis via Guiding Replay with Web Tutorialscited by 123
- 2020Adversarial Watermarking Transformer: Towards Tracing Text Provenance with Data Hidingcited by 121
- 2023Who Wrote this Code? Watermarking for Code Generationcited by 116
- 2023On the Exploitability of Instruction Tuningcited by 110
- 2022Untargeted Backdoor Watermark: Towards Harmless and Stealthy Dataset Copyright Protectioncited by 80
- 2025Mind2Web 2: Evaluating Agentic Search with Agent-as-a-Judgecited by 75
- 2020Radioactive data: tracing through trainingcited by 67
- 2025Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samplescited by 66
- 2023REMARK-LLM: A Robust and Efficient Watermarking Framework for Generative Large Language Modelscited by 64
- 2024Watermarking Makes Language Models Radioactivecited by 52
- 2024No Free Lunch in LLM Watermarking: Trade-offs in Watermarking Design Choicescited by 47
- 2021CoProtector: Protect Open-Source Code against Unauthorized Training Usage with Data Poisoningcited by 39
- 2024Proving membership in LLM pretraining data via data watermarkscited by 38
- 2023Did You Train on My Dataset? Towards Public Dataset Protection with Clean-Label Backdoor Watermarkingcited by 37
- 2023CodeMark: Imperceptible Watermarking for Code Datasets against Neural Code Completion Modelscited by 28
- 2024WorkflowLLM: Enhancing Workflow Orchestration Capability of Large Language Modelscited by 28
- 2024Competition Report: Finding Universal Jailbreak Backdoors in Aligned LLMscited by 27
50 most cited of 61 All 61 (JSON)
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026TrajMark: Ownership Attribution and Segment-Level Tamper Localization for Coding-Agent Trajectories
- 2026AgentMark: Utility-Preserving Behavioral Watermarking for Agents
- 2026Semantic Behavioral Watermarking: Paraphrase-Robust and Forgery-Resistant Provenance for LLM Agents
- 2025Agent Guide: A Simple Agent Behavioral Watermarking Framework
- 2026On Protecting Agentic Systems' Intellectual Property via Watermarking
- 2026Known By Their Actions: Fingerprinting LLM Browser Agents via UI Traces
- 2026ActGuard: Pre-execution Action Auditing against Indirect Prompt Injection in LLM Agents
- 2026Who Is Behind the Harness? Fingerprinting LLMs through Agentic Behavior