TL;DR
When you read a massive textbook to answer a specific question, you don’t memorize every sentence from page one—you skim the table of contents first so you know what to skip and what details will matter later. Preview-Guided Memory (PGM) teaches Large Language Models (LLMs) to do the exact same thing. By skimming a document first to create a topical roadmap, PGM boosts reasoning accuracy across massive texts while reading far fewer tokens.
What Problem Does This Paper Address?
Stuffing hundreds of thousands of words into an LLM’s prompt is computationally expensive and eventually hits context limits. To work around this, memory-based models read long documents chunk by chunk, continually overwriting a small "scratchpad" memory as they go.
However, reading sequentially in a single pass creates a classic catch-22: you don't know what is worth remembering until it's too late. Imagine reading a biography of "Hunter Davies" in Chunk 11 and noting his birthday, only to overwrite it in Chunk 16 because a distractor passage seemed more relevant—right before Chunk 22 reveals Hunter Davies wrote the exact book your question is asking about! Furthermore, single-pass readers waste immense effort updating their memory on chunks that have nothing to do with the question.
Methods
Instead of reading blind, the authors propose Preview-Guided Memory (PGM), a two-pass workflow that separates skimming from deep reading:
- Parallel Preview (Skimming): The model breaks the document into chunks and generates a short, question-independent topical summary ("preview") for each chunk in parallel. Neighboring previews are grouped into bounded "preview pages"—essentially building a table of contents on the fly.
- Preview-Guided Selection (Gating): Given a user's question, a learned selector scans the preview pages and decides which raw chunks actually warrant a detailed read.
- Selective Reading & Updating: A fixed reader processes only the selected raw chunks in their original order, maintaining a bounded token memory. Crucially, at each memory update, the reader is also shown the corresponding preview page. This acts as a navigational cue, giving the reader a heads-up about surrounding and upcoming topics so it knows which facts to hold onto.
To train the selector without destabilizing the reader, the authors freeze the reader and train the selector in two stages: first via Supervised Fine-Tuning (SFT) to locate known supporting facts, and then via Reinforcement Learning (RL). The RL reward prioritizes final-answer accuracy and evidence coverage, adding an efficiency "bonus" for skipping tokens only when the final answer is correct.
Datasets
The authors evaluate PGM on two established long-context benchmarks (no new datasets are introduced):
- HQA (HotpotQA extended): Multi-hop question answering evaluated across context lengths scaling from 28K up to 896K tokens.
- LongBench v2: A challenging benchmark of 503 multiple-choice questions spanning six diverse categories, including single/multi-document QA, dialogue history, and code repositories.
Key Insights and Ideas
- Less reading leads to better remembering: Skipping irrelevant chunks doesn't just save compute—it actively improves accuracy. Every time a sequential reader updates its memory on a useless chunk, it risks corrupting or overwriting vital facts stored earlier. Fewer updates mean less memory degradation.
- Previews act as navigational "lookahead," not answers: Because previews are lossy and generated without knowing the question, they rarely contain the answer itself. Instead, they tell the memory module, "Hold onto this guy's birthday; a movie adaptation comes up five chunks from now."
- Question-independent skimming pays off: Because the first-pass previews don't depend on the user's question, you only have to skim a document once. If you ask multiple questions about the same document, you can reuse the previews and save significant compute.
- Correctness-first RL: By mathematically multiplying the token-skipping bonus by answer correctness ($C \in \{0,1\}$), the RL objective guarantees that a lazy, wrong reader can never outscore a thorough, accurate one.
Key Results
- State-of-the-Art on HQA: PGM-Selective-7B achieves 78.75% average Substring Exact Match (SubEM) across 28K–896K tokens, beating strong memory baselines like ReMemR1 (76.72%) and MemAgent (75.78%). Its lead is widest at extreme lengths, beating its own full-reading counterpart (PGM-ReadAll) by +10.16 percentage points at 448K tokens.
- Top Accuracy on LongBench v2: Achieves 34.79% overall accuracy, outperforming Qwen2.5-7B-1M (30.42%) and MemAgent-7B (29.03%), with major gains on the "hard" question subset (34.08% vs. MemAgent's 24.76%).
- Massive Token Savings: Compared to reading every chunk with previews (PGM-ReadAll), selective reading cuts total token usage by 44.27% on HQA and 34.76% on LongBench v2. If previews are reused across 10 questions on the same document, PGM uses 7.0%–26.7% fewer tokens per query than standard single-pass MemAgent while delivering much higher accuracy.
Limitations and Future Work
- Upfront Skimming Cost: For a single question on a brand-new document, generating previews for every chunk adds overhead—requiring ~27–29% more total tokens than a simple single-pass reader like MemAgent (though it achieves higher accuracy and beats revisiting-memory baselines like ReMemR1 at 896K).
- Task Sensitivity: On LongBench v2, full reading (PGM-ReadAll) still slightly edges out selective reading on single-document QA and certain long-context subsets, suggesting the selector occasionally drops subtle context.
- Static Contexts: Currently, PGM assumes the whole document is available upfront to skim in parallel. Developing incremental preview generation for dynamically growing contexts—like an AI agent actively browsing the web or running tools in real time—is highlighted as the next frontier.
Summary updated