NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Rethinking How to Remember: Beyond Atomic Facts in Lifelong LLM Agent Memory

Jingwei Sun, Jianing Zhu, Jiangchao Yao, Tongliang Liu, Bo Han

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Reasoning, Memory & RAG › Reasoning Trace Memory Systems · Type: new method · Keywords: LLM agent memory, multi-granularity representation, dialogue history, TextGrad optimization, lifelong learning

Areas: LLM Reasoning › Reasoning Strategies › Agent Memory and Reasoning; Memory › Agent Memory Systems › Agent Memory; Long Context › Long-context mechanisms › Agent memory representations; AI Agents › Agent Capabilities › LLM Agent Memory

Summary

TriMem introduces a multi-granularity memory system for LLM agents that stores raw dialogue segments, atomic facts, and synthesized profiles to enable faithful storage, efficient retrieval, and deep reasoning over lifelong interactions.

Explained to a 5-year-old

LLM agents are like robots that talk with people and need to remember what they said before. Right now, they only keep short facts, which makes them forget important details. The new system keeps three kinds of memory: the full conversation, simple facts, and a big picture summary. It learns to get better at remembering by using feedback, without changing its brain. This helps the robot understand more and talk better over a long time.

Explained to a 5-year-old, longer

Imagine a robot that talks to you and never forgets what you said. Right now, the robot only remembers tiny facts, like "you like apples." Because it only keeps these small facts, it misses the whole story, like why you liked apples. The new system is like a super memory box that stores three things. First, it keeps the whole conversation exactly as it happened, like a video recording. Second, it also writes down simple facts, like "you like apples," for quick lookup. Third, it makes a big picture summary that puts all the facts together. This way, the robot can look at the full video when it needs details. It can also quickly find the simple facts when it needs a quick answer. And it can use the big picture to understand why things happened. The robot improves its memory by getting feedback, like when you tell it it did well. All of this happens without changing the robot's main brain, so it stays efficient.

For a technical reader

The paper addresses the limitation of current LLM agent memory systems that only store extracted facts, which discards detailed dialogue information. It proposes a multi-granularity memory architecture that simultaneously retains raw dialogue segments, atomic facts, and synthesized profiles for comprehensive reasoning. The system uses TextGrad-based prompt optimization to iteratively improve extraction and profiling prompts based on response quality, enabling continual adaptation without model parameter updates. Evaluations on LoCoMo and PerLTQA show consistent improvements over baseline memory methods across multiple LLM backbones. This approach provides a practical way to enhance long-term conversational AI reliability by preserving both fine-grained context and high-level semantics.

Problem

Existing LLM agent memory systems rely on extracting atomic facts from dialogues, which discards fine-grained details and hinders deep reasoning over scattered information. Additionally, static extraction prompts cannot adapt to varying dialogue styles, leading to inconsistent memory granularity.

Method

The approach maintains three coexisting representation granularities: raw dialogue segments with source identifiers for fidelity, extracted atomic facts for efficient retrieval, and synthesized profiles that aggregate facts for deep reasoning. It employs TextGrad-based prompt optimization to iteratively refine extraction and profiling prompts using response quality feedback, enabling lifelong evolution without parameter updates.

Results

The approach consistently outperforms strong memory baselines on LoCoMo and PerLTQA across multiple LLM backbones.

Contributions

It introduces a multi-granularity memory representation that preserves raw dialogues, atomic facts, and synthesized profiles, and proposes a TextGrad-based prompt optimization scheme for lifelong evolution without parameter updates.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction