TRACE: Governing Memory Validity in Evolving Multi-Agent Systems

Wenjun Xiong, Shengtao Zhang, Shangding Gu, Bo Tang, Zhiyu Li, Feiyu Xiong, Ying Wen, Muning WenarXiv 2026

TL;DR

TRACE (Temporal Return Admission under Context Evolution) is a training-free governance layer that ensures agents rejoining a multi-agent system (MAS) only act on valid memories. By reconciling an agent's pre-departure knowledge with updates made during its absence, TRACE successfully filters out "stale" information that simple retrieval systems often miss, significantly improving performance in complex, evolving collaborative environments.

What Problem Does This Paper Address?

In long-running multi-agent systems, agents aren't always active; they pause, get reassigned, and eventually rejoin a workspace. The challenge is that while an agent is "offline," the rest of the team continues to work, changing the shared state of the project.

When the agent returns, its stored memories might be topically relevant and were factually correct when recorded, but they may now be inadmissible for action. For example, an agent might remember a specific hotel booking for a team trip, but while it was away, the team canceled that hotel and booked a different one. Acting on the old memory would lead to an error.

Figure 1: The agent-return dilemma under context evolution. A1 leaves with a coherent travel plan. During its absence, the team replaces the hotel booking, changes the train schedule, and leaves the pickup time unresolved. When A1 returns, its stored itinerary is still relevant and was correct when recorded, yet parts of it are no longer admissible for action.

The authors identify two main failure modes:

  1. Explicit Invalidation: A clear update or revocation (e.g., "Cancel the Sunrise Hotel reservation").
  2. Implicit Invalidation: A change in a premise that makes a memory invalid without mentioning it directly (e.g., changing the trip destination makes a specific train recommendation obsolete).

Existing memory systems focus on storage and retrieval but lack a formal mechanism to decide if a retrieved memory is currently "eligible" for action based on the evolved context.

Methods

The authors introduce TRACE, a training-free layer positioned between an agent and its memory backend. It treats re-entry as a governance decision rather than a simple retrieval task. The TRACE pipeline consists of four stages:

  1. Capture: It creates an immutable "post-absence checkpoint" by combining the agent's departure state with the "delta" (changes) that occurred during its absence.
  2. Validate: Every candidate memory item passes through four gates: Authorization (is the agent allowed to see this?), Freshness (is it the latest version?), Applicability (does it fit the current task?), and Provenance (is there a verified source?).
  3. Cover Obligations: A greedy selector identifies a subset of valid memories that cover the agent's current "open obligations" (unresolved tasks) while staying within a token budget.
  4. Sign & Readmit: It releases a "Return View"—a signed, auditable package of admitted state. Private episodic memories are only readmitted if their corresponding shared work-state items survived the filtering process.
Figure 2: The four stages of the TRACE governance pipeline: Capture, Validate, Cover, and Sign/Readmit.

Datasets

TRACE was evaluated across three benchmarks, each isolating different types of state change:

  • Memora: Tests longitudinal retention and explicit updates/deletions.
  • STALE Type II: Specifically designed to test implicit contextual invalidation, where changes are indirect.
  • ManBench-Return: A new setting derived from the ManBench conflict benchmark, focusing on how agents handle misleading updates and social conflict during their absence.

Key Insights and Ideas

  • Admission as Eligibility, Not Retrieval: The core "aha moment" is that relevance and faithfulness aren't enough for action. Memory systems need an explicit "admission" step at the lifecycle boundary of an agent's return.
  • The "Fail-Closed" Strategy: TRACE follows the security principle of fail-safe defaults. If the available valid evidence cannot cover an agent's critical obligations, the system blocks the return or resets the memory rather than providing a partial, potentially dangerous view.
  • Functional Forgetting: TRACE implements a form of forgetting where stale information isn't necessarily deleted from the database (preserving an audit trail) but is rendered "non-executable" by being excluded from the agent's current context.
  • Implicit Invalidation is the Frontier: While explicit replacements are relatively easy to handle, TRACE’s ability to reason about implicit dependencies is what sets it apart from standard memory policies.

Key Results

  • Balanced Performance: On ManBench-Return, TRACE was the only method to achieve both high Valid Information Availability (92.6–98.3%) and high Invalid Information Rejection (98.4–99.5%). Simple baselines like "Restore" (keep everything) or "Reset" (delete everything) inevitably bottomed out at 0% on one of these two critical metrics.
  • Significant Gains on Implicit Tasks: On the STALE Type II benchmark, TRACE improved overall accuracy by 18.5 to 27.5 percentage points over the strongest comparison policies across different LLMs (Qwen, Gemini, DeepSeek).
  • Efficiency vs. Accuracy: While a full write-time consolidation pipeline (CUPMem) is more accurate, it uses nearly 4x more tokens than TRACE. TRACE provides a middle ground, offering high accuracy at roughly 2.3x the cost of "dumb" retrieval.
  • Scalability: TRACE remained stable as the team size grew from 4 to 32 active agents, showing consistent gains regardless of the number of teammates changing the state.

Limitations and Future Work

  • Trust Assumptions: TRACE assumes that the identity of agents and the source bindings of memories are trustworthy; it is not currently designed to defend against malicious "memory poisoning" by adversarial agents.
  • Verifier Calibration: The system's effectiveness depends on the LLM's ability to correctly identify dependencies. If the verifier misses a link, stale state can still leak through.
  • Long Absences: Performance tends to degrade as the period of absence (and thus the amount of context change) increases.
  • Future Directions: The authors plan to explore proactive invalidation (marking state stale as soon as a change is detected) and multi-agent reconciliation (using consensus to resolve conflicting updates).

Summary updated

BibTeX
@misc{xiong2026trace,
  author = {Wenjun Xiong and Shengtao Zhang and Shangding Gu and Bo Tang and Zhiyu Li and Feiyu Xiong and Ying Wen and Muning Wen},
  title = {{TRACE: Governing Memory Validity in Evolving Multi-Agent Systems}},
  year = {2026},
  eprint = {2609.33517},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.33517},
}
Figure