Restoring Evidence Routing Does Not Restore Exact Matching in Compressed KV Caches
Anonymous authors
ICLR 2027
TL;DR. Equal-byte cache restoration recovers source-specific hits and near-miss errors together, separating record access, behavioral fidelity, and exact address matching.
Abstract. Exact lookup requires both access to a record and discrimination of its complete address. We test record recovery, targeted restoration, and source-specific matching under query-agnostic KV-cache compression. Phase 1 reveals a recovery–decision gap in 45 of 144 positive queries under prefix-only attention selection. Both complete source records are independently recoverable from the same cache in these cases, yet the existence readout denies a match. Phase 2 uses independently coded records and equal-byte substitutions of evicted primary-record versus matched nonprimary positions. Primary restoration reduces false absence from 64/96 to 7/96 relative to sham, but also increases near-miss errors. Phase 3 separates the two sources factorially. Restoring A predominantly changes A-queries, and restoring B changes B-queries, yielding a predeclared crossover of percentage points with a conservative lower bound of points. Joint restoration reduces false absence by points while increasing one-field false alarms by points. Full and joint restoration both reject all 48 far negatives, yet accept 61 and 55 of 96 near negatives, respectively. This source-selective overmatching separates reinstated source influence from exact Boolean comparison. The resulting diagnostics separately measure record recovery, behavioral fidelity, and query discrimination.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 16:58 UTC.
- Rating
- 1/4
- Confidence
- 1/4
- Soundness
- 1/3
- Presentation
- 1/3
- Informativeness
- 1/3
Read review
Summary
Strengths
None
Weaknesses
- The task setup and key concepts, including record address, primary and non-primary positions, restoration, source crossover, and source-selective overmatching, need clearer definitions, and a concrete example.
- Each experimental phase should clarify its hypothesis, intervention, control, and the inference.
- The numerical results lack content.
- The presentation is rather poor, and difficult to follow. The paper needs a major revision.
Questions for the authors
- please clarify the task setup, and key concepts including record address, primary and non-primary positions, restoration, source crossover, and source-selective overmatching. It would be good to give a concrete example.
- Please clarify hypothesis, intervention, control, and the inference.
- Please provide physical meaning of the numerical results.
Ethics concerns
N/A
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper studies the distinction between record recovery, source-specific influence, and exact matching under query-agnostic KV-cache compression. Three synthetic studies use independent readouts and equal-byte cache substitutions. In the main factorial experiment, restoring a source increases acceptance of both its exact queries and its one-field near misses. The results demonstrate that restoring the full-cache model's behavior need not restore correct lookup. Evaluation uses Qwen2.5-7B-Instruct, with 24 worlds per study.
Strengths
S1. The intervention is carefully controlled. Common donor removals, equal storage, source quotas, and independent cache clones address several obvious confounds. The large source crossover is a convincing result within the tested setting.
S2. The evaluation distinguishes fidelity from correctness. Exact/near query pairs reveal errors hidden by aggregate accuracy or agreement with Full. World-level analysis and explicit treatment of invalid responses are also appropriate.
Weaknesses
W1. The contribution remains a narrow behavioral diagnosis. The factorial design is useful, but the central result is established for one model, synthetic databases of roughly 3-4K tokens, and approximately 70% retained storage. The main intervention uses SNAP-PFX; CHUNK16 and random retention appear only in the earlier studies. There is no comparable validation with a dedicated query-agnostic method such as KVzip or Compactor. More importantly, Full already accepts 61/96 near negatives, while joint restoration accepts 55/96 and agrees with Full on 225/240 decisions (Table 4; Appendix F). Thus the study shows restoration of an already unreliable model, rather than a compression-specific failure of an otherwise accurate comparator. The authors acknowledge this distinction, but the limited evidence leaves the broader significance insufficiently established. A diagnostic paper need not propose a new algorithm; here, stronger generalization or a more discriminating explanation is needed to make the empirical contribution substantial.
W2. Important validation remains incomplete. Appendix C checks two split-execution paths but explicitly does not compare split Full with monolithic execution on the task. Given Full's high near-miss error rate, this is a consequential missing control, although it does not establish an implementation bug. The reproducibility statement also says the original model-level cache-manipulation runner is not distributed; recomputing statistics from saved outputs cannot independently validate the interventions. In addition, the Phase 2/3 cohorts change the coding and query design, and Phase 2 starts with no exact recoveries under SNAP-PFX. The later causal result therefore does not directly explain the recoverable denials that motivate Phase 1. These gaps reduce confidence in the broader interpretation rather than invalidate the reported crossover.
Questions for the authors
Q1. Does monolithic Full reproduce the reported near-miss errors and exact/near decisions? Please report a direct comparison on the Phase 3 inputs, and clarify what runnable code is available to regenerate the cache interventions and readouts.
Q2. Does source-selective overmatching persist for another model or retention policy, particularly in a setting where Full reliably distinguishes exact from near matches? Such evidence would materially strengthen the significance of the result.
- Rating
- 2/4
- Confidence
- 4/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper investigates how query-agnostic KV-cache eviction (SNAP-PFX, a prefix-only adaptation of SnapKV scored on the final 64 tokens of the database prefix at 69.5%–70.0% cache retention) affects full-record recovery versus exact 4-field Boolean address matching (HAS_MATCH vs. NO_MATCH) on closed-world synthetic databases using Qwen2.5-7B-Instruct.
Across three sequential 24-world studies (with independent cache clones per readout head so recovery outputs never enter decision prompts), the authors report:
- Phase 1 (Recovery–Decision Dissociation): On identical compressed caches under
SNAP-PFX, independent recovery heads extract the complete 6-field tuples for Source A (135/192) and Source B (134/192), yet the existence readout denies a match (NO_MATCH) on 100/144 positive queries. In 45/144 positive queries, both complete source records are recovered verbatim from the same cache while the existence query is denied (vs. 16/144 forFULL, a predeclared difference of 20.14 pp). - Phase 2 (Equal-Byte Primary Restoration vs. Sham): Using independently coded fields (where
SNAP-PFXrecovers 0/48 primary records before intervention), substituting evicted primary-record K/V states in place of low-scoring retained "donor" positions reduces false absence from 64/96 to 7/96 relative to a position- and score-matched non-primary sham substitution, while increasing 1-field near-miss false alarms by 27 (out of 48 near-negative queries; Table 3 and Section 4.2, lines 260–264). - Phase 3 ( Source-Factorial Intervention): Crossing Source A and Source B restoration () while holding donor removal, persistent bytes, and per-source token quotas fixed yields a predeclared 79.17 pp source-routing crossover (positive in all 24 worlds; conservative Hoeffding lower bound 14.13 pp). Restoring A selectively increases
HAS_MATCHon Exact-A (+70.83 pp) and 1-field Near-A (+44.79 pp) with negligible cross-source change on Exact-B (-1.04 pp) or Near-B (+2.08 pp); restoring B mirrors this (+84.38 pp on Exact-B, +52.08 pp on Near-B). Joint restoration (AB) agrees with uncompressedFULLon 225/240 literal decisions (93.75%), including 51 shared near-miss false alarms, while rejecting 48/48 far negatives.
Strengths
-
Methodologically Exemplary Causal Cache Intervention ( Source-Factorial Design with Donor-Matched Sham Controls): The Phase 3 experimental design (Section 3.2, Equation 2, Appendix C) is a model of rigor for activation/cache patching in long-context transformers. By fixing a common retained backbone across all four arms (), matching sham non-primary positions to primary-record positions lexicographically by original position distance and selector score (Table 7, median score residual ), preserving exact original RoPE coordinates, and evaluating 17 readout heads on isolated cache clones, the study cleanly isolates the causal effect of primary-record K/V states from storage budget, positional density, or prompt-continuation leakage.
-
Thorough Treatment of Output Encodings and Unresolved Completions: Testing literal
HAS_MATCH/NO_MATCH(F) alongside reversed binary code mappings (CODE01andCODE10, Table 10) and computing worst-case logical completion bounds over invalid/unresolved outputs (Appendices D, I, J) ensures that the 79.17 pp source-routing crossover is a genuine source-selective internal state effect rather than an affirmative label bias or formatting artifact.
Weaknesses
-
Confound Between Base-Model Capability and Restoration Limits (
FULLAlready Fails on 61/96 Near Negatives):- While the authors candidly note in Sections 4.3 and 5 (and Appendix F) that
FULLis a behavioral reference rather than an exact-lookup oracle and that joint restoration (AB) reproducesFULL's decisions on 225/240 (93.75%) of queries (including 51 shared near-miss false alarms), the paper's title ("Restoring Evidence Routing Does Not Restore Exact Matching in Compressed KV Caches") and headline framing invite readers to conclude that compressed-cache restoration fails to recover exact matching. - In Table 4 and Table 10(a), the uncompressed
FULLbaseline already accepts 61 out of 96 (63.5%) one-field near negatives (33/48 Near-A and 28/48 Near-B), achieving only 31/96 onQPAIRand 175/240 overall, whileABachieves 55/96 near false alarms, 36/96 onQPAIR, and 180/240 overall. - Because
Qwen2.5-7B-Instructitself relies on partial-match source familiarity rather than strict 4-field Boolean conjunction on this task even with an uncompressed cache, this experimental setup cannot distinguish between two fundamentally different hypotheses:- A genuine limitation of KV restoration (where an uncompressed model possesses exact 4-field discrimination, but restoring primary-record K/V states into a compressed cache only recovers coarse source routing), versus
- Successful behavioral recovery of a base model that never performed exact matching in the first place.
- Conversely,
SNAP-PFXandSSonly exhibit low near-FP rates (7/96 and 9/96) because they evicted the primary records and defaulted toNO_MATCHon ~80% of all queries (missing 77/96 and 78/96 positive queries).
- While the authors candidly note in Sections 4.3 and 5 (and Appendix F) that
-
Narrow Empirical Scope (Single Model, Mild 70% Retention, Prefix-Tail Selector) and Incomplete Reproducibility Release:
- Single model (
Qwen2.5-7B-Instruct): All three phases evaluate only one 7B checkpoint whereFULLfails on 63.5% of near negatives. Evaluating at least one stronger model whereFULLachieves low near-miss false alarms is necessary to test whether primary-record K/V restoration in a compressed cache ever fails to recover exact matching that the uncompressed model actually possesses. - Mild compression budget (69.5%–70.0% retained) and
SNAP-PFXpathology: Evicting only 30% of a 3.0K–3.7K token cache is a very mild compression setting.SNAP-PFXloses the primary records at 70% retention (0/48 recovery in Phase 2; 3/48 A and 0/48 B recovery in Phase 3, Table 4) because it applies SnapKV's 64-token observation window to the end of the database prefix (which contains auxiliary records at the end of Source B with zero lexical overlap with the independently coded primary records). As shown in Phase 1 (Table 2) and Phase 2 (Table 3), simpleCHUNK16orRANDOMretention at the same 70% budget cuts false absences by more than half, yet Phase 3 is restricted toSNAP-PFX. - Inconclusive Hoeffding bounds on
QPAIRandNear-FP: With worlds, the conservative Hoeffding union-bound intervals in Table 5 and Figure 3 span zero for two of the four predeclared contrasts (Qpair: AB - SSis[-36.91, 93.16]andNear FP: AB - SSis[-17.12, 100.00]), relying on the exploratory non-studentized bootstrap to exclude zero. - Missing model-level cache-intervention code in the supplement: The Reproducibility Statement (lines 421–423) and Appendix K (lines 991–993) note that the supplement only provides saved readout tables and CPU scripts to recompute summary statistics, omitting the actual model-level KV-cache manipulation runner. Recomputing statistics from saved outputs does not allow independent reproduction of the neural cache interventions.
- Single model (
Questions for the authors
Clarification Requests
- Reframing the Title and Main Claim Around Behavioral Fidelity vs. Base-Model Capability:
Since
AB(70% compressed cache with primary-record K/V restored) matchesFULLon 93.75% of all queries and actually achieves a lower near-FP rate (55/96 vs. 61/96) and higherQPAIR(36/96 vs. 31/96) thanFULL(Table 4), do you agree that the cache restoration itself succeeded in recovering full-cache behavior, and that the inability to reject 1-field near misses is a property ofQwen2.5-7B-Instructon this task rather than a degradation caused by KV-cache compression? - Behavior on a Model Where
FULLPerforms Exact Matching: Have you tested Phase 3 on a stronger model (e.g.,Qwen2.5-14B/32B-Instruct,Qwen3-8B, orLlama-3.1-8B-Instruct) whereFULLhas a low near-FP rate on 1-field mismatches? On such a model, doesABalso recoverFULL's low near-FP rate, or does compressing the surrounding 30% (or 70–80%) of auxiliary context causeABto overmatch whereFULLdoes not? - Why Did Phase 1 Recover 135/192 and 134/192 Primary Records Under
SNAP-PFXWhile Phase 2 Recovered 0/48 and Phase 3 Recovered 3/48 and 0/48?: In Phase 1,SNAP-PFXrecovered both primary records in ~70% of attempts (Table 2), motivating the "same-cache recovery–decision dissociation." Yet in Phase 2 and Phase 3, changing to independently coded fields causedSNAP-PFXrecovery to drop to ~0% (0/48 and 3/96). Does this mean the Phase 1 recovery–decision dissociation was an artifact of shared field codes across records in Phase 1 (allowing the recovery head to guess or piece together fields from auxiliary records)?
Suggestions for Future Work
- Testing True Query-Agnostic Compressors at Realistic Budgets (10%–25% Retention): Evaluating Phase 1 and Phase 3 under genuine query-agnostic compressors (e.g., KVzip context reconstruction, KeyNorm, or ExpectedAttention) at 10%–25% cache retention would test whether purpose-built query-agnostic methods exhibit the same recovery–decision gap or source-routing crossover.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
The paper addresses a potentially interesting distinction between record recoverability, source-dependent decision behavior, and exact-match discrimination under KV-cache compression. However, the presentation makes the contribution and experimental logic difficult to access.