Task completion is the standard metric for evaluating context compression, yet it is incomplete: compression can increase an agent's interaction cost by forcing it to reacquire dropped state while leaving completion statistically unchanged. We introduce a controlled runtime measurement protocol for reacquisition cost in a bounded-horizon tool-using agent. The agent acts in a deterministic planning environment under a fixed 24-turn horizon. We vary compression severity, compare a dropping operator with a fact-preserving operator, restore dropped state through controlled oracle interventions, and decompose tool calls into retrieval and execution. We evaluate three models across two task regimes. Retrieval calls increase in all six model-regime comparisons and account for almost all added interaction; five of six remain significant after Holm correction. At the prespecified 5x comparison point, completion changes are not significant in any cell. DeepSeek shows a significant completion drop only at 10x compression. GPT-5.5 is the clearest case: completion changes from 80% to 85% (p = 1.0) while retrieval increases from 21.0 to 63.9 calls (p = .002). Retention interventions further separate state quantity, state type, and content validity. Random selection is comparable to an offline hindsight oracle, while replacing retained D-state with semantically irrelevant content increases retrieval by 57% (p < .001) without a significant completion change. In a second environment, ALFWorld, sliding compression produces no retrieval surge, showing that the reacquisition signature is environment-dependent rather than intrinsic to shortening context. Overall, compression can impose hidden interaction costs when execution-relevant state becomes absent and must be reacquired, while completion alone may not expose those costs.
Figures & tables
Work
Measures
Manipulates
Decomposes
What completion can miss
Our difference
CostBench
cost-optimal planning; cost gaps
tool costs & availability (blocking events)
cost by event type
cost-suboptimal but valid plans
intact context; we price reacquiring dropped state
CompressAgent
reliability & success vs compression
compression retention level
failures: tool-execution vs reasoning
tool failures precede success collapse
no causal state manipulation; we add oracle attribution
Token Red. = Cost
billed cost; token vs cost deltas
token-reduction strategies
cost by billing component (cache ≈ 87%)
token savings = cost savings
provider-specific billing; we use a model-agnostic budget
Tool-Use Tax
accuracy tax of the tool protocol
tool availability (no-op / oracle probes)
accuracy gap: Δ cmp + Δ frc + Δ sty
protocol tax swamps tool gains
accuracy over intact context; we meter cost of lost state
Figure 1: Measurement protocol overview: full / fact-preserving vs. sliding (compressed) context; missing execution state diverges into retrieval (reacquisition) vs. execution (task work); a parallel oracle branch (compressed + D∗ / R∗→ injected dropped state → retrieval cost drops) makes recoverability a manipulated variable.
Condition
Context
Full
the complete trajectory (baseline)
Sliding
a token budget of r−1× the trajectory ( r=1.7× , 2.5× , 5× , 10× ); greedily keep the most recent turns within budget; drop early turns outright
Summary
the same budget, but dropped early turns are replaced by a deterministic fact digest [Summary of earlier trajectory --- observed facts] (extractive; keeps observed state facts, discards the model’s reasoning text); zero extra LLM calls
Oracle
Full or Sliding context with a specific state string injected as a trailing message (same position in every condition)
Table 2: Context conditions.
Intervention
Selection rule
Sliding
recency baseline; no digest (recent turns only)
RAR-D
retain D-type atoms only
RAR-R
retain R-type atoms only
RAR-All
retain all atoms in observation order ( ≈ Summary control)
RAR-TypeAware
retain all atoms, R-first (recoverability-prioritized)
Random
random subset of atoms (seeded)
Table 3: Retention interventions.
ratio
completion
tools
retrieval
execute
turns
1× (Full)
83%
39.5
22.2
17.3
22.9
1.7×
87%
42.7
25.4
17.3
23.3
2.5×
81%
49.7
33.3
16.4
22.8
5×
72%
71.4
55.1
16.3
23.1
10×
66%
77.1
63.2
13.9
23.6
Table 4: DeepSeek, High regime: severity sweep.
Figure 2: Compression raises reacquisition cost before completion may degrade. Panel A: completion vs. compression ratio; Panel B/C: tool / retrieval–execution decomposition.
condition ( 5× , High)
completion
tools
retrieval
Full
80%
37.4
19.0
Sliding
72%
71.4
55.1
Extractive Summary
83%
39.0
19.5
Table 5: Operator contrast at 5× , High regime (DeepSeek).
condition ( 5× , High)
completion
tools
Δ tools vs sliding
Full
86%
38.8
—
Sliding
66%
72.9
—
Sliding + R∗
78%
69.0
−3.9
Sliding + D∗
80%
35.8
−37.1
Full + R∗ (sanity)
85%
32.1
—
Table 6: Oracle intervention at 5× , High regime (DeepSeek).
Model
regime
completion Full →5×
Δ (p)
tools Full →5×
retrieval Δ (p)
execute Δ
DeepSeek
High
83 → 72
−11 (0.25)
39 → 71
+32.9 (.002) †
−1.0
Qwen
High
75 → 66
−9 (0.13)
34 → 37
+2.9 (.088)
≈0
GPT-5.5
High
80 → 85
+5 (1.0)
39 → 82
+42.9 (.002) †
≈0
DeepSeek
Low
100 → 100
0
33 → 55
+22.6 (.004) †
+0.1
Qwen
Low
100 → 94
−6 (0.25)
28 → 36
+5.3 (.023) †
+2.7
GPT-5.5
Low
100 → 100
0
26 → 49
+22.4 (.002) †
+0.7
Table 7: Three models, Full vs. Sliding ( 5× ), both regimes.
Figure 3: Two axes, not one. (a) Phase map of the six model–regime cells in (Δretrieval,Δcompletion) space; (b) tool decompositions.
policy ( B=265 )
ΔCR vs Sliding
p
RAR-All
−26.0%
< 0.001
RAR-TypeAware
−24.5%
< 0.001
Hindsight
−22.4%
0.001
Random
−22.1%
0.001
Recent
−20.4%
0.002
RAR-D
−17.8%
0.002
Table 8: Selection null at B=265 (DeepSeek, High).
metric
TypeAware (real D)
D-Irrelevant
Δ
95% CI
p
CR (retrieval)
20.4
31.9
+11.5
[9.2, 13.9]
< 0.001
tools
37.6
48.2
+10.7
[8.1, 13.4]
< 0.001
execute
17.2
16.4
−0.8
[−1.9,+0.2]
n.s.
Q (completion)
75.0
81.0
+6.0 pp
[−2.5,+16.0]
0.41
Table 9: D-Irrelevant content intervention at B=265 (DeepSeek, High).
Figure 4: Retention interventions. Digest budget B decreases from left to right in (a)–(b). (a) ΔCR vs. Sliding (%): TypeAware (real D) and D-Irrelevant are highlighted against the faded remaining policies; the ∼ 57% retrieval gap at B=265 leaves completion statistically unchanged. (b) task completion ( ≈ flat across policies and budgets). (c) coverage dose–response ( covD→ΔCR ) with the selection null (Random ≈ Hindsight) and the D-Irrelevant point at B=265 .
Environment
Compression
Δ retrieval-like actions
Δ completion
IRBench (this work)
Sliding
large positive (2–3 × )
model / regime dependent
ALFWorld
Sliding
≈ 0 (paired, symmetric)
small / ceiling-bound
Table 10: External environment boundary.
Figure 5: External environment boundary: paired Δ retrieval-like actions under the same sliding operator are large and positive in IRBench and ≈0 (symmetric) in ALFWorld.
Figure 6: Oracle conditions and the interaction budget: retrieval / execution decomposition, termination (all_complete vs. max_turns), and within-budget diagnostics.
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Model
Regime
ρ
p
95% bootstrap CI
DeepSeek
High
−0.40
.25
[−0.97,+0.49]
DeepSeek
Low
—
—
completion invariant across seeds
Qwen
High
−0.32
.37
[−0.75,+0.29]
Qwen
Low
+0.16
.67
—
GPT-5.5
High
−0.64
.045
[−0.84,−0.18]
GPT-5.5
Low
—
—
completion invariant across seeds
Appendix
Table 11: Seed-level association between per-seed ΔCR and ΔQ .