Triceps: Tri-Component Separable Attention for Long-Context Prefill
Anonymous authors
ICLR 2027
TL;DR. We propose a training-free multiplicative decomposition of attention into three components, enabling efficient long-context prefill to be computed as a long convolution, sparse attention or a fallback.
Abstract. The complexity of full attention during prefill in Transformer-based large language models is the main computational bottleneck in applications that require handling long contexts, such as long-document question answering, repository-level code agents or long book summarization. Existing sparse attention methods combine fixed patterns by union (attention sinks, sliding windows, retrieved blocks, vertical and slash patterns), resulting in a mask denser than the mass it captures requires, wasting computation on blocks that carry almost no attention. We instead show that the attention matrix admits a training-free multiplicative tri-component separable approximation: a relative-position factor, a key factor and a query-normalization factor. Combined multiplicatively, the three factors induce a score threshold that a union of fixed patterns cannot express. We dynamically evaluate this approximation per head to route computation between three modes: an long convolution when the error measured on the last query rows falls below a threshold, an sparse mode for low-density masks, and delegation to dense or another sparse attention technique otherwise. We evaluate this method on RULER and LongReason with two open-weight long-context models, Qwen3-30B-A3B-Instruct-2507 and Llama-3.1-Nemotron-8B-UltraLong-4M-Instruct, and, at extended context lengths (128k and beyond), we observe speedups in Time-To-First-Token (TTFT) over dense attention while achieving a superior speed--accuracy trade-off compared to existing sparse methods.
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
ICLR 2027
Under review · 4 reviews · OpenReview
Updated 25 Nov 2026, 10:33 UTC.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper proposes Triceps, a training-free prefill acceleration method for long-context LLMs that approximates the interior attention matrix (outside the exact sink and sliding-window -shape) as an elementwise product of three rank-1/Toeplitz matrices: , capturing query normalization, relative-position slash diagonals, and key-wise vertical columns. At runtime, the authors fit and in the log-domain via ridge-regularized least squares on uniformly sampled pre-softmax logits, calibrate , and evaluate the approximation on the last query rows to route each head to either an FFT convolution kernel, a multiplicative block-sparse Triton kernel, or a delegated sparse method (FlexPrefill). Experiments on Qwen3-30B-A3B and Nemotron-8B across RULER and LongReason (64k to 256k ctx) demonstrate end-to-end TTFT speedups at 128k--256k.
Strengths
Factorizing the interior vertical-slash pattern as by fitting a row-centered linear model in the log-score domain (Eq. 5) is a clean alternative to taking a rigid union of dominant columns and diagonals. In block-sparse mode, adding the fitted log-components () induces a smooth multiplicative threshold where strong key importance can compensate for weaker positional weight, yielding low deployed densities (11%--25% across paths, Tab. 2).
The systems integration in vLLM (w/ TP=2 up to 256k ctx) and the transparent FLOP/pseudocode breakdown in App. C (Tab. 6, Alg. 1--10) are also well executed. In addition, the exponential-family covariance identity in App. B.2 () gives a nice theoretical explanation for why gating the convolution mode on output error is much more reliable than using score-level .
Weaknesses
My biggest concern is that the claim of a superior speed-accuracy trade-off over existing sparse methods is hard to reconcile w/ the accuracy drops in Tab. 1 and Tab. 4. On LongReason w/ Qwen3-30B-A3B (Tab. 1a), Triceps () drops by 8.95 points below Dense at 64k (67.62% vs. 76.57%) and 5.79 points at 256k (67.51% vs. 73.30%), whereas FlexPrefill, PBS-Attn, and PRISM stay within ~1 point of Dense. Similarly, on RULER (Tab. 1b, Tab. 4), Triceps posts the lowest average accuracy among all online baselines in nearly every setting, w/ sharp drops on subtasks like Qwen3 cwe at 128k/256k (31.60% and 8.40% vs. PRISM's 64.10% and 26.90%) and Nemotron niah-multikey-1 at 64k (73.00% vs. Dense 86.00%). Because Tab. 1 only reports a single operating point () without a Pareto curve, it is unclear if any TTFT speedup over FlexPrefill remains once is tightened to match FlexPrefill's accuracy.
Second, although the FFT convolution mode is pitched as a headline contribution, Tab. 2 shows it is selected for only 1.7%--4.4% of heads on Nemotron and 4.6%--13.5% on Qwen3, and its share actually shrinks as ctx length grows from 64k to 256k (e.g., from 13.5% down to 6.1% on Qwen3 LongReason). Meanwhile, the decomposition, row-variance calibration, and routing pass incur substantial upfront overhead (39% of prefill GPU time at 64k, Fig. 2), making Triceps slower than FlexPrefill and PRISM at 64k across most settings in Tab. 5.
Third, Triceps relies heavily on FlexPrefill as its delegation backend for 10.5%--31.8% of heads (Sec. 5.1), which includes the retrieval heads where the rank-1/Toeplitz fit breaks down. Those delegated heads pay Triceps' full fitting and tail-row measurement overhead (), and then run FlexPrefill's own selection pass from scratch (line 426). There are also a couple of mismatches between the main text and App. C: Alg. 1 calls convolution calibration (Alg. 7, line 7) only after routing measurement (Alg. 5, line 4), meaning in Alg. 5 is evaluated using the statistics-calibrated from Alg. 4 rather than the convolution-calibrated used at execution; and Alg. 6 introduces an undocumented cost model that does not appear in Eq. 13.
Questions for the authors
-
Why does Qwen3-30B-A3B suffer such a steep accuracy drop on LongReason at 64k (67.62% vs. 76.01% for FlexPrefill) and 256k (67.51% vs. 72.29%), as well as on RULER cwe? If you lower so that Triceps matches FlexPrefill's accuracy on Qwen3 LongReason and RULER, what is the resulting TTFT speedup?
-
Given that the convolution mode is only triggered on 1.7%--6.1% of heads at 256k (Tab. 2), what are the end-to-end TTFT and accuracy if you disable the convolution path entirely and only route between Triceps' block-sparse mode and delegation?
-
For the 20%--32% of heads delegated to FlexPrefill, why not reuse the exact tail-row attention scores already computed during
ROUTINGMEASUREMENT(on the last rows) instead of running FlexPrefill's selection pass again? Also, how does Triceps compare if delegation falls back to dense FlashAttention-2 rather than FlexPrefill? -
Can you clarify the ordering in Alg. 1 (lines 3--7)? Is inside
ROUTINGMEASUREMENT(Alg. 5, line 4) computed using the statistics-calibrated from Alg. 4, and if so, why not use the exact row mass from Alg. 7 when measuring ? Also, how is the cost model in Alg. 6 defined?
3 comments
Thank you for the detailed response and additional experiments. I have two remaining questions: i). Table A varies Triceps’ configuration while keeping the baselines at fixed operating points. Could you also sweep FlexPrefill’s budget on Qwen3 LongReason to show whether Triceps remains faster at matched accuracy? ii). Table B shows that disabling convolution can improve accuracy, while replacing delegation with exact attention can reduce it. Could you explain these changes and clarify how they support attributing the accuracy loss mainly to block selection? Varying while holding fixed would help isolate this effect.
We thank Reviewer xvCE for the follow-up questions and for suggesting the fixed- ablation over .
i) Matched-Accuracy Comparison with FlexPrefill on Qwen3 LongReason
On Qwen3-30B-A3B LongReason, Table A already provides a direct comparison at similar or higher accuracy against FlexPrefill ():
-
128k: Triceps () achieves higher accuracy ( vs. , matching Dense FA2) and lower TTFT ( vs. , faster).
-
256k: Triceps () closely matches FlexPrefill ( vs. ) while reducing TTFT from to ( faster).
Because each full LongReason evaluation on Qwen3-30B-A3B is computationally expensive, we focused our remaining GPU time before the discussion deadline on completing the fixed- ablation over below.
ii) Isolating Block Selection ( Sweep at Fixed ) & Table B Variations
Following your suggestion, we evaluated Qwen3-30B-A3B on the full LongReason benchmark (794 prompts) holding fixed ( unchanged) and varying only , so only the block-sparse retained mass is affected:
| Configuration ( fixed) | Max | LR Acc (%) 64k / 128k / 256k | LR TTFT (s) 64k / 128k / 256k |
|---|---|---|---|
| Triceps () | / / | / / | |
| Triceps () | / / | / / | |
| Triceps () (Table A/B) | / / | / / |
Holding the convolution threshold fixed (), tightening from reduces the maximum allowed dropped attention mass from to , monotonically improving accuracy by pts (64k), pts (128k), and pts (256k). In contrast, at fixed in Table B, disabling the convolution heads (No-Conv vs. Full, redirecting heads with to block-sparse) produces a mean absolute difference of only percentage points across all 12 model/length columns, and replacing FlexPrefill delegation with exact dense attention (FA2-Delegation vs. Full, which only modifies the delegated heads that already retain mass under FlexPrefill while leaving the remaining block-sparse and convolution heads unchanged) yields a mean absolute difference of only percentage points. Both variations are an order of magnitude smaller than the point effect of , confirming that the accuracy drop in our initial configuration came from not retaining sufficient attention mass during block selection rather than from the convolution or delegation approximations.
- Rating
- 1/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 1/3
- Informativeness
- 2/3
Read review
Summary
This paper introduces Triceps, a training-free method for accelerating long-context prefill by approximating attention as the product of relative-position, key-dependent, and query-normalization factors. The same decomposition supports both convolutional attention and block-sparse mask construction, with attention sinks and local windows handled separately. Based on output error and discarded attention mass measured on the final query rows, together with mask density, Triceps routes each head to convolution, block-sparse attention, or another attention method. The authors integrate Triceps into vLLM and evaluate accuracy and time-to-first-token on RULER and LongReason using Qwen3 and Nemotron at 64K–256K context lengths.
Strengths
The core method is well formalized, with a clear mathematical formulation of the tri-component attention approximation. And the evaluation is reasonably comprehensive, covering multiple models and long-context benchmarks with measurements of both accuracy and time-to-first-token.
Weaknesses
-
The presentation lacks sufficient visual guidance and empirical motivation for the algorithm. The main text contains no figures before the experimental section, making the mathematical decomposition and routing procedure difficult to follow. Although the paper discusses known vertical–slash attention patterns, it provides little upfront empirical analysis or profiling to explain why these patterns support the proposed multiplicative decomposition or when convolution would be beneficial. Consequently, the transition from the problem to the algorithm feels abrupt. An overview diagram and a motivating analysis of attention patterns would improve readability and better support the design choices.
-
The claimed speed–accuracy advantage is not convincingly established. On Qwen3 LongReason at 64K, Triceps is both less accurate than FlexPrefill (67.62 vs. 76.01) and slower (4.47 s vs. 4.06 s). At 256K, its approximately 3.4× TTFT speedup over dense attention comes with an accuracy drop of 5.79 percentage points (Tables 1 and 5). It remains unclear whether Triceps would retain a speed advantage over sparse baselines if they were tuned to tolerate similar accuracy loss. Accuracy–latency curves across multiple budgets are needed to establish whether Triceps provides a better trade-off at comparable quality.
Questions for the authors
-
Please specify the GPU model, inference precision, and timing batch configuration, and clarify whether Equation 13's cascade or Algorithm 6's cost-based sparse/delegation choice produced the reported runs.
-
Can the authors report a focused accuracy–TTFT sweep on Qwen3 LongReason, where the loss is largest, with k_c fixed and baseline budgets adjusted over a comparable range? Specifically, how much speedup remains when Triceps is tuned to match baseline accuracy, and does it remain faster when sparse baselines are tuned to tolerate a similar accuracy loss? (Since we observe the accuracy drop in this workload)
-
It's still unclear that how much does the conv branch contributes. What changes in accuracy and TTFT if the convolution branch is disabled while the remaining routing is retained?
3 comments
We thank Reviewer QJ5g for the thorough review and helpful suggestions on visual presentation and experimental details.
-
W1 — Visual Guidance & Upfront Empirical Motivation:
As detailed in Global Comment 2, we added a top-level pipeline diagram in Figure 1 (Section 3) illustrating the split, the approximation, and the 64-row routing to each of the three modes. We also added an empirical 64k block-mask example in Figure 2, to visualize and motivate how our method constructs sparser masks compared against exact offline oracle masks and prior methods.
- W2 & Q2 — Accuracy–TTFT Sweep on Qwen3 LongReason & 64k Latency:
- 64k latency: As discussed in Global Comment 1, optimizing our approximation and routing kernels (with the method unchanged) reduced upfront overhead from to at 64k and at 256k (Figure 4), delivering speedups starting from 64k (Table A, Figure 5, Table 6).
- Accuracy–TTFT sweep: The updated results with and (Table A) show that at , Triceps closely approaches or outperforms prior methods at their reference budgets in accuracy while delivering up to speedup over Dense and over FlexPrefill ( on Qwen3 LongReason at 256k across ), without needing to degrade the baselines to the initial submission's lower-accuracy regime.
- Q1 — Hardware, Precision, Batching & Equation 13 vs. Algorithm 6:
- Experimental setup: All runs use NVIDIA A100 80GB GPUs (
TP=2),bfloat16weights/KV-cache/kernels (withfp32accumulation), and batch size = 1. - Eq. 13 vs. Alg. 6: Alg. 6 is a generalized form. Both produce the exact same routing: in our code (
ConstantCostModel), , , and , so in Algorithm 6 reduces identically to Equation 13's cascade. We simplified Algorithm 6 in Appendix C to match Equation 13 directly.
- Experimental setup: All runs use NVIDIA A100 80GB GPUs (
- Q3 — Disabling the Convolution Branch:
As detailed in Global Comment 3 and Table B (Table 4, Appendix A.5), disabling convolution (
Triceps No-Conv) leaves accuracy comparable while increasing 256k TTFT across all four model/benchmark pairs: on Nemotron LongReason (), on Nemotron RULER (), and on Qwen3 LongReason () and RULER (, where Qwen3's smaller gap reflects its lower block-sparse density at 256k, Table 2).
Thanks for your response and additional efforts. For me, this work has mainly two shortages: 1. The method looks too complex, parameterized and needed carefully calibration, which makes it hard to be deployed in real scenarios. 2. The gain is not very significant, as in the Evaluation in Table 1, Triceps does not exhibit a significant advantage over the other methods in Table 1. After consideration, I think I will stay my current score.
We thank Reviewer QJ5g for reading our response and sharing these final thoughts. For completeness, we briefly clarify both points:
- Calibration & Deployment: As detailed in Point 1 of our follow-up response to Reviewer yhoF (Appendix A.1, Figure 6), is fixed once by the theoretical dropped-mass bound, leaving a single user-facing threshold (analogous to in FlexPrefill). We applied the same configuration unchanged across tasks, from 4 RULER subtasks on Nemotron-8B to the remaining 9 RULER subtasks and 794 LongReason prompts, and to another LLM architecture (MoE Qwen3-30B-A3B) without recalibration.
- Role of Table 1 vs. End-to-End TTFT Gains: The goal of sparse attention is to minimize the accuracy gap relative to dense attention (Table 1) while maximizing acceleration by constructing sparser masks (Figure 2, Table 2). The resulting gain is shown in Figure 5 (Table 6, Table A), where at comparable accuracy Triceps achieves up to speedup over Dense and over FlexPrefill. Moreover, as detailed in Point 3 of our follow-up response to Reviewer yhoF, these gains are measured on full-model end-to-end prefill TTFT in vLLM rather than on an isolated attention layer. This naturally dilutes the raw attention-layer speedup across the full model, as it measures the realistic wall-clock latency experienced by the user.
- Rating
- 1/4
- Confidence
- 4/4
- Soundness
- 1/3
- Presentation
- 2/3
- Informativeness
- 1/3
Read review
Summary
This paper proposes approximating the attention scores, outside the sliding window and a fixed window at the beginning of context, by separating it into three multiplicative components: 1) a query specific normalizer 2) a score determined based on the key vector 3) a positional score depending on the distance between query and key. This approximation is motivated by a vertical slash pattern observed in earlier works on non-retrieval heads. Computing this approximation requires a convolution in order to compute the multiplication between the distance-based position scores and the other two scores.To adapt to different type of heads, the approximation is either applied directly (convolution mode) or over blocks (block sparse mode). In the latter mode, first a block with high attention mass is identified and dense attention is computed over that block. The decision between convolution or block sparse mode is taken based on how well the approximation performs over the last few queries. Similarly, if in the last few queries the block sparse discards a block with high attention score, the approximation is dropped for that query and full attention is used. Experiments show that a lot of queries successfully use block sparse while some use convolution and a small portion revert to full attention. The performance is usually close to SoTA on short context but there are significant gaps in longer contexts, both with the baseline and other sparse attention methods (like PRISM).
Strengths
The method used for approximating the pattern is interesting.
Weaknesses
From my understanding, choosing which mode to use is based on the gap between dense attention and approximation in the last few queries. However, this is impossible to compute without additional costs since each of the previous queries either compute dense attention or the approximate. This makes this impractical. It is still interesting that doing this, we can rely on block sparse for the majority of queries. But still this makes the method impractical.
In addition to above, the method does not work very well. The numbers show significant regret in longer context across model families.
Questions for the authors
- How well can you fit the ridge regression for your approximations?
1 comment
We thank Reviewer s3Z1 for the feedback and address the two concerns and question below.
-
W1 — Practicality and Cost of Measuring the Gap on the Last Queries:
We respectfully clarify a distinction between prefill and autoregressive decoding. Triceps accelerates prefill, where all query, key, and value vectors of a layer reside in GPU memory simultaneously. Computing the exact attention output $ \boldsymbol{ O }^{ \text{dense}} _ i$ on the last query rows does not require computing dense attention on the preceding queries: it only multiplies a query slice against the key and value matrices. Likewise, once the decomposition is fitted on interior samples, evaluating the approximation ( and ) to measure the gap is also performed locally on only those rows before executing the chosen mode across all rows (see Figure 1).
Computing this slice costs FLOPs per head: only of full causal attention FLOPs at . As shown in Figure 4, the entire decomposition and 64-row routing pass takes of prefill GPU time at 256k, and is included in every reported end-to-end TTFT (Table 6).
-
W2 — Long-Context Accuracy Across Model Families:
The accuracy drop in the initial submission was induced by ( allowed dropped mass in block-sparse mode). Tightening the slope to (Point 1 & Table A in Global Comment; Tables 1 & 5) eliminates this degradation across both Qwen3 and Nemotron: at , Triceps closely approaches or exceeds the accuracy of all sparse baselines on both LongReason and RULER while achieving up to end-to-end TTFT speedup over Dense (Figure 5, Table 6).
-
Q1 — How Well Can You Fit the Ridge Regression?
We measured the coefficient of determination from the fit and classified all heads of Nemotron-8B ( heads) and Qwen3-30B-A3B ( heads) on the 1k–50k synthetic KV-retrieval benchmark of Wu et al. (2024):
- Non-retrieval heads ( on Nemotron, on Qwen3) are well captured by the separable fit, with median on Nemotron and on Qwen3; Triceps accelerates and of them via convolution or block-sparse attention.
- Retrieval heads ( on Nemotron, on Qwen3) do not follow a matrix-wide vertical–slash pattern and concentrate in the low- tail (median and ); our 64-row tail check detects this residual at runtime, delegating and of retrieval heads.
These empirical results show the strong correlation between retrieval heads and fit quality, as well as how our routing dispatches them. For more details, please refer to Appendix A.3 (Figure 8). Figure 2 also provides an example of the mask obtained from the fit.
- Rating
- 2/4(+1)
- Confidence
- 3/4
- Soundness
- 2/3(+1)
- Presentation
- 3/3
- Informativeness
- 2/3(+1)
Read review
Summary
This paper proposes Triceps, a training-free method for accelerating long-context prefill. It fits a tri-component separable attention approximation consisting of relative-position, key-dependent, and query-normalization factors. Based on runtime quality measurements, each attention head is routed to convolution, block-sparse attention, or delegation to another attention method, which is FlexPrefill in the main experiments.
Strengths
The paper provides extensive experiments across different datasets, models, and context lengths, evaluating both accuracy and efficiency. I also appreciate the detailed breakdown of routing shares and the computational costs of the different paths, which helps clarify how the method behaves in practice.
Weaknesses
W1: The routing breakdown shows that most head-calls use block-sparse attention, while only a small fraction use convolution, even fewer than use delegation. This leaves me unconvinced about how much the convolution path contributes to the reported gains. The tri-component approximation also guides block selection, but since many existing methods already use block-sparse attention, I would like clearer evidence of what this particular approximation adds over existing selection mechanisms. Component-wise ablations would help establish where the gains actually come from.
W2: The method also incurs noticeable accuracy losses on RULER and LongReason, while its efficiency advantage over existing sparse methods mainly appears at 128k and longer contexts. This makes me question whether the accuracy–efficiency trade-off is actually better. Comparisons at matched accuracy, or more complete accuracy–latency curves, would be more convincing than the current operating points.
Overall, my concern is that the approximation and routing overhead offsets part of the benefit of sparse computation, while the resulting attention computation still does not preserve task-relevant information accurately enough. The current results do not clearly establish whether the accuracy loss comes from convolution, block selection, or delegation, nor whether the additional speed justifies that loss.
Questions for the authors
Please refer to Weaknesses.
5 comments
We thank Reviewer yhoF for appreciating our experimental scope and routing breakdowns.
-
W1 — Contribution of the Convolution Path & Component Ablations (
No-Conv,FA2-Delegation):With the updated configuration, the convolution path handles of heads on LongReason and on RULER (Table 2). At 256k with Nemotron, a convolution head executes in , compared to for block-sparse ( slower) and for delegation ( slower). Convolution routes the head into a faster attention computation path (Figure 4).
In Table B (Global Comment; Table 4 in the paper), disabling convolution (
Triceps No-Conv) leaves accuracy nearly unchanged while increasing 256k TTFT across all benchmarks: from to () on Nemotron LongReason, to () on Nemotron RULER, to () on Qwen3 LongReason, and to () on Qwen3 RULER (where Qwen3's smaller delta reflects its lower block-sparse density at 256k, Table 2). Furthermore, replacing FlexPrefill delegation with exact dense FlashAttention-2 (Triceps FA2-Delegation) achieves a TTFT speedup over Dense on LongReason at 256k and on RULER. -
W1 — What the Tri-Component Approximation Adds to Block Selection:
Please refer to Global Comment 2 (Figure 2), which discusses an empirical example of how our method achieves significantly sparser masks than prior methods; across all routed block-sparse heads in the full models (Table 2), this translates into block-sparse density on Qwen3 ( at 256k) and on Nemotron.
-
W2 — Accuracy–Efficiency Trade-off & Matched-Accuracy Comparisons:
As discussed in Global Comment 1 (Table A), we report three configurations at , alongside reduced kernel overhead (down from to at 64k and at 256k, Figure 4, with the method unchanged). At , Triceps closely approaches or exceeds the accuracy of all sparse baselines while already delivering lower TTFT across all 128k–256k settings and on Nemotron at 64k (Figure 5, up to faster than FlexPrefill at and at ). Together, Tables A and B show that the initial accuracy loss came from an overly permissive block-selection threshold (), rather than from convolution (
No-Conv) or delegation (FA2-Delegation).
Thank you for the authors’ efforts in addressing my concerns. I am glad to see that the updated configuration substantially improves the accuracy, resolving one of my major concerns. However, I still have a few questions:
-
How was the updated configuration determined? Is there any theoretical guidance for choosing and , or were they selected through empirical search? If the latter, what data and selection criteria were used? More importantly, should we expect the selected configuration to generalize to other workloads?
-
The contribution of convolution remains unclear to me. Although the updated configuration increases the proportion of convolution-based routing, the No-Conv ablation still achieves comparable or even better accuracy, while incurring only a modest TTFT overhead of approximately 1.4%–6.2% at 256k. This makes me question whether convolution provides sufficient practical benefits to justify its inclusion. Could the authors better clarify the role of convolution and the scenarios in which its benefits outweigh the potential accuracy trade-off?
-
Reducing mask density is an intermediate result; TTFT is the ultimate metric of interest. I acknowledge that the proposed method selects fewer blocks, which is a positive result. However, I still have concerns about the overall TTFT improvements, particularly the baseline comparison. To my understanding, the FlexPrefill paper reports speedups starting at 16k context length and achieves up to 6.2× speedup over dense attention at 256k. In contrast, the results reported by the authors show less than 2× speedup for FlexPrefill at 256k. This is a substantial discrepancy. Could the authors explain the possible reasons for this gap, such as differences in hardware, models, or measurement protocols, and clarify whether the reported results are directly comparable?
I would be willing to raise my score if the authors could satisfactorily address these remaining questions.
We thank Reviewer yhoF for the constructive engagement and for noting that the updated configuration resolves the accuracy concern. We address your three remaining questions below:
1. How the Configuration () Was Determined & Generalization
We selected the configurations via a small empirical grid search whose range was bounded by theoretical guidance:
- Theoretical guidance on the search space: and directly control two post-softmax error bounds (Section 3.3, Appendix B.2):
-
Convolution error threshold (): takes the maximum relative output error over the last query rows (Equation 15, Appendix B.2). In causal attention, these rows attend across the full span of the and components and are thus most exposed to outliers from the fit. Completely erasing a head's output on a row () yields a relative error of exactly , making the natural upper bound where the approximation is no better than zero. By the law of cosines, requiring guarantees that every measured row stays positively aligned with , with a cosine similarity of at least ( for ).
-
Block-sparse dropped-mass slope (): bounds the discarded interior attention mass in block-sparse mode (). Standard cumulative-mass methods discard of attention mass (e.g., FlexPrefill , PBS-Attn ). The initial submission's allowed discarded mass, nearly looser than standard practice. Setting bounds to the standard range across .
-
- Empirical grid search & out-of-distribution generalization: Within these bounds, we profiled the grid on only 4 RULER subtasks on Nemotron-8B (Appendix A.1, Figure 6). We selected and then applied it unchanged to the remaining 9 RULER subtasks, to the entire LongReason benchmark (794 prompts), and to a completely different model family and architecture (Qwen3-30B-A3B, a 48-layer MoE), confirming that the configuration generalizes across models and tasks.
2. Clarifying the Role and Practical Benefit of Convolution
We agree that up to 256k under TP=2, the majority of Triceps' end-to-end speedup comes from the reduced attention density achieved by the multiplicative block-sparse selector (). However, because and the 64-row gate are already computed to build the block mask, the convolution path adds nearly zero overhead (checking ). As stated, Triceps computes a convolution head at 256k on Nemotron faster than block-sparse (Figure 4). Yet the observed end-to-end gains are modest, which we attribute to two reasons:
-
Amdahl's law on full-model TTFT: At 256k and , convolution is selected on of heads (Table 2); thus, the per-head speedup over block-sparse and delegation kernels is diluted over the end-to-end TTFT by the remaining block-sparse and delegated heads as well as non-attention layers (e.g., FFN, MoE).
-
Cross-GPU load-balancing under
TP=2(Section 6, Limitations; Figure 7, Appendix A.2): With staticTP=2head partitioning (splitting heads and across the two GPUs) and a per-layerAllReducebarrier, each layer's wall-clock latency is determined by the critical path (the slower GPU). As Figure 7 visually shows, the three execution modes are unevenly distributed across heads within a layer: whenever convolution heads fall on the faster GPU while the other GPU executes more block-sparse or delegated heads, their time savings are hidden behind theAllReducesynchronization barrier.
The main benefit of the convolution path is its asymptotic scaling compared with for the block-sparse path. Between 64k and 256k ( context length), per-head convolution time grows by only (), whereas block-sparse time grows by (, Figure 4).
Comments on the paper
4 comments
Summary of Revisions, Accuracy–Latency Curves, and Component Ablations
We thank all four reviewers for their constructive feedback. We have updated the manuscript and conducted targeted ablations.
First we address the shared questions across reviews:
- Accuracy–Latency Trade-off & Multi-Budget Evaluation (Reviewers yhoF, s3Z1, QJ5g, xvCE):
In the initial submission, the tested configuration () allowed up to discarded tail-row attention mass in block-sparse mode, which was overly permissive for some of the tasks. Setting and sweeping tightens the block-sparse drop budget to while raising the convolution admission threshold , simultaneously improving accuracy and routing a larger share of heads to the fast convolution path (updated Tables 1, 2, 5, 6 and Figures 3–7).
Independently, we optimized our approximation and routing kernels without changing the method itself, reducing upfront overhead to of prefill GPU time at 64k, at 128k, and at 256k (Figure 4). Triceps now delivers end-to-end TTFT speedups starting at 64k. At , it closely approaches or exceeds the accuracy of all sparse baselines at their reference budgets while already achieving lower TTFT across all 128k–256k settings and on Nemotron at 64k (Table A, Figure 5, Table 6).
2. Visual Motivation & Block-Mask Comparison (Reviewers yhoF, s3Z1, QJ5g, xvCE):
We added a pipeline diagram in Figure 1 (Section 3) to depict a top-level overview of our method. We also included a 64k block-mask example comparing our method against exact offline oracle masks ( to mass) and prior methods in Figure 2 (Section 4). In our tri-component decomposition , captures global keys (vertical heavy-hitters), captures relative-distance patterns induced by RoPE (slashes), and directly estimates for each query row the number of selected blocks before softmax. Figure 2 illustrates for one head how combining all three yields sparser masks ( density with ) than prior heuristics because it selects blocks when , and constructively reinforce (intersection) and discards blocks that one or two of those components cancel. As a result, our method selects localized segments of verticals and slashes, whereas MInference () and FlexPrefill () extrapolate full-length verticals and diagonals from a query subset and take their union. PRISM () takes the union of low- and high-frequency masks without cross-frequency cancellation, and block mean-pooled heuristics (PRISM, and PBS-Attn after intra-segment key permutation) overshoot mask density.
3. Component Ablations — Convolution Branch & Delegation Target (Reviewers yhoF, QJ5g, xvCE):
Triceps' three execution modes play complementary roles: convolution executes regular vertical–slash heads directly from in (/head on Nemotron at 256k), block-sparse uses the fitted decomposition as an ultra-sparse block selector ( density, /head, slower than convolution), and delegation (/head, slower, Figure 4) preserves accuracy when needed (e.g. retrieval heads Appendix A.3). Table B (Table 4, Appendix A.5) isolates both design choices at : (i) disabling convolution (Triceps No-Conv), which redirects convolution heads to block-sparse and increases end-to-end 256k TTFT, measured over the full prefill, by up to ( on Nemotron LongReason; on RULER) at comparable accuracy; and (ii) replacing FlexPrefill delegation with exact dense FlashAttention-2 (Triceps FA2-Delegation), which still achieves a speedup over Dense at 256k, confirming that the acceleration comes from Triceps' convolution and block-sparse modes.
Table A: Accuracy (%) and End-to-End TTFT (s) Across Operating Points (, TP=2)
| Model | Method | LR Acc 64k / 128k / 256k | LR TTFT (s) 64k / 128k / 256k | RULER Acc 64k / 128k / 256k | RULER TTFT (s) 64k / 128k / 256k |
|---|---|---|---|---|---|
| Qwen3-30B-A3B | Dense (FA2) | 76.57 / 73.43 / 73.30 | 6.16 / 22.67 / 80.06 | 92.85 / 89.46 / 84.82 | 6.11 / 22.57 / 79.99 |
| FlexPrefill | 76.01 / 71.91 / 72.29 | 4.06 / 10.77 / 28.98 | 89.61 / 86.15 / 84.57 | 5.57 / 16.51 / 45.82 | |
| PBS-Attn | 75.94 / 72.41 / 73.68 | 4.98 / 13.47 / 35.19 | 89.73 / 85.06 / 82.04 | 5.63 / 16.88 / 48.39 | |
| PRISM | 75.81 / 74.06 / 73.30 | 4.32 / 12.66 / 33.82 | 90.54 / 86.43 / 82.96 | 5.74 / 17.99 / 52.86 | |
| Triceps () | 74.56 / 73.43 / 72.04 | 4.18 / 9.68 / 25.02 | 90.58 / 86.79 / 83.92 | 5.72 / 15.26 / 41.55 | |
| Triceps () | 74.43 / 71.66 / 71.54 | 4.10 / 9.39 / 24.10 | 90.13 / 86.70 / 83.41 | 5.58 / 14.91 / 40.48 | |
| Triceps () | 70.65 / 70.40 / 68.39 | 3.99 / 9.21 / 23.42 | 90.95 / 85.82 / 82.75 | 5.43 / 14.49 / 39.43 | |
| Nemotron-8B | Dense (FA2) | 45.97 / 45.66 / 45.10 | 5.25 / 17.48 / 63.79 | 75.74 / 71.58 / 65.54 | 5.23 / 17.43 / 63.79 |
| FlexPrefill | 45.80 / 44.96 / 44.20 | 4.54 / 11.55 / 35.59 | 73.38 / 70.64 / 62.16 | 4.90 / 13.24 / 41.81 | |
| PBS-Attn | 44.30 / 43.83 / 43.80 | 4.91 / 12.57 / 36.04 | 72.49 / 71.06 / 61.74 | 5.12 / 14.55 / 44.77 | |
| PRISM | 45.50 / 44.90 / 45.00 | 4.38 / 12.15 / 37.21 | 73.58 / 71.17 / 62.69 | 5.12 / 15.09 / 49.10 | |
| Triceps () | 45.97 / 45.97 / 43.70 | 4.18 / 9.97 / 27.16 | 74.62 / 72.44 / 63.11 | 4.66 / 11.78 / 33.71 | |
| Triceps () | 45.21 / 44.21 / 44.21 | 4.03 / 9.48 / 25.15 | 74.54 / 71.30 / 61.97 | 4.55 / 11.32 / 31.77 | |
| Triceps () | 44.71 / 43.70 / 41.81 | 3.91 / 8.88 / 23.69 | 73.54 / 71.15 / 62.76 | 4.41 / 10.81 / 30.13 |
Table B: Component Ablations (No-Conv and FA2-Delegation at )
| Model | Variant | LR Acc (%) 64k / 128k / 256k | LR TTFT (s) 64k / 128k / 256k | RULER Acc (%) 64k / 128k / 256k | RULER TTFT (s) 64k / 128k / 256k |
|---|---|---|---|---|---|
| Nemotron-8B | Dense (FA2) | 45.97 / 45.66 / 45.10 | 5.25 / 17.48 / 63.79 | 75.74 / 71.58 / 65.54 | 5.23 / 17.43 / 63.79 |
| Triceps (Full) | 45.21 / 44.21 / 44.21 | 4.03 / 9.48 / 25.15 | 74.54 / 71.30 / 61.97 | 4.55 / 11.32 / 31.77 | |
Triceps (No-Conv) |
45.21 / 44.58 / 43.83 | 4.06 / 9.73 / 26.70 | 74.12 / 72.19 / 64.18 | 4.57 / 11.68 / 33.00 | |
Triceps (FA2-Delegation) |
45.34 / 44.71 / 42.20 | 4.10 / 10.54 / 30.95 | 74.19 / 70.90 / 61.74 | 4.46 / 11.69 / 34.51 | |
| Qwen3-30B-A3B | Dense (FA2) | 76.57 / 73.43 / 73.30 | 6.16 / 22.67 / 80.06 | 92.85 / 89.46 / 84.82 | 6.11 / 22.57 / 79.99 |
| Triceps (Full) | 74.43 / 71.66 / 71.54 | 4.10 / 9.39 / 24.10 | 90.13 / 86.70 / 83.41 | 5.58 / 14.91 / 40.48 | |
Triceps (No-Conv) |
73.93 / 72.42 / 69.65 | 4.01 / 9.33 / 24.44 | 90.55 / 86.02 / 83.65 | 5.55 / 15.06 / 41.04 | |
Triceps (FA2-Delegation) |
72.50 / 71.16 / 67.76 | 4.27 / 11.34 / 33.89 | 90.05 / 86.51 / 83.68 | 5.26 / 15.34 / 45.98 | |
Response to the rebuttal.
Dear reviewers,
The authors have submitted rebuttal responses. Please read through their replies and update your review as you see fit. Thank you for your work.
AC.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank Reviewer xvCE for the insightful technical review and for highlighting the exponential-family covariance identity in Appendix B.2.
Q1 — Accuracy on Qwen3 LongReason / RULER
cwe& Matched-Accuracy TTFT:RULER
cweand LongReason on the initial configuration (kc=0.5,τ=0.4, 18.1 dropped mass) were over-pruned. As detailed in Global Comment 1 (Table A, Table 5), setting kc=0.2 and τ=0.5 bounds dropped mass to 9.5. On Qwen3 LongReason, accuracy increases to 74.56%, 73.43%, and 72.04% at 64k, 128k, and 256k (matching Dense at 128k) while running faster than FlexPrefill at 128k (9.68s vs. 10.77s) and 256k (25.02s vs. 28.98s). On RULER, Triceps achieves the highest average accuracy among sparse baselines in 5 of 6 settings: Nemotronniah_multikey_1(64k) improves from 73.00% to 87.00% (vs. Dense 86.00%), and Qwen3cweimproves to 46.40% at 128k (vs. FlexPrefill 21.30%) and 13.60% at 256k (vs. FlexPrefill 10.19%). While PRISM achieves higher scores oncwe(64.10% / 26.90%), it comes at a higher computational cost (52.86s vs. 41.55s) and still underperforms Triceps (τ=0.5) on the overall RULER average across all context lengths (Table A).Q2 — 64k Overhead, Convolution Share vs. Context Length & Disabling Convolution:
Kernel optimizations reduced upfront overhead from 39 to 22 at 64k and 5 at 256k (Global Comment 1, Figure 4), making Triceps faster than FlexPrefill and PRISM at 64k on Nemotron and faster than PRISM on Qwen3 (Table A). With the updated configuration, while we reduced the number of dropped blocks (Table 2), the convolution share rises to 9.8 on LongReason and 4.8 on RULER (decreasing mildly with N as a single global Toeplitz operator spans a longer prefix). As shown in Global Comment 3 and Table B (Table 4), each convolution head executes ∼4× faster than block-sparse at 256k (2.7 ms vs. 9.7—12.6 ms, Figure 4), and disabling convolution (
Triceps No-Conv) increases 256k TTFT across all benchmarks (up to +6.2) at comparable accuracy.Q3 — Reusing the k=64 Tail-Row Scores in FlexPrefill & Dense FA2 Fallback:
Triceps FA2-Delegationin Global Comment 3 and Table B (Table 4): even when every delegated head runs exact dense FlashAttention-2, Triceps achieves 2.06× to 2.36× speedup over Dense on LongReason at 256k and 1.74× to 1.85× on RULER.Q4 — Ordering in Algorithm 1/5 for Econv & Cost Model C in Algorithm 6:
ROUTINGMEASUREMENT(Alg. 5), Econv is evaluated with the exact convolution row-mass normalization of Equation 10 (Alg. 7), not the statistics-calibrated h from Alg. 4: on the k=64 tail rows, our fused Triton kernel accumulates both the unnormalized interior output and the exact row sum (d∗c)i directly in O(kNd) time and normalizes by AΛ′1i+gi(d∗c)i. Full-sequenceCALIBRATEHORIZONTAL_CONVOLUTION(Alg. 7, which costs 3 full-length FFTs across all N rows) is called afterDECIDEHEADin Alg. 1 so that full-sequence FFTs are only paid on heads actually routed toconv.ConstantCostModel), Cconv=0, Csparse(ρ)=ρ, and Cdeleg=Cdense=ρ0=0.60, making argminmV[m] in Algorithm 6 identical to Equation 13. We simplified Algorithm 6 in Appendix C to match Equation 13 directly.