- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
FluxAttention proposes a context-aware dynamic hybrid attention framework for long-context LLM inference. Existing hybrid attention methods typically rely on static allocations of Full Attention (FA) and Sparse Attention (SA), preventing them from adapting to the varying retrieval and reasoning requirements of different tasks and inputs. The manuscript further argues that prior dynamic sparsity approaches operating at the attention-head level introduce hardware inefficiencies during decoding due to workload imbalance and irregular memory access patterns. To address these limitations, the authors propose a lightweight routing mechanism that dynamically selects between FA and SA at the layer level based on the input context, aiming to preserve task-dependent adaptability while achieving more hardware-friendly execution and improved inference efficiency.
Strengths and weaknesses
Strengths:
1.) Clear motivation connecting task-dependent retrieval needs with adaptive layer-wise sparsity.
2.) Parameter-efficient training: only the router is trained for 12 hours while the backbone model remains frozen.
3.) Comprehensive evaluation across multiple long-context benchmarks and model families.
Weaknesses:
1.) The primary contribution of the paper is a routing mechanism rather than a new sparse attention algorithm. Consequently, the effectiveness of the approach depends heavily on the underlying sparse attention backend, meaning that the proposed layer-wise routing framework may not be directly compatible with state of the art sparse attention methods such as vAttention [1], which employ fine-grained per-head, per-token sparsity patterns.
2.) The motivation for layer-wise routing is partially grounded in the observation that different layers exhibit varying attention entropy and retrieval behavior. However, the paper does not quantitatively analyze whether the learned router decisions correlate with these entropy measurements. Such an analysis could help validate the underlying hypothesis and provide additional insight into what the router has learned.
3.) Minor: The manuscript would benefit from a more comprehensive discussion of recent decode-time sparsity methods, which are currently absent from the related work section.
[1] Aditya Desai, Kumar Krishna Agrawal, Shuo Yang, et al. vAttention: Verified Sparse Attention via Sampling. ICLR 2026.
Questions
1.) Figure 1(a) studies the relationship between performance and sparsity. However, the observed performance degradation can depend significantly on the underlying sparse attention mechanism. Could the authors clarify which sparse attention implementation was used in this experiment and discuss how sensitive the results are to the choice of a sparse attention method?
2.) The RULER evaluation in the Appendix (Table 6) appears to exclude the CWE and VT tasks. Is there a particular reason for this omission? Could the authors provide the corresponding results on these to facilitate a more complete comparison?
3.) The paper motivates layer-wise routing through an entropy-based analysis that identifies retrieval-oriented and sparsity-tolerant layers. Given this motivation, did the authors consider incorporating entropy information directly into the router design or training objective? It would be interesting to understand whether such supervision was explored and how it compares to the current fully learned routing strategy.
4.) For the speedup results in Figure 3, what inference engine and attention kernel implementation are used for the dense baseline?
The manuscript addresses an important problem in long-context LLM inference and proposes a practical framework for dynamically balancing full and sparse attention. However, clearer validation of the entropy-based motivation, and a more comprehensive discussion of recent decode-time sparsity methods would strengthen the paper. Further clarification regarding the sparse attention backend used in key experiments and the inference setup for the reported speedups would also improve the interpretability of the results. Addressing these concerns would strengthen the paper and could potentially influence my overall assessment.
Limitations
Yes
Paper formatting concerns
No formatting issues.
Final justification
My concerns were resolved adequately. I recommend acceptance.
My score is 5 (Accept).
We sincerely thank the reviewer for the positive assessment of the paper’s quality, motivation, parameter efficiency, and evaluation breadth, and for the specific suggestions that improve scope, mechanism analysis, benchmark completeness, and reproducibility. To reduce repetition, we merge the overlapping entropy comments (W2/Q3) into Q2 and the Figure 1/backend-scope comments (W1/Q1) into Q1; both merged answers explicitly address the weakness and question.
Q1. Is Flux compatible with fine-grained SA methods such as vAttention, and how backend-dependent is Figure 1? (Merged W1/Q1)
A1. Flux and fine-grained SA operate at different levels, but compatibility requires an actual whole-layer backend integration and should not be assumed universally. Flux does not introduce an SA kernel; its router selects whether a complete layer invokes FA or a chosen SA implementation. The current paper validates this abstraction with Streaming Sparse Attention (SSA), XAttention (XA), and Triangle Attention/TriangleMix (TA). Figure 1(a) specifically uses SSA with the Appendix F.3 configuration, which we will state explicitly in the caption.
We additionally integrated a vAttention-style per-head sparse branch with Llama-3.1-8B-Instruct on an H20 GPU without modifying the router interface. The output is close to full attention (cosine similarity 0.984), establishing functional composability at the attention interface. This result should not, however, be overstated as a complete systems evaluation: it verifies integration/output agreement, not the final wall-clock benefit of a fully optimized vAttention kernel under layer routing. We will frame the relationship as complementary—Flux chooses the layer-level mode, while vAttention can provide fine-grained selection inside the selected sparse branch—and restrict demonstrated performance claims to SSA/XA/TA.
Backend sensitivity is real rather than a failure of the framework. In new matched sparsity sweeps, both XA and TA reproduce the broad Figure 1 trend: retrieval-heavy QA degrades at high sparsity, while summarization/code remain more robust, but their thresholds differ. For example:
We will add the full sweep and state the intended scope precisely: Flux learns backend-conditioned layer allocation and is validated with SSA/XA/TA; other operators are promising extensions, not already established performance results.
Q2. Do learned routing decisions quantitatively correlate with layer entropy, and was entropy used as supervision? (Merged W2/Q3)
A2. The learned router shows a moderate, task-dependent relationship with entropy rather than simply reproducing a static entropy ranking; entropy is not used as its supervision target. Following Appendix D.1, we compare each layer’s entropy score E_l with its average FA activation over evaluation samples. Across six representative tasks, the observed correlations are:
This non-unit correlation is consistent with the intended distinction: entropy is an offline profiling signal revealing layer heterogeneity, whereas the router learns input-dependent allocation. The same layer can change behavior with the task; for example, Layer 11 changes from 0% FA activation on general tasks to 60% on mathematical reasoning tasks. A router supervised directly by a static layer entropy ranking would have difficulty expressing this variation.
We did not use entropy as the final router supervision target. The router is trained from contextual representations and task objectives through the differentiable routing mechanism. We will revise the paper to say that entropy motivates the existence of heterogeneous sparsifiability and serves as an analysis heuristic, not a theoretical guarantee or routing label.
The per-task p-values above quantify the reported correlations but do not establish a causal relationship between entropy and routing, and we will not describe them as such. In the revision, we will provide the per-layer points and task-wise routing frequencies so readers can inspect whether the aggregate coefficient is driven by a few layers. The mechanism claim will remain deliberately limited: entropy reveals heterogeneous representation structure; the learned policy determines the final task-conditioned computation.
We will also verify the sign convention before submission. Appendix D.1 states that lower entropy implies greater redundancy, while the observed negative entropy–FA correlation can appear opposite under some entropy/FA coding conventions. We will check the entropy ordering, bin labels, and FA/SA encoding against the released analysis script. If the sign above is confirmed, we will present it as evidence that the learned router departs from a static entropy heuristic—not as monotonic validation of that heuristic. This explicit qualification prevents overinterpreting the correlation.
Q3. Why were CWE and VT omitted from RULER, and what happens when they are included?
A3. Their omission was an evaluation-completeness gap, and we have now run both tasks under the same six context lengths {8K, 16K, 32K, 64K, 131K, 262K}. For Llama-3.1-8B-Instruct, the aggregate results are:
The length-binned joint CWE/VT score is:
These results show that Flux remains competitive after including the omitted tasks: it improves the two-task aggregate over the dense backbone by 2.59 points and over DuoAttention by 0.35 points at approximately matched sparsity, while preserving useful performance across the evaluated length range. We will add CWE/VT and recompute the RULER summary. We will also state the limitation that this added evaluation is currently for Llama-3.1-8B-Instruct rather than every backbone, avoiding a broader claim than the evidence supports.
Q4. Which recent decode-time sparsity methods will be discussed, and how does Flux differ?
A4. We agree that the current related-work section is incomplete and that dynamic sparse attention is not itself new. We will add vAttention and recent decode-time KV-selection/compression methods, together with SeqBoat, AHA, SLA2, inference-time hyper-scaling, and LTE where relevant. The comparison will distinguish (i) model family, (ii) token/head/layer selection unit, (iii) whether the sparse operator is fixed or learned, and (iv) whether the objective is quality, cache capacity, prefill, or autoregressive decode regularity. We will narrow the novelty statement to input-conditioned whole-layer FA/SA routing for pretrained long-context LLM inference and its measured quality–decode-latency–memory trade-off, not the first dynamic sparse-attention method. vAttention is especially complementary: it can supply fine-grained sparsity inside a routed SA layer, while Flux supplies the coarse execution mode.
Q5. What inference engine and dense-attention kernel are used for Figure 3?
A5. The existing manuscript reports the common protocol but under-specifies the exact software stack. Figure 3 uses a single NVIDIA A800 80GB GPU, BF16, batch size 1, 10 warm-up iterations, and 50 profiling iterations (Appendix D.3, p.16, lines 589–595). The dense baseline uses the standard FlashAttention execution path in the same PyTorch/CUDA environment as the sparse/hybrid methods. Hardware, precision, input/output shapes, warm-up, repetitions, and timing protocol are shared; the attention execution path is the controlled difference.
We agree that “standard FlashAttention” is not sufficient for reproducibility without exact package/kernel versions, compilation flags, CUDA-graph status, synchronization, and code path. We will add those fields from the anonymous repository/environment manifest to the revised experimental setup rather than guessing them in the rebuttal. We will also label Figure 3’s measurements by phase and unit so that prefill/TTFT is not confused with per-token decode latency.
Overall, the added evidence strengthens the paper while clarifying its limits: Flux is backend-composable but performance-validated on SSA/XA/TA; entropy motivates heterogeneity but does not statically determine routes; CWE/VT preserve the main quality conclusion; and the novelty is the layer-level deployment trade-off rather than dynamic sparsity in general. We will incorporate these results and reproducibility details in the revision.