- Rating
- 3
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
This paper proposes Thinformer Express, an approximate causal attention method built on streaming kernel thinning / coreset construction. The core idea is a meta-procedure, EXPRESS, that converts any sub-Gaussian halving algorithm into a streaming sub-Gaussian thinning algorithm, thereby extending the unmasked Thinformer guarantees of Carrell et al. to the causal setting. Concretely, the full causal KV cache is replaced with a smaller weighted coreset of bounded size (at most ), aiming to reduce long-context attention memory and computation.
Theoretically, the paper analyzes EXPRESS and derives an attention-output approximation guarantee controlling errors such as where is the exact causal attention output and is the compressed-cache approximation. A central claim is that the compression overhead is sub-quadratic and that the sub-Gaussian constant is preserved up to a factor, yielding only logarithmic-in- degradation from the streaming construction. Empirically, the paper reports favorable speed / cache-size vs. quality trade-offs across long-context prefill, KV-cache compression, perplexity, memory-efficient decoding, and accelerated long-form decoding, including an 82× prefill speedup over FlashAttention 2 at 512k tokens and matching exact-attention accuracy on MATH-500 with 61% of the cache.
Overall, the problem is important, the algorithmic framework is elegant, and the breadth of experiments is commendable. My main reservation concerns whether the headline theoretical guarantee is practically meaningful at the sequence lengths studied, and whether the claimed logarithmic dependence on is actually reflected in real transformer activations. I currently lean toward weak reject, but could be moved upward by stronger empirical validation of the theory.
Strengths and weaknesses
Strengths
1. Principled connection between streaming coresets and causal attention
The paper provides a theoretically motivated route to causal attention approximation via streaming kernel thinning. Compared with heuristic KV-eviction or sparsification rules (e.g., SnapKV, StreamingLLM), the method rests on a clearer algorithmic foundation, comes with per-token accuracy guarantees, and is naturally suited to autoregressive inference. The reduction from a streaming problem to a halving primitive is clean and modular, and the explicit comparison to HyperAttention and BalanceKV is helpful for situating the contribution.
2. Constant memory and genuinely sub-quadratic compression overhead
A notable theoretical strength is that the maximum cache size is , independent of , and the compression overhead is
with only logarithmic explicit dependence on . This compares favorably to the overhead of BalanceKV, and the improvement is meaningful at heavy compression ratios (e.g., ).
3. Broad, multi-faceted empirical evaluation
Rather than reporting speed alone, the paper consistently presents quality-efficiency trade-offs across four distinct deployment scenarios and pairs the method with several existing KV-compression pipelines as a drop-in replacement. The I/O-aware Triton implementation and the demonstration that query cost dominates compression cost (35k ms vs. 470 ms for ) lend credibility to the practicality claims.
Weaknesses / Concerns
1. Practical relevance of the logarithmic dependence on is unclear
My primary concern is the gap between the compression guarantee and the end-to-end attention-output guarantee. While the streaming construction contributes only logarithmic degradation, the full bound in Theorem 3 carries additional norm-dependent factors. In particular it depends on
through a factor of the form where is the per-head query/key dimension. Since is typically modest in practice (e.g., 64 or 128), this exponential factor may be large, and is itself a prefix maximum that can grow with . The -boundedness assumption () used in the literature comparison effectively folds this growth into , so the asymptotic comparisons may understate the constants that matter at finite . The paper should clarify whether remains moderate in real models and whether the resulting bound is non-vacuous at the context lengths evaluated.
2. The predicted error scaling is not directly validated
The experiments report downstream metrics (perplexity, accuracy, runtime, cache size), which are valuable but indirect. None of them directly tests the theoretical prediction that approximation error accumulates slowly (logarithmically) with sequence length. A direct and inexpensive experiment would be to measure the realized attention-output error as a function of context position under a fixed compression budget , and to overlay the observed curve against (and against, e.g., polynomial alternatives). This would establish whether the theory actually explains the strong empirical behavior, or whether the empirical gains stem from properties the bound does not capture.
3. The analysis is open-loop, but the flagship decoding experiment is closed-loop
The guarantee in Theorem 3 treats the sequence as a fixed, exogenous input and bounds the per-token error for that fixed stream. In autoregressive generation, however, each new token is produced by the model conditioned on the approximate output . The inputs are therefore endogenous to the approximation: a small error at step perturbs the query/key/value distribution at step , and these perturbations may compound nonlinearly over thousands of generated tokens. The fixed-input analysis says nothing about this feedback loop.
This matters because the long-form decoding results (Fig. 3, MATH-500) are exactly the closed-loop regime, and the experimental setup (line 638) computes the prefill KV cache exactly and applies the approximation only during decoding. The headline accuracy claims thus live precisely where the theory does not apply. I would encourage the authors to either (a) extend the analysis to bound error accumulation under closed-loop generation, or (b) clearly delineate that Theorem 3 is a single-step, fixed-input statement and discuss why it should be expected to predict end-to-end generation quality.
4. Bounded-norm assumptions are in tension with attention sinks / massive activations, as suggested by the paper's own use of n_sink
The kernel (Eq. 3) and the bound in Theorem 3 depend on prefix maxima,
\qquad v_{\max}=\max_{i\le n}\|v_i\|_\infty,$$ so a *single* outlier token inflates the guarantee for the entire sequence. This is not a corner case in modern Transformers: attention-sink tokens and "massive activation" phenomena routinely produce keys/values whose norms exceed the median by orders of magnitude, and such tokens both dominate $R_n,\,v_{\max}$ and are disproportionately likely to be discarded or down-weighted by a thinning procedure. Tellingly, the authors set `n_sink=32` and `n_window=32` in nearly all downstream configurations (Tables K.3–K.5), explicitly protecting sink and recent tokens from compression. This suggests the principled coreset alone may struggle with exactly the high-norm tokens that govern the bound. I would ask the authors to (a) report the empirical distribution of $R_n$ and $v_{\max}$ across layers and heads in a real model, and (b) ablate `n_sink` / `n_window` (including `n_sink=0`) to disentangle how much of the reported quality stems from the coreset construction versus from the heuristic sink/window protection. If quality degrades substantially at `n_sink=0`, the theoretical contribution is doing less explanatory work than the framing implies.Questions
-
Can you directly validate the predicted slow error growth by plotting against context position at fixed , and comparing to a reference? (Concern 2)
-
How large is in real models across layers, heads, prompts, and context lengths, and what is the resulting magnitude of at, say, ? Does grow with empirically, and if so, how does that interact with the claimed logarithmic dependence? (Concern 1)
-
Since the MATH-500 decoding results are closed-loop while Theorem 3 is a fixed-input statement, do you observe error compounding over the generated sequence? Can you measure (or a downstream divergence) as generation proceeds, and comment on whether the single-step bound is expected to predict end-to-end quality? (Concern 3)
-
What are the empirical distributions of and across layers and heads, and how much do they concentrate on sink / high-norm tokens? (Concern 4)
-
Can you ablate
n_sinkandn_window(including then_sink=0setting) across the prefill, KV-compression, and decoding experiments, to separate the contribution of the principled coreset from that of the heuristic sink/window protection? (Concern 4)
Limitations
yes
Paper formatting concerns
No
Thank you for your thoughtful and constructive review. We were delighted that you found our problem important, our reduction clean and modular, our algorithmic framework elegant, our improvements over prior work meaningful, and our experiments broad and multifaceted. We address each point raised below.
Directly validating error scaling: Thank you for this excellent suggestion! We have now conducted a new experiment directly comparing the output of Thinformer Express o^n with the output of exact attention on as n ranges from 22 to 219 and h ranges from 7 to 10 in the prefill approximation setting. We sample the queries, keys, and values from the embedding matrix of the ChatGLM2-6B-32K model and report the median of the scaled maximum error maxj≤n∥o^j−oj∥∞/lognloglogn across the 32 heads. Notably, for each h, the scaled maximum error remains uniformly bounded in n, in line with the O(lognloglogn) growth rate for maxj≤n∥o^j−oj∥∞ predicted by Thm. 3.
Vector magnitudes: In the revision we will report the query γ-boundedness parameter (γ(n)≜maxi∈[n]∥qi∥22/(dlogn)) of Sec. 3.2 and the key γ-boundedness parameter (γ(n)≜maxi∈[n]∥ki∥22/(dlogn)) which decrease with n as desired. Below we report the median and interquartile range of the query/key γ(n) and vmax(n)≜maxi∈[n]∥vi∥∞ across all layers, all heads, and the first 10 sequences of the experiment in Fig. 1c.
query γ(n):
key γ(n):
vmax(n):
Attention sinks: We will clarify in the revision that it is now standard practice in attention approximation and KV cache compression to retain attention sinks and to compress only the remaining tokens and that StreamingLLM, ExpectedAttention, and our HyperAttention baseline all follow this convention. Rather than a phenomenon at odds with our approach, we view the well-known presence and location of attention sinks as a straightforward opportunity to improve both the guarantees and the practical performance of our approach. This is true more generally whenever one knows in advance that certain (key,value) pairs are likely to be important contributors to attention; in such cases, one can simply include those tokens in the express cache and continue compressing the remaining tokens. Note, in particular, that keys with abnormally large norms can be detected in linear time and in a streaming fashion, and excluding such keys from compression has the direct effect of reducing the Rn penalty in our guarantees. Our prior knowledge concerning attention sinks at the start of each sequence is doubly beneficial as, in our experiments, sinks in the first 32 tokens have relatively small vector norms, falling in the bottom 36% of all keys and 45% of all values on average.
That said, we are also happy to include analogous experiments without attention sinks in the revision. For example, we have recreated the masked prefill (n=32768) experiment with n_sink=n_window=0 and find that both settings of Thinformer Express still preserve exact perplexity well and better than the state-of-the-art HyperAttention approximation.
Closed vs. open-loop: Thank you for raising this important point! In the revision, we will clarify (1) that we adopt the same fixed-input approximation setting studied in Streaming Attention Approximation via Discrepancy Theory (NeurIPS 2025), (2) that the fixed-input approximation setting exactly matches the prefill causal attention approximation problem (studied in our first two experiments), and (3) that the fixed-input approximation guarantees do not directly bound the end-to-end error of multistep generations, as the input tokens for later steps are not determined in advance but rather generated by the approximate model. Nevertheless, we find that Thinformer Express yields better memory-vs-quality and time-vs-quality tradeoffs than five leading alternatives in our two longform decoding experiments.