{"id":"dd412a73-7a84-4639-8d3c-cc0f89bf3085","arxiv_id":"2610.11245","paper_version":1,"verdict":"CONDITIONAL","confidence":"MODERATE","novelty_score":7.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":8,"one_line_summary":"ReadKV uses progressive quantization and query-adaptive reading to fetch fewer bits per decoding step from the KV cache while preserving output quality.","lead":"ReadKV stores key-value cache entries in a progressive code and lets each decoding query choose how much precision to fetch depending on what matters for that query. This separates storage capacity from read bandwidth and reduces memory traffic during long-context LLM inference without rewriting the cache.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"The allocation optimality guarantee (Theorem 3) assumes the stored distortion curve D(t) has nonincreasing gains; the paper does not verify this property on actual standardized KV scalars, only on the Gaussian used to train the codec.","rationale":"The reader correctly identifies the calibration curve as a potential weak point. My concern deepens this: not only may the magnitude of D(t) be off, but the crucial diminishing-gains property that underpins the allocation optimality is only verified for the Gaussian training distribution, not for the actual residual distribution. The paper provides no empirical check that the gains are nonincreasing on real data. If the gains are not monotonic, the greedy algorithm may not minimize the calibrated objective, undermining the theoretical rationale for the chosen prefix depths. I do not recommend changing the verdict because the empirical perplexity and QA results are direct evidence of effectiveness, and the paper openly acknowledges the limitations of the theoretical guarantees (stagewise optimality, calibration factors). The paper's practical claims rest on experimental evaluation, not solely on the allocation optimality. Hence, while the theoretical support is weaker than it could be, the empirical case holds.","tokens_in":50588,"tokens_out":5422,"duration_ms":52383,"concrete_test":"On a representative set of key and value scalars from one or more LLM layers (e.g., Qwen2.5-7B, layers 0, 15, 31), after applying the same standardization and Hadamard–sign transforms used in the paper, compute the empirical mean-squared error of the deployed depth-8 codec at each prefix depth t=0..8. Define D_emp(t) and gains Δ_emp(t)=D_emp(t-1)-D_emp(t). Check that Δ_emp(t) are all nonnegative and that Δ_emp(t) ≥ Δ_emp(t+1) for t=1..7. If these conditions fail for any layer or head, the diminishing-gains assumption is violated, and the allocation optimality guarantee of Theorem 3 would not apply to that scenario.","verdict_should_be":"UNCHANGED","load_bearing_attack":"ReadKV's allocation rule minimizes the calibrated objective ∑ a_i D(t_i) under the assumption that the distortion gains D(t-1)-D(t) are nonnegative and nonincreasing (Theorem 3, Proposition 8). The curve D(t) used in all experiments is the Gaussian Lloyd-tree distortion from Lemma 7. However, the codec is applied to standardized scalars that may not follow a Gaussian distribution; the actual distortion curve D_emp(t) on real LLM key/value scalars could differ. If D_emp(t) does not satisfy the diminishing-gains condition, the greedy algorithm is not guaranteed to find the optimal schedule for the calibrated objective, even in the stagewise sense. The paper acknowledges calibration mismatch (γ factors) but does not empirically report whether the diminishing-gains condition holds for actual KV cache residuals. This gap leaves open whether the stagewise optimality part of Theorem 3 is applicable in the empirical setting, which in turn weakens the theoretical support for the allocation choices made by ReadKV.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"This paper proposes ReadKV, a KV-cache compression scheme that separates the number of bits stored per scalar (W) from the average number of payload bits fetched per query (R). Keys and values are stored in a progressive (nested) code based on a Gaussian Lloyd tree. At query time, the reader first selects key-channel prefix depths based on the query, reconstructs the keys, computes attention, and then selects value-token prefix depths based on the reconstructed attention. The allocation rule greedily assigns each next refinement to the item with the largest weighted distortion reduction, which the paper proves is optimal for the calibrated separable objective under a diminishing-gains condition. The paper proves finite-dimensional families where query-dependent reading strictly outperforms every query-independent branching reader at the same read budget (Theorems 1 and 2), and gives a deterministic attention-error certificate (Theorem 3). Empirically, on six base models, ReadKV with W=8, R=4 stays within 0.66% of uncompressed C4 perplexity while using about a quarter of the logical reads and half the retained capacity of a 16-bit cache. Additional evaluations on LongBench QA, passkey retrieval, and a GPU latency study are provided.","tokens_in":50981,"tokens_out":3947,"duration_ms":40849,"significance":"If the results hold, ReadKV introduces a principled way to decouple storage precision from read precision in KV caches, addressing a fundamental asymmetry: entries are written once but read many times by different queries. The theoretical separation theorems demonstrate, in concrete finite-dimensional settings, that query-dependent access can strictly dominate any query-independent protocol at the same read budget, even with unrestricted encoders and decoders. The empirical evidence across six models and multiple tasks shows that retaining more precision than is fetched (W > R) pays off in quality while reducing per-step cache traffic, which is particularly relevant for long-context and batch-serving regimes. The paper's formulation and guarantees provide a rigorous foundation for future work on partial-read cache designs.","major_comments":[{"comment":"The paper reports ΔPPL and ΔF1 for a single set of 32 C4 documents and 100 QA questions. While bootstrap intervals for NLL differences are mentioned in Appendix F.1, no confidence intervals or standard errors are reported for the main perplexity or F1 values. Given that the number of test examples is modest, providing interval estimates (e.g., 95% bootstrap intervals) for the key quality metrics would help readers assess the stability of the reported improvements and would match common practice in the field.","section":"Section 5, Tables 2 and 3","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Theorem 3's exact allocation guarantee assumes that the calibrated distortion curve D(t) has nonnegative and nonincreasing gains. Lemma 7 verifies this for the Gaussian Lloyd-tree curve used in the algorithm. However, the actual standardized KV scalars from LLM caches may follow a different distribution, so the empirical distortion curve on real residuals could differ. While the calibration factors γK,h and γV,h are intended to capture this mismatch, an empirical check of whether the diminishing-gains property holds for the realized scalar residuals from the test models would strengthen the connection between the theoretical condition and the practical setting. The paper would benefit from a brief plot or table showing the empirical gains from the residuals of one or two representative layers and models.","section":"Section 4.3 and Appendix D","authors_acknowledge":"Calibration may misestimate the realized residual energy, and residuals from different channels or tokens may interact.","authors_acknowledge_p":0.61},{"comment":"The attention-error certificate (Theorem 3) depends on the worst-head conversion factors βK and βV, which involve residual-correlation eigenvalues and calibration ratios. The paper reports diagnostic fractions for cross-term contributions in Appendix F.7 (e.g., median 2.1% for logit error, 64.6% for value error) but does not report the actual values of κK,h, κV,h, γK,h, γV,h, or βK, βV for the tested models. Providing typical ranges for these factors (even for a single layer and model) would give a concrete sense of how tight the certificate is in practice and whether the calibrated objective is a reasonable proxy for the attention-output error.","section":"Section 4.3 (Theorem 3) and Appendix F.7","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The importance score aK_gc in Equation (2) includes a factor T/dh that is later said to be constant across key schedules. This factor cancels out in the minimization but its inclusion in the definition is slightly confusing. Consider clarifying that the factor does not affect the allocation.","section":"Section 3.2, Equation (2)","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The notation table lists \"bα\" but does not explicitly define that it is the collection of reconstructed attention vectors across query heads; the definition is given in the text. Also, the symbol \"sg\" (value scale) is not included in the table. Adding these would improve quick reference.","section":"Table 5 (Notation)","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The GPU reader uses several restrictions (per-head budgets, equal K/V split, minimum depth one, two-token value packets). The ablation in Table 10 shows that the equal K/V split accounts for most of the quality gap at R=2. It would be informative to discuss whether lifting the equal K/V constraint in the kernel is a feasible path toward closing the quality gap, or whether it would negate the latency benefits.","section":"Section 5.1 and Appendix F.8","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The paper states that the Qwen instruction-model comparisons involve different hardware and calibration cohorts (cross-cohort qualification in the text). This is clearly flagged, but the main text (Section 5) could remind the reader of this limitation when discussing the protected ReadKV rows next to TurboQuant.","section":"Appendix F.1","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The statement says that generative AI tools assisted with theoretical analysis, proof checking, and experiment design. While this is transparent, it may be helpful to specify which parts of the proofs were independently verified by the authors, or to include a note that the authors take full responsibility for the correctness of all theoretical and empirical results.","section":"AI Use Statement","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"minor_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"This paper is worth reading.  The core contribution is a clean abstraction: decouple how many bits are stored per KV scalar from how many are fetched per query, using a progressive code so unread refinements stay available.  That idea, together with a causal two-stage reader (query chooses key-channel depth, then reconstructed attention chooses value-token depth), is genuinely new.  The separation theorems (Thms 1 and 2) are a real theoretical contribution—they show finite-dimensional settings where query-dependent reading strictly beats every query-independent branching reader, even with unrestricted encoders and decoders, at the same read budget.  The empirical evaluation is thorough: six base models, three tasks, multiple baselines, and the quality at (8,4) is excellent (within 0.66% perplexity of dense, using a quarter of the logical reads).  The paper is also refreshingly transparent about its limitations—no overclaiming about end-to-end serving advantage, and the stagewise nature of the allocation guarantee is stated clearly.\n\nThe main soft spot is the allocation optimality (Thm 3).  The greedy rule is guaranteed to find the optimal schedule only when the distortion gains D(t-1)-D(t) are nonnegative and nonincreasing.  The paper uses the Gaussian Lloyd-tree distortion curve for all experiments but does not check whether the empirical distortion curve on real LLM KV scalars actually satisfies that condition.  Calibration mismatch (γ factors) is acknowledged, but the structure of the gain sequence is a separate, stronger condition.  The stress-test note raises this, and it’s a valid concern—though in practice the deployed codec has decreasing gains under the Gaussian model, and the quality results don’t depend on the optimality proof; they just evaluate the heuristic.  Still, the theoretical support for the allocation is weaker than advertised for real caches.  The authors should measure D_emp(t) for a couple of layers and report whether the gains are monotonic.\n\nOther soft spots: the GPU eval is single-layer with a restricted reader and doesn’t demonstrate end-to-end throughput advantage (which the paper notes).  The attention-error certificate (Thm 3) involves unmeasured correlation factors, so it’s an offline bound, not a practical guide.  These are all acknowledged, so they don’t undermine the paper’s central empirical and theoretical claims.\n\nThe paper deserved a serious referee.  It presents a novel idea, supports it with both theory and careful experiments, and is honest about what’s not yet done.  The allocation condition is a real but limited gap that can be fixed with a short empirical appendix.\n\nRecommendation: accept for peer review.  Ask the authors to empirically verify the diminishing-gains condition on real KV residuals for a representative layer.  The separation theorems and the empirical (8,4) results are solid enough to carry the paper either way.","headline":"ReadKV introduces a genuinely new idea—separate storage and read budgets for KV caches with query-adaptive progressive reading—backed by solid theory and thorough experiments; the main soft spot is that the allocation optimality guarantee relies on a diminishing-gains condition not verified on real LLM residuals.","tokens_in":51439,"tokens_out":1693,"duration_ms":16302},"pith_extraction":{"msc":["68T07","94A24","94A34"],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"Separating stored bits from fetched bits in the KV cache allows query-dependent reading that matches full-precision attention with a quarter of the memory traffic and half the retained capacity.","keywords":["KV cache compression","query-adaptive quantization","progressive codes","attention","LLM inference","successive refinement","greedy allocation","separation theorem"],"falsifier":"Compute the calibration factors γK,h and γV,h and the residual correlation factors κK,h and κV,h for a real LLM cache (e.g., Qwen2.5-7B on LongBench) using full-precision residuals and the ReadKV reconstruction. If any of these factors exceed a practical bound (say, >10) for a significant fraction of layers and queries, the attention-error certificate would become vacuous and the surrogate objectives would not reliably control output error, contradicting the claim that the method provides inspectable guarantees.","tokens_in":52068,"feed_emoji":"📉","tokens_out":2750,"duration_ms":29062,"temperature":0.7,"pith_summary":"KV-cache entries are written before their future queries are known, but each query needs precision in different places. ReadKV stores each key and value in a progressive binary code (a Gaussian Lloyd tree) whose longer prefixes give finer reconstructions. At query time, the first batch reads key-channel prefixes selected by the query; reconstructed keys determine the attention weights, which then select value-token prefixes in a second batch. Stored entries remain unchanged—unread refinements stay available for later queries. The paper proves that on constructed finite-dimensional families, query-dependent reading strictly outperforms every query-independent branching reader at the same read budget, even when the competitor uses an arbitrary encoder and decoder. Empirically, ReadKV with eight stored bits and four fetched bits stays within 0.66% of uncompressed C4 perplexity across six LLMs while using about one quarter of the logical reads and half the retained capacity of a 16-bit cache. The method also shows lower latency and DRAM traffic than a fused quantized codec in a single-layer benchmark.","feed_headline":"Cache reads drop 62-65% while matching full precision perplexity","feed_subtitle":"ReadKV stores more bits than it fetches, letting each query choose what precision to read—within 0.66% of uncompressed C4 with a quarter…","key_machinery":"The central mechanism is the **two-stage query-adaptive reader** paired with a **progressive scalar code** (a binary Gaussian Lloyd tree). The code stores a W-bit path for each transformed scalar; any prefix of that path yields a valid reconstruction with diminishing refinement gains. At query time, the first stage uses the squared query coefficient times calibrated channel scales as an importance weight to allocate key-channel prefixes via a greedy marginal-gain rule (ChooseDepths). After reconstructing keys and computing softmax attention, the second stage uses the squared reconstructed attention probabilities as importance weights to allocate value-token prefixes via the same rule. This staged design is what enables query-dependent reading: different queries can fetch different prefixes from the same unchanged stored record. The allocation rule's optimality under diminishing gains and its relation to attention-output error (through calibration factors and residual Gram matrices) is what carries the argument from the design to the guarantee.","core_discovery":"The core claim is that query-dependent access to a fixed progressive code can provide strictly better accuracy than every query-independent reader at the same read budget, and that this gain persists through the causal key-then-value attention computation. The paper establishes this with two finite-dimension separation theorems: Theorem 1 shows that a query-dependent key reader beats any branching reader that cannot use the query, even with unrestricted encoding and decoding; Theorem 2 extends the separation to the complete two-stage attention output. Beyond these theoretical separations, the paper proves that ReadKV's greedy prefix allocation is stagewise optimal (Theorem 3) and gives a deterministic attention-error certificate that accounts for calibration mismatch and residual correlation through explicit factors. The practical discovery is that storing eight bits but reading only four—decoupling retained capacity from fetched payload—yields perplexity within 0.66% of the 16-bit baseline while using a quarter of the logical reads and half the retained capacity, and that this quality holds across six different LLM families.","pith_inferences":["The separation theorems (Theorems 1 and 2) rely on constructed input families (transformed-sparse queries and a two-key attention instance) rather than random or natural inputs. This means the result shows existence of a gap, not that the gap is large or typical. An interesting extension would be to characterize the gap on random inputs from a natural distribution over LLM activations.","Because the allocation rule is only stagewise optimal (not jointly optimal over keys and values), there may be a strictly better joint allocation that uses the key budget differently when it anticipates the value budget. An end-to-end allocation rule that backpropagates the value objective through the attention softmax to the key allocation might further improve quality.","The GPU reader's restrictions (per-head budgets, equal K/V rates, minimum depth one) are shown to account for most of the quality gap at low read budgets. This identifies a clear engineering target: a fused kernel that supports flexible per-head K/V splits and zero depth is likely to close the gap to the flexible reader while retaining latency and traffic improvements.","The approach could be applied to multi-head attention where some heads share KV caches (grouped-query attention) by defining the importance weights to combine contributions from all query heads that share a physical KV head. The paper already does this, but the benefit might be larger when the number of query heads is much larger than the number of KV heads."],"forward_implications":["LLM serving systems can use ReadKV to serve longer contexts or larger batches at the same memory capacity, because stored bits (which limit concurrency) are decoupled from fetched bits (which limit per-step bandwidth).","Fixed-rate KV-cache quantization will be shown to be fundamentally limited compared to methods that adapt per-query read depth, because a query-independent reader cannot match the accuracy of a query-dependent reader even with an arbitrarily good encoder and decoder.","The progressive code and marginal-gain allocator can be applied to other write-once, read-many structures in machine learning, such as gradient checkpoints or activation caches, where different downstream reads need precision in different places.","The attention-error certificate (Theorem 3) provides a concrete way to validate ReadKV in a deployment: compute calibration factors γ and residual correlation κ on a held-out cache; if they are bounded, the output error is bounded by a known linear combination of the optimized objectives."],"supporting_citations":[{"why":"Provides the Gaussian Lloyd tree used as the progressive code, establishing the nested binary quantization structure.","marker":"Lloyd, 1982"},{"why":"SparQ is the primary query-adaptive baseline that selects key features before retrieving value tokens; ReadKV is compared against it and outperforms it on C4 perplexity across six models.","marker":"Ribar et al., 2024"},{"why":"KIVI is a leading fixed-rate KV cache quantizer; ReadKV is compared against its 2-bit and 4-bit variants on C4 and LongBench.","marker":"Liu et al., 2024"},{"why":"TurboQuant provides a fused quantized codec baseline with rotation and vector-aware scalar quantization; ReadKV is compared on C4, LongBench, and GPU latency.","marker":"Zandieh et al., 2026"},{"why":"Supplies the information-theoretic background on successive refinement, justifying the use of progressive codes that are decodable at multiple rates.","marker":"Equitz and Cover, 1991"},{"why":"Described as the closest systems precedent, retaining several KV precision tiers and selectively retrieving bit planes; ReadKV extends this with a full progressive code and per-query read budget allocation.","marker":"Xie et al., 2025"},{"why":"Provides the entropy–MMSE inequality used in the lower bounds of Theorems 1 and 2.","marker":"Cover and Thomas, 2006"}],"fun_headline_variants":["Store 8 bits, read 4: each query picks its own precision","Query-adaptive KV cache reads cut bandwidth by 62–65%","Theorem: query-dependent access beats every fixed reader","Decouple storage from reads: same perplexity, quarter the traffic","ReadKV: store more, fetch less, let attention decide what matters"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The calibrated distortion curve D(t) is estimated from a standard Gaussian and may not match the realized residual energy in actual LLM caches; the attention-error certificate depends on calibration factors γ and residual correlation κ being finite, which is not guaranteed for all caches and queries.","fun_headline_variants_meta":{"raw":{"variants":["Store 8 bits, read 4: each query picks its own precision","Query-adaptive KV cache reads cut bandwidth by 62–65%","Theorem: query-dependent access beats every fixed reader","Decouple storage from reads: same perplexity, quarter the traffic","ReadKV: store more, fetch less, let attention decide what matters"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000171,"raw_usage":{"cost":0.0001712711,"is_byok":false,"cost_details":{"upstream_inference_cost":0.0001712711,"upstream_inference_prompt_cost":9.67659e-05,"upstream_inference_completions_cost":7.45052e-05},"total_tokens":1475,"prompt_tokens":1065,"completion_tokens":410,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":318}},"tokens_in":1065,"tokens_out":410,"cost_source":"openrouter_usage","duration_ms":5452,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":318,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-10-11T01:13:11.551102+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Compute the calibration factors γK,h and γV,h and the residual correlation factors κK,h and κV,h for a real LLM cache (e.g., Qwen2.5-7B on LongBench) using full-precision residuals and the ReadKV reconstruction. If any of these factors exceed a practical bound (say, >10) for a significant fraction of layers and queries, the attention-error certificate would become vacuous and the surrogate objectives would not reliably control output error, contradicting the claim that the method provides inspectable guarantees.","supporting_citations":[{"cited_title":"SparQ attention: Bandwidth-efficient LLM inference","cited_arxiv_id":null,"evidence_quote":"SparQ is the primary query-adaptive baseline that selects key features before retrieving value tokens; ReadKV is compared against it and outperforms it on C4 perplexity across six models."},{"cited_title":"Turboquant: Online vector quantization with near-optimal distortion rate","cited_arxiv_id":null,"evidence_quote":"TurboQuant provides a fused quantized codec baseline with rotation and vector-aware scalar quantization; ReadKV is compared on C4, LongBench, and GPU latency."},{"cited_title":"Reimagining Memory Access for LLM Inference: Compression-Aware Memory Controller Design","cited_arxiv_id":"2503.18869","evidence_quote":"Described as the closest systems precedent, retaining several KV precision tiers and selectively retrieving bit planes; ReadKV extends this with a full progressive code and per-query read budget allocation."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}