Flexibly Utilize Memory for Long-Term Conversation via a Fragment-then-Compose Framework
Cai Ke, Yiming Du, Bin Liang, Yifan Xiang, Lin Gui, Zhongyang Li, Baojun Wang, Yue Yu, Hui Wang, Kam-Fai Wong, Ruifeng Xu
Abstract
Large language models (LLMs) have made significant breakthroughs in extracting useful information from conversation history to enhance the response in long-term conversations. Summarizing useful information from historical conversations has achieved remarkable performance, which, however, may introduce irrelevant or redundant information, making it difficult to flexibly choose and integrate key information from different sessions during memory retrieval. To address this issue, we propose a Fragment-then-Compose framework, a novel memory utilization approach for longterm open-domain conversation, called FraCom. To be specific, inspired by the concept of proposition representation from Cognitive Psychology, we first represent the conversation history as a series of predicates plus arguments for propositional representation to preserve key information useful for memory ("Fragment"). Then, we compose propositional graphs for the conversation history based on the connection between shared arguments ("Compose"). During retrieval, we retrieve relevant propositions from the graph based on arguments from the current query. This essentially allows for flexible and effective utilization of related information in long-term memory for better response generation towards a query. Experimental results on four long-term open-domain conversation datasets demonstrate the effectiveness of our FraCom in memory utilization and its ability to enhance response generation for LLMs.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- G-Eval: NLG Evaluation using Gpt-4 with Better Human Alignment cites BERTScore: Evaluating Text Generation with BERT
- Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Models cites Large Language Models Can Be Easily Distracted by Irrelevant Context
Cited by top-tier papers1
Builds on10
- BERTScore: Evaluating Text Generation with BERTTianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger et al.ICLR 2020 · 8,443 citations
- Large Language Models Can Be Easily Distracted by Irrelevant ContextFreda Shi, Xinyun Chen, Kanishka Misra, Nathan Scales et al.ICML 2023 · 970 citations
- G-Eval: NLG Evaluation using Gpt-4 with Better Human AlignmentYang Liu, Dan Iter, Yichong Xu, Shuohang Wang et al.EMNLP 2023 · 549 citations
- MemoryBank: Enhancing Large Language Models with Long-Term MemoryWanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye et al.AAAI 2024 · 394 citations
- Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language ModelsMosh Levy, Alon Jacoby, Yoav GoldbergACL 2024 · 77 citations
Related papers
- APEX-MEM: Agentic Semi-Structured Memory with Temporal Reasoning for Long-Term Conversational AIPratyay Banerjee, Masud Moshtaghi, Shivashankar Subramanian, Amita Misra et al.ACL 2026 · 1 citation
- Dynamic Memory Forest: Constructing and Tracing Conversational Trajectories for Long-Term ConversationCai Ke, Bin Liang, Xin Liu, Yue Yu et al.SIGIR 2026
- Beyond Dialogue Time: Temporal Semantic Memory for Personalized LLM AgentsMiao Su, Yucan Guo, Zhongni Hou, Long Bai et al.ACL Findings 2026
- MemORAI: Memory Organization and Retrieval via Adaptive Graph Intelligence for LLM Conversational AgentsHung Pham Van, Nguyen Manh Hieu, Khang Pham Tran Tuan, Nam Le Hai et al.ACL Findings 2026
- FragRel: Exploiting Fragment-level Relations in the External Memory of Large Language ModelsXihang Yue, Linchao Zhu, Yi YangACL Findings 2024 · 1 citation
