让智能体记忆按生活场景分组,提升多跳推理准确率
CreaMem: A Scene-Aware Memory Architecture for Personalized Agents

- 按生活场景划分记忆,减少不同场景间干扰
- 每条记忆从事件和性格双角度编码,支持互补信息检索
- 适合需要长期记忆的个性化智能体开发
长期记忆是个性化大模型智能体的核心能力。现有记忆系统多按主题或摘要层级组织信息,但存在两大缺陷:一是缺乏场景感知,不同生活场景的记忆共享同一检索空间,扩大搜索范围并引入跨场景干扰;二是每条记忆仅从单一视角编码,难以获取同一事件的多维度视图。本文提出CreaMem架构,通过将记忆划分为多个生活场景记忆单元,实现场景感知的组织,降低检索时的交叉干扰。为突破单视角限制,每个记忆单元内采用事件与特质双重编码机制,实现跨记忆协同。此外,在检索阶段引入每记忆均衡采样策略。在两个长期记忆基准上的实验表明,CreaMem在所有评估指标上均提升问答准确率,尤其在多跳推理任务中表现显著,验证了场景划分与跨记忆协同的有效性。代码已开源以保障可复现性。
原文摘要 · Abstract (English)
Long-term memory is a core capability for personalized LLM agents. To support it, existing memory systems organize information using various criteria such as topic segments or summary hierarchies. However, we identify two major limitations in these designs. First, they lack scene awareness: memories from unrelated life scenes share the same retrieval space, which inflates the search space and introduces cross-scene interference. Second, they encode each memory from a single perspective, making it difficult to retrieve complementary views of the same event. In this paper, we propose the CreaMem architecture, which enables scene-aware memory organization by partitioning memory into several Life Scene Memories to reduce cross-scene interference at retrieval. To go beyond the single perspective and achieve cross-memory synergy, entries are dual-coded from both episodic and trait-based perspectives within each memory. We further devise a permemory balanced sampling strategy at retrieval time. Extensive experiments on two long-term memory benchmarks show that CreaMem improves QA accuracy across all evaluation metrics, with particularly large gains on multi-hop reasoning performance, validating scene-aware partitioning and cross-memory synergy. To enhance reproducibility, we release our code in a public GitHub repository.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。