- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 2
- Significance
- 2
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
-
Why can the proposed method identify CTL? Why should one exclude shallow layers explicitly?
-
How should one interpret the results in Table 2 and others? Some baselines have worse accuracy but higher speedup.
-
What are the memory saving of the baselines? What are the sources of memory saving of CutAttn other than KV cache?
-
How is positional encoding done after pruning?
Limitations
Yes.
Paper formatting concerns
No concerns.
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).
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=⌈ρminN⌉,ρmin=0.15. This yields lmin=5 for both evaluated models (N=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 is our empirical safety prior, not a universal constant. We will replace the absolute lmin=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:
At similar or higher TTFT speedups than SlimInfer, the most aggressive CutAttn setting (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/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.
At 128K, CutAttn (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.