SeCom: On Memory Construction and Retrieval for Personalized Conversational Agents

Abstract

To deliver coherent and personalized experiences in long-term conversations, existing approaches typically perform retrieval augmented response generation by constructing memory banks from conversation history at either the turn-level, session-level, or through summarization techniques. In this paper, we explore the impact of different memory granularities and present two key findings: (1) Both turn-level and session-level memory units are suboptimal, affecting not only the quality of final responses, but also the accuracy of the retrieval process. (2) The redundancy in natural language introduces noise, hindering precise retrieval. We demonstrate that *LLMLingua-2*, originally designed for prompt compression to accelerate LLM inference, can serve as an effective denoising method to enhance memory retrieval accuracy. Building on these insights, we propose **SeCom**, a method that constructs a memory bank with topical segments by introducing a conversation **Se**gmentation model, while performing memory retrieval based on **Com**pressed memory units. Experimental results show that **SeCom** outperforms turn-level, session-level, and several summarization-based methods on long-term conversation benchmarks such as *LOCOMO* and *Long-MT-Bench+*. Additionally, the proposed conversation segmentation method demonstrates superior performance on dialogue segmentation datasets such as *DialSeg711*, *TIAGE*, and *SuperDialSeg*.

Cite

Text

Pan et al. "SeCom: On Memory Construction and Retrieval for Personalized Conversational Agents." International Conference on Learning Representations, 2025.

Markdown

[Pan et al. "SeCom: On Memory Construction and Retrieval for Personalized Conversational Agents." International Conference on Learning Representations, 2025.](https://mlanthology.org/iclr/2025/pan2025iclr-secom/)

BibTeX

@inproceedings{pan2025iclr-secom,
  title     = {{SeCom: On Memory Construction and Retrieval for Personalized Conversational Agents}},
  author    = {Pan, Zhuoshi and Wu, Qianhui and Jiang, Huiqiang and Luo, Xufang and Cheng, Hao and Li, Dongsheng and Yang, Yuqing and Lin, Chin-Yew and Zhao, H. Vicky and Qiu, Lili and Gao, Jianfeng},
  booktitle = {International Conference on Learning Representations},
  year      = {2025},
  url       = {https://mlanthology.org/iclr/2025/pan2025iclr-secom/}
}