potentialpaper

AdaCal: Adaptive Calibration for Robust Sparse Attention in Long-Context LLMs

Leqin Xiang, Yongbin Liu, Chunping Ouyang, Ying Yu

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. Large language models face substantial computational challenges in long-sequence inference due to the quadratic cost of self-attention, with the prefill stage being particularly bottlenecked. Static sparse attention reduces compute via predefined masks but can miss task-critical evidence, while dynamic sparsification is more flexible yet can be brittle across tasks, leading to either insufficient coverage or distractor-induced noise. We propose AdaCal, an Adaptive Calibration framework for robust sparse attention that synergizes coarse, experience-driven task dispatch with head-wise physical profiling. By deriving entropy, concentration, and mid-zone coverage metrics from a lightweight probe pattern, AdaCal dynamically governs head activation and augmentation policies, allocating additional computation strictly on demand. This design is realized through task-conditional policies that effectively suppress unnecessary expansion for structure-dominant inputs while enhancing long-range coverage for retrieval-intensive tasks. Experiments show that AdaCal improves robustness over strong static and dynamic baselines, with clearer gains in long-context settings beyond 32K tokens.

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:42 UTC.

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

This paper presents AdaCal, an Adaptive Calibration framework for robust sparse attention in long-context LLMs. AdaCal combines coarse, experience-driven task dispatch with fine-grained, head-wise physical profiling. By deriving lightweight metrics (entropy, concentration, mid-zone coverage) from a probe pattern, it dynamically selects among No-Expand, Global-TopK, and Coverage-Sampling policies to allocate extra computation only when needed. Experiments on RULER and InfiniteBench using three open LLMs demonstrate improved robustness over static and dynamic sparse baselines up to 128K tokens, with additional memory scheduling optimizations via SVD.

The initial reviews include two Accept and one Borderline reject score, indicating a generally positive but mixed reception with some reservations. Reviewers consistently praised the well-motivated problem formulation, the intuitive Constrain-then-Calibrate design, the interpretable head-profiling metrics, and the thorough experimental coverage across multiple models, context lengths, and tasks. The principled integration of task-level dispatch and policy-based head expansion was seen as a promising direction for scalable long-context inference. At the same time, concerns were raised about the statistical reliability of marginal improvements, the absence of a complete efficiency comparison (wall-clock latency, throughput, memory), limited model diversity, insufficient discussion of which task types benefit most, an unclear relationship between the cluster-aware Top‑k strategy in the appendix and the main method, and the need to explain cases where sparse attention outperforms full attention.

The rebuttal substantially strengthened the paper. The authors provided statistical validation via bootstrap iterations, showing that the performance gap on Qwen was driven by a single task and became positive when excluding it. They supplied complete efficiency measurements, demonstrating 7.3–11.2% latency reduction and 7.9–12.7% throughput improvement over FlexPrefill with unchanged peak memory. They extended evaluation to GLM‑4‑9B‑Chat‑1M, confirming consistent gains. A fine‑grained task‑type analysis revealed that AdaCal provides the largest improvements on Question Answering and Few‑shot Word Extraction, aligning with its core motivation. The authors clarified that cluster‑aware Top‑k is an optional appendix extension, not a core component, and explained that sparse attention can outperform full attention by reducing noise propagation, citing prior work. They also clarified practical task‑prior determination and demonstrated threshold robustness. They committed to moving key attribution analyses to the main text for better readability. All three reviewers confirmed that their concerns were addressed, with the borderline reviewer raising the score to accept. The post‑rebuttal discussion converged on a clear acceptance consensus.

Based on the positive feedback and strong reviewer agreement, I recommend acceptance. The Constrain‑then‑Calibrate framework offers a practical advance over existing sparse attention methods. The empirical validation is comprehensive across models, lengths, and tasks, with added efficiency and GLM results. The rebuttal effectively resolved all concerns, including statistical rigor, efficiency, task‑type analysis, and deployment clarity.

Final justification

After synthesising all reviews, the rebuttal, and subsequent comments, the final decision is Accept. The decisive factors are threefold. First, the paper presents a practically motivated and well‑designed framework that directly addresses a real‑world challenge in long‑context inference without task‑specific retraining. Second, the empirical evidence is comprehensive and convincing, spanning multiple models, context lengths, tasks, and the added GLM evaluation, with clear efficiency advantages and statistical validation. Third, the authors successfully addressed all reviewer concerns through substantial additional experiments, analyses, and clarifications, with all reviewers confirming resolution and the borderline reviewer raising the score. For the camera‑ready version, incorporate rebuttal evidence and improve presentation. In its current form, the manuscript meets the acceptance threshold for NeurIPS.

Area Chair N62D · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper presents AdaCal, an Adaptive Calibration framework for robust sparse attention in long-context LLMs. AdaCal combines coarse, experience-driven task dispatch with fine-grained, head-wise physical profiling. By deriving lightweight metrics (entropy, concentration, mid-zone coverage) from a probe pattern, it dynamically selects among No-Expand, Global-TopK, and Coverage-Sampling policies to allocate extra computation only when needed. Experiments on RULER and InfiniteBench using three open LLMs demonstrate improved robustness over static and dynamic sparse baselines up to 128K tokens, with additional memory scheduling optimizations via SVD.

The initial reviews include two Accept and one Borderline reject score, indicating a generally positive but mixed reception with some reservations. Reviewers consistently praised the well-motivated problem formulation, the intuitive Constrain-then-Calibrate design, the interpretable head-profiling metrics, and the thorough experimental coverage across multiple models, context lengths, and tasks. The principled integration of task-level dispatch and policy-based head expansion was seen as a promising direction for scalable long-context inference. At the same time, concerns were raised about the statistical reliability of marginal improvements, the absence of a complete efficiency comparison (wall-clock latency, throughput, memory), limited model diversity, insufficient discussion of which task types benefit most, an unclear relationship between the cluster-aware Top‑k strategy in the appendix and the main method, and the need to explain cases where sparse attention outperforms full attention.

The rebuttal substantially strengthened the paper. The authors provided statistical validation via bootstrap iterations, showing that the performance gap on Qwen was driven by a single task and became positive when excluding it. They supplied complete efficiency measurements, demonstrating 7.3–11.2% latency reduction and 7.9–12.7% throughput improvement over FlexPrefill with unchanged peak memory. They extended evaluation to GLM‑4‑9B‑Chat‑1M, confirming consistent gains. A fine‑grained task‑type analysis revealed that AdaCal provides the largest improvements on Question Answering and Few‑shot Word Extraction, aligning with its core motivation. The authors clarified that cluster‑aware Top‑k is an optional appendix extension, not a core component, and explained that sparse attention can outperform full attention by reducing noise propagation, citing prior work. They also clarified practical task‑prior determination and demonstrated threshold robustness. They committed to moving key attribution analyses to the main text for better readability. All three reviewers confirmed that their concerns were addressed, with the borderline reviewer raising the score to accept. The post‑rebuttal discussion converged on a clear acceptance consensus.

Based on the positive feedback and strong reviewer agreement, I recommend acceptance. The Constrain‑then‑Calibrate framework offers a practical advance over existing sparse attention methods. The empirical validation is comprehensive across models, lengths, and tasks, with added efficiency and GLM results. The rebuttal effectively resolved all concerns, including statistical rigor, efficiency, task‑type analysis, and deployment clarity.

Final justification

After synthesising all reviews, the rebuttal, and subsequent comments, the final decision is Accept. The decisive factors are threefold. First, the paper presents a practically motivated and well‑designed framework that directly addresses a real‑world challenge in long‑context inference without task‑specific retraining. Second, the empirical evidence is comprehensive and convincing, spanning multiple models, context lengths, tasks, and the added GLM evaluation, with clear efficiency advantages and statistical validation. Third, the authors successfully addressed all reviewer concerns through substantial additional experiments, analyses, and clarifications, with all reviewers confirming resolution and the borderline reviewer raising the score. For the camera‑ready version, incorporate rebuttal evidence and improve presentation. In its current form, the manuscript meets the acceptance threshold for NeurIPS.

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

This work provides an Adaptive Calibration framework for robust sparse attention that synergizes coarse, experience-driven task dispatch with head-wise physical profiling. The authors propose AdaCal, which uses a lightweight Vertical-Slash probe to obtain low-cost attention summaries, computes physically interpretable head profiles (including entropy, concentration, and mid-zone coverage), and triggers additional computation when necessary. Experiments on three long-context LLMs with RULER and InfiniteBench show improved robustness over strong static and dynamic baselines up to 128K while remaining efficient. The theoretical and experimental analyses in the appendix provide strong support for the method. This method may point to a highly promising direction for scalable and responsive large language models.

Strengths and weaknesses

Strengths:

  1. This paper is of great significance in elucidating that static and dynamic sparse attention mechanisms are not universally applicable, and there exists a substantial gap in their adaptability to different tasks.
  2. This study introduces a novel approach called AdaCal (Adaptive Calibration) for achieving robust sparse attention. The method transcends estimator-based routing mechanisms by offering a sparse decision-making framework that is informed by representation-centered profiling analysis.
  3. This work presents rigorous and thorough experimental verification, encompassing large-scale evaluations across 3 large language models and 10 diverse tasks, which substantively substantiates the claims made in this paper.
  4. An in-depth examination of GPU memory peak consumption constitutes another significant contribution of this work. By introducing SVD-driven restructuring of memory allocation and release schedules, the proposed approach improves the recycling efficiency of large memory chunks, thereby effectively lowering the peak memory demand.

Weaknesses:

  1. It remains unclear whether the cluster-aware Top-k strategy proposed in Appendix A serves as a supplement to AdaCal or constitutes an integral part of the model. What specific problem the clustering aims to address within AdaCal is completely left unexplained.
  2. The readability suffers when many models consign their in-depth attribution analysis to the appendix, as is often the case.
Questions

The attention computation in this paper still falls within the nonlinear domain. I wonder whether it might be possible to consider incorporating methods from linear attention mechanisms to facilitate analysis and optimization.

Limitations

The experimental evaluation of this method has thus far focused primarily on common language tasks, with the majority of datasets used being widely accepted benchmarks. Nevertheless, its performance on uncommon or unseen tasks has yet to be validated.

Final justification

Based on the good innovation and writing level of the paper, I believe it is acceptable.

Formatting concerns

NA

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the positive and constructive feedback. We greatly appreciate the reviewer's recognition of the novelty, clarity, and overall quality of our framework. Below, we respond to each concern in detail.


Q1: Could linear attention be introduced to simplify the analysis and optimization?

We thank the reviewer for this insightful question. We believe that linear attention is complementary to AdaCal and could be incorporated as an auxiliary optimization path.

(1) AdaCal and linear attention reduce computational overhead through different mechanisms. AdaCal reduces the number of query–key interactions while preserving exact Softmax attention over the selected blocks. In contrast, linear attention approximates global dependencies through kernel decomposition or recurrent states.

(2) Prior studies support the complementarity of sparse and linear or low-rank attention. Scatterbrain [1] demonstrates that low-rank approximation and sparse correction can jointly model smooth global structures and a small number of high-response interactions. DeltaNet [2] and LoLCATs [3] further validate the feasibility of hybrid architectures that combine linear attention with local or sliding-window Softmax attention.

(3) Linear attention could assist AdaCal in global modeling, head-wise physical profiling, and candidate-block selection. Linear or low-rank computation could provide a low-cost representation of dispersed global dependencies and support the profiling and candidate-selection stages. For sharp retrieval-oriented attention patterns, exact sparse Softmax attention could still be retained over a small number of critical blocks. Such a hybrid design may decompose attention into a smooth global structure plus sparse critical interactions, while potentially reducing profiling and block-selection overhead.

(4) Direct integration nevertheless requires additional calibration. AdaCal’s normalized entropy, top-κ\kappa concentration, and mid-zone coverage are currently computed from normalized Softmax attention mass. Replacing or supplementing these signals with linear-attention weights would therefore require recalibrating the profiling metrics and adapting the routing criteria.

Therefore, we consider linear attention a well-motivated extension of AdaCal. Under the current post-training, plug-and-play setting, it is more suitable as an auxiliary path for global modeling and profiling. A complete linear–sparse hybrid attention operator remains an important direction for future work.

  • [1] Chen B, Dao T, Winsor E, et al. Scatterbrain: Unifying Sparse and Low-rank Attention[C]//Advances in Neural Information Processing Systems. 2021, 34: 17413–17426.

  • [2] Yang S, Wang B, Zhang Y, et al. Parallelizing Linear Transformers with the Delta Rule over Sequence Length[C]//Advances in Neural Information Processing Systems. 2024, 37: 115491–115522.

  • [3] Zhang M, Arora S, Chalamala R, et al. LoLCATs: On Low-Rank Linearizing of Large Language Models[C]//Proceedings of the International Conference on Learning Representations. 2025.


W2: Role and Motivation of the Cluster-Aware Top-k Strategy

We thank the reviewer for pointing out this ambiguity.

(1) Cluster-aware Top-k is not a core component of AdaCal and is not used in the AdaCal experiments reported in the main tables. It is only an optional and exploratory extension presented in the appendix, rather than a component of AdaCal. This design is inspired by the observation in ClusterAttn [1] that high-attention tokens tend to form locally clustered regions and that these regions exhibit a certain degree of stability during subsequent generation.

(2) Cluster-aware Top-k is designed to alleviate the fragmentation of local evidence caused by independently ranking individual block pairs with standard Top-k. When a high-scoring central block is selected, its neighboring blocks may contain complementary information but receive slightly lower scores and therefore be omitted. To address this issue, we first identify high-response key-block centers and expand their local neighborhoods to construct a candidate pool. We then apply Top-k selection within a fixed budget according to the original block scores, rather than unconditionally retaining the entire clustered region.

Our preliminary results suggest that this strategy can serve as a refinement of candidate construction for AdaCal’s compensation branch, improving the coverage of locally coherent evidence regions. However, because it has not yet been sufficiently validated across all models, tasks, and context lengths, we retain it only as an appendix analysis and do not include it in AdaCal’s core architecture or main conclusions.

  • [1] Zhang M, Sun H, Wang J, et al. ClusterAttn: KV Cache Compression under Intrinsic Attention Clustering[C]//Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 2025: 14451–14473.

W2: Readability of the Attribution Analysis

We thank the reviewer for this valuable suggestion.

(1) We agree that placing most of the attribution analysis supporting the core conclusions in the appendix requires readers to frequently switch between the main text and the appendix, thereby affecting the coherence and readability of the paper.

(2) To address this concern, we will add a concise yet complete attribution analysis to the Experiments and Discussion sections of the revised manuscript.

Reviewer VsAN · CommentOpenReview ↗

Thank you for the detailed rebuttal. The additional analyses adequately address my concerns regarding the theoretical scope as well as experiments. Therefore I choose to matain my positve scores.

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

This work aims to propose a robust improvement to Sparse Attention in Long-Context LLMs by introducing an Adaptive Calibration framework to the attention layer. The paper proposes AdaCal, an adaptive calibration framework for robust sparse attention by integrating coarse task scheduling and per-head profiling. It uses lightweight metrics to dynamically adjust attention heads and allocate computation as needed, curbing redundant expansion and improving long-range modeling for retrieval tasks. Experimental validations reveal that this method surpasses strong static and dynamic baselines for context lengths up to 128K. In all tested scenarios, it attains a superior robustness-efficiency balance for obviates task-specific retraining requirements.

Strengths and weaknesses

Strengths: 1.This work puts forward a very interesting point, namely that different tasks have different sparse attention patterns. Therefore, this paper proposes an adaptive sparse attention method. 2.This work presents a Constrain-then-Calibrate framework that unifies coarse task assignment and head-level physical characterization. It supports dedicated sparse attention calculation while avoiding the use of volatile surrogate estimators. 3.The authors use the mechanism with three mutually exclusive policies—NoExpand, GlobalTopK, and CoverageSampling—that jointly address noise sensitivity and longrange coverage within a unified framework. These policies offer complementary tradeoffs, enabling the mechanism to adaptively balance local robustness and global exploration without adhoc parameter tuning. 4.The experimental setup is clear, and the authors thoroughly explore different models, context lengths, and tasks.

Weaknesses: 1.The three open LLMs selected in this paper are relatively limited. Could you consider adding 1–2 additional open LLMs, such as GLM, to demonstrate the effectiveness of the research findings? 2.Although the experimental results substantiate the efficacy of the proposed method, the discussion section provides only a superficial overview of its applicability to various tasks, without adequately exploring its task-dependent implications. A closer examination of the task types that derive the greatest benefit from the method would enhance the completeness of the analytical structure.

Questions

What positive significance does the SVD in Appendix D have for the model, and what a problem is it designed to solve?

Limitations

yes.

Final justification

I will keep my comment.

Formatting concerns

NA

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the constructive feedback and insightful comments. We are encouraged by the reviewer's recognition of the novelty of AdaCal and the strength of our empirical results. Below, we respond to each concern in detail.


Q1: What positive role does the SVD in Appendix D play, and what problem is it intended to solve?

(1) This module originated from an empirical observation during our experiments. When we initially ran the model on an NVIDIA A100 40GB GPU, long-context tasks frequently triggered out-of-memory (OOM) errors. However, applying an SVD-based reconstruction to the K and V tensors before entering the sparse-attention module allowed these cases to run successfully without OOM.

(2) The SVD in Appendix D is not part of AdaCal’s core sparse-attention mechanism, but an optional memory-optimization module. It is designed to improve memory stability during long-context prefill. Because intermediate attention tensors are frequently allocated and released, the CUDA caching allocator may retain an excessively large memory pool, resulting in high peak reserved memory and eventually OOM.

(3) Its primary role is to improve memory allocation and reuse. Specifically, AdaCal can optionally apply SVD reconstruction to K and V before the probing stage. This operation does not change the subsequent sparse-routing process or reduce the computational complexity of attention. Instead, it alters tensor lifetimes and memory-allocation patterns, improving memory reuse by the CUDA allocator. Although SVD introduces additional temporary tensors and may slightly increase peak allocated memory, it can reduce peak reserved memory and thereby lower the risk of OOM in extremely long-context settings.

Therefore, the main benefit of SVD is to improve the memory robustness of AdaCal in long-context deployment, rather than to enhance accuracy or sparse-selection quality. We will clarify this point further in the revised manuscript.


W1: Additional Results on GLM-4-9B-Chat-1M

We further compare FlexPrefill [1] and AdaCal (Ours) using GLM-4-9B-Chat-1M on a single NVIDIA A800 GPU, while keeping the datasets, chat-formatted greedy decoding, seed 42, and context lengths consistent. The results show that AdaCal outperforms FlexPrefill [1] at most context lengths.

Method 4K 8K 16K 32K 64K 128K
FlexPrefill 92.07 91.11 89.42 91.59 86.54 83.17
AdaCal (Ours) 93.27 92.55 89.66 90.63 86.30 83.17
  • [1] Lai X, Lu J, Luo Y, et al. FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference[C]//The Thirteenth International Conference on Learning Representations. 2025.

W2: A Closer Analysis of Which Task Types Benefit from AdaCal

We thank the reviewer for this valuable suggestion. We further conduct a fine-grained task-type analysis on RULER by averaging the results across six context lengths, ranging from 4K to 128K.

Task Type FlexPrefill AdaCal Average Improvement
NIAH 98.24 98.44 +0.20
VT 97.40 98.96 +1.56
FWE 90.11 92.71 +2.61
QA 63.28 67.19 +3.91

These results show that AdaCal provides task-dependent gains rather than uniform improvements across all tasks. This is consistent with the core motivation of our work.

  • For structure-dominant QA inputs, restricting unnecessary attention expansion helps reduce distracting information.
  • For FWE and VT, selectively allocating additional computation according to head-wise physical profiles helps aggregate dispersed evidence and track dependencies.
Reviewer xBPKOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes an adaptive sparse attention framework for efficient long-context LLM inference. The key idea is to combine coarse task dispatch with head-wise profiling. Based on the task type, AdaCal applies No-Expand, Global-TopK, or Coverage-Sampling policies to balance noise suppression and long-range recall. Experiments on RULER and InfiniteBench show that AdaCal can improve robustness over baselines.

Strengths and weaknesses

Strengths: The motivation of the proposed method is reasonable. The paper is easy to understand. The proposed framework is intuitive and modular, combining task-level constraints with simple but interpretable head-wise profiling metrics. The experiments show the effectiveness of the proposed method.

Weakness:

  1. Some improvements over the baselines appear to be marginal. On InfiniteBench, the performance is weaker on Qwen and does not consistently reach SOTA. The authors should provide error bars or statistical analysis to clarify whether the reported gains are reliable.
  2. The method relies on task-type dispatch. This may limit the generalization ability of the method in realistic scenarios. Although fully solving this issue may be difficult, some preliminary solution and corresponding results would better support the generalization claims.
  3. The paper should provide a complete efficiency comparison, including wall-clock latency, throughput, and memory usage against baselines.
  4. In some results, sparse attention outperforms full attention. The authors should discuss why this happens and whether this can be generalised to other settings.
Questions
  1. How is the task type determined in realistic deployment?
  2. How sensitive is AdaCal to the routing thresholds?
Limitations

Yes

Final justification

The authors have addressed all of my concerns, and I intend to increase my score.

Formatting concerns

No

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the detailed and constructive feedback. Below, we respond to each concern in turn.


Q1 & W2: How is AdaCal's task prior determined, and how does it adapt to real-world deployment?

We would like to clarify that AdaCal's task dispatch is not a fine-grained online task classifier, but rather a coarse-grained task prior within the Constrain-then-Calibrate framework.

(1) The current task categories are derived offline from the attention maps of representative tasks and are used only to constrain the sparse behaviors that the model is allowed to adopt. Within this constrained space, whether compensation is activated and how the final sparse indices are constructed are still dynamically determined by the entropy, concentration, and mid-zone coverage of each attention head.

(2) The ablation results further show that uniformly applying a single sparse strategy or allocating a fixed computational budget makes it difficult to maintain stable performance across different tasks and context lengths. In contrast, combining coarse-grained task constraints with head-wise physical calibration achieves a better overall balance.

(3) A feasible practical deployment approach is: first, use a small number of representative samples from a new workload to perform one-time offline profiling and determine its coarse-grained strategy constraint; then, reuse this constraint during subsequent inference. For unknown or ambiguous tasks that cannot be reliably categorized, No-Expand is adopted as a conservative fallback strategy.

We also acknowledge that automatic constraint selection under open-domain or dynamically mixed tasks has not been fully addressed in the current work. Therefore, we will clearly state this scope in the revised manuscript and regard more adaptive task-prior selection as future work.


Q2: How sensitive is AdaCal to the routing thresholds?

We conduct a one-at-a-time threshold sweep on Llama across all tasks and context lengths in RULER. In each experiment, only one threshold is varied, while all other thresholds are fixed at their default values.

  • RULER Span and Branch Span are the max–min score ranges over all RULER tasks and the affected branch.
  • Active-Block Ratio is the proportion of retained attention blocks.
  • Expansion-Head Ratio is the proportion of heads triggering block expansion. | Threshold | Tested Values | RULER Span | Branch Span | Active-Block Ratio | Expansion-Head Ratio | |:---|:---:|:---:|:---:|:---:|:---:| | Global Entropy τent\tau_{\mathrm{ent}} | 0.17/0.22/0.270.17/0.22/0.27 | 0.04 | 0.26 | 18.67–19.00% | 47.95–48.18% | | Global Conc. τconcG\tau_{\mathrm{conc}}^{G} | 0.87/0.92/0.970.87/0.92/0.97 | 0.32 | 2.08 | 15.96–21.73% | 37.25–65.36% | | Coverage Midpoint τmid\tau_{\mathrm{mid}} | 0.15/0.20/0.250.15/0.20/0.25 | 0.24 | 0.29 | 61.18–62.35% | 81.42–89.13% | | Coverage Conc. τconcC\tau_{\mathrm{conc}}^{C} | 0.85/0.90/0.950.85/0.90/0.95 | 0.12 | 0.14 | 61.13–62.14% | 54.84–56.09% |

(1) AdaCal remains robust across the tested threshold ranges. Although varying τconcC\tau_{\mathrm{conc}}^C substantially changes the routing behavior, the final sparsity and overall performance remain stable.

τconcG\tau_{\mathrm{conc}}^{G} (τent=0.22\tau_{\mathrm{ent}}=0.22 fixed) Global Branch Avg. Active-Block Ratio Expansion-Head Ratio
0.87 73.96 15.98% 37.25%
0.92 (default) 75.26 18.98% 48.17%
0.97 73.18 21.73% 65.36%

(2) In comparison, τconcG\tau_{\mathrm{conc}}^G has a more pronounced impact on performance. As shown in the table above, the default value of 0.92 achieves the highest average score of 75.26 on the Global branch. A lower threshold leads to insufficient expansion, whereas a higher threshold activates more attention blocks without further improving accuracy. Therefore, the default value of 0.92 represents a reasonable operating point that balances insufficient expansion and excessive expansion.


W1: Statistical validation of the results about Qwen on Infinitebench.

We acknowledge that performance on Qwen is weaker on InfiniteBench. We compare AdaCal and the original FlexPrefill under identical settings—Qwen2-7B-Instruct, a 131,072-token context, greedy decoding, and seed 42—using 3,496 paired InfiniteBench samples, followed by 10,000 within-task paired-bootstrap iterations.

(1) The paired analysis further shows that the overall gap does not arise from a general degradation of AdaCal across most tasks; instead, it is mainly driven by the Retr. PassKey task.

(2) We report the result excluding PassKey only as a post-hoc sensitivity analysis. The result shows a positive trend, indicating that the main issue on Qwen is not an overall failure of AdaCal.

Evaluation Item AdaCal (95% CI) FlexPrefill (95% CI) Paired Difference (95% CI)
Task Average (excluding PassKey) 24.17 [22.97, 25.41] 23.05 [21.79, 24.31] +1.13 [-0.01, 2.29]

We will include the above statistical results in the revised manuscript, limit our conclusion to a task-dependent performance trade-off, and explicitly discuss this failure mode in the Limitations section.


W3: Efficiency comparisons include wall-clock latency, throughput, and memory usage.

We evaluate long-context inference efficiency on a single NVIDIA H200 GPU using the Llama model. For each input, we perform 2 warm-up runs followed by 10 measured runs.

(1) Latency (ms) ↓ / RULER Score ↑. Each cell is formatted as prefill latency (ms) / RULER score.

Mode Method 8K 16K 32K 64K 128K
Offline StreamingLLM 294.3 / 93.99 680.0 / 75.96 1,503.3 / 45.43 3,163.3 / 24.76 6,444.2 / 31.49
Offline MInference 1,069.2 / 94.23 1,433.1 / 93.75 2,190.2 / 86.54 3,793.6 / 83.90 6,734.6 / 62.26
Online FlexPrefill 1,153.9 / 94.23 2,431.4 / 94.95 5,139.0 / 89.91 12,009.4 / 82.93 29,435.0 / 78.12
Online AdaCal (Ours) 1,069.7 / 93.99 2,157.9 / 94.23 4,567.1 / 91.11 11,048.0 / 85.34 27,010.8 / 80.05

(2) Throughput (kTok/s) ↑ / RULER Score ↑. Each cell is formatted as aggregate prefill throughput / RULER score.

Mode Method 8K 16K 32K 64K 128K
Offline StreamingLLM 26.21 / 93.99 23.26 / 75.96 21.27 / 45.43 20.37 / 24.76 20.24 / 31.49
Offline MInference 7.21 / 94.23 11.04 / 93.75 14.60 / 86.54 16.99 / 83.90 19.37 / 62.26
Online FlexPrefill 6.68 / 94.23 6.51 / 94.95 6.22 / 89.91 5.37 / 82.93 4.43 / 78.12
Online AdaCal (Ours) 7.21 / 93.99 7.33 / 94.23 7.00 / 91.11 5.83 / 85.34 4.83 / 80.05

(3) Peak Memory (GiB) ↓ / RULER Score ↑. Each cell is formatted as process-level peak GPU memory / RULER score.

Mode Method 8K 16K 32K 64K 128K
Offline StreamingLLM 19.30 / 93.99 21.74 / 75.96 30.25 / 45.43 30.03 / 24.76 47.02 / 31.49
Offline MInference 19.21 / 94.23 21.55 / 93.75 29.88 / 86.54 31.16 / 83.90 49.02 / 62.26
Online FlexPrefill 19.22 / 94.23 21.55 / 94.95 29.91 / 89.91 29.46 / 82.93 47.07 / 78.12
Online AdaCal (Ours) 19.22 / 93.99 21.55 / 94.23 29.91 / 91.11 29.46 / 85.34 47.07 / 80.05
  • MInference and StreamingLLM avoid adaptive routing by relying on predefined sparse structures, achieving higher efficiency but lower accuracy.

  • Among dynamic methods, AdaCal reduces latency by 7.3%–11.2% and increases throughput by 7.9%–12.7% over FlexPrefill, with nearly unchanged peak memory, demonstrating superior end-to-end efficiency without additional memory overhead.


W4: Why can sparse attention sometimes outperform full attention?

Recent studies suggest that Full Attention does not necessarily yield the best performance in long-context settings, as interactions among many low-relevance tokens may introduce computational redundancy and attention diffusion.

(1) Longformer [1] shows that combining local and global attention preserves performance while reducing complexity.

(2) BigBird [2] demonstrates that well-designed sparse connectivity can retain Transformer expressiveness and support longer contexts.

(3) Differential Transformer [3] further shows that suppressing attention noise from irrelevant context strengthens relevant signals and produces more concentrated attention patterns.

Therefore, the advantages of sparse attention arise not only from improved computational efficiency, but also from reducing ineffective information propagation and encouraging the model to focus on task-relevant context.

  • [1] Beltagy I, Peters M E, Cohan A. Longformer: The Long-Document Transformer[C]//Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing. 2020: 7350–7360.

  • [2] Zaheer M, Guruganesh G, Dubey A, et al. Big Bird: Transformers for Longer Sequences[C]//Advances in Neural Information Processing Systems. 2020: 17283–17297.

  • [3] Ye T, Dong L, Xia Y, et al. Differential Transformer[C]//The Thirteenth International Conference on Learning Representations. 2025.

Reviewer xBPK · CommentOpenReview ↗

I thank the authors for their detailed rebuttal. As my concerns have been addressed, I intend to increase my score to recommend acceptance.

Authors · CommentOpenReview ↗

Thanks a lot for your careful checking of our rebuttal and updating your score to support acceptance. We will improve our paper according to all reviewers’ suggestions in the final version.

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

Missing a submission?

Loading the discussion…