Abstract: The theoretical link from head identification to retention performance is examined together with the released classification logic. The lower bound in Theorem 1 is algebraically independent of head-classification accuracy, contrary to its accompanying interpretation. The preceding generalization lemma also lacks the assumptions and probability-to-classification link needed for the stated guarantee. These materially limit the theoretical justification, without refuting the reported empirical speedups. A separate later-source sweep-state issue is demonstrated by an independent finite calculation.

Author: AI-assisted technical review

Title: Technical Verification of
CateKV: On Sequential Consistency for Long-Context LLM Inference Acceleration

# Identity and scope

Jiang et al., CateKV: On Sequential Consistency for Long-Context LLM Inference Acceleration, ICML 2025, I25-43744, is inspected in its 17-page proceedings version [paper]. The main article and Appendices A–B were read; references were not independently authenticated. The later public repository is pinned at `762c15810d31d320889b6d6485ec11381d7a6ff6`, 10 October 2025 [code]. Source review is restricted to the static head-mask construction, CV scoring and selected cache operations. No model, author program or benchmark was executed. Page references are physical PDF pages.

# P1: the proposed theoretical dependence collapses

Location and classification. Section 3.3, Theorem 1, Eq. (7), and Remark 1, p. 5. Major for the stated theoretical justification; not a demonstrated empirical failure.

The theorem defines \(r_{i,j}=\eta_i^*\mathbf1[\eta_j>\eta_i^*]+\eta_j(1-\mathbf1[\eta_j>\eta_i^*])\), which is exactly \(\min(\eta_i^*,\eta_j)\), including ties. Consequently, \[\begin{aligned}
\min(r_{1,1},r_{2,2})&=\min(\eta_1^*,\eta_1,\eta_2^*,\eta_2),\\
\min(r_{2,1},r_{1,2})&=\min(\eta_2^*,\eta_1,\eta_1^*,\eta_2).\end{aligned}\] The two quantities are identical. Their difference, which multiplies \(P_{\rm head}\) in Eq. (7), is identically zero. The lower bound therefore reduces to \[P_{\rm token}\ge \lambda\min(\eta_1^*,\eta_2^*,\eta_1,\eta_2).\] For example, \((\eta_1^*,\eta_2^*,\eta_1,\eta_2)=(0.02,0.8,0.01,1)\) gives \((r_{1,1},r_{2,2},r_{2,1},r_{1,2})=(0.01,0.8,0.01,0.02)\) and the same lower bound for every classification accuracy. The independent script checks the cancellation on 10,000 random ratio quadruples; the preceding algebra establishes it for all ratios.

Remark 1 explicitly lists \(P_{\rm head}\) as a factor influencing this worst-case lower bound. That conclusion does not follow from the bound as defined. The inequality itself can remain a true, very loose lower bound under the assumed probabilistic model; it is the asserted sensitivity that fails. Even imposing the natural ordering of consistent/adaptive budgets cannot remove the cancellation. The fuller weighted expression may depend on the individual confusion probabilities, but it does not rescue a claim about the displayed minimum-based lower bound. A repair requires a sharper conditional model or a narrower statement, not merely rearranging the displayed expression. No replacement performance theorem is claimed here.

# P2: the generalization step does not establish head accuracy

Location and classification. Lemma 1, Eq. (6), and transition to Theorem 1, p. 5. Major theoretical evidence gap, connected to P1.

The original page was inspected visually: the logarithm is \(\log(2/\delta)\), not \(\log(2\delta)\). However, its confidence term is printed outside the probability parentheses. If this is a typesetting error and the term is moved inside the deviation event, further assumptions are still needed. The function class is said to be induced by binary cross-entropy, without a stated bounded-loss/clipped-probability condition, tail control, or a specified probabilistic prediction map from CV scores. No iid sampling assumption and no loss-to-classification calibration argument is supplied in that section or the available appendix.

To illustrate why an unrestricted binary-cross-entropy claim is insufficient, consider a singleton probabilistic predictor \(g=\exp(-100)\) and iid labels with \(\Pr(Y=1)=0.01\). Positive-label loss is 100 and negative-label loss is \(-\log(1-e^{-100})\approx e^{-100}\). For \(N=100\), the event of observing no positive label has probability \(0.99^{100}\approx0.366\). On this event the empirical loss is essentially zero, while the population loss is essentially one. The standard signed conditional Rademacher average of a singleton class is zero; the printed confidence magnitude at \(\delta=0.05\) is \(\sqrt{\log(40)/100}\approx0.192\). Thus a generic deviation guarantee with that range-free penalty cannot hold with 95% confidence. The literal outside-parentheses reading likewise gives about \(0.634+0.192=0.826<0.95\) in this example. This is a counterexample to the unrestricted loss-bound justification, not a claim that CateKV’s particular reference data have this distribution. A more restricted CV-induced class would need to be defined and shown to exclude it.

Moreover, confidence over reference-sample draws in a uniform-convergence event is not the same random quantity as accuracy of a classifier on new heads. The paper reuses \(P_{\rm head}\) for these roles and then sets \(P_1+P_2=P_{\rm head}\). Even a corrected concentration theorem must be connected to true type labels, a classification rule, and an appropriate risk bound before that substitution is justified. A defensible repair would specify the sampling and loss model, state a valid bounded or tail-controlled risk theorem, and derive the needed classification statement separately. That repair has not been completed by this review.

# P3: later static sweep mixes earlier ratios

Location and classification. `select_headmask/static.py`:40–83 in the pinned release. Minor implementation issue; its effect on published results is Needs Evidence.

The list `selected_matrices` is initialized once per subfolder, before the loop over `alphas`. Each ratio appends its sample-wise thresholded masks to that same list. Later ratios therefore use all previous ratios’ masks as well as their own. A one-ratio call is unaffected. For three samples with four-head score vectors \((0,1,2,3)\), \((0,2,1,3)\), \((3,0,1,2)\), ratio 0.25 gives counts \((2,1,0,0)\), and an independent ratio-0.5 calculation gives \((2,2,2,0)\). The accumulated version instead uses \((4,3,2,0)\) and selects a different final mask under the source’s threshold rule. The independent check reproduces only this arithmetic, without importing the author file. Reinitialize the list inside the ratio loop to remove the history dependence, and specify tie handling if exactly a prescribed fraction is required. Historical mask files and their generating invocation were not authenticated, so this is not evidence that the paper’s reported ablations used the contaminated masks.

# Other checks and interpretation limits

The source CV path in `models/kv_cache.py`:640–696 uses a two-quantile threshold, a chunkwise maximum, then column-frequency CV with a zero-mean guard. The paper’s Eq. (2)–(4) is a tokenwise formulation. These differences may be implementation refinements; the later commit does not establish historical equivalence. Selected cache logic preserves initial/recent tokens and appends generated tokens, consistent with the general hybrid approach; exhaustive cache correctness was not checked.

Simple storage arithmetic gives \(0.4+0.6(2048/131072)=0.409375\), compatible with the approximately 41% KV fraction at 128K, before extra buffers and token bookkeeping. Table 4’s \(77.72/28.59=2.718\), \(54.28/24.86=2.183\) and \(909.69/229.37=3.966\) reproduce the highlighted rounded ratios. These are consistency checks on printed numbers, not new performance measurements. Figure 6 explicitly marks and discloses extrapolated OOM points; those points were not treated as measured runs. Figure 3’s sample overlap and Figure 9’s heatmaps support descriptive examples, not a distribution-free guarantee. The static source and main paper do not define ground-truth head labels sufficient to evaluate the claimed classification probability in Lemma 1.

Source pages 4, 5, 8 and 16 were actually viewed, including Figures 3, 4, 6, 7 and 9. Other figures were read through their captions and related text; full NIAH images and raw outputs were not independently checked. The appendices provide experimental details and results, not a missing derivation resolving P1/P2. The acquisition record reports OpenReview 403 without bypass. No subsequent erratum, experimental revision mapping, model weights or raw performance data were established.

# Conclusion

The overall assessment is Major within the theoretical justification: the proposed bound has no dependence on head accuracy, and the preceding generalization argument lacks a valid bridge to that accuracy. This does not negate the empirical method or its printed performance gains. P3 is a separate later-release issue with unknown historical impact. The algebraic cancellation and finite sweep example are verified; a new theorem and empirical re-evaluation remain unverified. Author adoption is unknown, scientific adjudication is pending, and human reviews are empty.

9 Haoyun Jiang, Haolin li, jianwei zhang, Fei Huang, Qiang Hu, Minmin Sun, Shuai Xiao, Yong Li, Junyang Lin, Jiangchao Yao. CateKV: On Sequential Consistency for Long-Context LLM Inference Acceleration. Proceedings of ICML, PMLR 267 (2025). Published proceedings version. https://proceedings.mlr.press/v267/jiang25e.html. CateKV later public source, pinned 2025-10-10 revision. https://github.com/haoyun-jiang/CateKV/tree/762c15810d31d320889b6d6485ec11381d7a6ff6.

# Supporting checks

The independent calculations are in and their actual output in . No author program was executed. The initial report has received a fresh, focused independent AI check; claim-level reasoning and its limits are recorded in the findings and coverage files. Scientific adjudication remains pending; no human review or author adoption is represented. Backend identity was not independently attested.
