Reproduce “Dynamic Affective Memory Management for Personalized LLM Agents” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Junfeng Lu, Yueyan Li

The Beijing University of Posts and Telecommunications presents Dynamic Affective Memory Management (DAM-LLM), a system for personalized Large Language Model agents that conceptualizes user sentiments as evolving confidence distributions. This approach achieves a memory compression rate of 63.7% to 70.6% and enhances emotional resonance and personalization in multi-turn dialogues, outperforming static memory systems.

Key insights

  • Modeling user affection as continuously evolving confidence distributions allows LLM agents to construct more robust, nuanced, and adaptive long-term memories compared to static fact storage.
  • Minimizing global memory entropy through active management operations like Bayesian updates and intelligent 'forgetting' effectively addresses memory stagnation and bloat, significantly improving system efficiency.
  • A two-stage hybrid retrieval strategy, combining metadata-based filtering with semantic re-ranking, ensures precise and contextually relevant memory access for complex and evolving affective information.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.