A Human-Inspired Reading Agent with Gist Memory of Very Long Contexts

Authors: Kuang-Huei Lee, Xinyun Chen, Hiroki Furuta, John Canny, Ian Fischer

Website: https://read-agent.github.io
License: CC BY 4.0
AI-generated keywords: Human-Inspired Reading Agent Large Language Models ReadAgent Gist Memory Context Length

AI-generated Key Points

  • The paper addresses limitations of current Large Language Models (LLMs) in handling long inputs.
  • ReadAgent is proposed as an LLM agent system that increases the effective context length up to 20 times in experiments.
  • ReadAgent operates in three primary steps: episode pagination, memory gisting, and interactive look-up.
  • Evaluation against baselines shows that ReadAgent outperforms all across challenging long-document comprehension tasks.
  • ReadAgent can be adapted for web navigation settings with very-long contexts, showing promising performance results.
  • Primary contributions include introducing ReadAgent as a human-inspired LLM agent, demonstrating significant performance advantages through experimental evaluations, comparing against popular baselines, and providing detailed analysis of results.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Abstract: Current Large Language Models (LLMs) are not only limited to some maximum context length, but also are not able to robustly consume long inputs. To address these limitations, we propose ReadAgent, an LLM agent system that increases effective context length up to 20x in our experiments. Inspired by how humans interactively read long documents, we implement ReadAgent as a simple prompting system that uses the advanced language capabilities of LLMs to (1) decide what content to store together in a memory episode, (2) compress those memory episodes into short episodic memories called gist memories, and (3) take actions to look up passages in the original text if ReadAgent needs to remind itself of relevant details to complete a task. We evaluate ReadAgent against baselines using retrieval methods, using the original long contexts, and using the gist memories. These evaluations are performed on three long-document reading comprehension tasks: QuALITY, NarrativeQA, and QMSum. ReadAgent outperforms the baselines on all three tasks while extending the effective context window by 3-20x.

Submitted to arXiv on 15 Feb. 2024

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

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

  • Comprehensive Summary
  • Key points
  • Layman's Summary
  • Blog article
The paper "A Human-Inspired Reading Agent with Gist Memory of Very Long Contexts" by Kuang-Huei Lee, Xinyun Chen, Hiroki Furuta, John Canny, and Ian Fischer from Google DeepMind and Google Research addresses the limitations of current Large Language Models (LLMs) in handling long inputs. The authors propose ReadAgent, an LLM agent system that significantly increases the effective context length up to 20 times in experiments. <br> Inspired by how humans interactively read long documents, ReadAgent is designed as a prompting system that leverages the advanced language capabilities of LLMs. The system operates in three primary steps: episode pagination where the LLM decides where to pause in reading text to create episodes or pages; memory gisting where each page is compressed into a shorter gist memory associated with its context; and interactive look-up where the LLM retrieves relevant information from raw text to solve tasks. <br> The authors evaluate ReadAgent against baselines using retrieval methods, original long contexts, and gist memories on challenging long-document comprehension tasks such as QuALITY, NarrativeQA, and QMSum. ReadAgent outperforms all baselines across these tasks while extending the effective context window by 3-20 times. Additionally, the paper demonstrates how ReadAgent can be adapted for web navigation settings with fundamentally very-long contexts. The authors find promising performance results in this setting as well. <br> Overall, the primary contributions of this work are introducing ReadAgent as a human-inspired LLM agent that generates gist memories and looks up information as needed for solving tasks on long contexts; demonstrating significant performance advantages and scalability through experimental evaluations on challenging benchmarks; comparing against popular baselines; and providing detailed analysis of results.

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.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

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.