{"id":"c01271f0-ac2f-4ed0-b154-a7f7ee976d49","arxiv_id":"2610.42147","paper_version":1,"verdict":"CONDITIONAL","confidence":"MODERATE","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":9,"one_line_summary":"Grouping keys by content in a learned low-dimensional space lets each query find its keys by scoring cluster centroids, making 10M-token attention prefill up to 22.7x faster at comparable accuracy.","lead":"Latent Sparse Attention makes the part of long-context attention that decides which earlier tokens to read grow subquadratically instead of quadratically, by grouping tokens by content in a small learned space and searching the groups. On two 27B-class models at 10M tokens it speeds one attention layer by 22.7x in prefill and 4.6x in decode over each model's own sparse attention, at similar test scores.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"The single shared index list per query (Eq. 1, §3.2D) is the load-bearing premise behind both the 10M accuracy claim and the decode speedups; the Appendix A oracle uses the same head-summed convention at 128k, so per-head selection — never tested — is the decisive unvalidated assumption.","rationale":"The central claim is a conjunction: (i) measured speedups at 10M (22.7x/72.4x prefill, 4.6x/42.5x decode) and (ii) 'keeping similar accuracy across a variety of tasks'. Part (i) is direct measurement with disclosed methodology, per-kernel timings, and an honest statement of the CuTe versus Triton gap (Table 11), so I treat the engineering results as well supported. Part (ii) depends on one structural premise: that a single index list per query, derived from a head-summed query, contains the keys every head needs. That premise underwrites the indexer's cost profile: one row per query in Eq. 5, one centroid read per decode request in Eq. 8. If it fails, both the accuracy claim and the decode speedups as stated are contingent on a design choice the paper chose for efficiency rather than validated necessity. The evidence for the premise is the Appendix A oracle, but that oracle uses the same head-summed convention it is meant to validate, at 128k tokens, so it cannot separate 'sparse attention suffices' from 'a shared list suffices'. At the headline scale, the tasks that would stress the premise (MultiKey 2, MultiKey 3, CWE) are at floor for every method including the dense baseline, and the surviving margins are estimated from 20 prompts per task with no confidence interval on D-LSA's own points. The paper's own limitation statements (b264, b266) and the disclosed tree-search gap on GLM (§E.4) show that selection quality is where accuracy is lost at scale, but no experiment attributes that loss to the shared-list convention versus the clustering and beam search. The proposed check isolates exactly this with a per-head oracle at lengths where a full-attention baseline is still meaningful. A positive result would establish that a cheap shared-list indexer cannot reach the claimed accuracy at scale and would quantify the cost of the fix; a null result would give the premise the direct support it currently lacks and redirect scrutiny to the clustering and beam-search components. The close second concern is the statistical weakness of the 10M comparisons, which the reader's rationale documents thoroughly; I regard that as an evaluation-budget issue, whereas the shared-list question bears on the architecture's validity regardless of evaluation budget. Since the reader's CONDITIONAL verdict already requires that the 10M accuracy claims be treated with this caveat, my read leaves the verdict unchanged. Credit where due: the paper reports its own limitations explicitly (omitted sparse-training stage, N-LSA scale limits, tree-search degradation past 1M on GLM), publishes the fast versus portable kernel gap, and uses a different head-aggregation convention in N-LSA (Eq. 3), showing awareness of head diversity even though D-LSA sums instead.","tokens_in":44685,"tokens_out":14538,"duration_ms":107859,"concrete_test":"Re-run the Appendix A oracle (Figure 8) on QWEN-3.8-27B with per-head lists: for each query and head h, take that head's own top-k_h long-range keys with k_h = k/n_heads (same total budget as the shared-list oracle), renormalise per head over its own selection, and compare with the head-summed oracle at 128k, 256k and 1M tokens on RULER (PaperTrail at 512k to 1M). If per-head selection beats the shared list beyond the bootstrap 95% CI at 1M, or holds MultiKey/MultiValue tasks the shared list loses, the single-list premise is the accuracy bottleneck; a per-head D-LSA would then multiply the Eq. 8 decode read (160 MiB per step at 10M) by n_heads, so the headline decode speedups would not survive in their stated form.","verdict_should_be":"UNCHANGED","load_bearing_attack":"In D-LSA a single index list J_i is computed from the head-summed query q^(idx)_i = Σ_h q^(attn)_{i,h} W^(idx)_Q (Eq. 1, §3.3) and shared by all attention heads (§3.2, step D). That premise does double duty: it keeps the score matrix S = Q^(idx) C^T (Eq. 5) at one row per query, and it keeps decode at one centroid read per request (Eq. 8, 160 MiB per step at 10M). If heads needed separate lists, prefill flops and decode bandwidth would multiply by the number of heads, eroding the headline 4.6x/42.5x decode speedups, and the accuracy claims would be contingent on an untested design choice. The paper's evidence never isolates the premise. The Appendix A oracle (Figure 8) builds one list per query by summing attention mass over heads, so its 98%-at-k=512 result at 128k — where 512 keys cover 0.4% of the context, ten times denser than k=4096 at 10M — conflates 'attention is sparse' with 'one shared list is enough'. At 10M the tasks that would stress concurrent key selection (MultiKey 2, MultiKey 3, CWE) sit at ≤5 for every method including the full-attention baseline (§E.4, b202), so the surviving margins (63.9 vs 59.9) come from 20 prompts per task with no CI on D-LSA's own points and cannot discriminate. The clearest selection-failure signal in the paper — D-LSA (Tree) at 10M on GLM at 60/56/55 against 100 on MultiKey 1, MultiValue and VT (§E.4) — is attributed to beam search, but no experiment separates beam error from shared-list error. N-LSA already scores buckets by max over heads (Eq. 3) rather than the Eq. 1 sum, so the convention is a design choice whose cost at scale is unmeasured.","agreement_with_reader":"agree"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The manuscript introduces Latent Sparse Attention (LSA), a sparse-attention layer whose indexer clusters keys in a learned low-dimensional latent space (§3.1) and scores bucket centroids rather than every key or block (§3.2). Search is either flat (score all centroids) or tree (beam descent, Algorithm 2), and the latter is argued to make prefill subquadratic. Two trainable variants are proposed: D-LSA, which adds learned index projections W_Q^(idx), W_K^(idx) and a per-layer temperature and distils them against the frozen model's head-averaged attention with a forward KL (Eq. 2), and N-LSA, which trains natively on the next-token loss with a single KV head and scores each bucket by the best similarity over query heads (Eq. 3, no new parameters). The empirical work covers two frontier models (QWEN-3.8-27B, GLM-5.3-FLASH) on knowledge, reasoning, RULER up to 10M tokens, and a new PaperTrail benchmark built from real arXiv preprints with fabricated fact trails and explicit controls. Performance is measured per layer with Nsight (Table 11), end to end in SGLang with TP8/CP8 (Table 3), on H200 and B300, with CuTe DSL and Triton kernels. The headline numbers are 22.7×/72.4× prefill and 4.6×/42.5× decode speedups over sparse/full attention at 10M, and a native-training result in which a ~0.5B hybrid model matches full-attention validation loss (1.085 vs 1.085) with a 1.6× per-layer training speedup at 128k tokens.","tokens_in":45111,"tokens_out":8965,"duration_ms":61546,"significance":"The problem is real and the engineering is substantial. Two observations frame the contribution well: the indexer accounts for 98% of sparse-attention prefill time at 10M tokens (Figure 2), and a free indexer would buy a further 58× prefill speedup. The manuscript attacks precisely that term, and it does so with shipped artifacts rather than assertions: open code, SGLang integration with tensor and context parallelism, kernels for two GPU generations, a Triton fallback, and per-kernel timings that disclose a 1.35× gap between the CuTe DSL and Triton implementations. Several design elements are parameter-free or nearly so (the training-free variant uses principal directions of the keys; N-LSA adds no parameters), the PaperTrail benchmark is accompanied by a not-in-corpus probe and four controls (Table 8), and the paper makes falsifiable predictions (Figure 6 extrapolates the tree path to 100M tokens) and states its own open problems (§5). If the accuracy claims hold, removing the indexer as the dominant cost at ultra-long context is a genuinely useful result for the field, and the native-training result is a useful independent data point.","major_comments":[{"comment":"The choice to compute one index query by summing over all query heads, q_i^(idx) = Σ_h q_{i,h}^(attn) W_Q^(idx), and to share a single list J_i across heads (§3.2 D) is load-bearing for both the accuracy and the performance claims, and it is never tested. It keeps the score matrix S = Q^(idx) C^⊤ (Eq. 5) at one row per query, keeping prefill flops and the decode centroid read (160 MiB per step at 10M, Eq. 8) at one row rather than n_h rows; and it determines which keys are reachable by any head. The paper's own evidence cannot isolate this premise: the top-k oracle in Appendix A builds its list by summing over all heads (Figure 8 caption), so a query-level oracle constructed the same way conflates 'attention is sparse' with 'one shared list suffices'. The concern is sharpest for QWEN-3.8-27B, which has four KV heads (§F.2) and 27B-scale head specialisation, and it is relevant to the one clear selection-failure signal in the paper: on GLM-5.3-FLASH, D-LSA (Tree) drops to 60/56/55 on MultiKey 1, MultiValue and VT at 10M against 100 for the baseline (§E.4, b202), which is attributed to beam search without an experiment separating beam error from shared-list error. Two concrete tests are cheap. First, on the existing distillation data, report the recall of each head's own top-k teacher keys by the shared list as a function of context length; this requires no retraining and directly measures the cost of head averaging. Second, train a per-KV-head variant on QWEN-3.8-27B (four lists, not twenty-eight) at 1M tokens and report RULER; that is a bounded experiment and would settle the premise. Note also that N-LSA does not share this premise: it scores buckets by max over heads (Eq. 3), so its success at 128k is only weak evidence for D-LSA's summed list.","section":"§3.2 step D and §3.3, Eq. (1)","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The subquadratic claim and the measured configuration are not aligned. Every 10M-token accuracy and speed result for D-LSA uses the flat search, or for D-LSA (Tree) uses tree search in prefill only and flat search in decode (§4.1, §F.1, Table 12), while flat search still scores T/n̄_b ≈ T/8 centroids per query and therefore remains Θ(T²) in prefill. The 72.4× and 22.7× prefill speedups at 10M are consequently constant-factor gains (roughly 8× fewer units and 64 vs 512 index dimensions), not a change in scaling. The tree path is the subquadratic one, and it is in tension with the accuracy results: on GLM-5.3-FLASH it loses 11 points of RULER at 10M (55.8 vs 66.8), and Figure 6 shows it overtaking flat search only beyond 10M, in the shaded extrapolated region, consistent with the Discussion's own statement that this is predicted rather than measured. The abstract's 'making prefill, decode and training faster at long context' and the Section 4.3 extrapolation to 100M should be qualified: state explicitly in the abstract that the 10M numbers are flat-search numbers, and that subquadratic scaling rests on an extrapolation from a configuration whose accuracy at 10M has not been demonstrated on the sparse baseline. This is a framing fix, not a new experiment, but it is load-bearing for how the contribution is read.","section":"Abstract, title, §4.2, Figure 6","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The claim that D-LSA 'exceeds' full attention at 10M (63.9 vs 59.9 on RULER and 29.1 vs 19.8 on PaperTrail, b195) is not supported at the reported sample sizes. Beyond 1M tokens RULER uses 20 prompts per task, and no confidence interval is given for D-LSA's own points, only for the baselines (Figure 5 caption). With 13 tasks and 20 prompts each, a four-point difference in the task average is well inside sampling noise, and the average is further compressed by tasks pinned at the ceiling (single-needle retrieval at 95 or above, b202) and tasks pinned near the floor (MultiKey 2, MultiKey 3 and CWE at most 5 for every method, baselines included). The same argument applies in the other direction to the GLM-5.3-FLASH comparison, where 'within 4 points at 10M' is likewise inside the noise band, so neither the wins nor the losses at 10M are resolvable as stated. Either attach bootstrap intervals to the D-LSA points at 2M and beyond, or soften the exceedance claim to 'indistinguishable from the baseline within sampling error', which is what the data actually license. Note that the abstract's weaker phrasing, 'keeping similar accuracy', is defensible; it is the Section 4.2 interpretation that needs the correction.","section":"§4.2, Figure 5, Figure 11","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The manuscript's central accuracy inference, 'D-LSA follows the accuracy of the baselines, showing that our semantic clustering can preserve accuracy up to 10M tokens' (b207), is not the proposition the experiment establishes. The indexer is distilled to reproduce the frozen model's head-averaged attention (Eq. 2), so downstream accuracy parity demonstrates fidelity to the teacher's selection, not that semantic clustering is the mechanism. The comparison against Block Sparse Attention (Flat) distilled the same way is the right control and does discriminate clustering from distillation in general, so this is not a circularity failure; but the specific mechanistic claim about semantic clustering, and the accompanying claim that the model's own sparse attention is a harder baseline because it was trained with the model (which is stated fairly in §4.2), both need a direct measurement. The natural one is already computable from the distillation corpus: report the recall of the teacher's top-k attention mass per head achieved by the selected set J_i, and the same for the block-sparse control, as a function of context length. That would show whether clustering retains teacher mass better than block summaries at 10M, and would convert b207 into a supported statement. It would also make the PaperTrail and RULER gains interpretable rather than aggregate.","section":"§3.3 Eq. (2), §4.2 (b207)","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The sentence 'As every bucket holds at least n_pool keys, p is chosen such that p·n_pool ≥ k, and so expansion always fills k keys' is contradicted later in the manuscript: §F.1 and Algorithm 3 (lines 13-16) state that if the selected buckets hold fewer than k keys outside the sink and the window, J_i holds fewer, and the row is padded with −1. Since a bucket may lie entirely inside the window, the guarantee should be stated as 'at most k' or conditional on the accounting for sink and window overlaps.","section":"§3.2 step C","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Eq. (2) defines the target A_i as the softmax over all of R_i, but the prose in §4.1 states that A_i keeps only the 2,048 keys with the most attention weight per query, renormalised over them, while Â_i still spans all of R_i. These are different targets, and the equation should be written to match the implementation, including the renormalisation and the truncation to 2,048 keys.","section":"§3.3 Eq. (2) and §4.1 'Indexer distillation'","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The n_sink, n_w entries for the four D-LSA columns are given as '8, 16' and '4, 512' without explaining which row applies to which model or search, and §F.1 states a single convention of n_sink = 4 and n_w = n_cluster = 512. Please make the table self-consistent with the text or state the per-configuration values explicitly.","section":"Table 2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The table is difficult to read: within each block only the baseline row is labelled, and the three speedup rows are distinguished solely by order. Adding an explicit row label for each of Full Attention, Block Sparse Attention (Flat), D-LSA (Flat) and D-LSA (Tree), and a note on which H200 GLM 10M configuration spans two nodes, would make the end-to-end claims checkable at a glance.","section":"Table 3","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The oracle is reported only at 128k tokens with k = 512, i.e. 0.4% of the context, whereas the deployed 10M configuration selects k = 4096 out of 10M, i.e. 0.04%, a hundred times sparser relative to context. Since the appendix is used to motivate the sufficiency of sparse selection at ultra-long context (§2, b37), it would be more convincing with at least one intermediate point (e.g. 1M, or a fixed k/T ratio), and with a sentence acknowledging the extrapolation.","section":"Appendix A, Figure 8","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The native-training results are reported without any statement of seeds or run-to-run variability, yet the headline comparison is a validation loss of 1.085 against 1.085 and RULER differences of a few points at 128k. Please state how many runs were used and, where possible, give the spread; a parity claim from a single run is weaker than the text implies.","section":"§4.4, Table 4, Figure 7","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The contamination argument is precise up to 5M but weakens at 10M, where the contexts hold papers posted at most six weeks before release. Since the answers live only in the fabricated papers and the insertions, the task remains valid, but the framing 'guaranteeing that no model has seen these papers' should be scoped to the 5M-and-below samples or restated in terms of the fabricated content only.","section":"Appendix D, 'Context sizes'","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"Kernel times are from a single Nsight profile with clocks unlocked. Report the measured clock and the run-to-run variation for at least the bucket scan and the decode select, since the 2.18× and 2.15× CuTe-versus-Triton comparisons and the '49% of bf16 peak' regime statement are used as evidence about the kernels rather than about end-to-end behaviour.","section":"Table 11 and §F.1","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Two papers are stapled together here. One is an unusually careful performance study: indexer kernels in CuTe DSL with a Triton twin, roofline bounds showing that materialising the score matrix would cost six times the compute of producing it (Eq. 6, Eq. 8), per-step Nsight timings, the 1.35x CuTe/Triton gap disclosed rather than buried, SGLang integration with TP and CP, released code. That part I trust. The other is an accuracy argument at 10M tokens built on 20 RULER prompts per task with no confidence interval on the paper's own points. Discount that part heavily.\n\nWhat is actually new is the framing: at 10M tokens the indexer, not the attention, is the cost (98% of prefill, Figure 2). Clustering keys in a learned latent space and descending a bucket hierarchy makes the indexer O(T log T) rather than O(T^2), which is a real step past ClusterKV, RetroInfer, Squeezed Attention, LycheeCluster and IceCache, all flat or fixed-depth and none evaluated above 1M. The paper says this plainly in Table 1 and §2.2, and the comparison table is honest about the overlap with Reformer, Routing Transformer and Treeformer.\n\nOn the shared index list: the stress-test note calls it the decisive unvalidated assumption, and I think that overstates it. Eq. 1 and §3.2D state the head-summed query and the single list per query openly; it is a disclosed design choice, not a hidden premise. It is true that per-head lists would multiply decode bandwidth and eat the 4.6x/42.5x, and that the Appendix A oracle uses the same convention so it cannot separate 'attention is sparse' from 'one list suffices'. But N-LSA already scores buckets by max over heads (Eq. 3) and matches full-attention validation loss at 128k, which is at least partial evidence one latent index can serve several heads. I would file per-head indexing as the obvious follow-up experiment, not a hole in what is claimed.\n\nWhere the paper does reach past its evidence is the 'exceeds full attention at 10M' framing (63.9 vs 59.9 on RULER; 53.3 vs 32.2 on PaperTrail tier 1). These are degradation-rate comparisons against a YaRN factor-40 baseline, on tasks where MultiKey 2, MultiKey 3 and CWE sit at 5 or below for every method including full attention. D-LSA (Tree) collapsing to 60/56/55 against 100 on MultiKey 1, MultiValue and VT is blamed on beam search with nothing separating beam error from cluster error, though §5 does acknowledge the tree-search drop.\n\nOne correction to the reader's report: PaperTrail is not a fabricated entity. Appendix D and Table 8 describe a constructed benchmark with four controls and not-in-corpus questions, and the controls are clean. That is a genuine contribution.\n\nSend it out. Give it to someone who will audit the timing methodology, and to a long-context eval person who will demand error bars at 10M.","headline":"A careful, well-measured systems paper on making the indexer subquadratic at 10M tokens, wrapped in a much thinner accuracy story that the abstract oversells.","tokens_in":45920,"tokens_out":2368,"duration_ms":18079},"pith_extraction":null,"created_at":"2026-11-02T05:54:12.708117+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":null,"supporting_citations":[],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}