arXiv paper· theoretical computer science (algorithms and discrepancy theory)· method paper

Query-Oblivious Coresets for Softmax Attention: Improved Bounds and Efficient Constructions

Ofek I. Cohen

cs.DS · cs.CL

Quick verdict

Closes the LAK attention-coreset gap to √log(1+ρ) with poly-time constructions; its own census shows all e^ρ bounds exceed the cache on real LLM heads.

Summary

The paper advances the size theory of query-oblivious coresets for softmax attention: subsets of key-value pairs whose attention output stays within ε of the full one for every query in a ball of radius ρ. Against the Liberty–Andoni–Kleiner upper bound O(√d·e^{ρ+½log ρ+o(log log ρ)}/ε) and lower bound Ω(√d·e^ρ/ε), the author shows two reductions nearly close the gap: a spherical lift applies Bozzai–Rothvoss chaining, and Chevet's inequality splits key from value dimensions, yielding size O(e^ρ(√d_v+√d_k·log(1+ρ))/ε) — realized as the first randomized polynomial-time construction with a uniform whole-ball guarantee, via Gram–Schmidt-walk halving. A sampling branch and a Tai-based fixed-dimension branch (logarithm removed) complete the envelope; the centred lower bound is fully re-proven and one-way communication bounds are transferred. Pre-registered experiments on every attention head of Qwen2.5-7B-Instruct and Llama-3-8B-Instruct find ρ ≥ 23.877 (medians 54.0/49.4), so every bound carrying e^ρ exceeds the cache; on real heads the construction only matches uniform sampling (median error ratios 1.002/0.990) and wins only on synthetic ρ ≤ 4 instances (3.2–5.3× fewer pairs). Main limitations: the algorithmic contribution is asymptotic on the measured models, and several post-hoc analytical choices, though disclosed, leave researcher degrees of freedom.

Review complete

Assessment at a glance

theoretical computer science (algorithms and discrepancy theory)

5

risk flags identified

● high 0

● medium 2

● low 3

Reproducibility readinessmedium
Code & data availablenot stated
Review confidencemedium
AI text signal0/20 passages flagged
Deep research viableCode-reproducibleNeeds GPU

5 strengths · 5 weaknesses · 5 author questions

AI text signal = Binoculars zero-shot detector score over 20 sampled passages (Fast-DetectGPT co-reported) — absence does not prove human authorship, and a flag does not imply misconduct.

Levels reflect verification complexity — not a quality score. Evolve never rates your paper.

Key claims under review

  • An unweighted query-oblivious ε-coreset of size O(e^ρ(√d_v+√d_k·log(1+ρ))/ε) exists and is computable in randomized polynomial time — the first constructive whole-ball guarantee, within √log(1+ρ) of the Liberty–Andoni–Kleiner lower bound and removing their ρ^{1/2+o(1)} factor.
  • In fixed key dimension the log(1+ρ) factor disappears by transporting Tai's diameter-free Gaussian-kernel bound (with a balance repair and a value-encoding gadget), settling the Gaussian-restriction case of a Bozzai–Rothvoss question for the exponential and Hellinger kernels.
  • The Liberty–Andoni–Kleiner lower bound holds for centred instances with a complete proof (fixing a logarithmic counting loss), and the Chen et al. one-way communication lower bounds transfer verbatim to coresets.
  • One signing uniform over the whole ball provably costs more than per-query signing: Ω(ρ√r/e) vs O(e^ρ) at ρ=1 (Proposition 1.5).
  • Measured on every attention head of Qwen2.5-7B-Instruct and Llama-3-8B-Instruct: ρ ≥ 23.877 everywhere (medians 54.015/49.442 at 4k–32k tokens), so every whole-ball bound with a factor e^ρ/ε prescribes a coreset larger than the cache — the algorithmic contribution is asymptotic on these models.

Strengths

  • Closes a stated open gap with two clean reductions

    The ρ^{1/2+o(1)} factor of Liberty–Andoni–Kleiner [25] is shown to be an artefact of its width input: the two-slack spherical lift (Lemma 3.1, exact identity e^{q⊤k}=e^ρ·K_ρ(˜k,˜q)) plus Bozzai–Rothvoss chaining [9, Thm 1.11] and a Chevet key/value split give Theorem 1.1's first branch, within √log(1+ρ) of the Ω(e^ρ√d_v/ε) floor, with the first randomized polynomial-time construction (Theorem 1.2, O(n^{ω+1}+n²(d_k+d_v)) time).

  • Exemplary pre-registration and negative-result discipline

    Appendix F.1 archives the experimental plan (6 September 2026, before E2/E3 ran); Table 11 logs 28 departures staged by when each was made, preserving pre-registered readings beside new ones; the abstract itself states the algorithmic contribution is asymptotic on the measured models.

  • Contributions beyond the headline theorem

  • The ρ-census is a standalone empirical contribution

  • Honest attribution and failure-mode analysis

Weaknesses

  • No practical regime demonstrated on real models

  • Post-hoc analytical cuts shape the headline empirical readings

  • E3 is weak support for the Section 2 modelling argument

  • The fixed-dimension branch trades a logarithm for an exponential

  • Preprint dependence and no visible code statement

Full Review Report

$1.99 · one-time

Unlock the complete preliminary analysis Evolve produced for this paper.

Report preview

Scope & Claims

The paper studies **unweighted, query-oblivious ε-coresets for softmax attention** (Eq. 1–2): a subset S of key–value pairs whose attention output stays within ε of the full one for *every* query with ‖q‖ ≤ ϱ, where ρ := ϱκ is the product of query radius and centred key radius (Eq. 3). It targets the gap left by Liberty–Andoni–Kleiner (LAK) [25]: upper bound O(√d·e^{ρ+½log ρ+o(log log ρ)}/ε) vs lower bound Ω(√d·e^ρ/ε), whose closure LAK conjectured would require 'completely different approaches'. Four central claims: (1) Theorem 1.1 — a four-branch envelope min{n, e^ρ(√d_v+√d_k log(1+ρ))/ε, e^{2ρ}/ε², F(d_k,d_v)e^ρ/ε}; (2) Theorem 1.2 — randomized polynomial-time constructions with that uniform guarantee; (3) Theorem 1.3 — in fixed key dimension the log(1+ρ) disappears; (4) Theorem 1.4 — lower bounds including a fully proven centred LAK instance and a transfer of Chen et al.'s one-way communication bounds. Proposition 1.5 separates per-query from whole-ball signing cost, and Section 7 measures whether any of this matters on real transformers.

The remaining sections cover Methodology Assessment, Statistical Evidence, Results & Reproducibility, Limitations & Risks, and Verdict & Recommendations.

  • All 5 strengths & 5 weaknesses, analyzed in detail
  • 5 risk flags with severity, section & reviewer questions
  • Methods & statistical evidence assessment
  • 5 questions a peer reviewer would ask
  • Full six-dimension evaluation report & recommendations

One-time purchase · this paper only

One-time purchase, this paper only. AI-generated preliminary analysis — not peer review.

Frequently asked questions

What is a query-oblivious coreset for softmax attention?

It is a small subset of a transformer's key-value pairs such that the attention output computed on the subset stays within ε of the output on the full cache for every query inside a ball of radius ρ — 'query-oblivious' meaning the subset is chosen before any query is seen, which matters when later queries depend on earlier compressed outputs, as in autoregressive decoding.

Why does the paper say its bounds are impractical on real LLMs?

Its census of every attention head of Qwen2.5-7B-Instruct and Llama-3-8B-Instruct measured the governing parameter ρ (query radius times centred key radius) at 23.877 or more on every head, with medians near 54 and 49; the factor e^ρ in every coreset-size bound then exceeds the cache size (e^54 ≈ 3×10^23). Empirically its construction only matches uniform sampling on real heads and wins only on small-ρ synthetic instances.

What gap did this paper close relative to Liberty, Andoni and Kleiner?

Liberty–Andoni–Kleiner proved attention coresets of size O(√d·e^{ρ+½log ρ+o(log log ρ)}/ε) against a lower bound of Ω(√d·e^ρ/ε) and conjectured the residual ρ^{1/2+o(1)} gap needed new techniques. This paper shows two reductions to known kernel-discrepancy theorems (a spherical lift plus chaining, and Chevet's inequality) shrink the gap to a single √log(1+ρ) factor, and gives the first polynomial-time construction with that uniform whole-ball guarantee.

Is code or data available for this paper?

No code or data release is stated anywhere in the reviewed text (a sampled excerpt). The experimental assets are otherwise public: Qwen2.5-7B-Instruct and Llama-3-8B-Instruct checkpoints, LongBench and QASPER corpora, and detailed implementation specifications in Appendix E, but BalanceKV and kernel halving had to be reimplemented because no public code was located by the author.

About this review

This is an AI-generated preliminary review by Evolve.Pub, produced from the openly available text of the paper. It is not peer review and does not represent the authors' views. The canonical record of the paper is at the publisher link above.

  • The provided text is a sampled excerpt with several marked '[...sampling gap...]' regions: part of Section 3.2 (the halving recursion including Lemma 3.5's statement), the end of Section 7.5/Table 8 (separation-instance results), part of Table 14 (per-head concentration, Llama rows), and a slice of Appendix E.1; judgments touching those regions are correspondingly limited.
  • No code or data availability statement appears in the provided text; one could exist in a gapped region.
  • Proof-level correctness of Appendices B–D could not be verified from an excerpt; the review assesses claim structure, imported results and empirical design, not line-by-line proofs.

Go deeper on this paper

Wrote a paper? Stress-test it before reviewers do.

Upload your manuscript for the same structured scrutiny — reasoning, statistics, evidence, figures, and reproducibility.

Scan your paper
Query-Oblivious Coresets for Softmax Attention: Improved Bounds and Efficient Constructions | Evolve.Pub