# NVIDIA examines the remaining costs of sparse attention

> GPU memory traffic can limit attention performance. FlashAttention’s original research shows why the arrangement of calculations matters alongside their arithmetic count.

By BIGCHANGE.AI Editorial

Published: 2026-11-21T09:38:37.895Z
Updated: 2026-11-21T09:38:37.895Z
Canonical: https://bigchange.ai/blog/nvidia-sparse-attention-indexer-memory-experiments

![An illustrated compute module shows a processor package and nearby components.](https://bigchange.ai/api/media/file/sparse-attention-compute-module-v1.png)
AI-generated conceptual illustration for BIG CHANGE; fictional unbranded hardware.

NVIDIA on November 17 published experiments on the GPU work behind sparse attention, which lets a language model use a selected portion of a long input. The post examines trained designs and individual kernels, GPU programs that perform particular calculations. It does not announce a new model release.

## The big change

- DeepSeek’s indexer learns which earlier tokens to select. That selection is part of the trained model, rather than a universally interchangeable shortcut.
- FlashAttention shows why reducing GPU memory transfers can matter even without discarding attention calculations. Fewer arithmetic operations alone do not describe runtime.
- Request-level evaluation distinguishes the wait for the first token from the pace of later tokens. It also needs a defined workload and quality requirement.

## Where the remaining work goes

In NVIDIA’s breakdown at a 128K-token input, indexing and selection account for 47% of a DeepSeek V3.2 layer’s prefill time—the phase processing the prompt. That is a share of one layer’s runtime, not a 47% saving. Separate indexer sweeps use eight-bit floating-point arithmetic (FP8), with prompt processing and token generation tested at different batch sizes.

Another experiment holds the selected-token budget fixed while changing block size. Smaller blocks take longer: fetching each block brings work to load queries and combine partial results. NVIDIA’s point is that the organization of the selected data matters alongside its quantity. The measurements do not establish a corresponding reduction in a complete application’s response time.

## Selection is learned

DeepSeek’s original V3.2 report explains the model mechanism. Tokens are the units into which input text is divided. An indexer computes scores between the current token and preceding tokens, then the attention calculation uses the key-value entries associated with the highest scores. Those entries are numerical representations used by the model, not an external search index of documents.

The report describes introducing this mechanism through continued training. First, the main model stays fixed while the indexer learns to follow its attention distribution. Next, the model adapts to sparse selection, using 2,048 key-value tokens per query. A long input can therefore lead to a small selected set, but choosing that set remains a computation. This is a specific trained architecture, not evidence that arbitrary parts of any existing model can be removed without affecting its answers.

## Memory traffic is another cost

The original FlashAttention paper supplies a useful distinction. GPU high-bandwidth memory stores much more data than the chip’s small, faster working memory. Moving intermediate attention results between them can become expensive. FlashAttention organizes calculations into blocks so data can be used in fast memory without writing out the full attention matrix.

Its central method computes exact attention; sparsity is not required for that change. The paper also examines a separate block-sparse extension. Keeping these ideas distinct helps explain why the number of retained tokens is not a complete description of efficiency. How the calculation is arranged can change memory traffic while preserving the mathematical attention operation.

## What a user-facing test measures

MLCommons’ inference rules separate time to first token—the wait before the first output—from time per output token, the average interval during generation. These measure different aspects of responsiveness. A service that begins its answer sooner has not necessarily increased the rate at which it produces the rest of that answer.

The rules also distinguish workloads. In the Server scenario, new requests arrive over time, and throughput is evaluated under latency constraints. Offline testing presents samples together and measures throughput. Results also have benchmark-specific quality requirements. For someone comparing services, a useful performance claim identifies the model, workload, response metric and required quality together. A result for one scenario cannot simply stand in for the other.

## Sources

- [NVIDIA’s November 17 experiments](https://developer.nvidia.com/blog/co-designing-sparse-attention-for-efficient-long-context-inference/) — Author text and figures; layer and kernel measurement boundaries.
- [DeepSeek-V3.2 technical report, v1](https://arxiv.org/html/2512.02556v1) — Original trained indexer and sparse-selection architecture.
- [FlashAttention paper, v2](https://arxiv.org/html/2205.14135v2) — Original memory-access analysis and exact-attention mechanism.
- [MLPerf Inference rules](https://github.com/mlcommons/inference_policies/blob/master/inference_rules.adoc) — Request metrics, scenarios and quality requirements; not validation of NVIDIA’s experiments.
