atlas

Research map / Large language models / Retrieval and knowledge

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

ICML 2024 · Large language models › Retrieval and knowledge · approach: Long-context and personalized retrieval · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ReadAgent, a prompting-only LLM agent that paginates long text, compresses pages into gist memories, and interactively looks up raw pages to answer questions, extending effective context 3.5-20x.

Problem

LLMs have limited context windows and degrade on long inputs, so they struggle to reason over very long documents such as books, movie scripts, and meeting transcripts.

Approach

Mimics human reading with a zero-shot prompting pipeline: the LLM chooses natural pause points to form pages, writes short gists for each page, and then decides which raw pages to look up from the gist memory when answering a task.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ReadAgent-S with sequential page lookup instead of full raw textPaLM 2-L · QuALITY devaccuracy: 85.83% ± 0.19 -> 87.17% ± 0.18Helped
Use ReadAgent-P with one-page lookup instead of BM25 Top-4PaLM 2-L · NarrativeQA Gutenberg testROUGE-L: 0.197 -> 0.226Helped
Use ReadAgent-S with sequential lookup instead of neural retrievalPaLM 2-L · QMSum validationLLM Rating-1: 40.81% ± 0.52 -> 46.57% ± 0.87Helped
Replace prompt-based page selection with neural retrieval (ablation)ReadAgent-P, QuALITY · QuALITY devaccuracy: 84.13% -> 82.65%Hurt
Use LLM-selected natural pause points instead of uniform-length pagination (ablation)ReadAgent-P (1-5 pages) · QuALITY devaccuracy: 85.71% -> 86.83%Helped
Set max_words to 400 instead of 600 (ablation)ReadAgent-P (1-5 pages) · QuALITY devaccuracy: 86.83% -> 86.82%No clear effect
Set max_words to 800 instead of 600 (ablation)ReadAgent-P (1-5 pages) · QuALITY devaccuracy: 86.83% -> 86.34%Hurt
Set max_words to 1200 instead of 600 (ablation)ReadAgent-P (1-5 pages) · QuALITY devaccuracy: 86.83% -> 85.67%Hurt
Include the previous page in the pagination prompt (ablation)ReadAgent · QMSumperformanceHelped
Include the previous page in the pagination prompt (ablation)ReadAgent · QuALITYperformanceNo clear effect
Add 'Take a deep breath and tell me' to the lookup prompt (ablation)ReadAgent · QuALITYresponse qualityHelped
Use alternative wording in the lookup prompt (ablation)ReadAgent · Reading comprehension tasksperformanceNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: QuALITY NarrativeQA QMSum Mind2Web

Benchmarks: QuALITY NarrativeQA QMSum Mind2Web

Metrics: accuracy LLM-Rating-1 LLM-Rating-2 ROUGE-1 ROUGE-2 ROUGE-L compression rate element accuracy operation F1 step success rate

Baselines: BM25 retrieval neural retrieval with Gemini embeddings full raw content truncated raw content GistMem MindAct GPT-3.5 Turbo

Builds on: retrieval-augmented generation MemWalker PEARL

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy