Transformer Attention: A Decade of Innovation Recognized by SemiAnalysis · history
Version 2
2026-06-30 08:23 UTC · 28 items
What
SemiAnalysis published a recognition thread on June 29, 2026 tracing transformer attention from the 2017 Vaswani et al. paper through FlashAttention, vLLM's PagedAttention, and the current split between linear and sparse attention research. [12] The four credited contributions are: the foundational Multi-Head Attention paper [1]; FlashAttention by Tri Dao [2]; vLLM's PagedAttention [5]; and a current contest between Gated Delta Networks (linear attention, adopted by Qwen 3.5 and Kimi) and DeepSeek's sparse attention work (NSA and DSA, now integrated into NVIDIA's cuDNN). [6][11] GDN-2, a follow-up that decouples erase and write in linear attention, is an NVIDIA Research publication. [10]
Why it matters
Attention mechanisms are the architectural core of every major language model, and this thread maps which open-source contributions made large-scale training and inference practical for the broader community. The field has not converged: linear attention (GDNs) and sparse attention (DSA, now in NVIDIA cuDNN) are competing strategies for long-context workloads that quadratic MHA handles inefficiently at scale.
Open questions
Will Gated Delta Networks remain the dominant linear attention approach, or will GDN-2's decoupled erase/write mechanism [10] become the production baseline?
How will DeepSeek's Native Sparse Attention and DSA compare against GDNs for agentic long-context tasks — neither camp has published head-to-head benchmarks at production scale. [6]
NVIDIA cuDNN now documents DSA support [11] — will other inference engines (vLLM, TensorRT-LLM) add comparable native support for GDN-style linear attention variants?
FlashAttention has reached version 4 and won the inaugural Stanford open source software award [4] — will future GPU architectures require another kernel redesign, or has the approach stabilized?
Narrative
The 2017 paper "Attention Is All You Need" by Ashish Vaswani, Noam Shazeer, Llion Jones, Aidan Gomez, and colleagues introduced Multi-Head Attention (MHA) to NLP, producing immediate large improvements in perplexity scores over prior sequence models. [1] MHA became the dominant building block for language models, but its quadratic cost in sequence length created a ceiling on context length and memory efficiency during training runs.
FlashAttention, developed by Tri Dao, addressed the memory bottleneck by restructuring attention computation to minimize GPU memory reads and writes rather than reducing FLOPs, enabling training on substantially longer contexts. [2] FlashAttention 2 achieved approximately 800% throughput improvement over the original; versions 3 and 4 targeted Hopper and Blackwell GPU architectures. [3] FlashAttention received the inaugural Stanford open source software award. [4] In the same period, the vLLM inference engine introduced PagedAttention, a memory management approach that improved GPU utilization for serving, and became one of the most widely used open-source inference engines, maintained by teams at Inferact and Red Hat. [5]
Agentic AI applications requiring very long contexts drove research into architectural alternatives to quadratic MHA. Gated Delta Networks (GDNs), developed by Songlin Yang, combined the delta rule with gating mechanisms for more selective memory updates than earlier linear attention designs, and became the leading linear attention approach. [6][7][8] GDNs were adopted by Qwen 3.5, with Kimi building further refinements. A follow-up, Gated DeltaNet-2, published through NVIDIA Research, decouples erase and write operations to give finer memory control. [9][10] In parallel, DeepSeek led open research into sparse attention with Native Sparse Attention and DSA, influencing MiniMax and ZhipuAI. NVIDIA's cuDNN now includes official documentation for DSA, providing production infrastructure support for the sparse attention path. [11] Cohere popularized SWA-GQA hybrid attention, which Xiaomi later refined with detailed ablation studies. [6]
SemiAnalysis framed this arc as collective open-source progress, crediting individual researchers and teams rather than single institutions. [12] NVIDIA has emerged as an actor on both fronts simultaneously — providing cuDNN infrastructure for DSA while its researchers co-produced the GDN-2 linear attention paper — without publicly backing either approach over the other.
Timeline
- 2017: "Attention Is All You Need" by Vaswani, Shazeer, Jones, Gomez et al. introduced Multi-Head Attention, dramatically improving NLP perplexity scores. [1]
- 2022: FlashAttention by Tri Dao reduced GPU memory requirements for attention forward and backward passes, enabling efficient long-context training. [2]
- 2023: FlashAttention 2 published, achieving approximately 800% throughput improvement over the original. [3]
- 2023: vLLM and its PagedAttention memory management became dominant open-source serving infrastructure, maintained by Inferact and Red Hat. [5][13]
- 2024-12: Gated Delta Networks paper published, combining the delta rule with gating to outperform Mamba2 as a linear attention design. [7][8]
- 2025: FlashAttention versions 3 and 4 released, optimized for Hopper and Blackwell GPU architectures. [2]
- 2025: FlashAttention received the inaugural Stanford open source software award. [4]
- 2025: DeepSeek introduced Native Sparse Attention and DSA; MiniMax and ZhipuAI built variants on top. [6]
- 2025: GDNs adopted by Qwen 3.5; Kimi built further refinements on the architecture. [6]
- 2025: Cohere popularized SWA-GQA hybrid attention; Xiaomi later refined it with ablation studies. [6]
- 2026-05: Gated DeltaNet-2, an NVIDIA Research publication, decoupled erase and write operations to further improve linear attention memory control. [9][10]
- 2026: NVIDIA cuDNN added official documentation for DSA, providing production infrastructure support for sparse attention. [11]
- 2026-06-29: SemiAnalysis published a community recognition thread crediting open-source researchers behind the full arc of attention innovation. [12]
Perspectives
SemiAnalysis
Frames the history of transformer attention as collective open-source progress deserving explicit recognition; positions inference infrastructure and algorithmic research as equally important contributions.
Evolution: Consistent throughout the thread; no dissent or hedging.
Tri Dao (FlashAttention)
FlashAttention's memory-efficient kernel design was the key enabler of long-context training at scale; the approach has proven durable across four GPU generations.
Evolution: Consistent; validated by the Stanford award and continued version releases.
Songlin Yang (GDN author)
Gated Delta Networks represent the strongest current linear attention approach; GDN-2 extends this by decoupling memory erase and write for better control.
Evolution: Consistent; GDN adoption by Qwen 3.5 and Kimi, and GDN-2 publication through NVIDIA Research, confirm traction beyond the original paper.
DeepSeek
Sparse attention (Native Sparse Attention, DSA) is a practical and open path to long-context efficiency distinct from linear attention, and has already influenced MiniMax and ZhipuAI.
Evolution: Consistent; NVIDIA cuDNN's DSA integration confirms a production-path for the approach.
NVIDIA
NVIDIA is active on both competing fronts: cuDNN documents official DSA support for sparse attention, while NVIDIA Research co-produced the GDN-2 paper on linear attention.
Evolution: Newly visible this pass; NVIDIA appears as an infrastructure and research participant across both approaches rather than backing one.
vLLM project (Inferact, Red Hat maintainers)
Inference serving infrastructure — PagedAttention in particular — is as central to accessible AI as algorithmic research, and deserves recognition alongside model-side advances.
Evolution: Consistent; vLLM's status as one of the most widely used inference engines reinforces this position.
Cohere
SWA-GQA hybrid attention is a practical long-context choice that avoids the complexity of full linear or sparse redesigns.
Evolution: Consistent; Xiaomi's adoption and ablation work confirms influence beyond Cohere.
Tensions
- Gated Delta Networks (linear attention) and DeepSeek's sparse attention (DSA, Native Sparse Attention) are competing strategies for long-context efficiency; no head-to-head production benchmark has settled which approach is superior. [6][7][11]
- Standard quadratic MHA remains the baseline all alternatives are measured against, but no single successor has fully displaced it across training, fine-tuning, and inference workloads. [6][2][1]
- GDN-2 argues that decoupling erase and write in linear attention is necessary for better memory control, implying the original GDN has a structural limitation — a claim not yet reflected in production model choices. [9][10][6]
- NVIDIA provides infrastructure for both sparse attention (cuDNN DSA) and linear attention (GDN-2 research), leaving unresolved which approach its tooling will prioritize at production scale. [11][10]
Sources
- [1] In contrast to the slow decline of the Transformers movie series in 2017, the Transformer architecture in NLP showed imm… — SemiAnalysis Twitter (2026-06-29)
- [2] One of the greatest leaps since MHA was FlashAttention by @tri_dao. FlashAttention dramatically reduced memory requireme… — SemiAnalysis Twitter (2026-06-29)
- [3] FlashAttention 2: making Transformers 800% faster w/o approximation — reactive:attention-mechanism-research-history
- [4] Flash Attention received the inaugural Stanford open source software award — reactive:attention-mechanism-research-history
- [5] Around the same time, the vLLM inference engine and its underlying Paged Attention took the open-source community by sto… — SemiAnalysis Twitter (2026-06-29)
- [6] The long-context demands of agentic AI accelerated attention research aimed at overcoming the context wall. Over the pas… — SemiAnalysis Twitter (2026-06-29)
- [7] Gated Delta Networks: Improving Mamba2 with Delta Rule | OpenReview — reactive:attention-mechanism-research-history
- [8] Paper page - Gated Delta Networks: Improving Mamba2 with Delta Rule — reactive:attention-mechanism-research-history
- [9] [2605.22791] Gated DeltaNet-2: Decoupling Erase and Write in Linear Attention — reactive:attention-mechanism-research-history
- [10] Gated DeltaNet-2: Decoupling Erase and Write in Linear Attention | Research — reactive:attention-mechanism-research-history
- [11] DeepSeek Sparse Attention (DSA) — NVIDIA cuDNN — reactive:attention-mechanism-research-history
- [12] Transformer’s Attention mechanism has come a long way. We’d like to thank the researchers and the engineers in the open-… — SemiAnalysis Twitter (2026-06-29)
- [13] Paged Attention and vLLM | Continuum Labs — reactive:attention-mechanism-research-history