SGMem: Sentence Graph Memory for Long-Term Conversational Agents

Yaxiong Wu, Yongyue Zhang, Sheng Liang, Yong Liu
9/25/2025
cs.CLcs.IR

No confident code implementation found for this paper.

Abstract

Long-term conversational agents require effective memory management to handle dialogue histories that exceed the context window of large language models (LLMs). Existing methods based on fact extraction or summarization reduce redundancy but struggle to organize and retrieve relevant information across different granularities of dialogue and generated memory. We introduce SGMem (Sentence Graph Memory), which represents dialogue as sentence-level graphs within chunked units, capturing associations across turn-, round-, and session-level contexts. By combining retrieved raw dialogue with generated memory such as summaries, facts and insights, SGMem supplies LLMs with coherent and relevant context for response generation. Experiments on LongMemEval and LoCoMo show that SGMem consistently improves accuracy and outperforms strong baselines in long-term conversational question answering.

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{wu2025sgmem,
  title  = {SGMem: Sentence Graph Memory for Long-Term Conversational Agents},
  author = {Yaxiong Wu and Yongyue Zhang and Sheng Liang and Yong Liu},
  year   = {2025},
  eprint = {2509.21212},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.21212v1}
}

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/2509.21212.svg)](https://codeofpaper.com/paper/2509.21212)

Discussion