# Long-Context Language Models Require Extreme Sparsity in Context Dimension

*Prithvi Dixit, Sahil Joshi, Agniva Chowdhury, Anshumali Shrivastava, Joseph Gonzalez, Ion Stoica, Kumar Krishna Agrawal, Aditya Desai*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/140121) · [OpenReview](https://openreview.net/forum?id=1Zx0QQnAfD) · [alphaXiv](https://www.alphaxiv.org/abs/2605.24168) · [Open on the map](../papers.html#p140121)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Sparse Long-Context Attention](../pgroup/226.md) · Type: position · Keywords: long-context language models, attention sparsity, linear attention, state-space models, inference efficiency, hardware acceleration

Areas: [LLM Reasoning](../areas/reasoning.md) › Efficient Reasoning › Sparse Attention; [Memory](../areas/memory.md) › Model Memory Optimization › Efficient Attention for LLMs; [Long Context](../areas/longcontext.md) › Long-context mechanisms › Efficient attention

## Summary
The paper proposes context-sparse processing that combines top-k sparsity with linear attention or state-space models, arguing that extreme sparsity is a principled foundation for efficient long-context LLM inference.

## Explained to a 5-year-old
Big computer programs that read long texts need a lot of memory. We can make them use less memory by only looking at a few words at a time. By picking the most important words, the program can still understand the story. This trick works because the program can guess the rest. Tests show that even when we look at only a tiny part, the program still does well.

## Explained to a 5-year-old, longer
Imagine a storybook that is really, really long. Reading the whole book at once takes a lot of space in a computer. We can make the computer only read a small part of the book each time. By picking the most important words, the computer can still understand the story. This trick works because the computer can guess the rest. Tests show that even when we read only one percent of the words, the computer still answers questions correctly. It also works for solving math problems and coding tasks. The computer can run faster because it doesn't need to look at everything. This could make future phones and laptops use less energy. It also means we can have bigger books without needing bigger computers. The idea is simple: look at a few key parts and trust the computer to fill in the rest. This could change how we use computers for reading and thinking.

## For a technical reader
The paper argues that the current dense attention mechanism in long-context language models is unnecessarily expensive. It shows that models already tolerate very high sparsity during inference without losing performance. By combining top-k token selection with linear attention or state-space models, the functional space of dense attention can be approximated. Sparse decode kernels can achieve a 10× speedup over existing libraries at 50× sparsity on current GPUs. The findings suggest that future LLM systems can be built around extreme sparsity to reduce compute and memory usage.

## Problem
Long-context language models suffer from compute and memory bottlenecks due to dense attention, raising whether these constraints are fundamental to model design.

## Method
The approach uses top-k sparsity together with linear attention or state-space models to process only a subset of context tokens, and demonstrates that this can approximate the functional space of dense softmax attention.

## Results
The approach shows that models like Qwen3.5-27B can tolerate up to 100× sparsity on RULER-HARD, LOFT, and AIME2025 without quality loss, and up to 50× on SWE with a small drop. Sparse decode kernels achieve a 10× speedup over FlashInfer at 50× sparsity on H100 hardware.

## Contributions
The paper argues that extreme context sparsity is a principled foundation for LLM inference, provides empirical evidence of robustness to sparsity, and demonstrates hardware feasibility with significant speedups.

## Practical relevance
It suggests a path to drastically reduce compute and memory for long-context LLM inference, enabling more efficient deployment on existing hardware.

## Research questions this paper is counted under

- [How can we reduce the quadratic attention cost and memory usage of large language models for long contexts while preserving performance?](../q/4.md)

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](../feedback/?on=p/140121)
