arXiv:2610.27406cs.AIOct 2026

Manuscript Offprint

arXiv:2610.27406

More Memory, Worse Agents: Error Reproduction and Anti-Persistence in LLM Agents

Ruhan Wang, Kishan Panaganti, Dongruo Zhou

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Ruhan Wang 1^{1}, Kishan Panaganti 2^{2}, Dongruo Zhou 1^{1}

1^{1}Indiana University 2^{2}Tencent HY

ruhwang@iu.edu, kpb@global.tencent.com, dz13@iu.edu

LLM agents can improve across tasks without updating model parameters by storing experience from their own executions in external memory and reusing it to guide later decisions. A central design question is whether to retain only observed trajectories and outcomes or also the rules, summaries, and skills inferred from them. Retaining these abstractions allows agents to reuse strategies without repeatedly deriving them from raw trajectories. However, errors in stored abstractions can propagate to subsequent decisions through retrieval and reuse. They can also shape execution trajectories, which then become the basis for new abstractions that reproduce the original errors. We term this feedback mechanism error reproduction: errors are regenerated through a cycle of abstraction, execution, and re-abstraction, extending their persistence beyond direct reuse of the original faulty knowledge. We propose ANTI-PERSISTENCE, a memory design that accumulates trajectories and outcomes while reconstructing task-specific guidance on demand. An adaptive selector uses prior outcomes to decide whether and how to synthesize guidance, which is discarded after execution. This prevents its direct reuse as a stored object, although indirect feedback through retained trajectories remains possible. Across different benchmarks and backbones, ANTI-PERSISTENCE achieves higher overall held-out success and the lowest average LLM-call cost among the evaluated memory designs. These results support separating experience accumulation from abstraction persistence in memory-based self-improvement.

Date: October 19, 2026

1 Introduction

Large language model (LLM) agents solve tasks through multi-step interactions with an environment, producing trajectories of actions and observations [1]. We study memory-based self-improvement, in which an agent stores experience and outcomes from its own executions in external memory, retrieves that memory to guide later tasks, and updates it with the resulting experience [2–5]. Together, repeated execution, memory updates, and reuse form a feedback loop across tasks [6, 7]: with the LLM parameters held fixed, the agent adapts through changes in the experience available for decision-making and in how that experience is used. Although this process is intended to improve subsequent performance, its effectiveness must be established empirically, because the content retained by the agent can affect both the next task and later rounds of adaptation.

Stored experience can take the form of observed interaction records, which preserve trajectories and task outcomes, or inferred abstractions, which express rules, skills, summaries, or heuristics derived from those records. Because long interaction histories contain both reusable procedures and episode-specific details, distilling them into compact guidance can make relevant experience easier to retrieve and use. Many agent systems therefore extract abstractions from past executions and retain them for subsequent tasks. This compression nevertheless requires judgments about which details matter and under what conditions a pattern generalizes; a rule that succeeds in one task may depend on conditions absent from another. The value of abstraction thus depends not only on identifying a useful pattern but also on reassessing its applicability when it is reused.

The effects of a mistaken abstraction can extend beyond the task in which it is retrieved and used. A stored rule can influence an agent's actions, and the resulting execution records may become inputs for synthesizing new abstractions in subsequent self-improvement rounds (Figure 1). Even when the original rule is not supplied to the synthesis step, these records may still contain erroneous actions taken under its guidance. When extracting lessons from these records, the agent may infer a new rule that reproduces the same error, allowing the error to persist indirectly through execution history. We call this possible feedback mechanism error reproduction, distinguishing the reappearance of an error in a newly generated abstraction from its propagation through retrieval and reuse. Both trajectories and abstractions can carry influence across tasks, with the extent of that influence depending on how the stored content is retrieved and used.

Memory maintenance can improve stored content through scoring, pruning, or refinement [8], but deleting an abstraction does not by itself revise trajectories generated under its influence or remove abstractions subsequently derived from those trajectories. Whether reproduction continues depends jointly on which records are retrieved, what is synthesized from them, and which outputs are admitted to memory. These dependencies motivate examining the need for inferred content to persist alongside the procedures used to maintain it, leading to the following question:

How can LLM agents benefit from abstraction in memory-based self-improvement while limiting error reproduction?

We propose ANTI-PERSISTENCE, a memory module that retains observed interaction records while synthesizing abstractions for the current task. An adaptive selector uses prior outcomes to determine whether and how to transform retrieved experience into guidance, which supports the current execution and is discarded afterward. Subsequent tasks can revisit the accumulated records to construct guidance suited to their own context, allowing the agent to adapt through experience accumulation and mode selection while the synthesis procedure remains fixed and its outputs remain temporary. Our contributions are threefold.

  • We introduce a memory design for self-improvement that separates the accumulation of execution experience from the temporary use of abstractions. Raw trajectories and task outcomes are retained, while inferred rules, summaries, and heuristics are used only for the current task and discarded afterward.

  • We develop an adaptive mode selector for on-demand abstraction that chooses between using retrieved records directly and synthesizing behavioral patterns, task strategies, or corrective guidance for each task. This enables a fixed synthesis procedure to support successive tasks without persisting its outputs.

  • We evaluate multiple rounds of self-improvement across three benchmarks and three backbones. ANTI-PERSISTENCE achieves a higher overall success rate on held-out tasks at a lower average LLM-call cost. We also find associations between earlier and subsequently generated abstractions, providing empirical evidence consistent with error reproduction.

References (33)