FSFM: A Biologically-Inspired Framework for Selective Forgetting of Agent Memory

Yingjie Gu, Wenjian Xiong, Liqiang Wang, Pengcheng Ren, Chao Li +5 more
4/22/2026
cs.AI

No confident code implementation found for this paper.

Abstract

For LLM agents, memory management critically impacts efficiency, quality, and security. While much research focuses on retention, selective forgetting--inspired by human cognitive processes (hippocampal indexing/consolidation theory and Ebbinghaus forgetting curve)--remains underexplored.

Show full abstract

We argue that in resource-constrained environments, a well-designed forgetting mechanism is as crucial as remembering, delivering benefits across three dimensions: (1) efficiency via intelligent memory pruning, (2) quality by dynamically updating outdated preferences and context, and (3) security through active forgetting of malicious inputs, sensitive data, and privacy-compromising content. Our framework establishes a taxonomy of forgetting mechanisms: passive decay-based, active deletion-based, safety-triggered, and adaptive reinforcement-based. Building on advances in LLM agent architectures and vector databases, we present detailed specifications, implementation strategies, and empirical validation from controlled experiments. Results show significant improvements: access efficiency (+8.49%), content quality (+29.2% signal-to-noise ratio), and security performance (100% elimination of security risks). Our work bridges cognitive neuroscience and AI systems, offering practical solutions for real-world deployment while addressing ethical and regulatory compliance. The paper concludes with challenges and future directions, establishing selective forgetting as a fundamental capability for next-generation LLM agents operating in real-world, resource-constrained scenarios. Our contributions align with AI-native memory systems and responsible AI development.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gu2026fsfm,
  title  = {FSFM: A Biologically-Inspired Framework for Selective Forgetting of Agent Memory},
  author = {Yingjie Gu and Wenjian Xiong and Liqiang Wang and Pengcheng Ren and Chao Li and Xiaojing Zhang and Yijuan Guo and Qi Sun and Jingyao Ma and Shidang Shi},
  year   = {2026},
  eprint = {2604.20300},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.20300v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.20300.svg)](https://codeofpaper.com/paper/2604.20300)

Discussion