Manuscript Offprint

arXiv:2609.08550

CreaMem: A Scene-Aware Memory Architecture for Personalized Agents

Qixuan Sun, Yue Que, Bowei He, Jin Guo, Dihang Yang, Wenchang Situ, Chen Ma

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

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 per-memory 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.

1 Introduction

Large language models (LLMs) are evolving from single-session tools into long-term personalized agents that accompany users across extended interactions (Li et al., 2024). A core capability of such agents is long-term memory, which enables them to retain, organize, and retrieve information from prior interactions, thereby maintaining coherence across sessions (Wang et al., 2024; Guo et al., 2024). However, retention alone is insufficient. As interactions accumulate over weeks and months, the memory structure determines how the information is organized and whether the right information can be retrieved. Consequently, the architectural design of memory organization and retrieval plays a significant role in sustaining coherent long-term behavior across extended interactions (Packer et al., 2023; Park et al., 2023), thus emerging as a central design problem for modern agent systems.

Existing memory systems address this design problem through various organization principles, which can be broadly categorized into three types: (1) Flat-storage methods (Song et al., 2020; Izacard et al., 2022; Lee et al., 2023) retrieve from an unstructured pool; (2) Structure-imposing methods (Pan et al., 2025; Sarthi et al., 2024; Wang et al., 2025; Gutiérrez et al., 2025; Xu et al., 2025; Xu et al., 2026) organize memory through explicit structures such as summary trees or entity graphs; and (3) Memory-partitioning methods (Li et al., 2026; Kang et al., 2025) decompose memory into several specialized components along axes like cognitive function or temporal scale. For example, MIRIX (Wang and Chen, 2025) separates memory into episodic, semantic, and procedural memories.

Although these methods differ in their organization principles, they overlook two aspects: none organizes memory by the user's life scenes, and few encode each experience along both an episodic and a trait-based perspective. These two gaps echo two well-established findings in cognitive psychology: (1) autobiographical memory is organized around lifetime contexts rather than abstract categories (Conway and Pleydell-Pearce, 2000; Conway, 2005); (2) episodic and semantic memory encode the same experience in complementary forms that cooperate during recall (Tulving, 1972, 2002).

We adopt both as design principles: memory is partitioned along the user's life scenes, and each experience is encoded twice. It is stored as a timeline entry in the Episodic Memory and as a trait entry in the relevant scene memory. For example, when a user mentions a weekend hike with their family, the system stores an episodic entry such as "the user went hiking on May 7" with surrounding event details, alongside a Life Scene trait entry such as "the user spends weekends on family outdoor activities." Traits are kept within scenes because user preferences are context-dependent: the same kind of event in a work setting would yield a different trait, and pooling them together would wash out these scene-specific patterns. At retrieval, a temporal query such as "when did the user go hiking?" is answered by the Episodic Memory entry alone, while a broader query such as "is the user likely to enjoy a camping trip?" draws from both memories, returning the event and its scene-specific trait as mutually complementary perspectives.

In this paper, we instantiate these principles as CreaMem, a scene-aware memory architecture for long-term personal agents. At storage time, a Meta Memory Manager routes each incoming message to the relevant scene memory and adds a paired entry to the Episodic Memory. At retrieval time, queries are issued to all memories, and a per-memory balanced sampling strategy ensures that both the timeline view and the scene-specific view contribute to the final returned context for response generation.

In summary, our contributions are threefold.

  • We partition memory along the user's life scenes, i.e., Life, Work, and Interest, together with a dedicated Episodic Memory, thereby reducing cross-scene interference at retrieval.

  • We encode each experience as both an episodic entry in the Episodic Memory and a trait entry in the relevant scene memory, and combine them at retrieval through per-memory balanced sampling.

  • Experiments on two long-term memory benchmarks show that CreaMem improves overall QA accuracy and multi-hop reasoning performance; ablation study further indicates that cross-memory synergy, not any single component, accounts for the majority of the observed gain.

References (23)