Dictionary entry Trending
sparse attention
also sparsified attention
Definition of sparse attention
-
: an attention mechanism that allows each query to attend to only a selected subset of tokens or positions instead of computing every possible pairwise connection
- The long-context model used sparse attention to avoid comparing every token with every other token.
- A block-sparse attention pattern reduced memory use while preserving access to important earlier passages.
Two meanings, one word
In everyday English
Sparse describes something thinly distributed or containing relatively few elements.
In AI
An attention mechanism that allows each query to attend to only a selected subset of tokens or positions instead of computing every possible pairwise connection.
Origin & history
Sparse forms of attention appeared in early Transformer research, and the 2019 Sparse Transformer work made the term prominent by replacing full quadratic self-attention with structured sparse patterns for long sequences. Many learned, routed, block-based, and training-free variants have since appeared.
Test yourself
Which of these is the meaning of sparse attention?
Cite this entry
"Sparse attention." AI Dictionary, Dadgogo, https://dadgogo.com/dictionary/sparse-attention/. Accessed 6 Oct. 2026.