GraphReader: Building Graph-based Agent to Enhance Long-Context Abilities of Large Language Models

AI-generated keywords: GraphReader Large Language Models Graph-based Agent Long-Context Abilities Systematic Analysis

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Authors introduce GraphReader as a solution for challenges faced by large language models (LLMs) in processing long inputs effectively
  • GraphReader utilizes a graph-based agent to structure long texts into a graph for exploration
  • The agent conducts systematic analysis, devises strategic plan, and navigates through node content and neighbors in the graph when presented with a question
  • Coarse-to-fine exploration strategy allows continuous gathering of insights and path adjustments until accurate answer is generated
  • Experimental results on LV-Eval dataset show GraphReader outperforms GPT-4-128k significantly across context lengths from 16k to 256k using a 4k context window
  • Superior performance demonstrated on challenging single-hop and multi-hop benchmarks
  • Study spans 27 pages and highlights the potential of graph-based agents in enhancing long-context capabilities of LLMs
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Shilong Li, Yancheng He, Hangyu Guo, Xingyuan Bu, Ge Bai, Jie Liu, Jiaheng Liu, Xingwei Qu, Yangguang Li, Wanli Ouyang, Wenbo Su, Bo Zheng

The first four authors contributed equally, 27 pages

Abstract: Long-context capabilities are essential for large language models (LLMs) to tackle complex and long-input tasks. Despite numerous efforts made to optimize LLMs for long contexts, challenges persist in robustly processing long inputs. In this paper, we introduce GraphReader, a graph-based agent system designed to handle long texts by structuring them into a graph and employing an agent to explore this graph autonomously. Upon receiving a question, the agent first undertakes a step-by-step analysis and devises a rational plan. It then invokes a set of predefined functions to read node content and neighbors, facilitating a coarse-to-fine exploration of the graph. Throughout the exploration, the agent continuously records new insights and reflects on current circumstances to optimize the process until it has gathered sufficient information to generate an answer. Experimental results on the LV-Eval dataset reveal that GraphReader, using a 4k context window, consistently outperforms GPT-4-128k across context lengths from 16k to 256k by a large margin. Additionally, our approach demonstrates superior performance on four challenging single-hop and multi-hop benchmarks.

Submitted to arXiv on 20 Jun. 2024

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2406.14550v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

In their paper titled "GraphReader: Building Graph-based Agent to Enhance Long-Context Abilities of Large Language Models," authors Shilong Li, Yancheng He, Hangyu Guo, Xingyuan Bu, Ge Bai, Jie Liu, Jiaheng Liu, Xingwei Qu, Yangguang Li, Wanli Ouyang, Wenbo Su and Bo Zheng introduce GraphReader as a solution to the challenges faced by large language models (LLMs) in processing long inputs effectively. The system utilizes a graph-based agent that autonomously structures long texts into a graph for exploration. When presented with a question, the agent conducts a systematic analysis and devises a strategic plan before employing predefined functions to navigate through node content and neighbors in the graph. This approach allows for a coarse-to-fine exploration strategy where the agent continuously gathers insights and adjusts its path based on current circumstances until it has gathered enough information to generate an accurate answer. Experimental results on the LV-Eval dataset demonstrate that GraphReader outperforms GPT-4-128k significantly across context lengths ranging from 16k to 256k when using a 4k context window. Furthermore, the system showcases superior performance on challenging single-hop and multi-hop benchmarks. The collaborative effort of the authors resulted in a comprehensive study spanning 27 pages that sheds light on the potential of graph-based agents in enhancing the long-context capabilities of LLMs.
Created on 01 Jul. 2024

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.