Correct Memories Can Still Make Your Agent a Yes-Man
MemAdapter argues that accurate stored memories can also drive sycophancy, so filtering bad memories is not enough, and proposes counterfactual checks on each memory's influence.
Existing defenses against memory-induced sycophancy assume the cause is bad memories: outdated facts, biased preferences, incorrect beliefs that slip through retrieval. Filter those out and the agent reasons cleanly. This paper argues the assumption is incomplete. Factually correct memories can still push an agent toward agreeing with a user's past beliefs rather than the evidence in front of it, and a filter that checks memory quality will pass them through.
The authors' point is that the same memory may deserve different weight in different contexts. A memory that was accurate last month may carry the wrong weight in today's context. A stored user preference that is valid in one domain can bias the agent's reasoning in another. What causes the sycophancy is the influence a memory exerts relative to the current task, and a pipeline that only inspects memory quality at ingestion or retrieval time cannot see that influence.
MemAdapter addresses this with three coordinated components. First, Counterfactual Induction: for each retrieved memory, the framework asks what the agent's response would look like if that memory had not existed. The difference between the counterfactual and the actual response shows how much the memory is shaping the output, regardless of whether the memory is correct. Second, Context-Aware Reflection: the agent evaluates whether that influence is appropriate given the current task, calibrating each memory's weight rather than treating all retrieved context as equally valid. Third, Evidence-Based Reasoning: the final response is grounded in the evidence that survives that calibration, keeping memory contributions that are relevant and suppressing those that are not.
The analogy is a courtroom rather than a search engine. Retrieval finds the witnesses. Counterfactual Induction asks what the verdict would look like without each witness's testimony. Reflection decides which testimony is admissible given the specific charge. Only then does the agent render a judgment. A pipeline that filters only at retrieval has no admissibility step.
The authors report that across three benchmarks covering diverse memory-dependent scenarios, MemAdapter consistently improves memory reliability. The abstract does not name the benchmarks or give scores, so the size of the gain has to come from the paper's tables. For teams shipping persistent-memory agents, the takeaway is direct: if your sycophancy mitigation only touches memory quality at ingestion or retrieval, test it against accurate memories as well as bad ones.
We're thinking: We find the counterfactual framing the most useful part of the paper. Teams building long-term memory agents tend to work on retrieval quality: better embeddings, smarter chunking, recency weighting. MemAdapter's argument implies that retrieval quality is necessary but not sufficient for reliable reasoning, because the bias can come from how accurate retrieved context interacts with a user's history of expressed preferences. That interaction stays hidden until you model the counterfactual. The uncomfortable implication is that a well-curated memory store may make sycophancy harder to spot, because the agent's agreement with the user looks more defensible when the supporting memories are accurate.
Key takeaways:
- MemAdapter shifts sycophancy mitigation from memory filtering to context-sensitive influence calibration, using counterfactual reasoning to measure and adjust how much each retrieved memory shapes the final response.
- The authors report consistent memory-reliability improvements across three benchmarks; the caveat is that the abstract names no benchmarks and gives no numbers, so the effect size is not yet clear from the summary.
- Teams building agents with persistent user memory should test whether their current sycophancy mitigations hold up against accurate memories that carry the wrong weight in context, as well as against noisy or outdated ones.
Source: MemAdapter: Counterfactual Adaptation Against Memory-induced Sycophancy