potentialpaper

CutAttn: Discovering Cognitive Transition Layers for Efficient Long-Context Prefilling

Wentao Liu, Xiabao Wu, Yongchao Liu, Haitao Zhang, Jiajun Zheng, Ruiting Zhou

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Long-context LLM inference is fundamentally a retrieval process, transitioning from diffuse to sharply focused attention at a few architecture-determined (CTLs). Existing acceleration methods leave significant costs unaddressed: sparse attention ignores FFNs, KV cache compression neglects prefill, and hidden-state pruning relies on fixed, heuristic rules. We introduce CutAttn, a training-free framework that exploits CTLs via inter-layer Jensen--Shannon divergence, pruning redundant context at chunk granularity while dynamically gated by a normalized-entropy criterion. Operating at the hidden-state level, CutAttn reduces both attention and FFN costs, composing orthogonally with existing acceleration techniques. Evaluated on RULER, InfiniteBench, and LongBench, CutAttn preserves full-attention accuracy while achieving up to a 2.02×2.02\times prefill speedup on 128K sequences (and 2.81×2.81\times when composed with sparse attention). Furthermore, our theoretical analysis provides approximation bounds, an entropy-compression limit justifying the gating, and a closed-form speedup ratio.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:50 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper proposes CutAttn, a training-free method for accelerating long-context prefilling. It identifies cognitive transition layers using inter-layer Jensen–Shannon divergence and applies entropy-gated chunk-level hidden-state pruning, reducing both attention and FFN computation.

The reviewers generally find the idea interesting and practically relevant. The cross-layer perspective, adaptive pruning, theoretical analysis, and compatibility with sparse-attention methods are meaningful strengths.

The main concern is that the cognitive-transition-layer claim is not fully validated. It remains unclear why JSD reliably identifies safe pruning layers, why shallow layers must be manually excluded, and whether the selected layers are stable across tasks, inputs, context lengths, and model architectures. The novelty should also be positioned more carefully relative to prior structured-sparsity and hidden-state-pruning work.

The practical evaluation could also be strengthened. The paper mainly reports TTFT rather than end-to-end latency or throughput, and the gap between theoretical and measured speedups is not sufficiently analyzed. Baseline comparisons would benefit from clearer compression ratios, memory results, and implementation details. Hyperparameter selection and behavior on tasks with distributed attention also require further clarification.

The author response would benefit from addressing:

  • Provide stronger evidence that JSD peaks reliably identify safe and input-stable pruning layers.
  • Clarify the novelty relative to prior structured-sparsity and hidden-state-pruning methods.
  • Report end-to-end latency or throughput for realistic generation lengths and discuss the gap between theoretical and measured speedups.
  • Clarify compression ratios, memory comparisons, batching behavior, and positional encoding after pruning.
  • Provide clearer hyperparameter-selection guidance and additional analysis on tasks with distributed attention.

Overall, CutAttn is a promising and potentially useful approach, but several central methodological and systems claims require stronger validation.

Final justification

I have carefully read the authors’ rebuttal and the subsequent reviewer discussion. The rebuttal addressed most of the concerns raised in the initial meta-review. In particular, the authors provided additional evidence on CTL selection and stability, clarified the novelty and scope of the method, added end-to-end latency and throughput measurements, and strengthened the comparisons and analysis of memory, hyperparameters, and distributed-information tasks. The reviewers generally viewed these additions positively, with reviewers raising or maintaining their scores at borderline accept.

I recommend Accept. CutAttn addresses an important problem in long-context inference and provides a simple, training-free mechanism that reduces both attention and FFN computation. While some questions remain regarding the interpretation of cognitive transition layers and the method’s performance can depend on the model and workload, the rebuttal substantially strengthened both the methodological and systems evidence.

Area Chair 2gmt · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper proposes CutAttn, a training-free method for accelerating long-context prefilling. It identifies cognitive transition layers using inter-layer Jensen–Shannon divergence and applies entropy-gated chunk-level hidden-state pruning, reducing both attention and FFN computation.

The reviewers generally find the idea interesting and practically relevant. The cross-layer perspective, adaptive pruning, theoretical analysis, and compatibility with sparse-attention methods are meaningful strengths.

The main concern is that the cognitive-transition-layer claim is not fully validated. It remains unclear why JSD reliably identifies safe pruning layers, why shallow layers must be manually excluded, and whether the selected layers are stable across tasks, inputs, context lengths, and model architectures. The novelty should also be positioned more carefully relative to prior structured-sparsity and hidden-state-pruning work.

The practical evaluation could also be strengthened. The paper mainly reports TTFT rather than end-to-end latency or throughput, and the gap between theoretical and measured speedups is not sufficiently analyzed. Baseline comparisons would benefit from clearer compression ratios, memory results, and implementation details. Hyperparameter selection and behavior on tasks with distributed attention also require further clarification.

The author response would benefit from addressing:

  • Provide stronger evidence that JSD peaks reliably identify safe and input-stable pruning layers.
  • Clarify the novelty relative to prior structured-sparsity and hidden-state-pruning methods.
  • Report end-to-end latency or throughput for realistic generation lengths and discuss the gap between theoretical and measured speedups.
  • Clarify compression ratios, memory comparisons, batching behavior, and positional encoding after pruning.
  • Provide clearer hyperparameter-selection guidance and additional analysis on tasks with distributed attention.

Overall, CutAttn is a promising and potentially useful approach, but several central methodological and systems claims require stronger validation.

Final justification

I have carefully read the authors’ rebuttal and the subsequent reviewer discussion. The rebuttal addressed most of the concerns raised in the initial meta-review. In particular, the authors provided additional evidence on CTL selection and stability, clarified the novelty and scope of the method, added end-to-end latency and throughput measurements, and strengthened the comparisons and analysis of memory, hyperparameters, and distributed-information tasks. The reviewers generally viewed these additions positively, with reviewers raising or maintaining their scores at borderline accept.

I recommend Accept. CutAttn addresses an important problem in long-context inference and provides a simple, training-free mechanism that reduces both attention and FFN computation. While some questions remain regarding the interpretation of cognitive transition layers and the method’s performance can depend on the model and workload, the rebuttal substantially strengthened both the methodological and systems evidence.

1 comment
Authors · CommentOpenReview ↗

Response to the Area Chair Meta-Review

Thank you for recognizing CutAttn's cross-layer design, adaptive pruning, and practical value. We summarize how the reviewer responses address the five main concerns.

Comment 1: JSD measures how much a model's attended context regions change between adjacent layers. TVD and Wasserstein find the same main changes in Figure 3(a,b), and the heatmaps in Figure 1 and Appendix B.4 visualize them. Figure 3(c) separately applies the same 50% pruning after different layers: pruning before a major change can sharply reduce accuracy, showing that safety does not simply increase with depth. CTLs place pruning after these changes and require only a small calibration set, not a layer-by-layer accuracy search.

JSD detects sharp attention shifts, but early representation building[1,2] can produce the same signal before later retrieval and reasoning begin. We therefore exclude shallow CTLs with lmin⁡=⌈0.15N⌉l_{\min}=\lceil0.15N\rceil, which removes Qwen's layer-4 peak; 0.15 is empirical, not universal. We also narrow our claim to model-specific stability over tested inputs: the main peaks remain fixed across six LongBench categories and RULER at 4K/16K/64K. On 64-layer Qwen3-32B, CutAttn finds CTLs 10/35/44; using all three with the entropy gate scores 96.42 versus 95.54 for Full Attention, while disabling the gate scores 87.27. See our response to GbiK (W1/Q1.1--Q1.2) and MP5F (Q3) for details.

Comment 2: We do not claim that deeper-layer attention concentration is new. PyramidKV changes KV-cache allocation, while MInference and Quest sparsify attention; they do not shorten the hidden-state sequence processed by later FFNs. Existing hidden-state pruning methods use heuristic layers and fixed ratios. CutAttn instead combines three decisions: CTLs determine where to prune, recall determines how much to retain, and entropy determines whether pruning is safe.

The submitted ablations support this separation. Under the same single-layer 50% pruning, CTL placement improves RULER-16K accuracy by 7.890/5.096 points on Llama/Qwen. Adding entropy to recall-guided pruning gives the best accuracy on both models. Our contribution is this adaptive mechanism, not the concentration observation itself. See our response to cp8g (W1/W4).

Comment 3: At 128K on Llama, 2.42x is a FLOP estimate with fixed post-pruning lengths; 2.02x is measured A100 TTFT. Actual retention varies because recall may preserve more context and entropy may skip pruning. The FLOP estimate also excludes scoring, decisions, gathers, and metadata updates.

After submission, we implemented CutAttn in vLLM 0.19.1 and tested 1,024-token generation on an H20. At 128K, Llama/Qwen throughput improves by 1.74x/1.49x and end-to-end latency by 1.67x/1.44x, including batching, decode, and CutAttn overheads. This confirms acceleration on both A100+Transformers/FlashAttention-2 and H20+vLLM. See cp8g (W2) for the full table and MP5F (Q1, W1/Q2) for implementation and latency details.

Comment 4: CutAttn has no fixed ratio: recall controls retained attention mass, and entropy can skip pruning. We therefore report a speed--accuracy frontier. The aggressive (0.95,0.90)(0.95,0.90) setting matches or exceeds SlimInfer's speed with higher accuracy except for Llama at RULER 64K, where it is 0.54 points lower.

At RULER 128K on Llama, CutAttn (0.95,0.90)(0.95,0.90) uses 62.4% of Full Attention's prefill peak memory and 44.1% of its final KV memory. It also reduces attention and FFN activations. The submitted implementation physically shortens the sequence without padding or null multiplication; the vLLM version performs one gather across a packed batch. Retained tokens keep their original position IDs and pairwise distances. See GbiK (W2/Q2--Q4) and MP5F (Q1, W2/Q4.1) for complete comparisons.

Comment 5: We recommend (τ,α)=(0.85,0.95)(\tau,\alpha)=(0.85,0.95). Start from this default, lower recall α\alpha for more speed, and raise entropy τ\tau to 0.90 on easier tasks. On eight LongBench summarization and multi-document QA tasks, the default changes average accuracy by only +0.36/−0.18+0.36/-0.18 points and improves TTFT by 1.32x/1.22x. At recall 0.90, the safer entropy gate recovers 0.42/0.51 points, showing that it protects distributed evidence. See cp8g (W3) and MP5F (W3/Q4.2) for full sweeps and guidance. We do not claim open-ended long-form generation, since CutAttn targets long-prefill, short-decode workloads.

References. [1] Lad et al., “Remarkable Robustness of LLMs: Stages of Inference?”, NeurIPS 2025. [2] Chuang et al., “DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models,” ICLR 2024.

Reviewer GbiKOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
2/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

This paper presents CutAttn, a hidden-state pruning method. CutAttn determines offline the so-called cognitive transition layers (CTLs) using inter-layer Jensen-Shannon divergence. The CTLs are where hidden-state pruning is to be performed dynamically according to a normalized entropy gate. Evaluations show that CutAttn speeds up prefilling over full attention while preserving full-attention accuracy.

Strengths and weaknesses

The existence of cognitive transition layers around which the attention patterns change sharply seems novel and interesting. However, Figure 3 does not seem to fully support the claim. It is not obvious to see the claimed surge or drop in Figure 3c. Why can JSD or other tested metrics capture the desired transition? Is there any justification? Why should one exclude shallow layers explicitly? If JSD or other metrics are to work as expected, shouldn't they be able to identify such layers automatically? The claim that CTLs depend only on the architecture is not clearly demonstrated.

The proposed method CutAttn seems simple and effective. It speeds up prefilling while preserving full-attention accuracy. However, it is unclear if the comparisons in the evaluation are fair. The compression ratios are not reported for most experiments. Table 4 reports only the memory saving of CutAttn but not those of baselines. Table 4 shows that peak memory saving does not come from KV cache alone. What are the other sources?

The theoretical analysis ignores positional encoding. How is positional encoding done after pruning?

Questions
  1. Why can the proposed method identify CTL? Why should one exclude shallow layers explicitly?

  2. How should one interpret the results in Table 2 and others? Some baselines have worse accuracy but higher speedup.

  3. What are the memory saving of the baselines? What are the sources of memory saving of CutAttn other than KV cache?

  4. How is positional encoding done after pruning?

Limitations

Yes.

Final justification

The authors have addressed most of my questions. Although I'm not fully convinced, I've raised my rating to 4 (it could be interpreted as 3.5).

Formatting concerns

No concerns.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for highlighting four points that need clearer evidence: CTL identification, comparison fairness, memory accounting, and positional encoding.

W1/Q1.1: Why do distributional metrics identify CTLs? JSD measures the difference between two distributions. In our setting, each layer's normalized attention-score distribution indicates which context regions the model attends to; a larger inter-layer JSD means a larger shift in those attended regions. TVD and Wasserstein measure the same type of distributional change and recover similar peaks in Figure 3(a,b). We call the layers where these large attention shifts occur CTLs. Figure 1 and Appendix B.4 visualize this distribution shift through attention heatmaps. In the heatmaps, the highlighted regions change markedly across a CTL, indicating that the model either discovers new salient regions or further concentrates on existing ones.

W1: What does Figure 3(c) establish? Panel (c) is not another JSD plot; our description was imprecise. Panels (a,b) locate candidate CTLs offline. Panel (c) then applies the same 50% intervention at different layers. For example, pruning after layer 12 in Llama or layer 13 in Qwen yields lower accuracy than pruning after either neighboring layer. This shows that pruning safety does not increase monotonically with depth. CTLs detect these attention-distribution shifts and place pruning after them, reducing pruning risk. Detecting CTLs only requires recording layer-wise distributions for a small number of samples; it does not require a large dataset or layer-by-layer offline accuracy search. Figure 3(c) validates CTL effectiveness, but this pruning sweep is not required in deployment.

W1/Q1.2: Why are shallow layers excluded? JSD identifies strong layerwise redistribution but cannot determine whether it comes from early representation formation or later retrieval reorganization. Lad et al. hypothesize an initial detokenization stage that integrates local context into higher-level representations, and show that shallow layers are especially sensitive to deletion and swapping [1]. DoLa finds that early-layer predictions can be linguistically plausible while factual information continues to emerge in higher layers [2]. Therefore, a shallow JSD peak is not necessarily a safe pruning boundary. We conservatively protect a depth-normalized warm-up region: lmin⁡=⌈ρmin⁡N⌉,ρmin⁡=0.15.l_{\min}=\lceil\rho_{\min}N\rceil,\qquad \rho_{\min}=0.15. This yields lmin⁡=5l_{\min}=5 for both evaluated models (N=32,28N=32,28) and excludes Qwen's layer-4 peak. We interpret this peak as being consistent with an early representational transition, not as evidence of a safe deep-layer pruning boundary. The literature motivates protecting shallow representation building; ρmin⁡=0.15\rho_{\min}=0.15 is our empirical safety prior, not a universal constant. We will replace the absolute lmin⁡=5l_{\min}=5 with this normalized form.

W1: Are CTLs architecture-determined and input-stable? “Architecture-determined” is too broad. Our evidence supports a narrower claim: for a given model, CTLs remain empirically stable across multiple evaluated datasets. The appendix covers six LongBench categories and RULER at 4K, 16K, and 64K; the dominant peaks remain at the same locations. We will therefore use “model-specific and empirically stable across the evaluated tasks, inputs, and lengths.”

W2/Q2: How should the compression ratios and speed–accuracy trade-offs be interpreted? Because the methods use different compression policies, we add more aggressive CutAttn configurations to compare accuracy at similar speedups.

We additionally evaluated two CutAttn settings on RULER and a 20%-sample InfiniteBench-10 sweep (En.QA, En.MC, En.Dia, Zh.QA, Code.D, En.Sum, Math.F, PassKey, Number, and KV). CutAttn tuples are (entropy, recall); cells report Llama/Qwen, with TTFT normalized to Full:

Method R4K Acc. R4K TTFT R16K Acc. R16K TTFT R64K Acc. R64K TTFT InfBench-10 Acc. InfBench-10 TTFT
Full Attention 96.09/95.03 1.00x/1.00x 94.20/93.46 1.00x/1.00x 86.63/87.77 1.00x/1.00x 53.62/49.86 1.00x/1.00x
CutAttn (0.85, 0.95) 96.01/94.92 1.16x/1.12x 94.23/93.61 1.28x/1.19x 86.37/87.94 1.60x/1.33x 53.42/50.91 1.96x/1.52x
CutAttn (0.90, 0.90) 95.85/94.16 1.24x/1.22x 93.74/93.59 1.59x/1.46x 86.68/87.14 2.10x/1.64x 53.49/50.34 2.58x/1.91x
CutAttn (0.95, 0.90) 95.70/93.19 1.30x/1.26x 93.38/92.93 1.68x/1.52x 86.43/86.12 2.36x/1.79x 53.15/49.94 2.63x/1.95x
SlimInfer (0.5) 93.92/87.16 1.45x/1.40x 92.45/87.79 1.73x/1.65x 86.97/84.28 1.93x/1.80x 52.97/49.61 2.03x/1.97x
FastKV (0.5) 91.13/81.27 1.27x/1.24x 90.58/80.45 1.37x/1.33x 85.76/74.75 1.45x/1.39x 52.64/47.12 1.49x/1.50x

At similar or higher TTFT speedups than SlimInfer, the most aggressive CutAttn setting (0.95,0.90)(0.95,0.90) achieves higher accuracy on 4K, 16K, and InfiniteBench-10. At 64K, it remains higher on Qwen but is 0.54 points lower on Llama.

W2/Q3: How do baseline and CutAttn memory savings compare? We measured all methods using Llama and one fixed sample from each of 13 RULER tasks per length. Cells report P/KP/K: prefill peak above weights / final KV. Final KV is the KV-cache memory retained at the end of prefill, when decoding begins. Full Attention is in GB; other entries are percentages of Full.

RULER length Full Attn. (GB) CutAttn (0.85, 0.95) CutAttn (0.95, 0.90) SlimInfer (0.5) FastKV (0.5)
4K 0.855/0.429 81.1%/86.7% 71.4%/72.7% 67.0%/65.5% 75.3%/79.1%
8K 1.812/0.930 80.3%/83.3% 67.1%/64.7% 66.3%/61.6% 74.3%/76.8%
16K 3.715/1.927 81.0%/82.3% 67.2%/63.3% 65.9%/59.8% 74.1%/75.9%
32K 7.542/3.930 74.6%/74.1% 64.7%/57.7% 65.8%/59.0% 73.9%/75.4%
64K 15.196/7.937 72.0%/68.7% 62.5%/51.2% 65.7%/58.6% 73.9%/75.2%
128K 29.566/15.460 67.1%/59.0% 62.4%/44.1% 65.7%/58.4% 73.9%/75.1%

At 128K, CutAttn (0.95,0.90)(0.95,0.90) reduces peak non-parameter memory by 37.6%, compared with 34.3% for SlimInfer and 26.1% for FastKV—an additional 3.3 and 11.5 percentage points. Beyond the KV cache, shortening the hidden-state sequence also reduces (1) attention activations, including Q/K/V, RoPE, outputs/workspaces, and projections; (2) FFN intermediates; and (3) residual/norm buffers. All scale with the retained token count. CutAttn therefore reduces memory in both attention and FFN blocks.

W3/Q4: How is positional encoding handled after pruning? Retained tokens keep their original position IDs. CutAttn removes hidden states and their position IDs together, preserves token order, and does not close the gaps left by removed chunks. Across multiple CTLs, retained tokens are always mapped back to their positions in the original sequence. RoPE therefore uses the original positions and preserves pairwise distances. Pruning changes which tokens remain, not their positional encoding. The formal definition is provided in Section 3.1, “Problem Formulation and Notation.”

References. [1] Lad et al., “Remarkable Robustness of LLMs: Stages of Inference?”, NeurIPS 2025. [2] Chuang et al., “DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models,” ICLR 2024.

Reviewer GbiK · CommentOpenReview ↗

Thanks for the detailed responses, which partially addressed my concerns. Some of my concerns remain unaddressed.

  1. My question regarding the identification of CTL remains. My comment about Figure 3c refers to Lines 135-137: "Figure 3c reveals two properties: accuracy surges sharply around each CTL ... yet pruning before a CTL causes a severe accuracy drop. " This is a core argument for the proposed method, but the text does not seem to be supported by the figure.

  2. How does the detokenization theory interact with the proposed CTL? How is CTL defined exactly? It was defined using in JSD or similar metric in the paper, but now the response suggests this is insufficient.

  3. How are retained tokens mapped back to their positions in the original sequence? What's the cost of this mapping?

Authors · CommentOpenReview ↗

Thank you for the follow-up. You are right that our wording around Figure 3(c) was too strong. We clarify the evidence, the exact CTL definition, and the position-handling cost below.

1. What does Figure 3(c) show? CTL identification uses only the JSD-based procedure in Figures 3(a,b). Figure 3(c) is not used to identify or select CTLs; it is an independent post-hoc evaluation of pruning sensitivity. The later CTLs selected for pruning are layers 8 and 13 for Llama and layers 10 and 14 for Qwen. Point ii in Figure 3(c) reports the final accuracy when 50% of the tokens are pruned after layer ii finishes and before layer i+1i+1 begins.

For descriptive purposes, the detected CTLs partition each sweep into three intervals: [4,8)[4,8), [8,13)[8,13), and [13,19][13,19] for Llama; [4,10)[4,10), [10,14)[10,14), and [14,19][14,19] for Qwen. The main observation is that pruning sensitivity is non-monotonic and differs across these intervals. For Llama, accuracy increases from 87.59% after layer 7 to 93.55% after layer 8, but later drops to 85.80% after layer 12 and recovers to 93.69% after layer 13. For Qwen, accuracy recovers from 74.95% after layer 6 to 90.19% after layer 10, and later increases from 88.10% after layer 13 to 93.20% after layer 14. After the later CTLs, both curves remain within a high range.

We agree that our original sentence overgeneralized the first-CTL pattern to every CTL. The rapid accuracy increase applies only to the first CTL. Around the second CTL, both models instead drop immediately before it and recover at it; afterward, accuracy remains stable. Figures 3(a,b) identify the cognitive transitions as abrupt reorganizations of attention, while Figure 3(c) independently shows that pruning sensitivity changes across these transitions.

We will therefore replace the original sentence with: "Figures 3(a,b) identify abrupt reorganizations of attention over the context at the CTLs. The fixed-50% pruning sweep in Figure 3(c) shows that pruning safety is non-monotonic with depth and varies across stages, and that pruning immediately before a CTL can markedly reduce model accuracy." This avoids claiming an accuracy surge at every CTL.

2. How is a CTL defined, and how does detokenization relate to it? A CTL is a layer with a large-scale attention-pattern change, and it is identified solely by the JSD-based procedure. We normalize each layer's importance scores into d(l)\mathbf{d}^{(l)}, compute dl=JSD⁡(d(l),d(l−1))d_l=\operatorname{JSD}(\mathbf{d}^{(l)},\mathbf{d}^{(l-1)}), average over profiling inputs, and find prominent peaks. Qwen's layer 4 is therefore a CTL detected by JSD; layers 10 and 14 are the later CTLs selected for pruning.

The detokenization literature provides a plausible interpretation of this early CTL: shallow layers are still refining token and local representations, so we interpret the transition as occurring before reliable content retrieval begins. This interpretation does not participate in CTL detection or claim that layer 4 is an exact stage boundary. Instead, the minimum-depth constraint separates CTL detection from the pruning decision: early CTLs may represent genuine attention transitions, but we do not treat them as safe pruning points. Figure 3(c) supports this choice because pruning in the early layers yields substantially lower accuracy. We therefore retain layer 4 as a CTL while excluding it from the pruning set.

3. How are retained tokens linked to their original positions, and what is the cost? Transformers maintains a one-dimensional position_ids list that records each token's position in the original sequence. Before the decoder layers, it uses this list to compute the RoPE cosine/sine tensors once. After each pruning step, CutAttn removes the IDs of the pruned tokens together with their hidden states. The remaining IDs are not renumbered, so retained tokens preserve their original positions and positional gaps. Across multiple CTLs, these updates are applied cumulatively, and every retained token remains mapped to its position in the original sequence. Each subsequent layer uses the remaining IDs to select the corresponding entries from the precomputed RoPE tensors. This process does not recompute RoPE or reconstruct an original-length sequence. For TrT_r retained tokens, updating the index list costs O(Tr)O(T_r), while reading the corresponding RoPE entries costs O(Trdhead)O(T_r d_{\mathrm{head}}) per subsequent layer. Since dheadd_{\mathrm{head}} is fixed for a model, this overhead scales linearly with the retained sequence length.

Reviewer MP5FOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/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

The paper proposes CutAttn, a training-free acceleration framework designed to reduce both attention and FFN computational overhead during long-context LLM prefill phase. The method identifies Cognitive Transition Layers (CTLs) by tracking peaks in inter-layer Jensen-Shannon Divergence (JSD) and dynamically prunes redundant context at a chunk-level granularity using a normalised Shannon entropy gating mechanism. The authors evaluate CutAttn across RULER, InfiniteBench, and LongBench, demonstrating significant prefill speedups (up to 2.02x at 128K contexts with Llama) while preserving downstream accuracy.

Strengths and weaknesses

Strengths

  1. Dual Bottleneck Optimisation: Instead of only targeting the quadratic cost of attention, CutAttn targets the high-FLOP FFN overhead. By dynamically reducing token dimension of the hidden states mid-network, it reduces the workload for all downstream FFN and attention blocks.
  2. Principled Framework: The paper provides a solid theoretical foundation, offering approximation bound, an entropy-compression limit to justify the gating mechanism and a closed-form speedup ratio analysis.
  3. Tuning-Free: By utilising the dynamic gating, the framework scales its pruning aggressiveness based on whether attention is concerted or distributed, removing the need for manual per-task hyperparameter tuning.
  4. Orthogonal Compatibility: Conceptually, the method operates orthogonally to existing KV cache compression and sparse attention techniques, offering a distinct path for optimisation.

Weaknesses

  1. Incomplete Inference Speedup Metrics (TTFT vs. Throughput): The paper introduces CutAttn as an inference acceleration framework but exclusively reports TTFT. For a complete evaluation of long-context usability, end-to-end generation latency and throughput (tokens/sec) are critical. Even if CutAttn is refill-only optimisation, end-to-end metrics across realistic output lengths (e.g. 512 to 2048) are necessary to demonstrate that optimising the prefill phase yields a decisive practical advantage over the entire inference lifycylce.
  2. Efficiency Trade-offs vs. SlimInfer: When compared to SlimInfer on InfinteBench (Table 3), CutAttn displays notably worse speedups (1.83x vs 2.03x on Llama; 1.37x vs 1.97x on Qwen), while offering only marginal improvements in average accuracy (+0.68% on Llama, +1.46% on Qwen). Given this trade-off, the paper lacks a compelling argument for why CutAttn's slight accuracy edge justifies its significantly slower prefill runtime.
  3. Unclear Hyperparameter Selcetion Guidance: While the authors provide ablation studies showing how the choice of entropy threshold and attention recall affect accuracy and TTFT, they do not provide clear guidance or a principled heuristic on how to choose these hyperparameters for other models or context length.
  4. Anamalous Benchmark Data and Missing Baselines: Some benchmark tasks show anomalous behaviour. In InfiniteBench, the compressed model outperforms the dense baseline on tasks like KV and Math.F. Without reporting error bars or statistical significance tests, it is difficult to determine if this represents genuine noise reduction or just task variance. Additionally, performance metrics on En.Sum and Math.Calc are missing entirely, while Code.R reports zeros across all evaluated methods with explanation.
Questions

If the following points are sufficiently addressed, I consider raising my score:

  1. Hardware Implementation & kernel execution: How is the token dimension reduction handled at the hardware level? Is a costume kernel (e.g. Triton/CUDA) used to handle variable token lengths mid-network, or does the framework execute unoptimised padding/null multiplication? How does this behave in multi-batch scenarios?
  2. End-to-end metrics: Can the authors provide end-to-end latency across varying output lengths (e.g. 128K input with 512 and 2048 generated tokens) to show that optimising the prefill phase yields a decisive practical advantage over the entire inference lifecycle?
  3. Architectural Scaling: The authors note that additive pruning errors may worsen in deeper architectures. Could they provide a small-scale ablation on smaller models (e.g. 1B-3B) or larger model (14B/32B) to show how the error accumulation scales with depth?
  4. Addressing Weaknesses: Could the authors briefly comment on weaknesses 2-4, specifically:
  • What is the core argument for choosing CutAttn over existing baselines in production environments?
  • Is there a structured heuristic or method for selecting the optimal entropy threshold and attention recall parameter for new models?
  • Could the authors provide clarification or context regarding the straight-zero scores on Code.R and the missing data columns for En.Sum and Math.Calc?
Limitations

yes

Formatting concerns

no concerns

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for identifying concrete conditions that could change your assessment. We address each below and clearly separate submitted evidence from verified post-submission measurements.

Q1: How are token reduction, kernel execution, and batching implemented? (1) Submitted implementation: PyTorch indexing gathers retained hidden states and positions into a shorter sequence. The shortened sequence is passed directly to standard FlashAttention-2 kernels and subsequent FFN layers, without extra padding or null multiplication. This path supports batch size 1 and uses no custom CutAttn kernel. (2) Post-submission vLLM implementation: after submission, we implemented CutAttn in vLLM 0.19.1. Contiguous prefill segments are compiled with torch.compile(dynamic=True), while data-dependent pruning boundaries remain eager; decode uses compiled forward and CUDA Graphs. (3) Packed batches: CutAttn selects retained tokens per request and gathers them once across the batch. Decode tokens remain unchanged, and request metadata is updated for the shorter sequences. After the final layer, outputs are restored to vLLM's expected layout for logits computation.

W1/Q2: What are the end-to-end latency and throughput under realistic generation? We measured vLLM 0.19.1 on an H20 with 1,024 output tokens per request. Cells report dense →\rightarrow CutAttn.

Model Context Batch Aggregate input+output throughput (tok/s) TTFT (s) TPOT (ms) End-to-end (s)
Llama-3.1-8B 16K 4 2967.12 →\rightarrow 3057.96 6.67 →\rightarrow 5.39 15.6 →\rightarrow 16.2 22.68 →\rightarrow 22.06
Llama-3.1-8B 64K 4 2797.65 →\rightarrow 3789.69 38.90 →\rightarrow 27.83 53.7 →\rightarrow 42.6 93.99 →\rightarrow 71.57
Llama-3.1-8B 128K 2 2038.57 →\rightarrow 3552.37 63.19 →\rightarrow 34.92 60.6 →\rightarrow 39.3 125.27 →\rightarrow 75.20
Qwen2.5-7B 16K 4 3870.80 →\rightarrow 3910.94 6.08 →\rightarrow 5.17 11.2 →\rightarrow 12.0 17.60 →\rightarrow 17.46
Qwen2.5-7B 64K 4 3747.76 →\rightarrow 4667.85 32.77 →\rightarrow 24.95 36.4 →\rightarrow 31.2 70.16 →\rightarrow 57.06
Qwen2.5-7B 128K 2 3044.15 →\rightarrow 4523.79 51.66 →\rightarrow 33.55 31.4 →\rightarrow 24.0 83.89 →\rightarrow 58.23

Gains grow with context length. At 128K, batch 2, throughput improves by 1.74x/1.49x and end-to-end latency by 1.67x/1.44x. Measurements include prefill, CUDA-Graph decode, batching, and all CutAttn overheads. The small 16K TPOT regression comes from the overhead of using CutAttn's modified metadata during decoding.

W2/Q4.1: Why choose CutAttn over SlimInfer? To compare accuracy at similar speedups, we add two aggressive CutAttn settings to the 20%-sample RULER and InfiniteBench-10 sweeps. CutAttn lists (entropy,recall)(\mathrm{entropy},\mathrm{recall}); cells report Llama/Qwen, with TTFT normalized to Full.

Method R4K Acc. R4K TTFT R16K Acc. R16K TTFT R64K Acc. R64K TTFT InfBench-10 Acc. InfBench-10 TTFT
Full Attention 96.09/95.03 1.00x/1.00x 94.20/93.46 1.00x/1.00x 86.63/87.77 1.00x/1.00x 53.62/49.86 1.00x/1.00x
CutAttn (0.85, 0.95) 96.01/94.92 1.16x/1.12x 94.23/93.61 1.28x/1.19x 86.37/87.94 1.60x/1.33x 53.42/50.91 1.96x/1.52x
CutAttn (0.90, 0.90) 95.85/94.16 1.24x/1.22x 93.74/93.59 1.59x/1.46x 86.68/87.14 2.10x/1.64x 53.49/50.34 2.58x/1.91x
CutAttn (0.95, 0.90) 95.70/93.19 1.30x/1.26x 93.38/92.93 1.68x/1.52x 86.43/86.12 2.36x/1.79x 53.15/49.94 2.63x/1.95x
SlimInfer (0.5) 93.92/87.16 1.45x/1.40x 92.45/87.79 1.73x/1.65x 86.97/84.28 1.93x/1.80x 52.97/49.61 2.03x/1.97x
FastKV (0.5) 91.13/81.27 1.27x/1.24x 90.58/80.45 1.37x/1.33x 85.76/74.75 1.45x/1.39x 52.64/47.12 1.49x/1.50x

At similar or higher TTFT speedups than SlimInfer, CutAttn (0.95,0.90)(0.95,0.90) achieves higher accuracy on 4K, 16K, and InfiniteBench-10. At 64K, it remains higher on Qwen but is 0.54 points lower on Llama. The default is the safer choice when near-dense accuracy is the priority.

W3/Q4.2: How should entropy and recall hyperparameters be selected? We recommend (τ,α)=(0.85,0.95)(\tau,\alpha)=(0.85,0.95). (1) Recall α\alpha sets the fidelity target; under the theorem's condition, per-head error is bounded by 2(1−α)Vmax⁡2(1-\alpha)V_{\max}. (2) Entropy τ\tau determines whether pruning is safe; the appendix gives an entropy-compression limit for the target retention and chunk count (0.874 in the 128K example), so we use the conservative value 0.85. (3) Hyperparameter guidance: start from the default, lower α\alpha for more speed, and raise τ\tau to 0.90 on less challenging tasks. Our RULER and InfiniteBench sweeps show that τ=0.90\tau=0.90 still maintains high accuracy. The default also transfers to Qwen3-32B, scoring 96.42 versus 95.54 for dense attention with a 1.29x TTFT speedup.

W4.1/Q4.3: Why were En.Sum and Math.Calc missing, and why was Code.Run zero? During our submission experiments, a ROUGE-Lsum dependency bug in the KVPress repository prevented us from evaluating En.Sum; the specific issue is documented in the official KVPress GitHub repository. Given the limited time before the deadline, we skipped this task in the submitted evaluation and fixed the issue afterward. The 20% subset now gives the following default-configuration results (Llama/Qwen; TTFT normalized to Full).

Method En.Sum accuracy TTFT speedup
Full Attention 30.1/28.0 1.00x/1.00x
CutAttn 28.1/26.4 2.52x/1.99x
SlimInfer 30.4/28.2 2.04x/2.00x
FastKV 29.0/28.8 1.51x/1.49x

We also fixed string-to-integer mismatches in Code.Run/Math.Calc. (1) Code.Run: Full/CutAttn score 2.50%/2.50% on Llama and 2.50%/3.75% on Qwen. (2) Math.Calc: both methods/models score 0%. (3) Why exclude these tasks: in the official InfiniteBench results, all reported models score below 5% on both tasks, with one exception: GPT-4 reaches 23.25% on Code.Run. We therefore report these capability-floor tasks separately; InfiniteBench-10 includes En.Sum and excludes Code.Run/Math.Calc.

W4.2: Are the apparent improvements over dense inference statistically reliable? We ran a five-seed, 10%-subset sensitivity analysis on KV and Math.F. The table reports accuracy and the paired CutAttn-minus-Full difference with a 95% tt-interval.

Model Task Full/CutAttn Acc. Paired Δ\Delta [95% CI]
Llama KV 64.80/66.00 +1.20+1.20 [−0.16,2.56-0.16,2.56]
Llama Math.F 32.00/34.29 +2.29+2.29 [0.70,3.870.70,3.87]
Qwen KV 67.20/66.40 −0.80-0.80 [−3.63,2.03-3.63,2.03]
Qwen Math.F 38.29/38.86 +0.57+0.57 [−1.02,2.16-1.02,2.16]

Across five random seeds, CutAttn's mean changes relative to Full Attention are directionally consistent with the results reported for the same tasks in the paper.

Q3: How does CutAttn scale to deeper architectures? Offline JSD profiling finds CTLs 10/35/44 in the 64-layer Qwen3-32B model. We evaluated all eight CTL subsets on task-balanced RULER-16K examples; representative results follow.

Gate Applied CTLs Approx. retention Accuracy
Full Attention — 100.00% 95.54
On (τ=0.85\tau=0.85) 10 81.68% 96.68
On (τ=0.85\tau=0.85) 10, 44 65.55% 96.42
On (τ=0.85\tau=0.85) 10, 35, 44 64.27% 96.42
Effectively off (τ=1.0\tau=1.0) 10 76.58% 90.53
Effectively off (τ=1.0\tau=1.0) 10, 35, 44 51.83% 87.27

The results separate depth from pruning safety. (1) Gate on: one to three cuts retain dense-level accuracy; three cuts retain 64.27% and score 96.42. (2) Gate off: accuracy drops by 6.15 points with CTL10 alone and 9.15 points with all three CTLs. (3) Interpretation: configurations containing the early CTL10 degrade, while CTLs 35/44 alone do not. Unsafe early pruning—not cut count alone—drives error propagation. We will add this ablation and keep claims beyond 32B as future work.

Authors · CommentOpenReview ↗

Dear Reviewer,

I hope this message finds you well. As the discussion period is nearing its end with less than three days remaining, I wanted to ensure we have addressed all your concerns satisfactorily. If there are any additional points or feedback you'd like us to consider, please let us know. Your insights are invaluable to us, and we're eager to address any remaining issues to improve our work.

Thank you for your time and effort in reviewing our paper.

Reviewer MP5F · CommentOpenReview ↗

Thank you to the authors for the detailed response, which addressed most of my concerns. To finalise my assessment, I am still missing a precise comparison against SlimInfer across tasks. Can the authors please state it as an accuracy-per-speedup or matched-accuracy comparison. This request is motivated by the two tables (W2/Q4.1 & W4.1/Q4.3) provided in the rebuttal:

  1. In particular, in the table in W2/Q4.1, SlimInfer has the higher TTFT speedup at 4K/16K, so 'similar or higher speedups than SlimInfer [...] on 4K, 16K' does not hold there as phrased. I would also like an explanation for why CutAttn configurations show a systematically larger Llama-Qwen speedup gap than SlimInfer (e.g. 2.58x/1.91x for CutAttn (0.90, 0.90) vs 2.03/1.97x for SlimInfer on InfBench).
  2. The table W4.1/Q4.3 was provided without discussion: SlimInfer matches full attention there while CutAttn loses 1.6-2.0 points and is not faster on Qwen. Could the authors specify for which task types CutAttn is preferable (to SlimInfer or similar methods) and for which it is not?

A complete characterisation of this scope would address my remaining concerns.

Authors · CommentOpenReview ↗

Thank you for the precise follow-up. You are correct that our earlier phrase “similar or higher speedups” was inaccurate at RULER 4K/16K. We withdraw that wording and compare accuracy at near-matched TTFT below.

Q1.1 Accuracy at near-matched TTFT. We evaluate an additional CutAttn setting, (τ,α)=(0.95,0.85)(\tau,\alpha)=(0.95,0.85), on RULER 4K and 16K using the same setup as before. The TTFT difference between methods is within 7% in all four cells.

Context Model CutAttn accuracy / TTFT SlimInfer accuracy / TTFT Accuracy difference
4K Llama 95.41 / 1.40x 93.92 / 1.45x +1.49
4K Qwen 92.31 / 1.31x 87.16 / 1.40x +5.15
16K Llama 92.55 / 1.86x 92.45 / 1.73x +0.10
16K Qwen 92.43 / 1.62x 87.79 / 1.65x +4.64

At 4K, CutAttn has 0.05x/0.09x lower speedup, corresponding to 3.6%/6.9% higher TTFT, but gains 1.49/5.15 accuracy points on Llama/Qwen. At 16K, its speedup is 0.13x higher on Llama (7.0% lower TTFT) and 0.03x lower on Qwen (1.9% higher TTFT), with a 0.10/4.64-point accuracy advantage. At 4K, the entropy gate skips pruning on some tasks, making exact TTFT matching difficult. This small speed trade-off retains substantially higher accuracy than SlimInfer, especially on Qwen.

Q1.2 Why does the Llama--Qwen speedup gap differ? Two factors explain it. (1) Pruning geometry: Llama has 32 layers and prunes after 8/13, whereas Qwen has 28 and prunes after 10/14. Llama therefore shortens the sequence earlier and across more downstream layers. (2) Adaptive retention: CutAttn does not enforce a fixed length. Entropy decides whether to prune, while recall determines how many chunks retain the target attention mass. Identical thresholds can therefore yield different compression across models and inputs.

SlimInfer instead uses approximately uniform relative layers and the same fixed 50% ratio. Cells report Llama/Qwen on the same 20% RULER subsets:

Context CutAttn (0.95,0.90)(0.95,0.90) accuracy CutAttn TTFT SlimInfer accuracy SlimInfer TTFT
4K 95.70/93.19 1.30x/1.26x 93.92/87.16 1.45x/1.40x
16K 93.38/92.93 1.68x/1.52x 92.45/87.79 1.73x/1.65x
64K 86.43/86.12 2.36x/1.79x 86.97/84.28 1.93x/1.80x

Thus, Qwen is more sensitive to fixed-ratio pruning on RULER. SlimInfer obtains close cross-model speedups with this policy, but trails CutAttn by larger margins on Qwen at 4K/16K. CutAttn instead adapts pruning to each model and input, reducing the risk of fixed-ratio choices on sensitive models or tasks.

Q2 When is CutAttn preferable? We report all 10 tasks; aggregate score/speedup are unweighted task means.

Method Llama Qwen
SlimInfer 52.97 / 2.03x 49.61 / 1.97x
CutAttn default (0.85,0.95)(0.85,0.95) 53.42 / 1.96x 50.91 / 1.52x
CutAttn (0.90,0.90)(0.90,0.90) 53.49 / 2.58x 50.34 / 1.91x

Our previous En.Sum used default (0.85,0.95)(0.85,0.95); below, (0.90,0.90)(0.90,0.90) gives closer aggregate speed. Per-task speeds still differ. Cells give CutAttn/SlimInfer score (difference), TTFT speedup, and outcome: C/S denotes numerical Pareto dominance and T a trade-off.

Category Task Llama score TTFT Result Qwen score TTFT Result
Sparse retrieval/localization Math.F 38.6/32.9 (+5.7) 2.47/1.99x C 41.4/38.6 (+2.8) 1.34/1.97x T
KV 72.0/69.0 (+3.0) 2.53/2.04x C 62.0/62.0 1.90/1.98x S
PassKey 100/100 2.52/2.04x C 100/100 1.65/1.97x S
Number 100/100 2.54/2.04x C 100/100 1.68/1.97x S
Long-document comprehension/synthesis En.QA 31.8/32.1 (-0.3) 2.63/2.04x T 11.4/11.3 (+0.1) 2.06/1.97x C
Zh.QA 38.5/39.4 (-0.9) 2.67/2.05x T 12.9/13.1 (-0.2) 2.13/1.99x T
En.MC 69.6/71.7 (-2.1) 2.62/2.03x T 80.4/76.1 (+4.3) 2.06/1.96x C
En.Sum 27.7/30.4 (-2.7) 2.90/2.04x T 27.3/28.2 (-0.9) 2.26/2.00x T
Structured attribution/localization En.Dia 22.5/20.0 (+2.5) 2.55/2.01x C 30.0/25.0 (+5.0) 2.09/1.95x C
Code.D 34.2/34.2 2.40/2.03x C 38.0/41.8 (-3.8) 1.95/1.96x S

Three patterns emerge. (1) Sparse retrieval/localization: CutAttn dominates all four on Llama; SlimInfer is faster at the same score on several Qwen retrieval tasks. (2) Long-document comprehension/synthesis: En.MC is model-dependent: CutAttn changes the score by -2.1/+4.3 points on Llama/Qwen while being faster on both. SlimInfer scores higher on En.Sum, suggesting higher recall may suit distributed summarization. (3) Structured attribution/localization: CutAttn dominates En.Dia on both and Llama Code.D; SlimInfer leads on Qwen Code.D.

Overall, CutAttn Pareto-dominates SlimInfer in aggregate on Llama and achieves a higher Qwen score with only slightly lower speedup. Conclusions remain model- and operating-point-specific.

Reviewer cp8gOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a training-free framework for long-context prefill acceleration. It observes that attention in long-context inference often shifts from diffuse to concentrated at a few cognitive transition layers. CutAttn detects these layers with inter-layer Jensen-Shannon divergence and prunes less relevant context chunks at the hidden-state level, using normalized entropy as a dynamic gate. This reduces the effective sequence length for later layers and lowers both attention and FFN costs. Experiments on long-context benchmarks show notable prefill speedups with limited accuracy loss.

Strengths and weaknesses

Strengths:

  1. The paper turns observations about structured sparsity in long-context attention into an operational cross-layer pruning method. Prior work has studied attention sinks, vertical attention patterns, or query-dependent token importance. CutAttn further uses inter-layer JSD to locate cognitive transition layers and uses these layers to decide when hidden-state chunk pruning should begin.
  2. CutAttn reduces costs that sparse attention alone does not address. It does not only sparsify the attention pattern. It directly removes hidden-state chunks, so later layers process a shorter effective sequence. This reduces both attention and FFN computation and can be composed with sparse attention for additional speedup.
  3. The paper provides reasonably broad empirical and analytical support. It evaluates on RULER, InfiniteBench, and LongBench, and also includes theoretical analysis, a closed-form speedup ratio, and evidence that the transition layers are relatively stable across inputs.

Weakness:

  1. The originality of the core phenomenon should be stated more carefully. CutAttn names the shift from diffuse to concentrated attention as cognitive transition layers and locates these layers with inter-layer JSD. This is a useful engineering design. However, the observation that deeper layers concentrate attention on a small number of important tokens or chunks is not entirely new. PyramidKV, MInference, and Quest have already used structured sparsity or information concentration in long-context attention from different angles. The main novelty seems to be organizing this observation into an operational cross-layer pruning mechanism, rather than discovering the attention behavior itself.
  2. The paper provides a closed-form speedup analysis, but the measured speedup is lower than the theoretical estimate. This gap may come from memory bandwidth, kernel scheduling, irregular memory access caused by chunk deletion, framework overhead, or lower hardware utilization. The current explanation of these system factors is not sufficient. It is therefore hard to judge whether CutAttn can achieve similar gains across different hardware platforms or serving stacks.
  3. CutAttn is natural for retrieval-style or needle-style tasks, since these tasks often concentrate attention on a small number of relevant chunks. However, chunk deletion may be riskier for summarization, multi-document synthesis, global style judgment, or long-form reasoning, where useful information can remain distributed across the context. The entropy gate helps mitigate this issue, but more analysis is needed to show whether it is sufficient for complex real-world tasks.
  4. The paper should more clearly separate the sources of improvement. It is not fully clear how much of the gain comes from CTL localization, how much comes from hidden-state pruning itself, and how much is an incremental improvement over existing token-pruning ideas.
Questions

See weakness.

Limitations

yes

Final justification

The authors resolved a large part of my concerns, so I decided to raise my score.

Formatting concerns

n/a

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for recognizing CutAttn's cross-layer design, efficiency gains, broad evaluation, and compatibility with sparse attention. We agree that our novelty statement should be clearer: attention concentration is known; our contribution is to turn cross-layer redistribution into an adaptive hidden-state pruning method.

W1: What is novel relative to prior work? We do not claim that deeper-layer attention concentration is new. PyramidKV uses the layer-wise information funnel for KV-cache budgeting, while MInference and Quest sparsify attention. These methods do not shorten the hidden-state sequence processed by downstream FFNs. Hidden-state pruning methods such as LazyLLM, SlimInfer, and FastKV instead rely on heuristic layers and fixed pruning ratios.

CutAttn contributes three components: (1) adjacent-layer distribution changes locate candidate pruning layers offline; (2) attention-recall chunk selection controls how much context to retain; and (3) a per-input entropy gate blocks pruning when relevance remains distributed. This combination reduces both attention and FFN work while adapting to each input. We will revise the paper to state this operational contribution clearly and avoid presenting attention concentration itself as the discovery.

W2: Why is measured speedup lower than theoretical speedup, and does it transfer across systems? At 128K on Llama-3.1-8B, 2.42x is a FLOP estimate with fixed post-pruning lengths; 2.02x is measured A100 wall-clock TTFT for the full adaptive method. They need not match for two reasons: (1) actual retention varies by input because recall and entropy may retain more context or skip pruning; and (2) the FLOP model omits scoring, entropy/recall decisions, gathers, metadata updates, and dynamic pruning boundaries. We therefore do not assign the gap to a single factor.

To test portability, we implemented CutAttn on vLLM==0.19.1 after submission and evaluated Llama/Qwen on an NVIDIA H20. Each request generates 1,024 tokens, and cells report dense →\rightarrow CutAttn.

Model Context Batch Aggregate input+output throughput (tok/s) TTFT (s) TPOT (ms) End-to-end (s)
Llama-3.1-8B 16K 4 2967.12 →\rightarrow 3057.96 6.67 →\rightarrow 5.39 15.6 →\rightarrow 16.2 22.68 →\rightarrow 22.06
Llama-3.1-8B 64K 4 2797.65 →\rightarrow 3789.69 38.90 →\rightarrow 27.83 53.7 →\rightarrow 42.6 93.99 →\rightarrow 71.57
Llama-3.1-8B 128K 2 2038.57 →\rightarrow 3552.37 63.19 →\rightarrow 34.92 60.6 →\rightarrow 39.3 125.27 →\rightarrow 75.20
Qwen2.5-7B 16K 4 3870.80 →\rightarrow 3910.94 6.08 →\rightarrow 5.17 11.2 →\rightarrow 12.0 17.60 →\rightarrow 17.46
Qwen2.5-7B 64K 4 3747.76 →\rightarrow 4667.85 32.77 →\rightarrow 24.95 36.4 →\rightarrow 31.2 70.16 →\rightarrow 57.06
Qwen2.5-7B 128K 2 3044.15 →\rightarrow 4523.79 51.66 →\rightarrow 33.55 31.4 →\rightarrow 24.0 83.89 →\rightarrow 58.23

These measurements include batching, compiled/CUDA-Graph decode, and all CutAttn overheads. At 128K, throughput improves by 1.74x/1.49x and end-to-end latency by 1.67x/1.44x. The small 16K TPOT regression comes from the overhead of CutAttn's modified decode metadata. Thus, CutAttn accelerates long-context inference on both tested stacks: A100 with Transformers/FlashAttention-2 and H20 with vLLM.

W3: Does CutAttn remain effective on distributed-information tasks? Yes, the default setting remains close to Full Attention on the tested tasks. We evaluated 20% of eight LongBench tasks: four long/multi-source summarization tasks (GovReport, QMSum, MultiNews, and VCSUM) and four multi-document/multi-hop QA tasks (HotpotQA, 2WikiMultihopQA, MuSiQue, and DuReader). Cells report Llama/Qwen; TTFT is normalized to Full Attention.

Configuration (τ,α)(\tau,\alpha) Eight-task avg. Summarization avg. Multi-doc QA avg. TTFT
Full Attention 35.14/36.69 25.70/25.30 44.57/48.07 1.00x/1.00x
Default (0.85,0.95)(0.85,0.95) 35.50/36.51 25.71/25.23 45.29/47.79 1.32x/1.22x
Guarded aggressive (0.85,0.90)(0.85,0.90) 34.54/36.24 25.44/25.13 43.63/47.35 1.48x/1.33x
Relaxed aggressive (0.90,0.90)(0.90,0.90) 34.12/35.73 25.38/24.97 42.87/46.49 1.61x/1.44x

The default changes average accuracy by only +0.36/−0.18+0.36/-0.18 points while improving TTFT by 1.32x/1.22x. At the more aggressive recall α=0.90\alpha=0.90, using the τ=0.85\tau=0.85 entropy gate recovers 0.42/0.51 points over τ=0.90\tau=0.90. This shows that the gate effectively protects important information when relevance is distributed, making (0.85,0.95)(0.85,0.95) the safer default. These results cover summarization and multi-document/multi-hop QA. We do not evaluate open-ended long-form generation because CutAttn targets long-prefill, short-decode workloads; we will state this scope explicitly.

W4: What are the sources of improvement? Section 4.4 separates two effects with complementary ablations: (1) layer placement: apply the same single-hook 50% pruning at heuristic hooks 13/14 or CTL-aligned hooks 14/15 on Llama/Qwen; and (2) entropy gating: under the full two-CTL schedule and fixed recall α=0.95\alpha=0.95, compare gate-off τ=1.0\tau=1.0 with gate-on τ=0.85\tau=0.85. These are controlled comparisons, not one cumulative factorial experiment.

Model Heuristic fixed 50% (1 hook) CTL fixed 50% (1 hook) Recall, gate off (2 CTLs) Recall + entropy (2 CTLs)
Llama-3.1-8B 85.802 93.692 94.135 94.233
Qwen2.5-7B 88.102 93.198 92.798 93.518

The result is direct: (1) CTL-aligned placement improves the same 50% intervention by 7.890/5.096 points on Llama/Qwen; (2) adding entropy to recall-guided pruning recovers another 0.098/0.720 points and gives the best accuracy on both models; and (3) the middle columns are not directly comparable because both pruning count and policy change, so we do not claim an isolated recall gain from that difference.

The roles are therefore distinct: CTL localization decides where to prune, recall decides how much to retain, and entropy decides whether pruning is safe. Their combination—not hidden-state deletion alone—is CutAttn's contribution beyond fixed-ratio pruning.

In short, our claim is not that attention concentration is new. It is that CutAttn turns cross-layer localization, recall-guided retention, and entropy gating into an effective hidden-state pruning method that preserves accuracy across retrieval and the evaluated distributed-information tasks.

Authors · CommentOpenReview ↗

Dear Reviewer,

I hope this message finds you well. As the discussion period is nearing its end with less than three days remaining, I wanted to ensure we have addressed all your concerns satisfactorily. If there are any additional points or feedback you'd like us to consider, please let us know. Your insights are invaluable to us, and we're eager to address any remaining issues to improve our work.

Thank you for your time and effort in reviewing our paper.

Reviewer cp8g · CommentOpenReview ↗

Raise my score

Thanks for the authors’ detailed explanations. I have decided to raise my score.

Authors · CommentOpenReview ↗

Thank you for carefully considering our response and for updating your assessment. We sincerely appreciate your time and thoughtful evaluation.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…