Sparse Attention

Quick definition

An attention design that computes only selected token-to-token interactions.

An attention design that computes only selected token-to-token interactions.

Example: A long-sequence model attends to local windows and a few global tokens.

Where it is useful: designing, training, and adapting neural-network models.

Examples

  • A long-sequence model attends to local windows and a few global tokens.

Use cases

  • designing, training, and adapting neural-network models.

Frequently asked questions

What is Sparse Attention?

An attention design that computes only selected token-to-token interactions.

Can you give an example of Sparse Attention?

A long-sequence model attends to local windows and a few global tokens.

Categories and tags