From Retrieval to Reconstruction: Constructing Evolvable Cognitive Memory for Long-Term Dialogue
Zirui Liao, Zhengxian Wu, Zhuohong Chen, Yunyao Yu, Xiaoyu Liu, Yifan Xu, Haoqian Wang
Abstract
Large Language Models (LLMs) serving as long-term dialogue agents require memory systems that support reliable reasoning over extended interactions. However, existing Retrieval-Augmented Generation (RAG) frameworks typically treat memory as passive storage, making it difficult to distinguish source-attributed beliefs from unattributed event/fact records and to connect evidence dispersed across sessions. We introduce CogMem, a cognitive memory architecture based on the PECF (Person-Event-Concept-Claim-Fact) graph schema. Dedicated Claim nodes preserve the source and target of subjective statements, while Fact and Event nodes represent semantic and episodic knowledge. Dialogue turns are incrementally converted into provenance-aware graph records, consolidated into higher-level facts, and reconciled into temporally scoped Claim views when the same source provides conflicting updates. For retrieval, a rule-based controller driven by LLM intent parsing composes four deterministic graph operators---anchoring, traversal, intersection, and evidence grounding---to reconstruct query-relevant context. Experiments on LoCoMo and LongMemEval show strong performance, especially on multi-hop, temporal, and knowledge-update tasks. Ablations and a semantic-collapse probe support complementary contributions from epistemic separation, consolidation, and agentic retrieval. Code: https://github.com/Silent-Rain02/CogMem.
Create a lesson
Metadata
- Comments
- Accepted to EMNLP 2026 (main conference). 21 pages
Related papers
Event-Centric Memory with Query-Aware Graph Augmentation for Long-Term Conversational Agents
Shared title terminologycs.CLYichen Liu, Chunfeng Yuan, Haowei Liu et al.
Real Long-Term Memory for AI: A 50-Million-Token Window That Is Faster and Cheaper Than Recompute
Shared title terminologycs.CLSietse Schelpe
Test-Time Memory Construction
Shared title terminologycs.CLZijun Wang, Yifan Ji, Haidong Xin et al.
Temporal Evidence Forests for Long-Horizon Multi-Party Conversational Memory
Shared title terminologycs.CLJunyou Guo, Chongyang Tao, Yan He et al.
Beyond Outcome Rewards: Constructing and Assigning Retrieval Credit for Search Agents
Shared title terminologycs.CLWenyu Huang, Xinyu Hou, Pavlos Vougiouklis et al.
IRTIQA: Evolving in English, Evaluated in Urdu -- Does Agent Self-Evolution Transfer from English to Urdu and Code-Switched Input?
Shared title terminologycs.CLAbdullah Hashmat, Danish Javed, Usman Naseem et al.