AlgorithmsMachine learningEdit on GitHubEdit history
Transformer
scaled dot-product attention, self-attention, multi-head attention2017
A sequence model without recurrence that stacks scaled dot-product multi-head self-attention and feed-forward layers with residual connections and normalization.
Origin
Lineage
Parent algorithms
Author statementStates that it is identical to dot-product attention except for the scaling factor — arXiv:1706.03762
Author statementUses a residual connection around each sub-layer, citing He et al. — arXiv:1706.03762
Author statementApplies layer normalization after the residual connection, citing Ba et al. — arXiv:1706.03762
Author statementStates that dropout is applied to the output of each sub-layer — arXiv:1706.03762
Derived algorithms
Author statementStates that it is a multi-layer bidirectional Transformer encoder — arXiv:1810.04805
Author statementStates that it uses a multi-layer Transformer decoder
Author statementPresented as an IO-aware implementation that produces the same results as standard attention — arXiv:2205.14135
Author statementProposes a variant of multi-head attention in which the key and value heads are shared as a single head — arXiv:1911.02150
Author statementReplaces the Transformer's positional encoding with rotation matrices — arXiv:2104.09864
CitationSwiGLU is presented as a replacement for the Transformer feed-forward sublayer — arXiv:2002.05202
CitationViT applies a standard Transformer encoder to sequences of image patches with minimal modification — arXiv:2010.11929
CitationThe text encoder of CLIP is a Transformer — arXiv:2103.00020
CitationT5 uses the original Transformer encoder–decoder architecture with only minor changes — arXiv:1910.10683
CitationThe Sparse Transformer reduces cost by replacing the full attention of the Transformer with sparse factorizations — arXiv:1904.10509
CitationALiBi replaces the position embeddings of the Transformer with a distance bias added to attention scores — arXiv:2108.12409
CitationSpeculative decoding is proposed to accelerate inference of large autoregressive models such as Transformers — arXiv:2211.17192
CitationPagedAttention improves the memory management of the KV cache used in Transformer autoregressive generation — arXiv:2309.06180
Notable implementations
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…