Flux Attention: Context-Aware Hybrid Attention for Efficient LLMs Inference
Quantong Qiu, Zhiyi Hong, Yi Yang, Haitian Wang, Kebin Liu, Qingqing Dang, Juntao Li, Min Zhang
TL;DR. Flux Attention introduces a dynamic, layer-wise hybrid attention framework for context-aware processing. Its lightweight Layer Router automatically adjusts overall sparsity, accelerating inference practically in long-context scenarios.
Abstract. The quadratic computational complexity of standard attention mechanisms presents a severe scalability bottleneck for LLMs in long-context scenarios. While hybrid attention mechanisms combining Full Attention (FA) and Sparse Attention (SA) offer a potential solution, existing methods typically rely on static allocation ratios that fail to accommodate the variable retrieval demands of different tasks. Furthermore, head-level dynamic sparsity often introduces severe computational load imbalance and synchronization long-tails, which hinder hardware acceleration during autoregressive decoding. To bridge this gap, we introduce Flux Attention, a context-aware framework that dynamically optimizes attention computation at the layer level. By integrating a lightweight Layer Router into frozen pretrained LLMs, the proposed method adaptively routes each layer to FA or SA based on the input context. This layer-wise routing preserves high-fidelity information retrieval while ensuring contiguous memory access, translating theoretical computational reductions into practical wall-clock speedups. As a parameter-efficient approach, our framework requires only 12 hours of training on 8xA800 GPUs. Extensive experiments across multiple long-context and mathematical reasoning benchmarks demonstrate that Flux Attention achieves a superior trade-off between performance and inference speed compared with baseline models, with speed improvements of up to 2.8x and 2.0x in the prefill and decode stages.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper presents a new routing mechanism that based on the input tokens determines for each layer whether to use full or sparse attention.
The approach is well motivated since while sparse attention reduces inference cost it might degenerate performance on the downstream task and the proposed approach allows to select between sparse and full attention at inference time.
Reviewers rcWq and DaWZ pointed out that the paper is currently missing discussion of related work. For example, in does not seem to be fully clear which sparse attention approach was used in the experiments.
Reviewers also raised some concerns about the empirical evaluation of the paper, such as discrepancies in results to other work on Elastic Attention (reviewer rcWq) and the exclusion of the CWE and VT tasks on ruler.
Final justification
The rebuttal addressed the main concerns raised by the reviewers, including the missing discussion of related work and the discrepancy between the reported results and those of Elastic Attention. All reviewers now recommend acceptance of the paper.
The authors should incorporate the outcomes of the rebuttal into the final version of the paper. I would also recommend addressing the presentation-related issues raised by reviewer DaWZ in their response to the rebuttal.
Read meta-review
Meta-review
The paper presents a new routing mechanism that based on the input tokens determines for each layer whether to use full or sparse attention.
The approach is well motivated since while sparse attention reduces inference cost it might degenerate performance on the downstream task and the proposed approach allows to select between sparse and full attention at inference time.
Reviewers rcWq and DaWZ pointed out that the paper is currently missing discussion of related work. For example, in does not seem to be fully clear which sparse attention approach was used in the experiments.
Reviewers also raised some concerns about the empirical evaluation of the paper, such as discrepancies in results to other work on Elastic Attention (reviewer rcWq) and the exclusion of the CWE and VT tasks on ruler.
Final justification
The rebuttal addressed the main concerns raised by the reviewers, including the missing discussion of related work and the discrepancy between the reported results and those of Elastic Attention. All reviewers now recommend acceptance of the paper.
The authors should incorporate the outcomes of the rebuttal into the final version of the paper. I would also recommend addressing the presentation-related issues raised by reviewer DaWZ in their response to the rebuttal.
1 comment
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
Final justification
My concerns were resolved adequately. I recommend acceptance.
My score is 5 (Accept).
Formatting concerns
No formatting issues.
3 comments
Rebuttal
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:
| Sparsity | XA Single-Doc QA | XA Multi-Hop | XA Summ. | XA Code | TA Single-Doc QA | TA Multi-Hop | TA Summ. | TA Code |
|---|---|---|---|---|---|---|---|---|
| 0.0 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 0.4 | 101.70 | 92.01 | 101.14 | 102.91 | 100.16 | 95.26 | 92.84 | 97.13 |
| 0.6 | 96.87 | 92.37 | 101.04 | 104.54 | 97.98 | 93.21 | 92.32 | 97.01 |
| 0.8 | 89.71 | 88.33 | 96.02 | 102.00 | 87.20 | 83.65 | 88.05 | 96.14 |
| 0.9 | 77.89 | 87.90 | 96.36 | 104.23 | 75.51 | 81.14 | 88.58 | 96.00 |
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:
| Task | Spearman ρ | Pearson r | p-value |
|---|---|---|---|
| Code | -0.467 | -0.402 | 0.007 |
| Creative Writing | -0.467 | -0.402 | 0.007 |
| Math | -0.358 | -0.355 | 0.044 |
| QA | -0.467 | -0.402 | 0.007 |
| Summarization | -0.467 | -0.402 | 0.007 |
| Translation | -0.360 | -0.387 | 0.043 |
| Average | -0.431 | -0.391 | — |
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:
| Method | Sparsity | CWE | VT | Mean |
|---|---|---|---|---|
| Backbone (FA) | 0% | 39.90 | 80.60 | 60.25 |
| Flux | ≈51% dynamic | 43.07 | 82.60 | 62.84 |
| DuoAttention | 50% static | 42.10 | 82.87 | 62.49 |
The length-binned joint CWE/VT score is:
| Length | Backbone | Flux | DuoAttention |
|---|---|---|---|
| 0–8K | 58.0 | 64.8 | 66.0 |
| 16K–32K | 61.6 | 81.2 | 78.8 |
| 32K–64K | 85.2 | 86.0 | 77.2 |
| 64K–128K | 96.0 | 94.0 | 93.2 |
| >128K | 91.4 | 84.8 | 91.0 |
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.
#1 Response to the Rebuttal
Thank you for the thorough and thoughtful responses. In addition to the relevant works suggested by Reviewer rcWq, I also recommend discussing the following recent works on block-level sparse attention [1, 2], as they fit naturally within the proposed framework and would help better position the paper with respect to the latest literature.
Most of my concerns have been adequately addressed, and I intend to maintain a positive score for now. That being said, I encourage the authors to further improve the clarity of the presentation by making the details of all figures and empirical evaluations as explicit as possible. In particular, clearly specifying the baselines, experimental configurations, hyperparameters, and evaluation settings for each experiment would make the paper easier to follow and enable readers to fully appreciate the contributions.
One final point of clarification concerns the entropy analysis in the rebuttal. The reported Spearman correlation coefficients are nearly identical across several substantially different tasks (eg., -0.467). Could the authors clarify the underlying reason? I would expect the spearman correlation coefficient to change per task since the a layer changes behavior with the task?
[1] Duy Le, H. et al. Scout Before You Attend: Sketch-and-Walk Sparse Attention for Efficient LLM Inference. ICML 2026.
[2] Wang, X. et al. Sparser Block-Sparse Attention via Token Permutation. ICML 2026.
Thank you for the encouraging assessment and for recommending these timely works. We agree that both the literature positioning and experimental presentation can be improved.
Recent block-sparse attention
We will add Sketch-and-Walk [1] and PBS-Attn [2] and clarify their relationship to Flux. Sketch-and-Walk uses lightweight sketches and cross-layer walk scores to select blocks for prefill and decode. PBS-Attn permutes tokens to expose greater block sparsity and accelerates prefill with customized kernels. Both determine which token blocks are attended within a layer, whereas Flux determines whether an entire layer invokes FA or an SA backend. Either could therefore serve as Flux's SA branch in principle. We will describe this as architectural compatibility, not measured integration, since our wall-clock results cover SSA, XAttention, and Triangle Attention rather than [1,2]. A related-work table will compare granularity, training, inference phase, operator, and deployment objective.
Presentation and reproducibility
We agree that important settings are currently dispersed between captions and appendices. In the revision:
- Every figure/table will state the backbone, benchmark/split, context length, FA/SA backend, target and realized , baseline, metric, and inference phase.
- The systems setup will specify GPU, precision, batch size, software/kernel versions, compilation settings, warm-up/profile iterations, synchronization, and speedup denominator.
- The baseline table will identify the implementation, training/calibration data, sparsity-matching rule, and hyperparameters. Router optimizer, learning rate, temperature, loss coefficients, steps, data mixture, and seeds will be consolidated.
- Captions will be self-contained; complete configurations and per-task results will remain in the appendix.
Corrected entropy–routing analysis
The reviewer is correct that the repeated value required investigation. After auditing the quick rebuttal analysis, we found that the earlier table used coarse hard-routing patterns and an incorrect preliminary profiling input rather than the exact hidden-state entropy procedure in Appendix D.1(UnComp). Some task entries consequently shared an identical 32-layer vector. Those repeated coefficients and their aggregate should not be interpreted as valid task-wise results, and we will replace them.
We reimplemented the experiment from the hidden states and raw Router outputs. We compute the task-independent from a trace-normalized hidden-state Gram matrix using its top-128 eigenvalues. The profiling split contains 26 disjoint, task-balanced LongBench-E samples. We then collect soft and hard routing decisions for 20 samples from each of 13 LongBench-E tasks (260 samples total) and correlate with each task's mean soft FA probability across 32 layers:
| Task | Spearman | Mean FA |
|---|---|---|
| Qasper | +0.027 | 35.2% |
| MultiFieldQA | -0.250 | 44.2% |
| HotpotQA | -0.205 | 38.4% |
| 2WikiMQA | -0.167 | 39.6% |
| GovReport | -0.293 | 57.5% |
| MultiNews | -0.314 | 57.7% |
| TREC | -0.129 | 41.7% |
| TriviaQA | -0.175 | 50.0% |
| SAMSum | -0.237 | 61.9% |
| PassageCount | -0.278 | 38.6% |
| PassageRetrieval | -0.239 | 46.8% |
| LCC | -0.285 | 65.4% |
| RepoBench-P | -0.246 | 65.8% |
| Macro average | -0.215 | 49.4% |
The corrected coefficients range from ; the macro-average Pearson correlation is . The conclusion is stable to the entropy truncation threshold: macro-average Spearman correlations are .
These results explain why correlations can remain similar despite task-conditioned behavior. Spearman measures layer ordering, not the magnitude of routing changes. The Router retains a shared architectural prior—the mean cross-task routing correlation is —while adapting a subset of layers. Layer 11's soft FA probability, for example, changes from on Qasper to on SAMSum and on RepoBench-P; overall FA changes from 35.2% to 65.8%. Substantial adaptation can therefore occur without completely reordering all 32 layers.
Finally, the corrected association is weak to moderate rather than evidence that entropy directly determines routing. Entropy is an offline indicator of layer heterogeneity, not a routing label or supervision target; the learned Router can depart from this static ordering based on the input. We will revise the claim accordingly and provide the full per-layer curves, bootstrap intervals, tie handling, and protocol in the appendix.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes an adaptive sparse attention method that uses a router to decide whether to use sparse or full attention in each layer. The router is trained in a fine-tuning phase of existing LLMs up to 8B scale upon a cohort of tasks, with expected sparsity per task designated. Empirical experiments show both improved performance and efficiency over full attention and previous sparse attention approaches.
Strengths and weaknesses
In all, this is an interesting, well-motivated, and clearly written paper. The task dependency of sparse attention performance makes a strong motivation, and an input-dependent router is a reasonable solution. Also, real speedups are obtained via hardware-aware implementation, and empirical performance on many tasks is impressive. Nevertheless, there have been many more general methods to dynamically decide the attention module to use or the sparsity of the attention, often in a finer granularity while maintaining efficiency. There are also many other concerns, as listed below.
Questions
It will be easier for the reader to understand if the authors name some sparse attention mechanisms (e.g., SWA+sink, XAttn) they actually use in Sec 1, instead of using the vague term SA, as the experiments are limited to a rather specific family of sparse attention methods.
Which kind of sparse attention is used in Fig 1? I would expect much larger performance drop in simple approaches like SWA+sink, but I doubt if there will be such a collapse with SA with more input awareness (e.g., Quest/MoBA/DSA); this also affect the reported speedup in Fig 1 (b). Can you report the results with different types of SA?
Elastic Attention reports a decent speedup (in their Fig 8 (b)), which is different from your latency measurements on head-level sparsity methods. Please explain the causes and elaborate if there is any difference in your benchmark settings.
Sec 2.3: The meaning of the entropy score computed from the layer hidden states (layer outputs?) is unclear to me. Why can the eigenvalue distribution of the Gram matrix be used to indicate whether it can be sparsified? It would be better if the author provided more explanation in Appendix D.1.
Sec 3.1: It seems that the decision is made in prefilling, but in an agentic scenario, the content may undergo considerable shift. Will the decision change within a prolonged decoding run (e.g., if we re-prefill the decoded tokens)?
Sec 4.1:
How well does the training data cover the tasks used in the evaluation?
L189: I assume that TA is the one from TriangleMix?
Baselines like DuoAttention and TriangleMix need a calibration step on certain data. Are they calibrated on the same dataset as the proposed method?
There are several other methods that decide the attention module to use (e.g. SeqBoat, AHA, SLA2) or the sparsity in sparse attention modules (e.g. Inference-time Hyper-scaling, LTE) in an input-dependent and learnable way. We recommend the authors to discuss these previous works in addition to Elastic Attention.
Limitations
yes
Final justification
The rebuttal addresses most of my concerns, especially on the discrepancy with ElasticAttention and the clarity of the manuscript. The approach to dynamically select the attention mechanism per layer is simple but reasonable. Hence I increased my score.
Formatting concerns
none
1 comment
Rebuttal
We thank the reviewer for the constructive and technically precise feedback, and for recognizing the motivation, clarity, input-dependent routing, wall-clock gains, and broad task evaluation. To avoid repetition, we merge the overlapping comments on the definition and sensitivity of the sparse branch (R1/R2) into Q1, and the calibration/attribution/related-work comments (R7/R8/R9) into Q6. Each merged response explicitly covers all constituent points.
Q1. What sparse-attention (SA) operators are actually used, what is used in Figure 1, and are the conclusions sensitive to the backend? (Merged R1/R2)
A1. Flux is a routing framework, not a new SA operator; Figure 1(a) uses Streaming Sparse Attention (SSA), and the paper additionally evaluates XAttention (XA) and Triangle Attention/TriangleMix (TA). We agree that writing only “SA” in the Introduction and omitting the backend from Figure 1’s caption makes the scope appear narrower and less reproducible than it is. We will name SSA, XA, and TA at first use; explicitly state that Figure 1(a) uses SSA with the Appendix F.3 configuration; and clarify that TA denotes the Triangle Attention operator used in TriangleMix.
To test whether the Figure 1 observation is an artifact of SSA, we repeated the sparsity sweep with XAttention and TriangleMix on Llama-3.1-8B-Instruct under the same evaluation setting. Values below are performance normalized to the dense configuration (100%):
| Sparsity | XA: Single-Doc QA | XA: Multi-Hop | XA: Summ. | XA: Code | TA: Single-Doc QA | TA: Multi-Hop | TA: Summ. | TA: Code |
|---|---|---|---|---|---|---|---|---|
| 0.0 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 | 100.00 |
| 0.2 | 102.78 | 96.26 | 99.97 | 98.54 | 101.76 | 99.10 | 94.86 | 95.63 |
| 0.4 | 101.70 | 92.01 | 101.14 | 102.91 | 100.16 | 95.26 | 92.84 | 97.13 |
| 0.6 | 96.87 | 92.37 | 101.04 | 104.54 | 97.98 | 93.21 | 92.32 | 97.01 |
| 0.7 | 95.44 | 90.16 | 95.85 | 104.02 | 93.21 | 81.86 | 90.57 | 101.11 |
| 0.8 | 89.71 | 88.33 | 96.02 | 102.00 | 87.20 | 83.65 | 88.05 | 96.14 |
| 0.9 | 77.89 | 87.90 | 96.36 | 104.23 | 75.51 | 81.14 | 88.58 | 96.00 |
Both backends reproduce the qualitative observation that retrieval-heavy QA degrades sharply at high sparsity, while summarization/code are more tolerant; however, the onset and magnitude are backend-dependent. This is exactly why the learned router should condition its allocation on the chosen sparse branch rather than assume a universal threshold. We will add the full sweep (including intermediate sparsities), label Figure 1 unambiguously, and restrict compatibility/performance claims to the evaluated SSA, XA, and TA backends. Methods such as Quest/MoBA/DSA are important future backend evaluations, but we will not claim their behavior without an implementation and matched experiment.
Q2. Why does Elastic Attention report substantial speedup while the manuscript says head-level routing has marginal latency gains?
A2. The apparent contradiction comes from comparing different inference phases. Elastic Attention’s fused-kernel result concerns prefill/TTFT acceleration, whereas our Figure 1(b) and Appendix D.3 measure per-token autoregressive decode latency, where historical-KV access and memory bandwidth dominate. Table 7 currently reports TTFT, while Figure 1(b) reports decode latency; placing both near a general statement about “speedup” makes the distinction too easy to miss.
For decode—the phase motivating whole-layer routing—we also compare against PruLong’s official optimized Block-Sparse-Attention implementation. At 256K, PruLong achieves a 1.51× decode speedup (36.14 vs. 54.57 ms/token for dense), whereas Flux reaches 2.22× (24.58 ms/token), at matched =0.50. We will annotate every system number by phase and metric, split “prefill/TTFT” from “decode ms/token,” and revise the broad sentence to: specialized head-wise kernels can accelerate prefill, while the evaluated optimized head-wise implementation provides a smaller and less scalable decode speedup than whole-layer routing. This reconciles rather than dismisses Elastic Attention’s result.
Q3. Why should the hidden-state eigenvalue entropy indicate layer sparsifiability?
A3. It is a profiling heuristic reflecting representation concentration, not a theorem guaranteeing sparsifiability. Following UnComp, we build a trace-normalized covariance matrix from layer hidden states (not attention outputs) and compute the von Neumann entropy of its top-K eigenvalues (Appendix D.1). A spectrum concentrated in a few dominant directions has lower entropy and lower effective dimension, suggesting greater representational redundancy; a flatter spectrum distributes information across more independent directions and may be more vulnerable to aggressive sparsification. The current draft gives the formula but not this intuition. We will move the explanation to Section 2.3 and explicitly state that downstream quality—not entropy alone—validates a layer assignment. The learned router is therefore free to deviate from this static heuristic based on the input.
Q4. In agentic or multi-turn use, is routing recomputed as the context changes?
A4. Flux routes once per prefill, caches the layer assignment during that decode trajectory, and reroutes when an updated conversation is re-prefilled. The design is context/task-aware rather than token-wise: recomputing at every generated token would add control overhead and disrupt the homogeneous execution that produces the systems benefit, while the underlying task intent usually remains stable within a single response. At a new turn, the enlarged dialogue history is prefilled and the router is run again.
We additionally evaluated 80 two-turn MT-Bench conversations. After adding the first-turn interaction to the context, 92.5% of conversations changed at least one routing decision; the average sparse-layer ratio changed from 45.8% to 59.4% (+13.6 points). Thus, the cached route is not globally static: it remains fixed only within a decode trajectory and adapts at the natural agent turn boundary. We will add this protocol/result and Algorithm 1 clarification. More frequent rerouting is a possible extension, but we do not claim it is free or always beneficial.
Q5. How does the router’s training data cover the evaluation tasks, and how is possible overlap handled?
A5. The training mixture covers task characteristics rather than importing the evaluation benchmark suites, but the manuscript must distinguish task-level coverage from sample-level deduplication. The router is trained on ChatQA2-Long-SFT-data, MuSiQue, CoLT-132K, GovReport, and XSum (p.5, lines 177–185), spanning multi-hop retrieval, long-form summarization, and long-context/code-like understanding over 1K–64K sequences (approximately 0.74B tokens). The purpose is to expose the router to retrieval-intensive and context-holistic regimes. Appendix H.1 further shows that an imbalanced task mixture causes routing collapse, while a balanced mixture produces differentiated policies.
We agree that listing sources alone does not establish zero sample leakage, particularly for corpus-derived datasets such as GovReport. We will add a source-to-task table, identify the exact train/validation/test splits, and document preprocessing and deduplication. We will not equate “the benchmark files were not used as training inputs” with a verified corpus-level non-overlap claim. If the audit identifies overlap, we will report it and rerun the affected evaluation after deduplication; otherwise, we will state the concrete matching rule rather than making an unsupported blanket assertion.
Q6. Are baseline calibration, TA attribution, novelty positioning, and dynamic-attention related work handled fairly? (Merged R7/R8/R9)
A6. The trainable baselines use the same data/environment; TA is TriangleMix’s operator; and we agree that the novelty/related-work discussion must be narrowed and expanded. TriangleMix is training-free. PruLong and DuoAttention are trained under the same environment and on the same dataset as Flux, while retaining their original method-specific hyperparameters (Appendix F.2, p.16–17, lines 633–637). We will move this comparison control to Section 4.1 and add a compact calibration table:
| Method | Routing/selection unit | Training/calibration in our comparison | Deployment focus |
|---|---|---|---|
| Flux | Whole layer, input-conditioned FA/SA | Router trained on shared mixture; backbone frozen | Decode-regular layer execution |
| PruLong | Offline head selection | Same data/environment; original method hyperparameters | Optimized block-sparse decode |
| DuoAttention | Head allocation | Same data/environment; original method hyperparameters | Hybrid long-context attention |
| TriangleMix / TA | Triangle Attention operator | Training-free | Sparse-attention backend |
We also agree that dynamic attention itself is not new. We will discuss SeqBoat, AHA, SLA2, inference-time hyper-scaling, LTE, vAttention, and recent decode-time KV selection/compression, comparing model family, selection unit, operator, and deployment objective. Our novelty claim will be narrowed to: a plug-in, input-conditioned, whole-layer FA/SA routing design for pretrained long-context LLM inference, together with an empirical quality–decode-latency–memory study. We will not claim to be the first dynamic or learned sparse-attention method.
These changes make the scope more precise: Flux has been validated with three materially different SA branches; its central systems claim concerns decode rather than all inference phases; entropy motivates heterogeneity but does not dictate routing; routing updates at prefill/turn boundaries; and comparison fairness and data provenance will be made visible in the main paper rather than buried in the appendix.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper trys to solve the cost of full attention in long-context inference, where the all-pairs computation grows with the square of the sequence length and comes to dominate both latency and memory. It works within the hybrid-attention setting, which interleaves full attention (FA) — attending over the entire history — with sparse attention (SA) — attending over a compact subset such as recent tokens and a few anchor positions. The premise is that the appropriate balance between FA and SA depends on the input: prompts that turn on locating a specific fact benefit from dense attention, whereas prompts driven by overall meaning remain accurate under heavy sparsification.
Where prior methods either fix this balance ahead of time or vary it per attention head, this work varies it per layer. A small Layer Router reads a compact descriptor of the prompt, pooled from its leading and trailing tokens, passes it through two MLPs, and assigns each transformer layer to run entirely in FA or entirely in SA mode. The backbone stays frozen and only the router is trained, using a Gumbel-Softmax relaxation so the discrete FA/SA choice becomes learnable, together with a Lagrangian penalty that steers the model toward a task-dependent sparsity budget. At inference the soft choice is hardened with an argmax, the routing is computed once during prefill and cached for the decode steps, and sparse layers keep only the small KV state their kernel requires. The authors argue that holding the mode uniform within a layer is precisely what lets the theoretical savings become measured speedups, since the parallel work inside a layer is then homogeneous and the engine can skip loading the full history for sparse layers.
The evaluation spans three open backbones (Qwen3-4B, Qwen3-8B, Llama-3.1-8B-Instruct) and a range of long-context, length-extrapolation, and mathematical-reasoning benchmarks (LongBench-E, RULER from 8K to 256K, LongBench-v2, GSM8K, AIME24), with several choices of sparse-layer kernel. Reported outcomes include accuracy close to the dense baseline together with prefill speedups up to roughly 2.8×2.8\times 2.8× and decode speedups up to roughly 2.0×2.0\times 2.0× at long contexts, with training completing in about twelve hours on eight A800 GPUs.
Strengths and weaknesses
See questions.
Questions
-
Matched-sparsity comparison between the two granularities. Could you report accuracy and decode speed for the layer-level and head-level schemes at the same , rather than at the different sparsity levels each method selects? This would isolate the effect of granularity itself. My assessment would improve if the layer-level scheme shows an accuracy edge at equal sparsity; if it is comparable or worse, the contribution would appear to rest mainly on engineering convenience. (This experiment reuses the existing twelve-hour training setup and should be feasible.)
-
An optimized head-level baseline. The central argument turns on head-level routing failing to convert sparsity into speed. Could you compare against a fused or load-balanced head-level kernel rather than a plain FlashAttention path? If the layer-level scheme still has faster speed on decoding, my concerns regarding layer wise routing & motivation would be largely resolved; if an optimized head-level kernel closes the gap, the case for the layer-level design weakens. (I recognize a custom kernel may be effortful; even a partial or small-scale result would be informative.)
-
Batched-serving throughput. Could you add decode measurements at batch sizes greater than one (for example 8, 16, 32)? Evidence that the advantage persists once heterogeneous heads can be co-scheduled across requests would improve the method's practical significance, which currently it's only on a single-request profiling.
-
A consolidated accuracy/efficiency/memory table, with the KV-memory numbers. Could you provide, per context length, a single table linking configuration, , accuracy, prefill speed, decode speed, and KV-cache memory, and state the actual memory reduction? This would let readers read off the accuracy and memory cost attached to a given speedup, which is not currently possible. This is mostly a presentation request and should be low-cost.
-
Seeds and notation. Could you report a few training seeds for the headline LongBench/RULER comparisons? If the small gains over dense persist across seeds they can stand as stated; if they fall within seed variance, the "matches or exceeds dense" framing could be qualified accordingly. Relatedly, please reconcile the definition of relative to and correct the appendix paragraph whose description of the routing direction conflicts with the figures. Clear resolutions here would remove the reproducibility ambiguities noted under Clarity and would have a positive effect on my evaluation.
-
Figur/Table Demonstration For Table 1 and Table 2, it only mentioned acc and no speedup/FLOPs reduction mentioned. On figure 3, it's only speedup but no acc persented. This will make the reader hard to follow what is the true speedup/acc pareto frontier of different method.
Limitations
See questions.
Final justification
The author has addressed most of my concerns.
Formatting concerns
N/A
3 comments
Rebuttal
We thank the reviewer for the careful assessment and for recognizing the technical soundness, broad evaluation, and importance of practical long-context inference. Your main concern is whether the benefit of Flux Attention truly comes from layer-wise routing, rather than from comparing against an inadequately optimized head-wise implementation. We therefore prioritize the controlled granularity comparison and consolidate the closely related requests about matched sparsity, optimized head-wise kernels, the quality–speed–memory Pareto frontier, and presentation (D1/D2/D4/D7) into Q1. We answer the remaining concerns separately.
Q1. Under matched sparsity and optimized implementations, does layer-wise routing still offer a meaningful quality–efficiency advantage? (Merged D1/D2/D4/D7)
A1. Yes. The new controlled results show that layer-wise routing retains a material advantage over an optimized head-wise baseline at approximately the same model sparsity, especially at long contexts. We agree that the original Table 7 (51% layer-wise versus 68% head-wise sparsity) did not isolate routing granularity. We therefore ran a consolidated comparison on Llama-3.1-8B-Instruct among dense FA2, PruLong, and Flux Attention. PruLong is not a plain masked-FlashAttention baseline: it identifies heads offline, reorders model weights accordingly, and uses its optimized Block-Sparse-Attention decode path. All methods are measured under the same precision and profiling procedure. PruLong and Flux use approximately matched sparsity (≈0.50); we jointly report accuracy, prefill latency, decode latency, persistent KV memory, and peak memory so that the Pareto trade-off is directly auditable.
| Ctx | Method / granularity | Acc. | Prefill ms (speedup) | Decode ms/tok (speedup) | Persistent KV GiB (saving) | Peak GiB | |
|---|---|---|---|---|---|---|---|
| 8K | Dense / full | 92.88 | 0 | 985.0 (1.00×) | 25.17 (1.00×) | 0.89 (0.0%) | 16.95 |
| 8K | PruLong / head | 86.96 | 0.500 | 926.2 (1.06×) | 21.88 (1.15×) | 0.89 (0.0%) | 17.03 |
| 8K | Flux / layer | 90.11 | 0.531 | 807.4 (1.22×) | 21.15 (1.19×) | 0.75 (16.1%) | 16.89 |
| 16K | Dense / full | 92.83 | 0 | 2280.1 (1.00×) | 16.31 (1.00×) | 1.81 (0.0%) | 18.96 |
| 16K | PruLong / head | 76.55 | 0.500 | 2004.3 (1.14×) | 13.26 (1.23×) | 1.81 (0.0%) | 19.09 |
| 16K | Flux / layer | 79.39 | 0.500 | 1932.3 (1.18×) | 12.55 (1.30×) | 1.28 (28.9%) | 18.29 |
| 32K | Dense / full | 89.46 | 0 | 5918.8 (1.00×) | 19.97 (1.00×) | 3.66 (0.0%) | 23.04 |
| 32K | PruLong / head | 70.65 | 0.500 | 4736.6 (1.25×) | 15.72 (1.27×) | 3.66 (0.0%) | 23.27 |
| 32K | Flux / layer | 79.22 | 0.531 | 4352.1 (1.36×) | 14.16 (1.41×) | 2.49 (32.1%) | 21.46 |
| 64K | Dense / full | 70.79 | 0 | 17201.4 (1.00×) | 20.82 (1.00×) | 7.39 (0.0%) | 31.07 |
| 64K | PruLong / head | 54.52 | 0.500 | 12146.8 (1.42×) | 15.31 (1.36×) | 7.39 (0.0%) | 31.51 |
| 64K | Flux / layer | 56.08 | 0.531 | 10818.5 (1.59×) | 13.61 (1.53×) | 4.60 (37.8%) | 27.69 |
| 128K | Dense / full | 80.12 | 0 | 54991.2 (1.00×) | 32.42 (1.00×) | 14.69 (0.0%) | 47.21 |
| 128K | PruLong / head | 48.18 | 0.500 | 34321.8 (1.60×) | 22.67 (1.43×) | 14.69 (0.0%) | 48.08 |
| 128K | Flux / layer | 62.94 | 0.500 | 32928.9 (1.67×) | 18.32 (1.77×) | 9.38 (36.2%) | 40.22 |
| 256K | Dense / full | 72.34 | 0 | 190731.7 (1.00×) | 54.57 (1.00×) | 28.79 (0.0%) | 79.49 |
| 256K | PruLong / head | 30.00 | 0.500 | 108592.4 (1.76×) | 36.14 (1.51×) | 28.79 (0.0%) | 81.21 |
| 256K | Flux / layer | 59.39 | 0.500 | 107758.0 (1.77×) | 24.58 (2.22×) | 17.47 (39.3%) | 65.28 |
At 128K and 256K, where is exactly matched at 0.50, Flux improves accuracy over PruLong by 14.76 and 29.39 points, respectively, while reducing decode latency by 19.2% and 32.0% relative to PruLong. The benefit is therefore not explained by assigning a larger fraction of units to SA. The memory columns clarify another granularity-dependent effect: whole-layer routing allows a routed SA layer to avoid retaining/loading the complete historical KV state, whereas PruLong’s mixed-head execution retains the full persistent KV allocation in this implementation.
We also agree that equal alone is not a complete equivalence relation across granularities: a “sparse unit” is a head for PruLong and a layer for Flux, and the two can induce different token reads and kernel workloads. We will therefore report realized together with persistent KV bytes and measured latency, rather than treating sparsity ratio as a proxy for systems cost. We will merge the original quality tables and speed-only figure into this unified Pareto presentation, and clearly separate prefill/TTFT from per-token decode latency. Finally, we will narrow the claim from the categorical “head-level routing cannot accelerate decoding” to the evidence-supported statement: under the evaluated optimized implementations, layer-wise routing provides a stronger and more scalable decode quality–latency–memory trade-off than head-wise routing. We do not claim that no future bespoke load-balanced head-wise kernel could narrow the gap.
Q2. Does the advantage survive batched request co-scheduling, rather than only batch size 1?
A2. Yes, for every feasible batch in our new 32K serving experiment, Flux maintains higher aggregate decode throughput than FA2 and also reaches a larger feasible batch before OOM. We evaluated Llama-3.1-8B-Instruct on 8× NVIDIA H20 GPUs at batch sizes 8, 16, 24, and 32:
| Batch | Flux (tok/s) | FA2 (tok/s) | Flux / FA2 |
|---|---|---|---|
| 8 | 194 | 147 | 1.32× |
| 16 | 196 | 95 | 2.07× |
| 24 | 280 | OOM | — |
| 32 | OOM | OOM | — |
Thus, co-scheduling does not remove the gain: Flux is 1.32× faster at batch 8 and 2.07× at batch 16. At batch 24, Flux still runs while FA2 exhausts memory; both methods exhaust memory at batch 32 on this hardware. We intentionally report OOM rather than extrapolating throughput. These results support a bounded claim—robustness at 32K for the tested H20 serving setup—not universal superiority for every batching policy, context length, or GPU. We will add the hardware, aggregation convention, and feasible/OOM outcomes to the revision.
Q3. Are the reported accuracy differences statistically reliable across independently trained routers?
A3. The reviewer is correct that router-training stochasticity must be measured explicitly. After excluding seed 123, we retain two independently trained FA-SSA routers: the originally reported checkpoint and seed 456. Their LongBench-E results are:
| Task | Original | s456 | Mean ± Std |
|---|---|---|---|
| Qasper | 45.25 | 45.38 | 45.32 ± 0.07 |
| MF-en | 54.42 | 54.42 | 54.42 ± 0.00 |
| HotQA | 54.54 | 54.54 | 54.54 ± 0.00 |
| 2Wiki | 41.34 | 41.34 | 41.34 ± 0.00 |
| Gov. | 34.54 | 34.71 | 34.63 ± 0.09 |
| M.News | 26.16 | 26.22 | 26.19 ± 0.03 |
| TREC | 68.33 | 68.74 | 68.54 ± 0.21 |
| TQA | 91.91 | 91.92 | 91.92 ± 0.01 |
| SAMS | 42.17 | 42.07 | 42.12 ± 0.05 |
| PCount | 9.00 | 9.09 | 9.05 ± 0.05 |
| PRe | 97.67 | 97.67 | 97.67 ± 0.00 |
| RB-P | 47.74 | 48.24 | 47.99 ± 0.25 |
| Lcc | 65.35 | 65.12 | 65.24 ± 0.12 |
| Avg. | 52.19 | 52.27 | 52.23 ± 0.04 |
We will also resolve the notation and routing-direction ambiguity. Equation (3) defines as the fraction of layers routed to sparse attention. Because is the probability of selecting full attention, is the expected sparse-layer fraction; hence, is the target sparse-layer fraction and has the same direction as , rather than . At inference, . We will correct Section 3.2 and revise Appendix H.3 to state that lower corresponds to more Full Attention, whereas higher corresponds to more Sparse Attention, consistent with Figures 5 and 10.
Q4. How should and be interpreted, and why do the main text and appendix point in opposite directions?
A4. The reviewer is correct; these are textual notation errors. Equation (3) defines as the fraction of units assigned to SA, so a larger means more SA and less FA. Since is the FA probability, is the expected SA fraction; therefore, in Eq. (6) is the target SA fraction and corresponds to , not . The phrase on p. 5, lines 153–155, and the reversed description on p. 22, lines 732–735, must be corrected. We will audit Eq. (3), Eq. (6), every caption, and the appendix against one convention: . We will also correct Table 7’s phrase “higher sparsity (51% vs. 68%)” to “lower sparsity / more retained attention computation (51% vs. 68%).” These corrections change the prose, not the recorded routing decisions or measured values.
In summary, the new matched-sparsity and batching evidence directly addresses the main empirical question: layer-wise routing is not merely an easier implementation of the same trade-off. Under the evaluated optimized baselines, it achieves materially better long-context accuracy, lower decode latency, and lower persistent KV memory at comparable sparsity. We will revise the manuscript to present this evidence in one auditable table, qualify scope and statistical claims, correct the notation throughout, and make the exact comparison controls visible in the main text rather than relying on appendix cross-references.
Thanks for the detailed rebuttal, the rebuttal has addressed most of my concerns and I have raised score accordingly.
Thank you for your careful reassessment and for raising the score. We greatly appreciate your concrete suggestions. In the revision, we will incorporate the rebuttal results and clarifications, including the matched-sparsity layer-/head-level comparison, optimized head-level and batched-serving evaluations, consolidated accuracy–speed–KV-memory Pareto results, multi-seed analysis, and corrected notation and routing descriptions. These changes will make the comparison fairer and the practical benefits clearer.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We sincerely thank you and the reviewers for the constructive feedback. We address the three main points raised in your meta-review below.
1. Related Work and Sparse-Attention Backend Clarity
We have clarified the exact SA backends used throughout: Flux is validated with Streaming Sparse Attention (SSA), XAttention (XA), and Triangle Attention (TA) — as stated on p.6, lines 189–191 and evaluated in Tables 1–2. Figure 1(a) uses SSA with the Appendix F.3 configuration; this will be explicitly stated in the caption.
To address Reviewer rcWq's concern about backend sensitivity, we conducted matched sparsity sweeps across XA and TA on Llama-3.1-8B-Instruct (see the rebuttal table in our response to R2). Both backends reproduce the qualitative trend — retrieval-heavy QA degrades at high sparsity, while summarization/code are more tolerant — though onset thresholds differ, confirming that learned routing should be backend-conditioned.
We have also added discussion of the block-level sparse attention methods mentioned by the reviewers: Sketch-and-Walk [ICML 2026] and PBS-Attn [ICML 2026], along with vAttention, SeqBoat, AHA, SLA2, and LTE. A calibration table distinguishes these works by granularity (token block/head vs. whole-layer), training requirements, inference phase, and deployment objective. Our novelty claim is narrowed to: input-conditioned whole-layer FA/SA routing for pretrained long-context LLM inference, with a measured quality–decode-latency–memory trade-off.
2. Discrepancy with Elastic Attention Results (Reviewer rcWq)
The apparent contradiction arises from comparing different inference phases. Elastic Attention's fused-kernel result concerns prefill/TTFT acceleration, whereas our Figure 1(b) and Appendix D.3 measure per-token autoregressive decode latency, where KV-cache memory bandwidth dominates. We have now annotated every system number by phase and metric, explicitly separating prefill/TTFT (Table 7) from decode ms/token (Figure 1b).
For decode — the phase motivating whole-layer routing — we additionally compared against PruLong's optimized Block-Sparse-Attention implementation at 256K context. At matched Ω_MSR = 0.50, PruLong achieves 1.51× decode speedup, while Flux reaches 2.22× (24.58 vs. 54.57 ms/token for dense). This clarifies that the advantage is phase-specific, not contradictory.
3. CWE and VT Evaluation on RULER
We acknowledge that omitting CWE and VT was an evaluation-completeness gap. We have now completed both tasks for Llama-3.1-8B-Instruct across six context lengths {8K, 16K, 32K, 64K, 131K, 262K}:
Flux improves the CWE+VT aggregate over the dense backbone by 2.59 points and exceeds DuoAttention by 0.35 points at approximately matched sparsity. These results will be integrated into the revised RULER summary. All remaining results will be completed in the final version.
Additional Improvements
Beyond the three main concerns, we have also: