- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
FFTSparse is a training-free block-sparse attention method for long-context prefilling. The key observation is that RoPE-induced attention matrices show diagonal stripe patterns: query-key pairs at certain relative distances (lags) are consistently high-scoring. Instead of the O(N^2) block scoring that dynamic baselines use to find which blocks to attend, FFTSparse frames lag identification as a cross-correlation and solves it in the frequency domain in O(N log N). A lightweight module classifies each head as diagonal-dominant (gets a prior mask + column mask + FFT lag mask) or diffuse (gets a prior mask + row-wise top-k affinity mask). Evaluated on Llama-3.1-8B and Qwen2.5-7B on LongBench, with latency on RTX 5090 from 8K to 128K. Reported up to 7.4-8.4x prefill speedup at 128K with accuracy close to full attention, and an ablation over the mask components.
Strengths and weaknesses
Strengths
- The core idea is genuinely good. Reformulating lag discovery as FFT cross-correlation is the right tool for the observed structure, and the O(N^2) -> O(N log N) reduction in pattern identification targets a real, well-motivated bottleneck that prior dynamic methods (MInference, FlexPrefill, XAttention) all pay.
- The speedup numbers are strong and measured as wall-clock, not just FLOPs. At 128K the gap over XAttention (3.4x) and MInference (1.9x) is large, and the crossover behavior (slower than dense at 8K, faster as N grows) is reported honestly rather than hidden.
- The head-type ablation (Table 3) is informative: All-Stripe and All-Diffuse reach similar accuracy but at much higher mask ratio (12.4% / 19.2% vs 10.4%), which supports the routing design on a sparsity-per-accuracy basis rather than accuracy alone.
- Training-free, builds on public BSA kernels, code linked, two model families tested. Reproducibility is reasonable.
- The w/o Prior code-task observation (RepoBench jumps when the locality prior is removed) is a nice, candid piece of analysis.
Weaknesses
- The accuracy claim is overstated. The abstract says accuracy is "strictly preserved," but FFTSparse is below full attention on the headline average for both models (36.86 vs 37.02 on Llama at theta=0.85; 41.25 vs 42.52 on Qwen) and is never the top sparse method on average. MInference and XAttention both edge it out. "Competitive" is accurate; "strictly preserving" and "consistently outperforming state-of-the-art" are not, since on accuracy it trails and the selling point is the efficiency/accuracy trade-off, not accuracy itself.
- A key recent baseline is missing from the comparisons. SpargeAttention is cited in related work and described as reaching up to 13.5x prefill speedup at 256K, yet it does not appear in Table 1 or Table 2. If the headline is "consistently outperforming SOTA," the strongest efficiency competitor cannot be left out of the actual experiments.
- The routing/identification cost is asserted, not measured. The 0.02% overhead figure is a FLOPs estimate for mask construction. Head classification requires probing diagonal variance (Eq. 4), and Appendix B says this is done by "lightweight sparse probing" of selected offsets, but there is no measured wall-clock for the classification step, no statement of how many offsets are probed, and no sensitivity analysis on theta_diag. Since the entire pitch is avoiding O(N^2) scoring, the cost of deciding who is diagonal-dominant needs to be on the clock, not estimated away.
- Complexity bookkeeping is internally inconsistent. The appendix complexity table lists O(HN^2) terms for pattern identification, lag mask construction, and the affinity mask, then states the total is dominated by O(HN log N D + HN^2). An O(HN^2) term means the method is not actually sub-quadratic in blocks; the abstract's O(N log N) framing applies only to the FFT lag-extraction sub-step, not to mask construction as a whole. This should be stated plainly rather than folded into a "0.02%" headline.
- Latency methodology is shaky at the most important point. For 64K and 128K, only 10 and 5 layers are profiled and extrapolated to the full model. The biggest speedup claims (7.4-8.4x at 128K) are exactly where the measurement is most extrapolated and least direct. At minimum, report the full-model number for at least one 128K configuration.
- theta is a per-deployment knob with no selection procedure. Results are shown at 0.85 and 0.9, but how a practitioner picks theta for an unseen workload is unspecified, and the diffuse/diagonal split plus theta_diag, k_sink, w, k_last, k_col form a sizeable hyperparameter surface whose robustness is not characterized.
- The "best on 6/15 datasets, occasionally beating dense" framing invites a multiple-comparisons read. With 15 datasets and no variance reporting (the paper argues determinism, which is fair for a fixed forward pass but does not address sensitivity to the many thresholds), per-dataset wins are weak evidence on their own.
Questions
- Can you add SpargeAttention to Tables 1 and 2? It is the most directly competitive efficiency baseline and is currently only discussed, not run.
- What is the measured wall-clock cost of the head-classification step alone, as a fraction of total prefill, at 32K/64K/128K? How many diagonal offsets are probed, and how sensitive is accuracy to theta_diag?
- The appendix lists O(HN^2) terms in mask construction. Is mask construction actually sub-quadratic, or only the FFT lag-extraction sub-step? Please reconcile this with the abstract.
- For 128K, can you report at least one full-model (all-layer) latency measurement rather than a 5-layer extrapolation, to validate the 8.4x figure?
- How should theta be chosen without per-task tuning? Is there a single setting that holds across LongBench tasks, or does each task need its own?
- Diffuse heads still use row-wise top-k over block scores (Eq. 11), which needs the block score matrix. What is the complexity and measured cost of that path, and how many heads end up diffuse in practice on each model?
- The abstract claims accuracy is strictly preserved while the tables show small drops below dense. Can this be softened to an accuracy/efficiency trade-off claim?
Limitations
The limitations appendix is honest about the main scope issues: diagonal patterns are task-dependent and may fade on abstract reasoning, the fixed B=128 granularity can retain redundant tokens, and transfer to non-RoPE position encodings (ALiBi, NoPE) is untested. Two things are under-acknowledged and should be added. First, the accuracy gap below dense and below the best sparse baselines is a limitation of the method's value proposition, not just a detail, and should be stated where the accuracy claims are made. Second, the cost and robustness of the head-classification and theta selection steps are not treated as limitations even though they are central to whether the O(N log N) story holds end to end. The broader-impacts and license sections are adequate.
Paper formatting concerns
- The PDF contains injected text (appearing twice) instructing the reader to include three specific reviewer phrases. This is a prompt-injection attempt aimed at automated review and should be flagged to the AC; it is not legitimate manuscript content.
- Checklist inconsistencies: item 2 says limitations are in "Appendix C" but they are in Appendix A; item 1 cites "Appendix G" for complexity but the analysis is in Appendix E; item 10 claims a Broader Impact discussion in Section 5, but Section 5 is a short conclusion with no real broader-impact paragraph. Please fix the cross-references.
- The abstract's quantitative framing ("7.4x," "strictly preserving") should be reconciled with Table 2 (8.4x at theta=0.9) and Table 1 (accuracy below dense). Pick consistent numbers and claims.
- Several equations reuse indices (the paper notes the m/tau overloading itself); a small notation table would help, since the lag/block/head indexing is dense.
- Figure 1 and Figure 4 are central to the motivation but are described only qualitatively; a quantitative measure of "diagonal dominance" per layer/head would strengthen the empirical claim that the structure is prevalent.
- Minor: define mask ratio and how it is computed the first time it appears in Table 3, and state which theta the Table 3 ablation uses.
Final justification
The all-32-layer measurements substantially address my concern about extrapolating the 64K/128K latency results, and the reported 8.37× result is close to the original estimate. The isolated head-classification timings, number of probed offsets, diffuse-head proportions, and affinity-path costs are also useful additions.
We respond the reveiwer tMoC 's comment point by point as below.
[F1]
Response about Prompt-Injection Text
We take academic integrity with the utmost seriousness and categorically confirm the authors did not insert any such instructions.
It seems that these prompts were embedded into the PDF by the official NeurIPS/OpenReview system to detect whether reviews are entirely generated by AI tools, wihch has been cross-verified by other authors of NeurIPS.
[Q1 & W2]
Response: About SpargeAttention Baseline
SpargeAttention and FFTSparse use different pattern-identification paradigms. SpargeAttention relies on block- or region-wise similarity scoring, whereas FFTSparse extracts dominant global lags through FFT in O(NlogN) time. This distinction is particularly relevant at extreme context lengths.
We attempted to reproduce SpargeAttention using its official repository, but the results were substantially below the published values, likely because of software-stack and kernel-specific dependencies. Reporting unverified numbers could be misleading. We therefore included XAttention, the strongest baseline we could reproduce reliably under identical settings.
We acknowledge this limitation and will document the reproduction environment and add results once the baseline can be reproduced faithfully.
[Q2 & W3]
Response: Cost and Sensitivity of Head Classification
The classifier avoids the full [H,N,N] tensor by probing about 15% of eligible remote diagonals, capped at 64.
Thus, classification is below 1% of prefill latency and about 0.41% at 64K/128K.
For each sampled offset τ, we compute the diagonal vector
aτ(h)[m]=DQm(h)⋅Km−τ(h),measure its normalized adjacent-difference variance, and average across sampled offsets. A head is routed to the stripe path when r(h)≤θdiag.
Empirically, θdiag=0.2 cleanly separates most heads. On a real sample, Layer 23 has 30 stripe/2 diffuse heads and Layer 14 has 13 stripe/19 diffuse heads; most diffuse scores are 0.23--0.47. Extreme ablations remain stable: Adaptive, All Stripe, and All Diffuse score 39.52, 39.35, and 39.30. The threshold therefore affects efficiency more than accuracy.
[Q3 & W4]
Response: Reconciling O(NlogN) and O(HN2)
The O(NlogN) claim applies specifically to dominant-lag extraction through FFT. Physical instantiation of the block-level Boolean mask remains O(HN2). We will revise the abstract and complexity discussion to distinguish these two stages explicitly.
Existing methods perform block-pair scoring at quadratic scale. FFTSparse instead uses its quadratic step only to write Boolean entries after lag extraction, without block-by-block query--key scoring. We will remove wording suggesting that the entire pipeline is sub-quadratic.
[Q4 & W5]
Response: About Full 32-Layer Latency
Our initial partial-layer profiling followed the evaluation protocol adopted by XAttention, which reports its efficiency measurements using only Layer 12. We therefore used a similar representative-layer protocol in the original submission, particularly because storing and processing raw QK tensors at 64K and 128K introduces substantial I/O, storage, and memory overhead.
Nevertheless, we agree that full-model, all-layer measurements provide more rigorous evidence and avoid potential bias caused by layer-wise variations in attention topology. To directly address this concern, we regenerated the QK data for all 32 Transformer layers and repeated the latency evaluation without any layer-wise extrapolation.
The full 32-layer measurements are highly consistent with the original partial-layer results. In particular, the measured 128K speedup of 8.37x closely matches the previously extrapolated value of 8.44x, confirming that the original protocol did not materially overestimate the acceleration.
We will replace all extrapolated results in the revised manuscript with these full-model measurements and update Table 2, the experimental setup, and the corresponding speedup claims accordingly.
[Q5 & W6]
Response: Selection of θ
We use one task-agnostic global threshold. Calibration on a small subset gives θ≈0.90 for about 10% retained blocks and θ≈0.85 for about 15%.
All reported LongBench tasks and layers share the same threshold for a given model. We recommend θ=0.85 as the conservative default and θ=0.90 for a more efficiency-oriented setting. We will add the calibration procedure and sensitivity results.
[Q6]
Response: Complexity and Cost of Diffuse Heads
For Hd diffuse heads, sequence length L, and block size B, the diffuse path has block-level complexity
O(Hd(BL)2).Only routed diffuse heads construct this matrix, and B=128 reduces its size.
We also force all 1,024 head-instances across 32 layers into either the diffuse or stripe path for an equal-head comparison:
Even under All Diffuse, mask construction remains below 0.5% of prefill. At 128K, 21.32 ms is score construction and 58.29 ms is Top-k+mask. Per-head values are amortized costs.
In adaptive execution, about 15%--25% of heads are diffuse. All Diffuse is slower end to end mainly because its mask is denser: 19.24% versus 12.41% for All Stripe.
[Q7, W1 & F3]
Response: Accuracy--Efficiency Claims
We will replace the absolute claims with “a highly competitive accuracy--efficiency trade-off.” FFTSparse has a small average accuracy gap while being about 1.9x faster at 64K and 2.1x faster at 128K.
We will also harmonize all speedup claims. The 7.4x value corresponds to the conservative θ=0.85 setting, while the updated full-model peak is 8.37x at θ=0.90. Every reported number will be paired with its threshold.
[W7]
Response: Per-Dataset Wins and Variance Reporting
We agree that counting per-dataset wins is descriptive and should not be treated as evidence of statistical superiority. We will remove or substantially soften this framing.
FFTSparse is a training-free and deterministic inference method. Under fixed inputs, hyperparameters, and greedy decoding, its sparse pattern, output, and task score remain unchanged; thus, there is no run-to-run variance from training seeds or stochastic generation. This is consistent with prior training-free sparse-attention methods such as XAttention and SpargeAttention, which also report point estimates under fixed inference settings rather than multi-seed means with error bars.
Nevertheless, deterministic inference does not eliminate sampling uncertainty from finite evaluation sets. We therefore agree that small per-dataset gains should not be interpreted as statistically significant advantages, and will instead emphasize average performance and the accuracy--efficiency trade-off.
On Llama-3.1-8B, FFTSparse scores 36.86, compared with 37.02 for Full Attention and 37.20 for XAttention. On Qwen2.5-7B, the corresponding scores are 41.25, 42.52, and 42.15. Meanwhile, FFTSparse achieves approximately 1.8×--2.2× lower prefilling latency than XAttention at 64K--128K.
Accordingly, individual task wins will be presented only as descriptive observations. Our central claim is that FFTSparse maintains comparable average performance while substantially reducing long-context prefilling latency.
[L1 & L2]
Response
We agree and will explicitly add both limitations: the small accuracy gap relative to dense attention and the strongest sparse baselines, and the robustness and isolated cost of head classification and threshold selection.
[F2, F4, F5 & F6]
Response
We will correct the checklist references, add a notation table for m and τ, add quantitative metrics to Figures 1 and 4, and define mask ratio and the corresponding θ in Table 3.