MemAdapter:对抗记忆诱导谄媚的反事实自适应框架
Memadapter: Counterfactual Adaptation Against Memory-induced Sycophancy
MemAdapter 提出用反事实推理识别检索记忆的潜在风险,并通过上下文感知反思按当前任务校准每条记忆的推理影响,最终以证据为基础生成回答。该框架针对的是客观正确的记忆同样可能诱发 LLM 智能体谄媚的问题,而非仅过滤偏误记忆。在三个基准上的实验显示其持续提升记忆可靠性。
arXiv:2610.05162v2 Announce Type: replace Abstract: Long-term memory enables LLM-based agents to retain and reuse information across tasks and sessions, supporting personalization and long-horizon interactions. However, persistent memories can also induce sycophancy, causing agents to over-align with users' historical beliefs even when they are inaccurate, outdated, or inconsistent with objective evidence. Existing mitigation methods assume that memory-induced sycophancy originates from biased or incorrect memories and attempt to reduce this risk by filtering such memories at different stages of the memory pipeline. However, in the real world, objective and correct memories can still induce sycophancy, and the same memory can warrant different influence across different contexts. To this end, we propose MemAdapter, a novel framework that adaptively integrates retrieved memories to support objective and reliable reasoning. Specifically, MemAdapter consists of three components: (i) Counterfactual Induction, which leverages counterfactual reasoning to uncover the potential risk of retrieved memories; (ii) Context-Aware Reflection, which calibrates the inferential influence of each retrieved memory in light of the current task via self-reflection; and (iii) Evidence-Based Reasoning, which grounds the final response in appropriate evidence while preserving the legitimate influence of memory. Extensive experiments on three benchmarks demonstrate that MemAdapter consistently improves memory reliability across diverse scenarios. Our code is available at https://github.com/DEEP-JLU/MemAdapter.
来源:arXiv (AI + Vision + Imaging) · arxiv.org