TL;DR
LLM agents waste massive amounts of tokens and time "over-reading" entire documents when they only need small pieces of information to make a decision. This paper introduces SparseRead, a training-free, plug-and-play reading layer that filters and extracts task-relevant evidence before it enters an agent's context window. Across multiple frontier models and frameworks, SparseRead slashes token usage by up to 92.9% and execution time by up to 89.0% without sacrificing accuracy.
What Problem Does This Paper Address?
When LLM agents tackle long-horizon tasks—like software engineering, multi-file auditing, or scientific analysis—they frequently interact with large external artifacts (PDFs, code repositories, databases). Currently, agents ingest these objects at full granularity. The authors discover that in high-sparsity tasks, only 6% to 34% of this exposed content actually contributes to the agent's final answer.
This "over-reading" is incredibly costly. It balloons token consumption and latency, but worse, it causes trajectory drift—where excess noise dilutes relevant evidence, leading the agent to hallucinate or misuse tools.
Existing context-reduction methods don't solve this. KV-cache compression and post-read summarization only step in after the expensive tokens have already been processed. Meanwhile, naive pre-read compression triggers compression distrust: because the agent receives a condensed summary without source anchors or a clear search boundary, it gets stuck in endless loops of re-reading the source to verify the data.
Methods
SparseRead introduces a training-free framework that sits between the agent and external objects, dividing the reading process into two independently extensible planes:
- The Control Plane (Stateful Protocol): Instead of dumping a full document into context, SparseRead provides a brief Object Preview. The agent then issues a Read Intent and interacts via a stable set of macro-actions:
scout(map the space),focus(locate evidence),collect(gather needs),refine(resolve gaps), andverify(check claims). Crucially, it maintains a model-visible Evidence State so the agent knows exactly what has been searched, eliminating compression distrust. - The Evidence-Compression Plane (Reader Backends): A suite of specialized, rule-based readers (e.g., for text/PDFs, structured tables, or file collections) that translate the agent's macro-actions into object-specific operations and return anchored evidence.
- Regime-Aware Read Gate: Sparse reading isn't always optimal; tasks requiring global scanning (like calculating whole-table statistics) can suffer from protocol overhead. SparseRead uses a deterministic, inference-time gate to evaluate avoidable context exposure, protocol cost, and omission risk. It then routes the request to either
forcesparse reading, allownativefull reading, or offer anadvisorychoice to the agent.
Datasets
The authors evaluated SparseRead across 125 tasks spanning several benchmarks:
- LooGLE: For long-context document reading comprehension.
- QwenClawBench, Claw-Eval, PinchBench: For complex multi-file auditing, diagnosis, and structured analysis.
- AI for Science: A specialized materials-chemistry dataset evaluating domain-specific scientific reasoning.
Key Insights and Ideas
- More Context $\neq$ Better Performance: Paired executions revealed that full-read agents can consume up to 17.3$\times$ more tokens without achieving higher task quality. Filtering out the noise actually protects the agent from making silly tool-use errors.
- Trust is Mandatory for Efficiency: Compression alone fails because agents loop when they are uncertain. By exposing a verifiable record of the reading progress (the Evidence State), the agent gains the "trust" required to safely terminate broad reading.
- Prefix Cache Friendliness: Because SparseRead intercepts and compresses observations before they enter the context window, it leaves the preceding conversation history untouched. This allows exact-match prefix caching to remain highly effective.
Key Results
SparseRead was evaluated across six frontier models (including Claude Opus 5, DeepSeek-V4-Pro, and Qwen3.6-Plus) and three agent frameworks (NanoBot, OpenCode, and OpenClaw).
- Token & Time Savings: It achieved up to a 92.9% reduction in token volume and up to an 89.0% reduction in wall-clock time (representing a 1.8–3.6$\times$ end-to-end speedup).
- Quality Preservation: In 26 out of 30 model-scenario configurations, SparseRead maintained or improved the final task score.
- Framework Portability: Without any model retraining, thin adapters allowed SparseRead to seamlessly port across completely different agent frameworks while maintaining consistent efficiency gains.
Limitations and Future Work
While the Read Gate successfully filters out most tasks that are a poor fit for sparse reading, forced sparse reading on low-sparsity tasks can drastically increase token usage (up to 309% in worst-case controls) due to protocol overhead.
Additionally, the current backends are entirely rule-based and training-free to keep execution fast and predictable. The authors note that integrating learned, model-based pruning methods (like SWE-Pruner) as specialized backends is a promising direction for handling highly complex, unstructured code environments.
Summary updated