Long Context & Efficient Sequences · 2024
Ring Attention / Infini-Attention / MLA
This family scaled context length by distributing or compressing the attention computation rather than approximating it, with Ring Attention sharding the sequence across devices and passing key-value blocks in a ring so exact attention over near-arbitrarily long contexts fits in aggregate memory.
Editorial record
Plain-language summary
Ring Attention splits a long sequence across multiple devices, and each device computes its local block of attention while key-value chunks circulate around the ring, overlapping communication with computation so the effective context grows with the number of devices without approximation. Infini-Attention instead keeps a bounded compressive memory that accumulates old key-value information, letting a fixed-size model attend to unbounded history. Multi-head Latent Attention (MLA, from DeepSeek) compresses the key-value cache into a low-rank latent to shrink the memory each token costs at inference. Together they attack long context from three angles: distribute it, compress the history, or compress the cache.
Knowledge graph
Relationships
Descendants
Makes efficientEvidence: Strongly supported
FlashAttention (1/2/3): IO-Aware Exact Attention
Ring attention extends flash attention across devices
P-422
Source record
Provenance
- Record ID
- P-422
- Record created
- 2026-07-13
- Last reviewed
- 2026-07-14
- Record version
- 2
- https://arxiv.org/abs/2310.01889
- arXiv:2310.01889
Citation caveat: Citation metadata is approximate and marked unverified in the source dataset.