AgentMemGate: Addressing Speculation Contamination in Conversational Assistant Memory
This study addresses the problem of “speculative contamination” in conversational assistants, where tentative user plans are erroneously stored as established facts within long-term memory. To mitigate this, we propose a write-time gating mechanism that leverages an LLM-based classifier to identify utterance intent—distinguishing speculation, completion, and correction—and employs conditional logic to govern memory promotion and deletion, thereby retaining only confirmed events while isolating speculative information. This work introduces the first speculative filtering technique targeting intermediate-state memory and constructs a multi-session speculative dataset to bridge existing evaluation gaps. Experimental results demonstrate that our approach completely eliminates memory contamination on core benchmarks, improving task accuracy from 65% to 95% and significantly outperforming baseline models such as Mem0.