|国家预印本平台
首页|Towards Multi-Granularity Memory Association and Selection for Long-Term Conversational Agents

Towards Multi-Granularity Memory Association and Selection for Long-Term Conversational Agents

Towards Multi-Granularity Memory Association and Selection for Long-Term Conversational Agents

来源:Arxiv_logoArxiv
英文摘要

Large Language Models (LLMs) have recently been widely adopted in conversational agents. However, the increasingly long interactions between users and agents accumulate extensive dialogue records, making it difficult for LLMs with limited context windows to maintain a coherent long-term dialogue memory and deliver personalized responses. While retrieval-augmented memory systems have emerged to address this issue, existing methods often depend on single-granularity memory segmentation and retrieval. This approach falls short in capturing deep memory connections, leading to partial retrieval of useful information or substantial noise, resulting in suboptimal performance. To tackle these limits, we propose MemGAS, a framework that enhances memory consolidation by constructing multi-granularity association, adaptive selection, and retrieval. MemGAS is based on multi-granularity memory units and employs Gaussian Mixture Models to cluster and associate new memories with historical ones. An entropy-based router adaptively selects optimal granularity by evaluating query relevance distributions and balancing information completeness and noise. Retrieved memories are further refined via LLM-based filtering. Experiments on four long-term memory benchmarks demonstrate that MemGAS outperforms state-of-the-art methods on both question answer and retrieval tasks, achieving superior performance across different query types and top-K settings.

Derong Xu、Yi Wen、Pengyue Jia、Yingyi Zhang、wenlin zhang、Yichao Wang、Huifeng Guo、Ruiming Tang、Xiangyu Zhao、Enhong Chen、Tong Xu

计算技术、计算机技术

Derong Xu,Yi Wen,Pengyue Jia,Yingyi Zhang,wenlin zhang,Yichao Wang,Huifeng Guo,Ruiming Tang,Xiangyu Zhao,Enhong Chen,Tong Xu.Towards Multi-Granularity Memory Association and Selection for Long-Term Conversational Agents[EB/OL].(2025-05-26)[2025-06-28].https://arxiv.org/abs/2505.19549.点此复制

评论