Forgetting Without Restarting: Execution-State Unlearning for Stateful LLM Agents
CWChao Yao, Yangbo Wei, Zhen Huang, Junhong Qian, Chenle Chen, Shaoqiang Lu, Chen WuLei He
CWChao Yao, Yangbo Wei, Zhen Huang, Junhong Qian, Chenle Chen, Shaoqiang Lu, Chen Wu
Lei He
+2
This paper formalizes execution-state unlearning for stateful LLM agents, where after a forget request the agent must behave as if it never observed the target. Modeling the runtime as a deterministic transition system, it proves exact unlearning requires at least $T-\tau+1$ recomputed transitions. The proposed method, Provenance-Guided Selective Replay, attains this bound by locating the injection point via a provenance graph, cropping the KV cache, and regenerating the counterfactual suffix. Evaluated against three forgetting baselines, selective replay is indistinguishable from a full reset at up to 9x fewer recomputed tokens.

arXiv ·
· September 4, 2026