TL;DR
PEEK introduces a reusable context map system that enhances long-context LLM agents' ability to efficiently and accurately interact with recurring external contexts by maintaining orientation knowledge.
Contribution
The paper presents PEEK, a novel system that caches and maintains orientation knowledge as a context map, improving long-context reasoning and context learning in LLM agents.
Findings
PEEK improves reasoning and aggregation by 6.3-34.0% over baselines.
PEEK reduces iterations by 93-145 and costs by 1.7-5.8x compared to ACE.
PEEK enhances solving rate and rubric accuracy by 6.0-14.0% and 7.8-12.1%, respectively.
Abstract
Large language model (LLM) agents increasingly operate over long and recurring external contexts, like document corpora and code repositories. Across invocations, existing approaches preserve either the agent's trajectory, passive access to raw material, or task-level strategies. None of them preserves what we argue is most needed for repeated same-context workloads: reusable orientation knowledge (e.g., what the context contains, how it is organized, and which entities, constants, and schemas have historically been useful) about the recurring context itself. We introduce PEEK, a system that caches and maintains this orientation knowledge as a context map: a small, constant-sized artifact in the agent's prompt that gives it a persistent peek into the external context. The map is maintained by a programmable cache policy with three modules: a Distiller that extracts transferable…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
