[KongchangAI]
ConceptSparse Attention / 稀疏注意力机制

Sparse Attention

A technical approach for improving the Transformer attention mechanism by retaining only high-value attention connections rather than computing full pairwise token interactions, thereby reducing computational complexity from O(n²). Common implementations include sliding-window attention and hybrid global-plus-local attention, and the technique serves as a core method for enabling ultra-long context processing.

Core Facts

Timeline (last 90 days)

Oct 13

To maintain usable efficiency at the tens-of-millions context scale, it is usually necessary to introduce optimizations such as sparse attention, chunked retrieval, state space models or hybrid architectures.

Unverified50%
Oct 12

Current mainstream sparse attention implementations can be divided into three categories: full reach, sliding windows, and learned selectors.

Unverified50%
Oct 12

GLM-5.3-Flash 的注意力架构将计算拆为线性注意力(O(n)递归状态,处理近期token)和稀疏注意力(轻量索引器回扫全局上下文,只拉取相关远端片段)两条路径。

Unverified50%
Oct 11

Sparse attention reduces computational complexity to near-linear by having each token attend only to a subset of the sequence.

Unverified50%
Oct 11

Sparse attention may miss critical information for tasks requiring long-range dependencies, so in practice it is often combined with retrieval-augmented generation (RAG).

Unverified50%
Oct 11

Adopting sparse attention can compress the KV cache to approximately 1/4, supporting approximately 4 times the context length of full attention under the same memory budget.

Unverified50%
Oct 10

Many linear attention or sparse attention methods lose the ability to precisely retrieve historical information while compressing computation.

Unverified50%
Oct 9

The paper reformulates sparse attention as a matrix approximation problem rather than a problem of selecting the largest values from a bag of entries.

Unverified50%
Oct 9

Existing mainstream sparse attention methods filter interactions by retaining entries with larger values or high-quality regions in the attention matrix.

Unverified50%
Oct 9

Sparse attention allows each query to interact with only k keys (where k is much smaller than n), reducing complexity to O(nk).

Unverified50%

3 more timeline events

All Facts (13)

Verified

Informer reduces the self-attention computation complexity from O(n²) to O(n log n) through ProbSparse sparse attention.

70%
Unverified

To maintain usable efficiency at the tens-of-millions context scale, it is usually necessary to introduce optimizations such as sparse attention, chunked retrieval, state space models or hybrid architectures.

50%
Unverified

Current mainstream sparse attention implementations can be divided into three categories: full reach, sliding windows, and learned selectors.

50%
Unverified

GLM-5.3-Flash 的注意力架构将计算拆为线性注意力(O(n)递归状态,处理近期token)和稀疏注意力(轻量索引器回扫全局上下文,只拉取相关远端片段)两条路径。

50%
Unverified

Sparse attention reduces computational complexity to near-linear by having each token attend only to a subset of the sequence.

50%
Unverified

Adopting sparse attention can compress the KV cache to approximately 1/4, supporting approximately 4 times the context length of full attention under the same memory budget.

50%
Unverified

Sparse attention may miss critical information for tasks requiring long-range dependencies, so in practice it is often combined with retrieval-augmented generation (RAG).

50%
Unverified

Many linear attention or sparse attention methods lose the ability to precisely retrieve historical information while compressing computation.

50%
Unverified

Existing mainstream sparse attention methods filter interactions by retaining entries with larger values or high-quality regions in the attention matrix.

50%
Unverified

Sparse attention allows each query to interact with only k keys (where k is much smaller than n), reducing complexity to O(nk).

50%
Unverified

The paper reformulates sparse attention as a matrix approximation problem rather than a problem of selecting the largest values from a bag of entries.

50%
Unverified

Industry solutions for improving long-context attention decay include sparse attention, sliding window attention, and RoPE positional encoding extrapolation, but currently no solution can completely eliminate this fundamental limitation.

50%
Unverified

Speculative decoding improves inference speed by using a small draft model to generate candidate tokens that are verified in parallel by the main model; sparse attention reduces computational complexity from O(n²) to near O(n).

50%

Source Articles