Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

On Memory Construction and Retrieval for Personalized Conversational Agents

About

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 present two key findings: (1) The granularity of memory unit matters: turn-level, session-level, and summarization-based methods each exhibit limitations in both memory retrieval accuracy and the semantic quality of the retrieved content. (2) Prompt compression methods, such as LLMLingua-2, can effectively serve as a denoising mechanism, enhancing memory retrieval accuracy across different granularities. Building on these insights, we propose SeCom, a method that constructs the memory bank at segment level by introducing a conversation segmentation model that partitions long-term conversations into topically coherent segments, while applying compression based denoising on memory units to enhance memory retrieval. Experimental results show that SeCom exhibits a significant performance advantage over baselines on long-term conversation benchmarks LOCOMO and Long-MT-Bench+. Additionally, the proposed conversation segmentation method demonstrates superior performance on dialogue segmentation datasets such as DialSeg711, TIAGE, and SuperDialSeg.

Zhuoshi Pan, Qianhui Wu, Huiqiang Jiang, Xufang Luo, Hao Cheng, Dongsheng Li, Yuqing Yang, Chin-Yew Lin, H. Vicky Zhao, Lili Qiu, Jianfeng Gao• 2025

Related benchmarks

TaskDatasetResultRank
Long-form DialogueMT-Bench+
Quality Score88.08
32
Long-form DialogueSCM4LLMs
Quality86.32
32
Long-form DialogueLocomo
EM21.17
32
Single-hop Question AnsweringLoCoMo Single-Hop
F1 Score13.25
24
Open-domain Question AnsweringLoCoMo Open-Domain
F1 Score6.8
24
Question AnsweringLoCoMo Multi-Hop
F1 Score28.09
20
Information RetrievalLocomo
Recall@1078.25
18
Question AnsweringLoCoMo Average scores
F1 Score15.23
12
Long-term Temporal Profile evaluationLTP (Long-term Temporal Profile) 10 profiles (800 judged probes) (Full)
Bank Coexist99
12
Question AnsweringLoCoMo Adversarial
F1 Score1.12
12
Showing 10 of 17 rows

Other info

Follow for update