- Rating
- 2
- Clarity
- 2
- Confidence
- 5
- Originality
- 2
- Quality
- 2
- Significance
- 2
Read review
Summary
BSFA proposes a training-free block-sparse FlashAttention variant that computes exact QK scores first and then skips low-importance value blocks based on calibrated per-layer, per-head, and per-position thresholds. This design aims to preserve accuracy while reducing value loading and PV computation during long-context prefill. However, the reported implementation effect seems limited: at 50% and 70% sparsity, it only achieves 1.11× and 1.16× speedups, raising concerns about the practical efficiency of this implementation.
Strengths and weaknesses
Strengths: BSFA is a simple and practical training-free extension of FlashAttention: it keeps exact QK score computation and only skips low-importance V-block loading and PV computation, which helps preserve accuracy while reducing long-context prefill cost.
Weaknesses: The practical speedup is relatively limited; even under high sparsity settings, the reported end-to-end gains are modest, such as around 1.11×–1.16×, which raises concerns about whether the current implementation fully converts sparsity into real hardware efficiency.
The comparison is incomplete: although the paper compares with SpargeAttention, MInference, FlexPrefill, XAttention, and BLASST, it does not compare with KV-cache compression/eviction methods such as KVZip and KVZAP, making it unclear how BSFA performs against strong long-context KV-reduction baselines.
Questions
Is that possible to calculate the optimal sppedup on differend sparse ratio? To see how good is your implementation?
Limitations
See weakness
Paper formatting concerns
The overall figure quality, table formatting, and paper presentation appear below the expected standard of a NeurIPS submission; several plots and tables look rough and insufficiently polished, raising concerns about whether the manuscript satisfies the conference’s formatting and presentation requirements.
Final justification
I appreciate the clarification, but I remain concerned about the significance of the method, as achieving only a 1.16× end-to-end speedup while already incurring around a 2% accuracy degradation suggests that the practical benefit is still rather limited. So I keep the score.
We thank the reviewer for their questions and concerns. We address each point below.
A misunderstanding about the speedup figures. The reviewer's summary cites "at 50% and 70% sparsity, it only achieves 1.11× and 1.16× speedups". We believe there may be a misunderstanding here, because those two figures are not BSFA's. They are the BLASST rows of Table 1, at 2.5% and 9.5% accuracy loss. BLASST is a different method and one of the baselines we compare against, not a configuration of BSFA. BSFA itself is not parameterised by a sparsity percentage anywhere in the paper. Its rows in Table 1 are indexed by the block budget k, measured on LongBench with Llama-3.1-8B against dense FA-2 on A100, and read 1.08× at −0.5% accuracy (k=128), 1.10× at −0.9% (k=96), 1.13× at −1.1% (k=64), and 1.16× at −2.1% (k=32), all served from one calibrated threshold tensor. The configuration we headline is k=64, at 1.13× and −1.1%. At the 1.16× that the review attributes to us, BSFA's accuracy degradation is 2.1 percent where BLASST's is 9.5 percent. Same speedup, less than a quarter of the accuracy loss.
Optimal speedup. At the request of the reviewer, we calculate the optimal speedup as a function of the sparsity ratio. We show that our attention kernel reaches 94 to 96 percent of the theoretical maximum speedup this design allows. We will add this derivation to the complexity analysis in Section 4.3:
Per FA-2 tile, the amount of FLOPs required to calculate QK and PV are the same. Furthermore, K and V are the same size. BSFA computes every score and skips only value blocks. It follows that at a retained block density ρ (defined and detailed in Eq. 3 and measured in the Pred./Meas. Density column of Appendix Table 6) BSFA does 1+ρ units of computation whereas dense does 2. Thus, the theoretical speedup ceiling is 2/(1+ρ). This ratio holds for both FLOPs and memory bandwidth. Measured kernel-only speedups are Table 3.
Results showing the gap from our implementation to optimal speedup are available in the table below. All of the measurements in the table already appear in the paper, and are measured on Llama-3.1-8B running RULER 64K on A100.
Our attention kernel reaches roughly 94 to 96 percent of the theoretical maximum speedup available at these densities, which is very close to optimal.
Value-side-only sparsification cannot exceed 2× on the attention kernel at any k, and end-to-end TTFT is bounded further by attention's share of the forward pass. Both bounds are properties of the design and not of our kernel. At k=192 the 1.38× kernel amortizes to 1.13× over the full forward pass (Table 3), so the end-to-end figures track attention's share and not lost sparsity.
On the magnitude of the gain. The gain over dense is bounded by the design, as the ceiling above shows. What is not modest is the distance to the alternatives once input length varies. Over the 160-sample LongBench mixed-length subset, mean TTFT is 1,073 ms for dense, 1,036 ms for BSFA k=64, and 2,294 ms for MInference, so BSFA is 2.21× faster than MInference on that workload. Pre-attention selection builds a sparse index before attention runs and pays that cost on every short request, while BSFA's gate is one comparison inline in the kernel. Table 1 reports a single length, about 65K, where that overhead has amortized and the methods look close.
Cache-eviction baselines. Both should be cited and we are adding them to Related Work. However, these methods target completely different aspects of LLM inference. They reduce KV-cache size and accelerate decoding, while BSFA reduces prefill latency, so they are not alternatives to it.
KVzip uses extra context-reconstruction passes to produce a smaller cache for subsequent queries in the decoding phase. Figure 8 of the KVzip paper reports that its per-context importance-scoring stage adds computational overhead equal to approximately twice the cost of standard prefill. Therefore, constructing the compressed cache increases rather than reduces initial prefill time. This cost is paid once per context, trading slower prefill for faster subsequent decoding.
KVzap can evict cache entries during prefilling or decoding, but applies eviction after attention in all reported experiments, leaving the prefill attention computation unchanged. Its reported setup therefore targets the cache available to subsequent decoding rather than prefill latency.
Neither KVzip nor KVzap reports a comparable wall-clock prefill or time-to-first-token speedup against dense attention, which are the metrics we aim to optimize. They can work together with BSFA rather than replace it.
Finally, we point out that we did compare against five competing sparse attention papers, all of which target the same quantity we do, prefill time-to-first-token. Two of them are more accurate than BSFA at k=64 on LongBench, MInference at 40.06 percent and XAttention at 39.95 percent against our 39.78 percent, and both fall well below dense on short inputs, to 0.17× and 0.85× respectively, where BSFA's worst bucket is 0.96× (Table 2). The methods that hold up on short inputs give up accuracy instead.
Figures and formatting. We thank the reviewer for this comment and will improve the presentation and formatting. The result plots were exported as raster PNG and downscaled into the column, which renders their axis labels at roughly 2.5pt, and Figure 1's 2×2 grid leaves a panel empty. We will re-export them as vector PDF at column width with matched fonts, lay Figure 1 out as a single row of three panels, and rebuild the tables with lighter ruling. As for the style file, we use it with no changes to margins, font sizes, or line spacing.