Trajectory Unlearning on LLM-based Agents
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
also in 1 more
Abstract (arXiv)
Existing large language model (LLM) unlearning has focused primarily on removing specific knowledge, such as harmful facts, private data, or copyrighted content. However, as LLMs are increasingly deployed as autonomous agents, a fundamental yet overlooked problem emerges: beyond suppressing what an agent knows, an agent should not reproduce undesired behaviors through its action trajectories. In this work, we introduce trajectory-level unlearning, a new problem formulation that targets the removal of specific action trajectories in long-horizon agentic tasks, rather than factual knowledge. We identify two fundamental challenges that distinguish trajectory unlearning from knowledge unlearning: (1) our unlearning target is what the agent does, not what it says; and (2) trajectories are sequentially dependent action sequences that cannot be decomposed into isolated prompt-response pairs without losing inter-step structure. To address these challenges, we propose Group-injected Relative Policy Optimization (GiRPO), which injects forget trajectories into the policy rollout group with penalized rewards and isolates the normalization statistics, yielding a stable and bounded unlearning signal that does not corrupt gradient updates for normal task trajectories. We construct trajectory unlearning benchmarks from two application scenarios, household tasks (ALFWorld) and online shopping (WebShop), and design three complementary metrics for evaluating forgetting quality and model utility. Experiments on ALFWorld and WebShop demonstrate that GiRPO effectively unlearns target trajectories while preserving task success rates, outperforming existing knowledge-unlearning baselines on both forgetting quality and task utility.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 27 of its 29 references that are in the map. First posted on arXiv 27 Sep 2026.
Builds on
27 of 29 references.
Closest ancestors · 1
Same direction, newest first
Other references · 26
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 488
- 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearningcited by 484
- 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Modelscited by 386
- 2023Who's Harry Potter? Approximate Unlearning in LLMscited by 366
- 2023Large Language Model Unlearningcited by 288
- 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learningcited by 252
14 more
- 2024MUSE: Machine Unlearning Six-Way Evaluation for Language Modelscited by 251
- 2024Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearningcited by 160
- 2025ShieldAgent: Shielding Agents via Verifiable Safety Policy Reasoningcited by 144
- 2024RWKU: Benchmarking Real-World Knowledge Unlearning for Large Language Modelscited by 77
- 2025Towards LLM Unlearning Resilient to Relearning Attacks: A Sharpness-Aware Minimization Perspective and Beyondcited by 76
- 2025G-Safeguard: A Topology-Guided Security Lens and Treatment on LLM-based Multi-agent Systemscited by 56
- 2026AgentDoG: A Diagnostic Guardrail Framework for AI Agent Safety and Securitycited by 41
- 2024SafeWatch: An Efficient Safety-Policy Following Video Guardrail Model with Transparent Explanationscited by 37
- 2025Tool Unlearning for Tool-Augmented LLMscited by 17
- 2026Agentic Unlearning: When LLM Agent Meets Machine Unlearningcited by 6
- 2025Enhancing LLM Agent Safety via Causal Influence Promptingcited by 5
- 2025Exploring Nonlinear Pathway in Parameter Space for Machine Unlearningcited by 4
- 2026BraveGuard: From Open-World Threats to Safer Computer-Use Agentscited by 4
- 2026Secure Forgetting: A Framework for Privacy-Driven Unlearning in Large Language Model (LLM)-Based Agentscited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Agents Are All You Need for LLM Unlearning
- 2025Natural Language Actor-Critic: Scalable Off-Policy Learning in Language Space
- 2026Forgotten in Weights, Recovered by Tools: Agentic Tool Unlearning for LLM Agents
- 2024Rethinking Machine Unlearning for Large Language Models
- 2025STeCa: Step-level Trajectory Calibration for LLM Agent Learning
- 2025Training LLM-Based Agents with Synthetic Self-Reflected Trajectories and Partial Masking
- 2025LLM-Driven Policy Diffusion: Enhancing Generalization in Offline Reinforcement Learning
- 2026Large Language Model Post-Training: A Unified View of Off-Policy and On-Policy Learning