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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sun, Jingwei, Zhu, Jianing, Yao, Jiangchao, Liu, Tongliang, Han, Bo
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916028336832512
author Sun, Jingwei
Zhu, Jianing
Yao, Jiangchao
Liu, Tongliang
Han, Bo
author_facet Sun, Jingwei
Zhu, Jianing
Yao, Jiangchao
Liu, Tongliang
Han, Bo
contents To enable reliable long-term interaction, LLM agents require a memory system that can faithfully store, efficiently retrieve, and deeply reason over accumulated dialogue history. Most existing methods adopt an extracted fact based paradigm: handcrafted static prompts compress raw dialogues into atomic facts, which are then stored, matched, and injected into downstream reasoning. Nevertheless, such fact-centric designs inevitably discard fine-grained details in original dialogues and fail to support deep reasoning over scattered isolated facts. Moreover, static prompts cannot maintain consistent extraction granularity across diverse dialogue styles. To address these limitations, we propose TriMem, which maintains three coexisting representation granularities, including raw dialogue segments anchored by source identifiers for storage fidelity, extracted atomic facts for efficient memory retrieval, synthesized profiles that aggregate dispersed facts into holistic semantic understanding for deep reasoning. We further adopt TextGrad-based prompt optimization, which iteratively refines extraction and profiling prompts via response quality feedback, achieving lifelong evolution without any parameter updating. Extensive experiments on LoCoMo and PerLTQA across multiple LLM backbones demonstrate that TriMem consistently outperforms strong memory baselines. The code is available at https://TMLR-TriMem.github.io .
format Preprint
id arxiv_https___arxiv_org_abs_2605_19952
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Rethinking How to Remember: Beyond Atomic Facts in Lifelong LLM Agent Memory
Sun, Jingwei
Zhu, Jianing
Yao, Jiangchao
Liu, Tongliang
Han, Bo
Computation and Language
To enable reliable long-term interaction, LLM agents require a memory system that can faithfully store, efficiently retrieve, and deeply reason over accumulated dialogue history. Most existing methods adopt an extracted fact based paradigm: handcrafted static prompts compress raw dialogues into atomic facts, which are then stored, matched, and injected into downstream reasoning. Nevertheless, such fact-centric designs inevitably discard fine-grained details in original dialogues and fail to support deep reasoning over scattered isolated facts. Moreover, static prompts cannot maintain consistent extraction granularity across diverse dialogue styles. To address these limitations, we propose TriMem, which maintains three coexisting representation granularities, including raw dialogue segments anchored by source identifiers for storage fidelity, extracted atomic facts for efficient memory retrieval, synthesized profiles that aggregate dispersed facts into holistic semantic understanding for deep reasoning. We further adopt TextGrad-based prompt optimization, which iteratively refines extraction and profiling prompts via response quality feedback, achieving lifelong evolution without any parameter updating. Extensive experiments on LoCoMo and PerLTQA across multiple LLM backbones demonstrate that TriMem consistently outperforms strong memory baselines. The code is available at https://TMLR-TriMem.github.io .
title Rethinking How to Remember: Beyond Atomic Facts in Lifelong LLM Agent Memory
topic Computation and Language
url https://arxiv.org/abs/2605.19952