NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

Leqin Xiang, Yongbin Liu, Chunping Ouyang, Ying Yu

NeurIPS page · Open on the map

Category: Efficient LLM Inference & Training › Sparse Long-Context Attention · Type: new method · Keywords: sparse attention, long-context LLMs, adaptive calibration, attention efficiency, head-wise profiling

Areas: Long Context › Long-context mechanisms › Long-context attention mechanisms

Summary

AdaCal is an adaptive calibration framework that dynamically controls sparse attention heads to improve robustness and long-range coverage in LLMs beyond 32K tokens.

Explained to a 5-year-old

Big computer programs that read long stories have to look at every word, which takes a lot of time. They have a trick to only look at some words, but sometimes they miss important ones. The new idea watches how many words are similar and how spread out the story is, then decides which words to look at more. It helps the program understand the story better while using less computer power. This makes the program faster and more reliable for long stories.

Explained to a 5-year-old, longer

Big computer programs called language models can read very long texts, but they need a lot of computer power. Their normal way of reading looks at every word, which gets slower as the text gets longer. To save power, they sometimes only look at a few words, but then they might miss important information. Other methods try to pick words based on what the program already knows, but they can be unpredictable. The paper introduces a new way to decide which words to look at by measuring how similar the words are and how far apart they are. It uses a small test pattern to check these measurements and then changes which words the program looks at. When the text is very organized, the program avoids looking at too many words. When the text needs to find information far away, the program looks at more words to help it understand. This makes the program better at understanding long texts while using less computer time. It works especially well for texts that are longer than 32,000 words. The result is a faster and more reliable reading method for big language models. This helps people who need to process long documents without waiting a long time.

For a technical reader

The approach addresses the quadratic complexity of self-attention in long-context LLMs by dynamically sparsifying attention heads. It computes entropy, concentration, and mid-zone coverage metrics from a lightweight probe pattern to assess information distribution. Based on these metrics, task-conditional policies decide which heads to activate or augment, allocating extra computation only when needed. This mechanism reduces unnecessary expansion for structured inputs while improving long-range coverage for retrieval-intensive tasks. Empirical results show robustness gains over static and dynamic baselines, especially for sequences longer than 32K tokens.

Problem

Large language models suffer from quadratic self-attention cost during long-sequence inference, and existing sparse attention methods either miss critical evidence (static) or are unstable across tasks (dynamic), leading to insufficient coverage or noisy distractions.

Method

The approach uses a lightweight probe pattern to compute entropy, concentration, and mid-zone coverage metrics, then applies task-conditional policies to activate or augment attention heads on demand, suppressing unnecessary expansion for structured inputs while enhancing coverage for retrieval-intensive tasks.

Results

The approach demonstrates improved robustness compared to static and dynamic baselines, especially on long-context tasks exceeding 32K tokens.

Contributions

It introduces a calibration framework that jointly leverages task dispatch and head-wise profiling to dynamically allocate attention computation, achieving better coverage and stability for long sequences.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction