Transformer (scaled dot-product attention)
Method · 2017 · Also known as attention, transformer
Definition
“The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an encoder-decoder configuration.”
From the defining paper: Attention Is All You Need (Ashish Vaswani, Noam Shazeer, Niki Parmar, et al., NeurIPS 2017).
Lineage
Parent: none in this seed
Children: Multi-head attention; Sparse Transformer; Reformer; Longformer; Big Bird; Linformer; Performer; Mamba; Multi-head Latent Attention; Native Sparse Attention
Incoming edges (0)
No incoming edges in this seed.
Outgoing edges (10)
extends · parallelization
To Multi-head attention · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “complex recurrent or convolutional neural networks” Source: Attention Is All You Need
- Mechanism
- “based solely on attention mechanisms” Source: Attention Is All You Need
- Trade-off
- No trade-off quoted.
extends · computational complexity
To Sparse Transformer · confidence 1 (All three quotes are verbatim substrings of the to-paper abstract; confidence 1.0.)
- Bottleneck
- “require time and memory that grows quadratically with the sequence length” Source: Generating Long Sequences with Sparse Transformers
- Mechanism
- “sparse factorizations of the attention matrix” Source: Generating Long Sequences with Sparse Transformers
- Trade-off
- “the recomputation of attention matrices to save memory” Source: Generating Long Sequences with Sparse Transformers
improves · memory efficiency
To Reformer · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “training these models can be prohibitively costly” Source: Reformer: The Efficient Transformer
- Mechanism
- “we replace dot-product attention by one that uses locality-sensitive hashing” Source: Reformer: The Efficient Transformer
- Trade-off
- No trade-off quoted.
extends · scalability
To Longformer · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “Transformer-based models are unable to process long sequences” Source: Longformer: The Long-Document Transformer
- Mechanism
- “an attention mechanism that scales linearly with sequence length” Source: Longformer: The Long-Document Transformer
- Trade-off
- No trade-off quoted.
extends · memory efficiency
To Big Bird · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “one of their core limitations is the quadratic dependency (mainly in terms of memory) on the sequence length” Source: Big Bird: Transformers for Longer Sequences
- Mechanism
- “a sparse attention mechanism that reduces this quadratic dependency to linear” Source: Big Bird: Transformers for Longer Sequences
- Trade-off
- No trade-off quoted.
improves · computational complexity
To Linformer · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “training and deploying these models can be prohibitively costly for long sequences” Source: Linformer: Self-Attention with Linear Complexity
- Mechanism
- “the self-attention mechanism can be approximated by a low-rank matrix” Source: Linformer: Self-Attention with Linear Complexity
- Trade-off
- No trade-off quoted.
improves · computational complexity
To Performer · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “beyond the reach of regular Transformers” Source: Rethinking Attention with Performers
- Mechanism
- “using only linear (as opposed to quadratic) space and time complexity” Source: Rethinking Attention with Performers
- Trade-off
- No trade-off quoted.
compares · computational complexity
To Mamba · confidence 1 (All three quotes are verbatim substrings of the to-paper abstract; confidence 1.0. Edge type is compares (weak): confidence covers quote validity, not a causal claim.)
- Bottleneck
- “to address Transformers' computational inefficiency on long sequences” Source: Mamba: Linear-Time Sequence Modeling with Selective State Spaces
- Mechanism
- “letting the SSM parameters be functions of the input” Source: Mamba: Linear-Time Sequence Modeling with Selective State Spaces
- Trade-off
- “they have not performed as well as attention on important modalities such as language” Source: Mamba: Linear-Time Sequence Modeling with Selective State Spaces
improves · memory efficiency
To Multi-head Latent Attention · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “characterized by economical training and efficient inference” Source: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
- Mechanism
- “significantly compressing the Key-Value (KV) cache into a latent vector” Source: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model
- Trade-off
- No trade-off quoted.
improves · computational complexity
To Native Sparse Attention · confidence 0.8 (Tradeoff quote is null; confidence 0.8.)
- Bottleneck
- “the high computational cost of standard attention mechanisms poses significant computational challenges” Source: Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
- Mechanism
- “a Natively trainable Sparse Attention mechanism” Source: Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention
- Trade-off
- No trade-off quoted.