potentialpaper

Express Language Modeling

Albert Gong, Annabelle Michael Carrell, Raaz Dwivedi, Lester Mackey

Efficient Reasoning @ COLM 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Express provides state-of-the-art causal attention guarantees, an efficient I/O-aware Triton implementation, and practical improvements for prefill, cache compression, and decoding.

Abstract. We introduce a new tool, Express, for converting a non-causal attention approximation into a causal approximation with matching approximation guarantees. When combined with the state-of-the-art Thinformer approximation, Express improves upon the best known causal attention guarantees, delivering log⁡3/2(n)/s\log^{3/2}(n)/s approximation error with only O(s)O(s) memory and O(s2log⁡2(n))O(s^2 \log^2(n)) compression overhead for a sequence of length nn. We pair these developments with an efficient I/O-aware Triton implementation, demonstrate substantial speedups over FlashAttention 2, and use Express to accelerate three distinct components of the language modeling pipeline: long-context prefill, KV cache compression, and long-form decoding.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
23 Jun 2026CBW @ COLM 2026submittedCBW @ COLM 2026Accepted · Poster—[1]
30 Jun 2026MOSS @ COLM 2026submittedMOSS @ COLM 2026Accepted—[1]
30 Jun 2026Efficient Reasoning @ COLM 2026submittedEfficient Reasoning @ COLM 2026Accepted · Oral—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper introduces Express, a streaming procedure that converts a non-causal thinning-based attention approximation into a causal approximation maintained in a fixed-size weighted cache. Combined with Thinformer, it gives improved guarantees for causal attention and an I/O-aware Triton implementation for long-context prefill, KV-cache compression, and long-form decoding.

I find the paper interesting, and the reviewers generally view it positively, valuing the combination of theory and implementation. Reviewer kZd2 questions whether the main error bound is informative for realistic activation norms and asks for direct empirical validation of how the error changes with sequence length. Reviewer BvY2 questions how representative the headline speedups are and asks for comparisons at matched accuracy and cache size away from the most favorable operating points. Reviewer VaHG raises similar questions about cache size, accuracy, and runtime. Addressing these questions would clarify the practical meaning of the theory and the strength of the empirical evidence.

Update. Following the author response and subsequent discussion, I recommend acceptance. The authors provided several additional comparisons and ablations; Reviewer BvY2 acknowledged that the requested empirical comparison was supplied. Reviewer VaHG remained concerned that the bound in Theorem 3 may be numerically loose for realistic activations; Reviewer kZd2 raised the same concern but did not provide a post-rebuttal update. In my view, such looseness is common in worst-case theoretical guarantees (e.g., uniform-convergence bounds) and does not by itself negate their theoretical or practical value. No reviewer identified a concrete correctness error, and the paper still provides a meaningful theoretical reduction and improved asymptotic guarantees. The final version should incorporate the new evidence and clearly mention limitations. Subject to these revisions, my final recommendation is Accept.

Final justification

See meta review

Area Chair 99Ct · Meta-reviewOpenReview ↗
Final justification
See meta review
Read meta-review
Meta-review

The paper introduces Express, a streaming procedure that converts a non-causal thinning-based attention approximation into a causal approximation maintained in a fixed-size weighted cache. Combined with Thinformer, it gives improved guarantees for causal attention and an I/O-aware Triton implementation for long-context prefill, KV-cache compression, and long-form decoding.

I find the paper interesting, and the reviewers generally view it positively, valuing the combination of theory and implementation. Reviewer kZd2 questions whether the main error bound is informative for realistic activation norms and asks for direct empirical validation of how the error changes with sequence length. Reviewer BvY2 questions how representative the headline speedups are and asks for comparisons at matched accuracy and cache size away from the most favorable operating points. Reviewer VaHG raises similar questions about cache size, accuracy, and runtime. Addressing these questions would clarify the practical meaning of the theory and the strength of the empirical evidence.

Update. Following the author response and subsequent discussion, I recommend acceptance. The authors provided several additional comparisons and ablations; Reviewer BvY2 acknowledged that the requested empirical comparison was supplied. Reviewer VaHG remained concerned that the bound in Theorem 3 may be numerically loose for realistic activations; Reviewer kZd2 raised the same concern but did not provide a post-rebuttal update. In my view, such looseness is common in worst-case theoretical guarantees (e.g., uniform-convergence bounds) and does not by itself negate their theoretical or practical value. No reviewer identified a concrete correctness error, and the paper still provides a meaningful theoretical reduction and improved asymptotic guarantees. The final version should incorporate the new evidence and clearly mention limitations. Subject to these revisions, my final recommendation is Accept.

1 comment
Authors · CommentOpenReview ↗

Thank you for your work in chairing our review process! We were delighted that the reviewers found our paper well-written (VaHG); our problem important (kZd2), well-formulated (VaHG), and well-motivated (VaHG); our reduction clean and modular (kZd2); our algorithmic framework elegant (kZd2); our method general (BvY2); the usefulness well-supported (BvY2); our improvements over prior work meaningful (kZd2); and our experiments very strong (VaHG), broad (kZd2), and multifaceted (kZd2). We have addressed each reviewer point raised in separate responses below and are happy to discuss any point further.

Reviewer kZd2OpenReview ↗
Rating
3/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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 6nout6n_{\text{out}}), 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 ∥o^j−oj∥∞,\|\hat{o}_j-o_j\|_\infty, where ojo_j is the exact causal attention output and o^j\hat{o}_j 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 Θ(log⁡n)\Theta(\sqrt{\log n}) factor, yielding only logarithmic-in-nn 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 nn 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 6nout6n_{\text{out}}, independent of nn, and the compression overhead is

O(d nout2log⁡(nout)log⁡(n/nout)),O(d\,n_{\text{out}}^2 \log(n_{\text{out}})\log(n/n_{\text{out}})),

with only logarithmic explicit dependence on nn. This compares favorably to the $Θ(d n noutlog⁡(n/nout))\Theta(d\,n\,n_{\text{out}}\log(n/n_{\text{out}}))$ overhead of BalanceKV, and the improvement is meaningful at heavy compression ratios (e.g., nout=nn_{\text{out}}=\sqrt{n}).

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 h=10h{=}10) lend credibility to the practicality claims.

Weaknesses / Concerns

1. Practical relevance of the logarithmic dependence on nn 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

Rn=max⁡i≤nmax⁡(∥qi∥2,∥ki∥2),R_n = \max_{i\le n}\max(\|q_i\|_2,\|k_i\|_2),

through a factor of the form exp⁡(2Rn2d),\exp\left(\frac{2R_n^2}{\sqrt d}\right), where dd is the per-head query/key dimension. Since dd is typically modest in practice (e.g., 64 or 128), this exponential factor may be large, and RnR_n is itself a prefix maximum that can grow with nn. The γ\gamma-boundedness assumption (Rn2≤γdlog⁡nR_n^2 \le \gamma\sqrt{d}\log n) used in the literature comparison effectively folds this growth into γ\gamma, so the asymptotic comparisons may understate the constants that matter at finite nn. The paper should clarify whether Rn2/dR_n^2/\sqrt{d} remains moderate in real models and whether the resulting bound is non-vacuous at the context lengths evaluated.

2. The predicted log⁡n\log n 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 ∥o^j−oj∥∞\|\hat{o}_j-o_j\|_\infty as a function of context position jj under a fixed compression budget noutn_{\text{out}}, and to overlay the observed curve against log⁡j\log j (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 (qi,ki,vi)i=1n(q_i,k_i,v_i)_{i=1}^n as a fixed, exogenous input and bounds the per-token error ∥o^j−oj∥∞\|\hat{o}_j-o_j\|_\infty for that fixed stream. In autoregressive generation, however, each new token (qj+1,kj+1,vj+1)(q_{j+1},k_{j+1},v_{j+1}) is produced by the model conditioned on the approximate output o^j\hat{o}_j. The inputs are therefore endogenous to the approximation: a small error at step jj perturbs the query/key/value distribution at step j+1j+1, 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 κatt\kappa_{\text{att}} (Eq. 3) and the bound in Theorem 3 depend on prefix maxima,

Rn=max⁡i≤nmax⁡(∥qi∥2,∥ki∥2),vmax⁡=max⁡i≤n∥vi∥∞,R_n=\max_{i\le n}\max(\|q_i\|_2,\|k_i\|_2), \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 Rn, vmax⁡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 RnR_n and vmax⁡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
  1. Can you directly validate the predicted slow error growth by plotting ∥o^j−oj∥∞\|\hat{o}_j-o_j\|_\infty against context position jj at fixed noutn_{\text{out}}, and comparing to a log⁡j\log j reference? (Concern 2)

  2. How large is Rn2/dR_n^2/\sqrt{d} in real models across layers, heads, prompts, and context lengths, and what is the resulting magnitude of exp⁡(2Rn2/d)\exp(2R_n^2/\sqrt{d}) at, say, n=512kn = 512\text{k}? Does RnR_n grow with nn empirically, and if so, how does that interact with the claimed logarithmic dependence? (Concern 1)

  3. 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 ∥o^j−oj∥∞\|\hat{o}_j-o_j\|_\infty (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)

  4. What are the empirical distributions of RnR_n and vmax⁡v_{\max} across layers and heads, and how much do they concentrate on sink / high-norm tokens? (Concern 4)

  5. Can you ablate n_sink and n_window (including the n_sink=0 setting) 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

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

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\hat{\boldsymbol{o}}_n with the output of exact attention on\boldsymbol{o}_n as nn ranges from 222^2 to 2192^{19} and hh 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 max⁡j≤n∥o^j−oj∥∞/log⁡nlog⁡log⁡n\max_{j\leq n} \|\hat{\boldsymbol{o}}_j - \boldsymbol{o}_j\|_{\infty}/ \sqrt{\log n \log\log n} across the 32 heads. Notably, for each hh, the scaled maximum error remains uniformly bounded in nn, in line with the O(log⁡nlog⁡log⁡n)O(\sqrt{\log n \log\log n}) growth rate for max⁡j≤n∥o^j−oj∥∞\max_{j\leq n} \|\hat{\boldsymbol{o}}_j - \boldsymbol{o}_j\|_{\infty} predicted by Thm. 3.

n h=7 h=8 h=9 h=10
4 0 0 0 0
8 0 0 0 0
16 0 0 0 0
32 0 0 0 0
64 0 0 0 0
128 0 0 0 0
256 0 0 0 0
512 0 0 0 0
1024 0.000945 0 0 0
2048 0.000880 0.000600 0 0
4096 0.000936 0.000562 0.000411 0
8192 0.000883 0.000617 0.000387 0.000257
16384 0.000890 0.000585 0.000416 0.000244
32768 0.000847 0.000601 0.000399 0.000280
65536 0.000854 0.000574 0.000410 0.000267
131072 0.000818 0.000571 0.000393 0.000270
262144 0.000805 0.000548 0.000409 0.000259
524288 0.000775 0.000542 0.000394 0.000265

Vector magnitudes: In the revision we will report the query γ\gamma-boundedness parameter (γ(n)≜max⁡i∈[n]∥qi∥22/(dlog⁡n)\gamma(n) \triangleq \max_{i\in[n]}\lVert\boldsymbol{q}_i\rVert_2^2 / (\sqrt{d} \log n)) of Sec. 3.2 and the key γ\gamma-boundedness parameter (γ(n)≜max⁡i∈[n]∥ki∥22/(dlog⁡n)\gamma(n) \triangleq \max_{i\in[n]}\lVert\boldsymbol{k}_i\rVert_2^2 / (\sqrt{d} \log n)) which decrease with nn as desired. Below we report the median and interquartile range of the query/key γ(n)\gamma(n) and vmax⁡(n)≜max⁡i∈[n]∥vi∥∞v_{\max}(n) \triangleq \max_{i\in[n]}\lVert\boldsymbol{v}_i\rVert_{\infty} across all layers, all heads, and the first 1010 sequences of the experiment in Fig. 1c.

query γ(n)\gamma(n):

nn median 25% 75%
4 9.57 7.45 11.62
16 7.17 5.86 9.08
64 6.14 4.9 8.08
256 5.91 4.67 7.89
1024 5.69 4.36 7.58
4096 5.44 4.09 7.32
16384 5.19 3.87 7.08

key γ(n)\gamma(n):

nn median 25% 75%
4 23.02 19.53 26.79
16 12.91 11.36 14.4
64 10.17 8.82 11.49
256 8.43 7.37 9.28
1024 7.19 6.31 8.05
4096 6.25 5.56 6.98
16384 5.58 4.96 6.22

vmax⁡(n)v_{\max}(n):

nn median 25% 75%
1 1.172 0.5732 1.93
4 2.078 1.357 3.363
16 2.906 1.793 4.938
64 3.547 1.949 5.844
256 3.852 2.156 7
1024 4.062 2.203 7.562
4096 4.391 2.297 7.875
16384 4.547 2.344 8.188

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 RnR_n 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=32768n=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.

Number of layers replaced Thinformer Express (h=9) Thinformer Express (h=10) HyperAttention
0 1.00000 1.00000 1.00000
2 1.00019 1.00088 0.99873
4 1.01553 1.01122 1.01228
6 1.03838 1.02728 1.03486
8 1.07945 1.05633 1.07783
10 1.10344 1.07341 1.11966
12 1.16184 1.10422 1.17917
14 1.17805 1.11924 1.20363
16 1.18558 1.12456 1.21962
18 1.19249 1.12516 1.23847
20 1.23114 1.15249 1.27222
22 1.25097 1.16750 1.28608
24 1.28943 1.19014 1.34195
26 1.44871 1.27818 1.58112
28 1.84683 1.47852 2.10345

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.

Reviewer VaHGOpenReview ↗
Rating
3/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces Express Maguage Modeling for converting a non-causal attention approximation into a causal approximation with guarantees. The tool, EXPRESS, when combined with Thinformer approximation (Thinformer Express ), improves upon causal attention guarantees Specifically, the tool converts a high-quality unmasked attention approximation into a high-quality masked approximation by transforming any offline approximation based on thinning. The authors additionally provide memory and runtime bounds for the same. Further, the authors benchmark Thinformer Express in four resource-constrained language modeling settings: Long-context prefill, cache compression, memory-efficient long-form decoding, and Accelerated long-form decoding. The authors provide synthetic experiments to back their claims. I find this to be a well-written paper.

Strengths and weaknesses

Strengths:

S1. The problem is well formulated and motivated in Sections 1, 2, and 3.

S2. The paper performs relevant synthetic empirical experiments to highlight the findings of the tool.

S3. In Theorem 1 and Corollary 1, I like the theoretical fact that the memory does not grow proportionally to the context size. This is primarily due to the fact that the cache size is chosen and fixed in the beginning. This is better than tools where memory grows in size as the context length grows.

S4. I find the empirical experiments to be very strong and support the use case pretty strongly.

Weaknesses:

W1. The guarantee in one of the main headline Theorems (Theorem 3) holds only half of the time. I suspect this due to the fact that the cache size is fixed and it cannot grow. The paper does not seem to say how to make the guarantee more reliable.

W2. On top of the point raised in W1, the experiments look far more reliable, and the results look more reliable than chance. This makes me think there is a gap between what is derived and what is actually observed.

W3. The most important and similar method is missing completely from the experiment comparisons: BalanceKV [19]. This seems very weird. It would have been great to have a detailed theoretical and empirical comparison of the proposed tool with BalanceKV.

[19] Ekaterina Kochetkova, Kshiteej Sheth, Insu Han, Amir Zandieh, and Michael Kapralov. Streaming attention approximation via discrepancy theory. In Advances in Neural Information Processing Systems, 2025.

W4. While the writing is clean, it is difficult to understand the toll without a figurative illustration.

Questions

Q1. Can the guarantee be improved beyond 0.5? For example, suppose you make use of independent caches. In that case, how will the memory bound be affected? It would be great if the authors explored this area.

Q2. For the figures, can you state the size of the magnitude of the queries? That would add additional meaning beyond the current performance demonstrated.

Q4. Can you perform a detailed comparison study with BalanceKV [19] from both a theoretical and empirical standpoint? This seems to be a very important prior work.

[19] Ekaterina Kochetkova, Kshiteej Sheth, Insu Han, Amir Zandieh, and Michael Kapralov. Streaming attention approximation via discrepancy theory. In Advances in Neural Information Processing Systems, 2025.

Q5. How does the accuracy and runtime vary with cache size budgets? Can you demonstrate theoretically and/or empirically the same?

Q6. Can you address the points raised as weaknesses?

Thanks!

Limitations

Yes

Final justification

After reading the paper and the rebuttal, the core issue remains unanswered and is potentially an issue. In the author's own rebuttal, the results pertaining to the provided query sizes imply that the core theoretical contribution (Thm 3) is void. The authors propose a vague, unproven refinement, and that too partially addresses one of the three factors involved in the bound. This is a core issue of the paper. I am keeping my score unchanged because of this. For details refer to my reply to the author's rebuttal.

Formatting concerns

None

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your thoughtful and constructive review. We were delighted that you found the paper well-written, the problem well-formulated and motivated, and the experiments very strong. We address each point raised below.

Comparison with BalanceKV: In Sec. 3.2 (lines 175–188) of the submission, we presented a detailed theoretical comparison of Express with BalanceKV. For the same level of guaranteed accuracy, Express reduces the memory requirement (from Θ(noutlog⁡n)\Theta(n_{\mathrm{out}} \log n) to 6nout6 n_{\mathrm{out}}) and substantially reduces the computational overhead of compression from Θ(nnoutlog⁡n)\Theta(n n_{\mathrm{out}} \log n) to nout2log⁡(nout)n_{\mathrm{out}}^2 \log(n_{\mathrm{out}}). That is, the compression overhead of Express is independent of the sequence length nn and improves upon the compression time of BalanceKV by n/noutn / n_{\mathrm{out}}.

While Kochetkova et al. do analyze an algorithm for causal attention approximation, they do not evaluate streaming generation or causal approximation in their experiments and only provide code for unmasked approximation. To integrate the released BalanceKV implementation into our long-form decoding experiments, we again apply the batch-to-online conversion scheme of Devoto et al. and evaluate runtime and long-form decoding accuracy on MATH500. We find that Thinformer Express improves upon both the accuracy-runtime and accuracy-memory trade-offs of BalanceKV, matching the accuracy of exact with 56% runtime, while no setting of BalanceKV achieves matched accuracy and all BalanceKV runtimes are substantially slower.

Exact (runtime, accuracy, mean cache size)
63824.88 ± 7535.85, 0.90 ± 0.01, 2077.19 ± 111.12

Thinformer Express
34517.28 ± 2261.94, 0.85 ± 0.02, 746.52 ± 7.66
30853.97 ± 1924.77, 0.88 ± 0.01, 1100.30 ± 18.73
35846.19 ± 2463.57, 0.90 ± 0.01, 1443.23 ± 38.24
43671.25 ± 3684.38, 0.89 ± 0.01, 1717.43 ± 62.27
55588.36 ± 5626.03, 0.90 ± 0.01, 1918.07 ± 87.23

BalanceKV
204433.63 ± 3859.46, 0.08 ± 0.01, 703.43 ± 5.29
136453.93 ± 5549.53, 0.40 ± 0.02, 1127.27 ± 17.99
102245.85 ± 5795.88, 0.59 ± 0.02, 1344.13 ± 29.79
86277.07 ± 5912.75, 0.70 ± 0.02, 1477.86 ± 39.25
74801.69 ± 6366.06, 0.79 ± 0.02, 1653.40 ± 54.67
69011.53 ± 6577.49, 0.84 ± 0.02, 1758.64 ± 65.88

High-probability guarantees: In the revision, we will clarify that 1/21/2 can be replaced with any probability 1−δ1-\delta in (0,1)(0,1) with no impact on the cache size and compression overhead given nn, and only moderate impact on the quality guarantee. The quality guarantee in Thm. 3 then becomes

∥o^n−on∥∞≤cnexp⁡(2Rn2d)∥Vn∥2,∞(2I[2Kn−2>m‾]3nout2m‾+4Mn3log⁡(3nout4Mn+1M~nδ)+163log⁡(32noutM~nδ)nout)\left\Vert \widehat{\boldsymbol{o}}_n - \boldsymbol{o}_n \right\Vert_{\infty} \le c_n \exp\left(\frac{2R_n^2}{\sqrt{d}}\right) \left\Vert \mathbf{V}_n \right\Vert_{2,\infty} \left( \frac{2\mathbb{I}[2K_n - 2 \gt \overline{m}]}{\sqrt{3 n_{\mathrm{out}} 2^{\overline{m}}}} + \frac{\sqrt{\frac{4M_n}{3} \log\left(\frac{3 n_{\mathrm{out}} 4^{M_n+1} \widetilde{M}_n}{\delta}\right) + \frac{16}{3} \log\left(\frac{32 n_{\mathrm{out}} \widetilde{M}_n}{\delta}\right)}}{n_{\mathrm{out}}} \right)

with probability at least 1−δ1-\delta and δn=δ2(1log⁡2(n+1)−1log⁡2(n+2))\delta_n = \frac{\delta}{2}\left(\frac{1}{\log_2(n+1)} - \frac{1}{\log_2(n+2)}\right).

This success probability is determined by the user-friendly hyperparameter δ\delta in the Thinformer Express algorithm, and replacing δ=1/2\delta = 1/2 with δ=0.01\delta = 0.01 in the experimental setting of Fig. 1c (for a 1−δ=0.991-\delta = 0.99 success probability), we find virtually no difference in quality (relative perplexity) over exact:

h=9h=9 (δ=0.5\delta=0.5, δ=0.01\delta=0.01)
1.00000, 1.00000
1.00249, 1.00250
1.00856, 1.00857
1.00996, 1.00999
1.01793, 1.01794
1.02285, 1.02285
1.03597, 1.03598
1.03709, 1.03710
1.03931, 1.03930
1.03820, 1.03818
1.05144, 1.05142
1.05825, 1.05825
1.05770, 1.05769
1.06303, 1.06305
1.06421, 1.06418

h=10h=10 (δ=0.5\delta=0.5, δ=0.01\delta=0.01)
1.00000, 1.00000
1.00134, 1.00135
1.00633, 1.00634
1.00806, 1.00807
1.01045, 1.01046
1.01352, 1.01353
1.02186, 1.02186
1.02443, 1.02443
1.02391, 1.02390
1.02452, 1.02454
1.03369, 1.03365
1.03669, 1.03669
1.03706, 1.03703
1.04122, 1.04121
1.04288, 1.04293

Size of queries: Thank you for this suggestion! In the revision we will report the query γ\gamma-boundedness parameter of Sec. 3.2, γ(n)≜max⁡i∈[n]∥qi∥22/(dlog⁡n)\gamma(n) \triangleq \max_{i \in [n]} \Vert \boldsymbol{q}_i \Vert_2^2 / (\sqrt{d} \log n), which decreases with nn as desired in each experiment. Below we report the median γ(n)\gamma(n) (with interquartile range) across all layers, all heads, and the first 1010 sequences of each experiment.

Fig. 1c:

nn median 25% 75%
4 9.57 7.45 11.62
16 7.17 5.86 9.08
64 6.14 4.9 8.08
256 5.91 4.67 7.89
1024 5.69 4.36 7.58
4096 5.44 4.09 7.32
16384 5.19 3.87 7.08

Fig. 2, HotpotQA-E:

nn median 25% 75%
4 9.33 7.53 11.54
16 5.47 4.58 6.7
64 4.61 3.9 5.62
256 4.3 3.55 5.24
1024 4.11 3.41 4.91
4096 3.94 3.28 4.67

Fig. 2, TriviaQA-E:

nn median 25% 75%
4 9.33 7.53 11.54
16 5.47 4.57 6.7
64 4.67 3.93 5.66
256 4.31 3.54 5.23
1024 4.13 3.44 4.92
4096 4.01 3.4 4.7

Fig. 2, TREC-E:

nn median 25% 75%
4 8.81 6.95 10.84
16 5.69 4.69 6.89
64 4.67 3.89 5.67
256 4.21 3.54 5.04
1024 3.86 3.26 4.59
4096 3.61 3.06 4.31

Fig. 3:

nn median 25% 75%
4 8.36 6.52 10.73
16 5.07 4.06 6.33
64 4.2 3.38 5.17
256 3.89 3.17 4.75
1024 3.69 3.05 4.43
4096 3.59 3.0 4.27
16384 3.34 2.76 3.97

Accuracy-vs.-runtime with varying cache size budgets: We will clarify in the revision that the prefill, KV cache compression, and long-form decoding experiments in our submission each demonstrate how accuracy and runtime vary with cache budget. For example, Fig. 3 shows the accuracy and runtime of Thinformer Express as we sweep h∈{8,9,10,11,12}h \in \lbrace 8, 9, 10, 11, 12 \rbrace, and h=log⁡2(nout)h = \log_2(n_{\mathrm{out}}) determines the cache budget. For each hh, we summarize here the mean runtime, accuracy, and cache size (±1\pm 1 standard error) across all benchmark questions in the MATH500 dataset.

Method Runtime (ms) Accuracy Cache size
Thinformer Express (h=8h=8) 34517.28 ± 2261.94 0.85 ± 0.02 746.52 ± 7.66
h=9h=9 30853.97 ± 1924.77 0.88 ± 0.01 1100.30 ± 18.73
h=10h=10 35846.19 ± 2463.57 0.90 ± 0.01 1443.23 ± 38.24
h=11h=11 43671.25 ± 3684.38 0.89 ± 0.01 1717.43 ± 62.27
h=12h=12 55588.36 ± 5626.03 0.90 ± 0.01 1918.07 ± 87.23
Exact 63824.88 ± 7535.85 0.90 ± 0.01 2077.19 ± 111.12

We also introduce a new experiment directly comparing the output of Thinformer Express o^n\widehat{\boldsymbol{o}}_n with the output of exact attention on\boldsymbol{o}_n, and demonstrate the accuracy-vs.-runtime trade-off as the target cache size nout=2hn_{\mathrm{out}} = 2^h varies. 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 max⁡j≤n∥o^j−oj∥∞/log⁡nlog⁡log⁡n\max_{j \leq n} \Vert \widehat{\boldsymbol{o}}_j - \boldsymbol{o}_j \Vert_{\infty} / \sqrt{\log n \log\log n} across the 32 heads. Notably, for each hh, the scaled maximum error remains uniformly bounded in nn, in line with the O(log⁡nlog⁡log⁡n)O(\sqrt{\log n \log\log n}) growth rate for max⁡j≤n∥o^j−oj∥∞\max_{j \leq n} \Vert \widehat{\boldsymbol{o}}_j - \boldsymbol{o}_j \Vert_{\infty} predicted by Thm. 3.

nout=29n_{\mathrm{out}} = 2^9:

nn Speed-up over FlashAttention 2 Scaled max error
32768 2.20655 0.000399
65536 6.08601 0.000410
131072 12.1638 0.000393
262144 36.5258 0.000409
524288 81.9483 0.000394

nout=210n_{\mathrm{out}} = 2^{10}:

nn Speed-up over FlashAttention 2 Scaled max error
32768 1.38494 0.000280
65536 4.08514 0.000267
131072 8.47362 0.000270
262144 16.6619 0.000259
524288 30.8592 0.000265

Here "scaled max error" denotes max⁡j≤n∥o^j−oj∥∞/log⁡nlog⁡log⁡n\max_{j \leq n} \Vert \widehat{\boldsymbol{o}}_j - \boldsymbol{o}_j \Vert_{\infty} / \sqrt{\log n \log\log n}, as defined above.

Figurative illustration: We've included one figurative illustration in Sec. 3 which visualizes the paradigmatic coreset selection behavior of Express, and we would be happy to include others. Are there particular aspects of our methodology that you would like to see included in an illustration?

Reviewer VaHG · CommentOpenReview ↗

Thanks for taking the time and providing the responses. The clarifications are helpful in improving my understanding of the paper. However, some of my concerns are actually amplified due to the rebuttal provided. The core theoretical contribution of the paper is Thm 3, which provides a per token guarantee. But looking at the provided median query sizes as part of the rebuttal, if you were to plug that into the theoretical bound provided, the factor in the bound increases enormously. Also, it shrinks at a very slow rate with the length of the sequence. Thus, it seems that the theoretical claim is void at the provided numbers, leaving the manuscript with no core theoretical and/or novel contribution. The novel aspect seems to be the combination of already existing techniques along with the meta procedure: this, I think, is not enough for a sound paper at this venue. Ideally, in future revisions I would expect the authors to work on Thm 3 and strengthen it. Given this finding, supported by the authors' own rebuttal, although I am leaning towards decreasing the score, I am keeping it unchanged, primarily as they have clarified my understanding of the paper better.

Authors · CommentOpenReview ↗

In the revision we will clarify that it is impossible to significantly improve upon our current Thinformer Express bound as a recent minimax lower bound for attention approximation has shown that exp⁡(R2/d)\exp(R^2/\sqrt{d}) dependence is necessary (Liberty et al., Nearly Optimal Attention Coresets), making our bound nearly minimax optimal. In addition, we will clarify that the same dependence on R2R^2 appears in the state-of-the-art attention guarantee of BalanceKV (NeurIPS 2025) and that our new work substantially reduces the dependence on R2R^2 relative to the state-of-the-art HyperAttention attention guarantee (ICLR 2024). Fortunately, Velickovic ́ et al. (2025, proof of Thm. 2.2, Softmax is not enough (for sharp size generalisation)) showed that any fixed transformer-based model with a finite vocabulary has all query and key norms bounded independently of the sequence length n.

Reviewer BvY2OpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

They propose a new method called EXPRESS, which approximates causal attention using a small fixed-size cache of representative key-value pairs. They also introduce a concrete instantiation called Thinformer Express together with it. In general, attention scales quadratically with sequence length, and existing approximations often only handle the unmasked case rather than the causal masked case. The underlying idea, which is to summarize a large dataset with a few representative points that preserve its averages, is extended here to the streaming setting where only the past is visible. The authors argue that memory stays constant and that the approximation guarantees improve on prior work, and demonstrate the method with an I/O-aware Triton implementation across long-context prefill, KV cache compression, and long-form decoding.

Strengths and weaknesses

Strengths

  • The method comes with proofs bounding its approximation error and memory usage, whereas many attention approximations of this type are heuristic. It is also general: EXPRESS converts any halving algorithm into a causal, streaming version, and the cache size is constant in the sequence length.
  • The method is evaluated empirically, not only analyzed. The authors provide an I/O-aware Triton implementation and report speedups over baselines in long-context prefill, KV cache compression, and long-form decoding. It can also be used as a front end to existing KV cache compression methods.

Weaknesses

  • The headline speedup figures appear to be reported under the most favorable conditions: the largest speedup uses the smallest cache and the longest sequence, and the factor drops considerably otherwise. That the speedup grows with sequence length is also, to some extent, inherent to the design. Moreover, since the baseline runs out of memory at the longest sequence, the speed and memory advantages become conflated. A fair comparison at matched accuracy and cache size, beyond the best case, would be more convincing.
  • The method approximately preserves quality; it is not lossless. The output is an approximation, and the quality claims rest on specific benchmarks. The usefulness is well supported, but clearer statements on which tasks and models retain near-lossless behavior, and on how much degradation is acceptable, would be reassuring.
  • The evaluation scope felt limited relative to the claims (the authors acknowledge this). Experiments cover only a narrow set of languages, domains, models, and GPUs, with little guidance on choosing hyperparameters. The problem of approximating causal, streaming attention has also been addressed before, and the method largely combines existing components, so the contribution feels somewhat incremental.

(Note) I have not independently verified the proofs. This assessment is based mainly on novelty, experimental design, evaluation scope, implementation, and clarity.

Questions
  • The largest speedup uses the smallest cache and the longest sequence. At matched accuracy and cache size, what wall-clock speedup do you obtain over the baseline and over exact attention, and what are the factors away from the best case?
  • Does the near-lossless behavior hold for other languages, domains, and model scales? Under what settings does quality degradation become unacceptable?
  • How should practitioners choose hyperparameters such as the cache size? Is there guidance on the speed–accuracy trade-off?
Limitations

yes

Final justification

The authors provided the matched-accuracy, matched-cache-size comparison I asked for. The resulting end-to-end speed-ups are naturally more modest than the kernel-level figures, since they are measured at accuracy parity, and I appreciate that these are now reported explicitly.

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your thoughtful and constructive review. We were pleased that you appreciated our combination of theoretical and empirical analysis and were delighted that you found our method general and its usefulness well-supported. We address each point raised below.

Choosing hyperparameters: Thank you for this question. In the revision, we will clarify our recommendations for setting the Thinformer Express hyperparameters. When using Thinformer Express for prefill, we recommend setting m‾=h−2\overline{m} = h - 2 (as we do in the experiments of Fig. 1 and Fig. 2) as this leads to favorable GPU utilization in our Triton implementation of kernel halving (Alg. E.1). When using Thinformer Express for decoding, we recommend setting m‾=h\overline{m} = h (as we do in our long-form decoding experiments of Fig. 3) as this yields the best quality guarantee following Thm. 3. While we suspect the “best” choice of hh is task specific, we find that h=9h=9 and h=10h=10 perform well as defaults across all of our experiments. In addition, we find that quality degrades gracefully with smaller hh, both in our theoretical guarantees and in practice.

We will also clarify in the revision that the prefill, KV cache compression, and longform decoding experiments in our submission each demonstrate how accuracy and runtime vary with cache budget. For example, Fig. 3 shows the accuracy and runtime of Thinformer Express as we sweep h∈{8,9,10,11,12}h \in \lbrace 8, 9, 10, 11, 12 \rbrace, and h=log⁡2(nout)h = \log_2(n_{out}) determines the cache budget. For each hh, we summarize here the mean runtime, accuracy, and cache size (±1\pm 1 standard error) across all benchmark questions in the MATH500 dataset.

Method Runtime (ms) Accuracy Cache Size
Thinformer Express (h=8h=8) 34517.28 ± 2261.94 0.85 ± 0.02 746.52 ± 7.66
h=9h=9 30853.97 ± 1924.77 0.88 ± 0.01 1100.30 ± 18.73
h=10h=10 35846.19 ± 2463.57 0.90 ± 0.01 1443.23 ± 38.24
h=11h=11 43671.25 ± 3684.38 0.89 ± 0.01 1717.43 ± 62.27
h=12h=12 55588.36 ± 5626.03 0.90 ± 0.01 1918.07 ± 87.23
Exact 63824.88 ± 7535.85 0.90 ± 0.01 2077.19 ± 111.12

Speed-ups at matched accuracy and cache sizes: In the revision we will better highlight the instances in which Thinformer Express matches the accuracy of exact attention with strict improvements in both memory and runtime. In the KV cache compression experiment of Fig. 2, Thinformer Express paired with PyramidKV achieves the same accuracy as exact prefill on HotpotQA-E with 78%–84% the computation time. On TriviaQA-E, Thinformer Express paired with StreamingLLM achieves the same accuracy as exact prefill with 70%–78% the computation time. And on TREC-E, Thinformer Express paired with SnapKV achieves the same accuracy as exact prefill with 84%–95% the computation time. Here, we note that the speed-ups achieved depend on the cache compression method and its KV cache size. In the memory-constrained long-form decoding experiment of Fig. 3, Thinformer Express achieves the same accuracy on the MATH500 dataset with only 61% of the cache size. In the compute-constrained long-form decoding experiment of Fig. 3, Thinformer Express achieves the same accuracy on the MATH500 dataset with only 56% of the computation time.

Novelty of Express: In the revision, we will strive to make clearer that Express is (i) a new and general approach to converting unmasked approximations into masked and streaming approximations that (ii) offers meaningful benefits over state-of-the-art masked attention approximations. For the same level of guaranteed accuracy, Express reduces the memory requirement of BalanceKV (from Θ(noutlog⁡n)\Theta(n_{out} \log n) to 6nout6 n_{out}) and substantially reduces the computational overhead of compression from Θ(nnoutlog⁡n)\Theta(n n_{out} \log n) to nout2log⁡(nout)n_{out}^2 \log(n_{out}). That is, the compression overhead of Express is independent of the sequence length nn and improves upon the compression time of BalanceKV by n/noutn/n_{out}. For the same cache size and runtime, Express also guarantees substantially smaller attention error (O~(1/nout)\tilde{O}(1/n_{out}) vs. Ω(1/nout1/6)\Omega(1/n_{out}^{1/6})) than HyperAttention.

Additional experiments

To further expand the scope of our evaluation, we have conducted several new experiments. First, we compare Thinformer Express with BalanceKV for long-form decoding. While the BalanceKV authors do analyze an algorithm for causal attention approximation, they do not evaluate streaming generation or causal approximation in their experiments and only provide code for unmasked approximation. Hence, we again apply the batch-to-online conversion scheme of Devoto et al. and evaluate runtime and long-form decoding accuracy on MATH500. We find that Thinformer Express improves upon both the accuracy-runtime and accuracy-memory trade-offs of BalanceKV, matching the accuracy of exact with 56% runtime, while no setting of BalanceKV achieves matched accuracy and all BalanceKV runtimes are substantially slower.

Exact (runtime, accuracy, mean cache size)
63824.88 ± 7535.85, 0.90 ± 0.01, 2077.19 ± 111.12

Thinformer Express
34517.28 ± 2261.94, 0.85 ± 0.02, 746.52 ± 7.66
30853.97 ± 1924.77, 0.88 ± 0.01, 1100.30 ± 18.73
35846.19 ± 2463.57, 0.90 ± 0.01, 1443.23 ± 38.24
43671.25 ± 3684.38, 0.89 ± 0.01, 1717.43 ± 62.27
55588.36 ± 5626.03, 0.90 ± 0.01, 1918.07 ± 87.23

BalanceKV
204433.63 ± 3859.46, 0.08 ± 0.01, 703.43 ± 5.29
136453.93 ± 5549.53, 0.40 ± 0.02, 1127.27 ± 17.99
102245.85 ± 5795.88, 0.59 ± 0.02, 1344.13 ± 29.79
86277.07 ± 5912.75, 0.70 ± 0.02, 1477.86 ± 39.25
74801.69 ± 6366.06, 0.79 ± 0.02, 1653.40 ± 54.67
69011.53 ± 6577.49, 0.84 ± 0.02, 1758.64 ± 65.88

Second, we introduce a new experiment directly comparing the output of Thinformer Express o^n\hat{\boldsymbol{o}}_n with the output of exact attention on\boldsymbol{o}_n and demonstrate the accuracy-vs.-runtime trade-off as the target cache size nout=2hn_{out}=2^h varies. 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 max⁡j≤n∥o^j−oj∥∞/log⁡nlog⁡log⁡n\max_{j\leq n} \Vert\hat{\boldsymbol{o}}_j - \boldsymbol{o}_j\Vert_{\infty}/ \sqrt{\log n \log\log n} across the 32 heads. Notably, for each hh, the scaled maximum error remains uniformly bounded in nn, in line with the O(log⁡nlog⁡log⁡n)O(\sqrt{\log n \log\log n}) growth rate for max⁡j≤n∥o^j−oj∥∞\max_{j\leq n} \Vert\hat{\boldsymbol{o}}_j - \boldsymbol{o}_j\Vert_{\infty} predicted by Thm. 3.

nout=29n_{out} = 2^9:

nn Speed-up over FlashAttention 2 max⁡j≤n∥o^j−oj∥∞log⁡nlog⁡log⁡n\frac{\max_{j\leq n} \Vert\hat{\boldsymbol{o}}_j - \boldsymbol{o}_j\Vert_{\infty}}{\sqrt{\log n \log\log n}}
32768 2.20655 0.000399
65536 6.08601 0.000410
131072 12.1638 0.000393
262144 36.5258 0.000409
524288 81.9483 0.000394

nout=210n_{out} = 2^{10}:

nn Speed-up over FlashAttention 2 max⁡j≤n∥o^j−oj∥∞log⁡nlog⁡log⁡n\frac{\max_{j\leq n} \Vert\hat{\boldsymbol{o}}_j - \boldsymbol{o}_j\Vert_{\infty}}{\sqrt{\log n \log\log n}}
32768 1.38494 0.000280
65536 4.08514 0.000267
131072 8.47362 0.000270
262144 16.6619 0.000259
524288 30.8592 0.000265

Finally, we expand the experiment above to a broader range of target cache sizes to examine how attention reconstruction error decays with cache size.

n h=7 h=8 h=9 h=10
4 0 0 0 0
8 0 0 0 0
16 0 0 0 0
32 0 0 0 0
64 0 0 0 0
128 0 0 0 0
256 0 0 0 0
512 0 0 0 0
1024 0.000945 0 0 0
2048 0.000880 0.000600 0 0
4096 0.000936 0.000562 0.000411 0
8192 0.000883 0.000617 0.000387 0.000257
16384 0.000890 0.000585 0.000416 0.000244
32768 0.000847 0.000601 0.000399 0.000280
65536 0.000854 0.000574 0.000410 0.000267
131072 0.000818 0.000571 0.000393 0.000270
262144 0.000805 0.000548 0.000409 0.000259
524288 0.000775 0.000542 0.000394 0.000265

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…