- Rating
- 4
- Clarity
- 2
- Confidence
- 4
- Originality
- 2
- Quality
- 2
- Significance
- 3
Read review
Summary
This paper proposes PEEK, a context-management framework for long-context LLM agents that repeatedly interact with the same external corpus. Instead of preserving raw chat history, passively retrieving documents, or learning task-level prompts, PEEK maintains a compact context map that stores reusable orientation knowledge about the external context, such as its structure, key entities, constants, schemas, and useful prior findings. The map is updated through a modular cache policy consisting of a Distiller, Cartographer, and Evictor. Experiments on long-context reasoning and context-learning benchmarks show that PEEK improves accuracy, reduces iterations and cost, and generalizes across different LLMs and agent architectures.
Strengths and weaknesses
Strengths:
-
The paper studies an important and timely problem: how to extract reusable and transferable knowledge from long external contexts to better support LLM agents, rather than simply retrieving or compressing raw context.
-
The proposed PEEK framework achieves strong empirical performance on several benchmarks, demonstrating the effectiveness of maintaining a context map for recurring long-context tasks.
-
The experimental evaluation is relatively comprehensive. The paper compares against multiple strong baselines, studies different LMs and agent architectures, and provides useful analyses of when and why certain methods fail.
Weaknesses:
-
Ambiguity in the construction and evaluation protocol of the context map. The paper would benefit from a clearer description of when and how the context map is constructed during evaluation. In particular, it is not fully clear whether the map is built using a separate set of adaptation queries and then evaluated on held-out queries, or whether it is updated directly during the evaluation sequence. If the latter is the case, the reported gains may reflect test-time adaptation to the same external context rather than generalization in the conventional sense. A more explicit separation between map construction, adaptation, and held-out evaluation would make the experimental protocol more transparent and would help clarify what kind of generalization PEEK is actually demonstrating.
-
Lack of criteria for context-map sufficiency or convergence. The paper claims that only a small number of interactions are sufficient to produce an effective context map, with several experiments using no more than four update steps. However, it remains unclear how the authors determine that the resulting map is sufficiently complete, accurate, or stable. The current evidence is mainly based on downstream task performance, but there is no direct evaluation of the quality of the context map itself, such as coverage of important entities, correctness of cached facts, redundancy, stability across updates, or resistance to task-specific contamination. Without such analysis, it is difficult to assess whether the map has genuinely captured reusable orientation knowledge or whether it has merely accumulated useful hints for the evaluated query sequence.
-
Limited analysis of generalization across heterogeneous contexts and datasets. The paper demonstrates that PEEK generalizes across different base LMs and agent architectures, which is encouraging. However, this does not fully address generalization across substantially different data distributions, domains, or context structures. Since the effectiveness of a context map likely depends on the organization, stability, and repetitiveness of the external context, it would be important to evaluate whether PEEK remains effective on more heterogeneous, less structured, noisier, or dynamically changing datasets. Additional experiments that construct context maps on one type of context and evaluate them on different but related contexts, or that test PEEK under significant domain shifts, would strengthen the generalization claim.
Questions
-
What is the key difference between PEEK and context compaction or summarization methods? Although PEEK maintains and updates a context map, the number of update steps is typically small, often no more than four. This makes the method look similar to extracting or summarizing useful information from a long external context. Could the authors clarify what fundamentally distinguishes PEEK from existing context compaction or summarization-based approaches?
-
Is the technical novelty mainly a workflow design? From an implementation perspective, PEEK appears to rely largely on a sequence of LLM prompts, including the Distiller, Cartographer, and Evictor. Therefore, the technical novelty seems somewhat limited and may be better characterized as a workflow or system design rather than a new algorithmic method. Could the authors clarify the main technical contribution beyond prompt-based orchestration?
-
How should we assess the quality of the generated context map? Figure 4 provides an example of a context map generated by PEEK, but the task background and evaluation criteria for this map are not very clear. It is therefore difficult to understand why this particular context map should be considered good, or what aspects of it make it useful for downstream tasks. A more detailed qualitative analysis or explicit criteria for map quality would make this example more convincing.
Limitations
yes
Paper formatting concerns
None
Final justification
The authors clarified the target scope of PEEK and provided additional evidence supporting its effectiveness in persistent-context scenarios. Although its applicability remains limited, I find this scope reasonable. Therefore, I have increased my score.
We appreciate the reviewer's reading of our evaluation protocol, and the request that map quality be assessed directly rather than inferred from downstream scores. We address each concern below.
#1: When is the map constructed? Gains may reflect test-time adaptation rather than generalization.
The queries are already shuffled, so the update and frozen phases draw from the same difficulty distribution. Two guarantees apply.
First, no query benefits from its own update. In Alg. 1 the agent answers
Q_iand that answer is scored before the Distiller is invoked onQ_i's trajectory, so even within the update phase every answer is produced under a map built only from strictly earlier queries.Second, queries
m+1…nare answered under a fully frozen map:mupdate queriesGains are larger on queries the map never saw, and the ranking against every baseline holds there: base RLM 27.5 / 44.3 / 21.7, Shared Chat 30.0 / 47.0 / 21.7, RAG 33.7 / 62.6 / 33.3, Compaction Agent 40.0 / 50.7 / 28.3, ACE 48.3 / 64.5 / 48.3, PEEK 57.2 / 69.2 / 65.0.
The asymmetry also runs opposite to the worry. We run the full version of ACE following its official usage, with a reflector and curator writing playbook edits after every query: online adaptation on 100% of the stream, no frozen phase. PEEK updates on the first
m≤ 4 queries per context and is frozen thereafter, yet wins on every split.On that configuration, one correction: we pasted the wrong prompt into the appendix. The listing shows a bounded variant from our earlier exploratory runs, which were truncation- and retrieval-limited. The main-paper results use the full version of ACE as described above, and we will replace the listing with the prompt actually used.
#2: No criteria for map sufficiency, correctness, redundancy, or stability.
The reviewer is right that the paper inferred map quality only from downstream performance. We can now report it directly.
Correctness. Every quantitative claim the maps make about corpus size, checked against the true window statistics: 21 of 23 correct within 10%, 19 exact to the character. Both errors are conservative understatements.
Composition. Across the final OOLONG maps (216 items, 7.2 per map at B = 1024): Parsing Schema 29.6% of items, Context Understanding 21.3%, Reusable Results 20.4%, Domain Constants 15.7%, Context Roadmap 13.0%.
Redundancy and coverage. Near-duplication is rare: 0 to 1.5% of within-map item pairs exceed 0.6 token-set Jaccard. Cached label enumerations cover 70 to 100% of each label set.
Stability. We report two measures and distinguish them. The independent one is behavioral: on frozen-map questions the agent references a
Reusable Resultsentry in its executed code in 13.8% of cases, and median iterations are identical (3.0) whether or not the map holds a label→count table. The second is the Distiller's own per-item tagging, now made persistent, a system-internal signal useful for comparing sections but not an external validation. Hit rate = share of item-update observations taggedhelpful(TREC-Q, 31 update steps):Over those 31 updates the policy issued 98 ADD, 34 REPLACE and 19 DELETE operations with mean item lifetimes of 1.6 to 2.7 updates, so the map is actively revised rather than accumulated.
Reusable Resultsis the only section ever tagged harmful or stale.Sufficiency. A single update query already yields 54.6 / 58.7 / 46.0 against base RLM's 30.3 / 46.5 / 23.0, consistent with orientation knowledge saturating quickly. We explored
m= 1–10 and foundm≤ 4 sufficient throughout. The curve is not monotone, so we do not claim convergence and will report the sweep.No labeled-answer leakage. The Distiller receives neither the ground-truth answer nor the agent's final answer; both slots are hard-coded to "not applicable" (App. E.3). Separately, disabling
Reusable Resultsstill leaves +19.7 / +18.4 / +18.0 over base RLM.#3: Generalization across heterogeneous contexts and datasets.
Generalization across models and agents is indeed not generalization across contexts. What we can report is where context maps fail, which speaks to dependence on context organization. App. D documents three rejected benchmarks. In BrowseComp-Plus and FanOutQA the shared context concatenates independent documents with nearly disjoint per-task evidence (in FanOutQA only 1.1% of dev question pairs share an evidence page), so the map degenerates into a grab bag that can mislead. QuALITY contexts are shared but average about 5.6K tokens, so one call suffices. OfficeQA searches 89,000 pages of U.S. Treasury Bulletins, yet each question is answered from one or two pages.
This is why our call for new benchmarks is specific: what is missing are datasets posing many hard questions over one large persistent context, each touching a broad slice of it. The domains we target are enterprise log and feedback analytics, repository-wide code questions, and corpus-level aggregation.
#4: What distinguishes PEEK from context compaction or summarization?
Three differences, each with a control in the paper.
Source of signal. Compaction summarizes the context; the Distiller reads the agent's execution trajectory, so the map records what the agent needed and where it stalled, such as parsing pitfalls and misleading surface patterns, which no context-derived summary can know. MemAgent reaches 42.0 / 49.5 / 30.0 on OOLONG against PEEK's 58.1 / 69.4 / 57.0.
It is a cache, not a summary. A compaction summary is compressed context state; PEEK maintains bounded prompt-resident state with explicit admission, revision and eviction. Table 3 isolates that policy's value: making the map append-only costs −10.2 on average.
The small number of updates is the claim, not an accident.
m≤ 4 makes PEEK cheap precisely because orientation knowledge saturates quickly, which is what makes a bounded cache the right abstraction. App. B.2 is the control: at the same budget, content that is a summary or excerpt does poorly, with a raw prefix giving +0.73%, sub-goal retrieval +4.92%, runtime feedback −14.86%.#5: Is the technical novelty mainly a workflow design?
It is a systems contribution rather than a new learning algorithm, and the three modules are LLM calls with structured outputs. What we would put forward is the problem formulation: a constant-sized region of the system message persists across invocations, and deciding what earns a place in it is an admission-and-replacement problem.
Our ablations locate the value, and it is not in the prompt chain being a chain. At an identical budget with the same Distiller, a flat free-text note reaches 48.0 / 65.0 / 49.0 against PEEK's 58.1 / 69.4 / 57.0, so serialization is worth 4.4 to 10.1 points, real but secondary. Removing revision and eviction costs −10.2, and collapsing diagnosis into edit planning costs −7.7 (Table 3). §5 states what a learning contribution would look like here, namely training the Distiller and adaptive cache sizing.
#6: How should the quality of the Figure 4 map be assessed?
The figure lacked stated criteria and we will add them, each with a measurement reported above. Transferability, whether a query that did not contribute to map construction benefits, which the frozen-map phase measures end to end. Factual correctness, 21 of 23 corpus-size claims correct and 19 exact. Compactness and non-redundancy, 7.2 items in 1,024 tokens with 0 to 1.5% of pairs above 0.6 Jaccard. Calibration, meaning entries record how a result was obtained and when to distrust it; the Fig. 4 map contains, verbatim, "Raw substring counts (diagnostic, brittle method)". And no labeled-answer leakage, since the Distiller receives no ground-truth or agent answer.
Finally: the protocol is now stated precisely and map quality is measured directly against each property listed, with both going into the camera-ready alongside stated criteria for Figure 4 and the corrected prompt listing. If these close the gaps, we would be grateful if the reviewer would consider revisiting their rating.