Manuscript Offprint

arXiv:2610.07707

AgentMemGate: Addressing Speculation Contamination in Conversational Assistant Memory

Chirag Sharma, Benjamin Fowlersmith, Karime Maamari

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

Abstract

Conversational AI assistants with long-term memory extract facts from user messages into a store consulted in later conversations. A stated plan can enter that store as fact: a user who might move to Seattle may be recorded as already living there. We call this speculation contamination. Final-state memory benchmarks miss this error because they do not probe intermediate state and include few unresolved speculations. We present AgentMemGate, a write-time gate for profile-store memory that classifies extracted statements as speculation, completed event, correction, or other. Speculations remain outside memory, with conditions governing later promotion or deletion. We also contribute a dataset of multi-session conversations in which plans are confirmed, abandoned, or left unresolved. On our 147-conversation held-out set, Mem0 and Graphiti assert unresolved plans as current state for 35.2% and 27.3% of pending plans. On the core benchmark, AgentMemGate eliminates all observed contamination relative to the identical ungated pipeline (87.5% to zero for the most exposed extraction style) and raises task accuracy from 65% to 95%. On the harder held-out set, gated contamination is 3.4–5.7% and task accuracy rises by 9–13 percentage points. Our analysis identifies field matching as the main remaining bottleneck: realistic speculations often match no profile field and never reach the gate. We release our datasets, prompts, and evaluation code.

1 Introduction

Consider a user who tells an assistant: “I’ve been thinking about maybe moving to Seattle, my dad lives there.” Three weeks later, the user asks for a booking “near where I live”. If the memory system wrote current_city = Seattle, the assistant acts on a move that never happened. A plan has displaced a true fact. We call this failure speculation contamination: a speculative statement stored as current fact.

Final-state benchmarks do not catch this because they score only after outcomes arrive. Few conversations leave speculations unresolved, and explicit confirmations can repair the store before the final question. Existing systems improve extraction, deduplication, and temporal structure but do not defer writes pending later evidence. On 147 held-out plan-to-outcome conversations, Mem0 [Chhikara et al., 2025] answered 78.9% of final questions correctly yet asserted never-true plans as current state for 35.2% of pending plans. Zep Graphiti [Rasmussen et al., 2025] showed 48.3% final accuracy and 27.3% pending contamination. Final-answer accuracy and pending-window correctness are distinct capabilities. We define, measure, and address the latter. 1^{1}

A profile store is the assistant’s persistent set of user attributes, such as home city or employer, with one current value per field. An at-risk plan is a stated plan that never came true, whether explicitly

1^{1}Code and datasets: https://github.com/DistylAI/agentmemgate-artifacts/.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Personalization, Adaptation, and Learning in Memory (PALM).

Figure

Figure 1: Shared extraction and field matching feed two policies: the ungated pipeline writes speculation as current, while AgentMemGate stages it until confirmation or abandonment. With literal extraction on the core benchmark, gating takes pending contamination from 87.5% to 0% and task accuracy from 65% to 95%.

abandoned or still unresolved. Contamination (i.e. speculation contamination) occurs when an at-risk plan is stored as a field's current value; we measure its rate over at-risk plans. The pending window comprises the conversation turns after a plan is stated and before its outcome is known. The gate is the routing step that classifies each extracted statement and decides whether to write it to the profile store. Staging means holding a speculative statement outside the profile store with resolution conditions attached and promotion means moving a staged item into the profile store once the user confirms that the plan happened.

We run our experiments with two extraction styles modeled on existing framework prompts: a literal extractor that records stated values directly and a cautious extractor that explicitly records plans as plans (Section 4).

Our key motivation is that a speculation is not an unwarranted extraction but a fact that is not yet true. It should therefore be deferred, not filtered: hold it with resolution conditions, promote it on confirmation, and discard it on abandonment.

Our contributions:

  1. An evaluation protocol that scores memory during the interaction, with a plan-to-outcome conversation dataset built for it. The protocol reads the store within the pending window. Each conversation tracks a plan to confirmation, abandonment, or no resolution. We also evaluate on controlled-difficulty splits that vary hedge strength and confirmation wording one at a time (Section 5).

  2. AgentMemGate, a write-time gate that lowers observed contamination while improving final task performance on our benchmarks. It classifies extracted statements by evidence type and holds speculations outside the profile store until confirmation. On the core benchmark, gating reduces literal-extractor contamination from 87.5% to zero while raising task accuracy from 65% to 95% (Sections 3 and 6.1).

  3. An analysis locating the remaining bottleneck at field matching. Realistic plans often match no profile field and never reach the gate. Once staged, promotion is at parity across extraction styles. We also identify a tradeoff between looser field matching and containment of classification errors (Section 6.3).

References (43)