Number 7 of 12 · November 26, 2026

ExpGuard: Guarding Long-Horizon LLM Agents against Corrupted Experience

ExpGuard checks the saved experiences of long-running SI agents for hidden harmful guidance, and repairs risky ones before the agent reuses them.

What they found

The authors study SI agents that learn from past runs by saving "experiences" to reuse later. If a past run held misleading or adversarial guidance, a saved experience can carry harmful instructions into future tasks. They present ExpGuard, which scores each experience for attack risk and task-failure risk before reuse. It uses a graph that links the experience's meaning to where it came from and what steps it depended on. To train the scores, they replay a task twice: once with the original experience and once with a minimally neutralized version. The difference in attack success and task completion gives the risk labels. At retrieval time, risky experiences are repaired and re-scored before the agent uses them. The abstract says extensive experiments show it works, but gives no numbers.

Why it matters

Agents that keep and reuse memories of past work are becoming common. A single bad memory could spread harm across many later tasks without anyone noticing. This work treats that stored experience as an attack surface and offers a check at the moment of reuse.

How it changes the race

If the results hold, builders of long-running SI agents get a way to use self-collected experience with less risk of it being poisoned. This is a defense for agent memory, not a gain in raw capability. The abstract gives no figures, so the size of the benefit is unclear.

Safety and control

The paper bears directly on security. It targets corrupted or adversarial experience that persists across tasks and steers agent actions. The abstract does not say how well it holds against attacks designed to evade it.

The abstract, by the authors

Long-horizon large language model (LLM) agents distill past trajectories into reusable experiences. Misleading or adversarial guidance in source trajectories can corrupt these experiences, allowing harmful instructions to persist across tasks and influence future agent actions. Assessing the risks of potentially corrupted experiences poses three challenges: (1) modeling provenance and execution dependencies before experience reuse, (2) learning task-conditioned risk from trajectory outcomes, and (3) repairing risky experiences at online inference. To address these challenges, we present ExpGuard, a framework for retrieval-triggered experience risk assessment and online repair. Specifically, to tackle challenge (1), ExpGuard integrates experience semantics with provenance and execution dependencies in a task-conditioned heterogeneous graph to predict attack and task-failure risks before experience reuse. To enable task-conditioned risk supervision and tackle challenge (2), we conduct matched counterfactual replays of each original experience and its minimally neutralized counterpart from the same task and environment checkpoint, deriving separate risk labels from differences in attack success and legitimate task completion. To tackle challenge (3) at inference time, ExpGuard repairs candidate experiences flagged as high-risk by the graph-based predictor at retrieval and re-predicts their risks before they enter the agent's active experience context. Extensive experiments demonstrate the effectiveness of ExpGuard in identifying risky experiences and defending agents against experience corruption.

Quoted from arXiv:2611.32085. The research and its words belong to its authors.

The authors

Yuzhou Chen, Licheng Pan, Zhixuan Chu, Yunsheng Lu, Yichen Sun, Han Zheng, Yan Wang, Bingyu Zhu, Haiwen Hong, Longtao Huang, Kui Ren

Credit for this research belongs to its authors. SI MIND's page is a plain-English reading of their abstract on arXiv, not a review of the full paper.