Selective Forgetting: A Graph-Based Memory Framework for Long-Term LLM Agents
On the map: Retrieval-augmented generation → Agentic RAG, agents and memory
also in 1 more
Abstract (arXiv)
Knowledge graphs have been proposed as a structured alternative to flat retrieval-augmented generation for long-term agent memory, on the assumption that representing conversations as entities and relations improves recall. We evaluate that assumption directly. Our framework extracts each conversational turn into typed nodes and attributed edges, answers questions from a two-hop subgraph, and periodically prunes nodes that score low on a weighted combination of recency, access frequency, degree centrality, and age. On LongMemEval, the graph does not outperform a flat vector baseline at a matched candidate-generation budget of five retrieval roots: token F1 is 0.417 against 0.468, and a paired bootstrap over 500 questions gives Delta = -0.050 (95% CI [-0.085, -0.016]). The gap is widest on questions that require recalling a specific prior assistant turn, where judged correctness falls from 0.911 to 0.607, suggesting that decomposing a turn into entities discards the surface form these questions depend on. The forgetting module is more successful. Applied once to a persistent 27,021-node graph, it removes 9.8% of nodes and 9.5% of stored bytes; token F1 is unchanged (+0.001, 95% CI [-0.015, +0.016]) and judged correctness falls by 1.6 points, with the 95% interval bounding any loss at 3.8 points ([-0.038, +0.006]). Because our extractor is a single small model evaluated on one benchmark, these results characterise this extraction-based pipeline rather than graph-structured memory in general. Code: https://github.com/skhanzad/Selective-Amnesia
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Agentic RAG, agents and memory, one of 15 directions in Retrieval-augmented generation. Builds on 24 of its 32 references that are in the map. First posted on arXiv 29 Aug 2026.
Builds on
24 of 32 references.
References · 24
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,212
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,453
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 779
- 2024LongMemEval: Benchmarking Chat Assistants on Long-Term Interactive Memorycited by 707
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 692
12 more
- 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 668
- 2014Neural Turing Machinescited by 644
- 2020A Survey on Knowledge Graphs: Representation, Acquisition and Applicationscited by 643
- 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 634
- 2021Beyond Goldfish Memory: Long-Term Open-Domain Conversationcited by 267
- 2024A Human-Inspired Reading Agent with Gist Memory of Very Long Contextscited by 146
- 2023SCM: Enhancing Large Language Model with Self-Controlled Memory Frameworkcited by 98
- 2024ChatQA: Surpassing GPT-4 on Conversational QA and RAGcited by 90
- 2023Knowledge Graphs: Opportunities and Challengescited by 70
- 2023A Comprehensive Survey of Forgetting in Deep Learning Beyond Continual Learningcited by 69
- 2023Think-in-Memory: Recalling and Post-thinking Enable LLMs with Long-Term Memorycited by 64
- 2024MemLLM: Finetuning LLMs to Use An Explicit Read-Write Memorycited by 35
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026EdgeMem: LLM-Free Agent Memory Construction and Retrieval via Evidence-Preserving Multi-Anchor Hypergraph
- 2025Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflects
- 2026AgentMemBench: A Systematic Benchmark for Evaluating Long-Term Memory Management Strategies in Conversational AI Agents
- 2026MemORAI: Memory Organization and Retrieval via Adaptive Graph Intelligence for LLM Conversational Agents
- 2026Can Agents Forget When Asked? A Benchmark for Memory Unlearning in LLM Agents
- 2026H-Mem: A Novel Memory Mechanism for Evolving and Retrieving Agent Memory via a Hybrid Structure
- 2025SGMem: Sentence Graph Memory for Long-Term Conversational Agents
- 2026MemOps: Benchmarking Lifecycle Memory Operations in Long-Horizon Conversations