arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.14937cs.CR
收藏

CIMemories:一个用于评估大语言模型持久记忆上下文完整性的组合式基准

CIMemories: A Compositional Benchmark for Contextual Integrity of Persistent Memory in LLMs

FAIR at Meta(Meta FAIR)

Niloofar Mireshghallah, Neal Mangaokar, Narine Kokhlikyan, Arman Zharmagambetov, Manzil Zaheer, Saeed Mahloujifar, Kamalika Chaudhuri

AI总结:

针对大语言模型持久记忆易在不当上下文泄露敏感信息的问题,提出CIMemories基准,实验发现前沿模型存在高比例记忆泄露、行为不稳定等问题,仅靠提示优化或模型 scaling 无法解决。

摘要:

大语言模型(LLMs)越来越多地利用过往交互产生的持久记忆来提升个性化水平与任务性能,但当敏感信息在不恰当的上下文场景中被泄露时,这类记忆会带来严重风险。我们提出CIMemories基准,用于评估大语言模型能否根据任务上下文恰当控制记忆中的信息流。CIMemories采用每名用户包含超100个属性的合成用户画像,搭配多样化任务上下文,其中每个属性可能对部分任务是必需的,但在另一些任务中披露则是不恰当的。我们的评估显示,前沿模型的属性级违规(不当泄露信息)比例最高可达69%,而更低的违规率往往以牺牲任务效用为代价。违规行为会在任务和运行轮次中累积:当使用量从1个任务增加到40个任务时,GPT-5的违规率从0.1%升至9.6%;当相同提示词执行5次时,违规率达到25.1%,暴露出模型面对相同提示词会泄露不同属性的任意、不稳定行为。注重隐私的提示词策略无法解决该问题——模型会过度泛化,要么全披露要么完全不披露,而非做出细致的、依赖上下文的决策。这些发现揭示了相关根本性局限,该问题需要具备上下文感知的推理能力,而非仅靠优化提示词或扩大模型规模就能解决。

英文摘要:

Large Language Models (LLMs) increasingly use persistent memory from past interactions to enhance personalization and task performance. However, this memory introduces critical risks when sensitive information is revealed in inappropriate contexts. We present CIMemories, a benchmark for evaluating whether LLMs appropriately control information flow from memory based on task context. CIMemories uses synthetic user profiles with over 100 attributes per user, paired with diverse task contexts in which each attribute may be essential for some tasks but inappropriate for others. Our evaluation reveals that frontier models exhibit up to 69% attribute-level violations (leaking information inappropriately), with lower violation rates often coming at the cost of task utility. Violations accumulate across both tasks and runs: as usage increases from 1 to 40 tasks, GPT-5's violations rise from 0.1% to 9.6%, reaching 25.1% when the same prompt is executed 5 times, revealing arbitrary and unstable behavior in which models leak different attributes for identical prompts. Privacy-conscious prompting does not solve this - models overgeneralize, sharing everything or nothing rather than making nuanced, context-dependent decisions. These findings reveal fundamental limitations that require contextually aware reasoning capabilities, not just better prompting or scaling.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑