Controlled Memory Interference in Continual LLM Agents

Ao Ding, Hongzong Li, Shiqin Tang, Li Zhang, Liang Chen, Xuyang Chen, Zi LiangarXiv 2026

TL;DR

As LLM agents operate over long horizons, their memory stores grow, but simply retrieving "relevant" information isn't enough when old habits conflict with new updates. This paper introduces Controlled Memory Interference (CMI), a framework to diagnose how conflicting or repetitive past experiences disrupt an agent's ability to adapt. By training a lightweight, interference-aware selector on CMI-generated data, the authors significantly improve an agent's ability to correctly resolve memory conflicts and execute valid updates.

What Problem Does This Paper Address?

Existing long-term memory systems for LLM agents focus heavily on memory construction and relevance-based retrieval (e.g., "find all memories related to hotel preferences"). However, as an agent accumulates experiences across multiple sessions, it frequently encounters situations where multiple retrieved memories are highly relevant but factually conflict—such as an outdated preference being superseded by a recent update, or a temporary exception to a rule.

This creates a challenge analogous to proactive interference and cue overload in human psychology. Standard retrieval mechanisms (lexical or dense) often fail to distinguish which memory is appropriate for the current state, leading agents to ignore valid new updates or succumb to misleading information (poisoning). This paper shifts the focus from how much an agent can remember to how well it handles interactions among accumulated memories.

Methods

The authors propose two core contributions:

  1. Controlled Memory Interference (CMI) Framework: A diagnostic and data-generation framework that systematically manipulates memory trajectories. It holds the query and target state fixed while varying two dimensions:
  2. Memory Volume (Load): Scaling the background history from low to high density.
  3. Memory Relationships: Introducing specific types of interference, including matched neutral data, unrelated data, repeated history (reinforcing an old state), and same-slot conflict (explicitly contradicting the target state).
  4. Interference-Aware Adaptive Retrieval (IAAR): To mitigate interference, the authors build a lightweight, class-balanced random forest selector. Instead of relying purely on dense or lexical retrieval, IAAR dynamically adjusts a mixture weight ($\alpha$) between the two based on observable, inference-time metadata (e.g., score margins, retrieval entropy, semantic similarity, and duplicate density).
Figure 1: Overview of memory interference and CMI in the continual agent loop. CMI controls memory load and relationships to construct paired diagnostic and training scenarios, enabling behavioral evaluation and lightweight retrieval adaptation. In-domain augmentation improves noisy-update answer success across TravelPlanner and four external sources.

Datasets

The CMI framework was evaluated across five distinct agent-memory benchmarks:

  • TravelPlanner (via MemoryArena): Used for fine-grained mechanism analysis (load growth, composition, and poisoning).
  • PERMA: Event-driven preference benchmarking.
  • LongMemEval: Long-term interactive memory for chat assistants.
  • HorizonBench: Long-horizon personalization with evolving preferences.
  • MEME (Tracking task): Multi-entity and evolving memory evaluation.

Key Insights and Ideas

  • Relationships Matter More Than Scale: Simply increasing the volume of neutral background memories (scale) causes minor, non-monotonic fluctuations in performance. However, introducing repeated history or same-slot conflicts causes a catastrophic drop in the agent's ability to adopt updates—a phenomenon the authors term selective plasticity suppression.
  • Distinct Failure Pathways: Lexical retrieval (e.g., BM25) is highly vulnerable to repeated surface text cues and direct same-slot conflicts, which block target memories from even entering the retrieval window. Dense retrieval, conversely, suffers from semantic crowding, where unrelated but topically similar memories dilute the target's retrieval rank.
  • Authority Trumps Recency: In memory-poisoning scenarios, agents are surprisingly resilient to malicious updates that are merely recent. However, if the malicious memory uses explicit "update language" or authoritative phrasing (e.g., "Correction: ..."), acceptance rates spike significantly.
Figure 4: Encoder robustness under CMI. Target Re- call@3 is shown as relationship-controlled memories are added. Error bars are paired base-cluster bootstrap 95% CIs.

Key Results

  • Substantial Accuracy Gains: Augmenting the retrieval training set with in-domain CMI data led to massive improvements in noisy-update answer success across all five datasets. Success rates increased by +0.300 on TravelPlanner, +0.443 on PERMA, +0.114 on LongMemEval, +0.414 on HorizonBench, and +0.614 on MEME Tracking.
  • No Performance Trade-offs: Crucially, these gains in handling noisy updates came with no observed decrease in performance on clean, un-noised baseline tasks.
  • Improved Retrieval Metrics: Target Recall@3 increased by 0.114 to 0.614, and Mean Reciprocal Rank (MRR) improved by 0.041 to 0.426 across the board, proving that the IAAR selector successfully surfaces the correct target memory despite heavy interference.

Limitations and Future Work

While CMI-guided training effectively helps the agent include and highly rank target memories, preference ordering and competitor exclusion remain open challenges. Even when the correct update is retrieved, competing outdated memories often remain co-exposed in the context window, leaving it up to the downstream LLM generator to correctly reconcile the conflict.

Additionally, the authors note that adaptive retrieval is highly calibration-dependent. A selector trained on one embedding backend (like Qwen) does not transfer zero-shot to another (like E5 or NV-Embed) without being retrained on that specific backend's feature schema.

Summary updated

BibTeX
@misc{ding2026controlled,
  author = {Ao Ding and Hongzong LI and Shiqin Tang and Li Zhang and Liang Chen and Xuyang Chen and Zi Liang},
  title = {{Controlled Memory Interference in Continual LLM Agents}},
  year = {2026},
  eprint = {2608.07622},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.07622},
}
Figure