Equipping Large Language Models with Memories: A GraphRAG Based Approach

Large language models (LLMs) have demonstrated strong capabilities in natural language understanding and generation, but they lack mechanisms to effectively store and retrieve information from past interactions. This problem hinders their potential for building truly conversational applications. To address this problem, we propose an approach to integrating memory into LLMs using GraphRAG, which is a framework that leverages Knowledge Graph and Retrieval Augmented Generation techniques for retrieving historical interactions. By representing the key knowledge contained in the dialogue history as a knowledge graph, we can capture complex relationships between entities and concepts mentioned in previous turns. We also introduce a mechanism for effectively accessing relevant nodes with the current query, allowing for more focused and efficient recall of past interactions. We evaluate our approach on benchmark datasets for question answering, text summarization, and dialogue systems, demonstrating significant improvements in performance compared to baseline LLMs. Our findings highlight the potential of GraphRAG as a powerful tool for equipping LLMs with robust memory capabilities, paving the way for more sophisticated and context-aware AI applications

Authors

Institutions

Publication Details

Published
2024-10-06
DOI
https://doi.org/10.1109/smc54092.2024.10831551
Citations
1
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Equipping Large Language Models with Memories: A GraphRAG Based Approach

Tie Li
1 citations
Topic Modeling
0.35
article

Equipping Large Language Models with Memories: A GraphRAG Based Approach

Tie Li
article en
1 citations

Abstract

Large language models (LLMs) have demonstrated strong capabilities in natural language understanding and generation, but they lack mechanisms to effectively store and retrieve information from past interactions. This problem hinders their potential for building truly conversational applications. To address this problem, we propose an approach to integrating memory into LLMs using GraphRAG, which is a framework that leverages Knowledge Graph and Retrieval Augmented Generation techniques for retrieving historical interactions. By representing the key knowledge contained in the dialogue history as a knowledge graph, we can capture complex relationships between entities and concepts mentioned in previous turns. We also introduce a mechanism for effectively accessing relevant nodes with the current query, allowing for more focused and efficient recall of past interactions. We evaluate our approach on benchmark datasets for question answering, text summarization, and dialogue systems, demonstrating significant improvements in performance compared to baseline LLMs. Our findings highlight the potential of GraphRAG as a powerful tool for equipping LLMs with robust memory capabilities, paving the way for more sophisticated and context-aware AI applications

University of Electronic Science and Technology of China (CN)
Openalex Percentile: Top 30%
Topic Modeling
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.