Transformer Architecture · 2017
Attention Is All You Need
Introduced the Transformer, a sequence model built entirely on self-attention that removed the sequential recurrence of RNNs and enabled full parallelization of training across positions.
Editorial record
Plain-language summary
The paper replaces recurrent and convolutional encoders with stacked multi-head self-attention and feed-forward layers, using positional encodings to retain word order. Because attention relates all positions at once rather than stepping through a sequence, training parallelizes across the sequence and long-range dependencies are captured in a constant number of operations. It set new machine-translation results on WMT English-German and English-French at lower training cost, and became the base architecture for essentially all later large language models.
Knowledge graph
Relationships
Antecedents
Applies toEvidence: Direct
Improving Language Understanding by Generative Pre-Training (GPT)
Decoder-only autoregressive LM built on Transformer decoder
P-010 architecture
Applies toEvidence: Direct
BERT: Pre-training of Deep Bidirectional Transformers
Encoder-only masked LM built on Transformer encoder
P-013 architecture
Applies toEvidence: Direct
Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer (T5)
Encoder-decoder text-to-text model
P-020 architecture
Applies toEvidence: Direct
BART: Denoising Seq2Seq Pre-training
Encoder-decoder denoising autoencoder
P-021 architecture
Makes efficientEvidence: Direct
Root Mean Square Layer Normalization (RMSNorm)
RMSNorm simplifies LayerNorm used in Transformer
P-003 paper
ImprovesEvidence: Direct
GLU Variants Improve Transformer (SwiGLU)
SwiGLU replaces ReLU FFN in Transformer
P-004 paper
Makes efficientEvidence: Direct
Train Short Test Long: Attention with Linear Biases (ALiBi)
ALiBi replaces positional encodings for length extrapolation
P-005 paper
Makes efficientEvidence: Direct
On Layer Normalization in the Transformer Architecture (pre-norm)
Pre-norm placement stabilizes deep Transformer training
P-007 paper
Makes efficientEvidence: Direct
Fast Transformer Decoding: One Write-Head is All You Need (MQA)
MQA shares K/V heads to shrink KV cache
P-008 paper
Applies toEvidence: Direct
Vision Transformer (An Image is Worth 16x16 Words)
Transformer applied to image patches
P-300
Makes efficientEvidence: Direct
FlashAttention (1/2/3): IO-Aware Exact Attention
FlashAttention makes exact attention IO-efficient
P-400
Makes efficientEvidence: Direct
Sparse Attention (Longformer / BigBird)
Sparse attention reduces attention cost
P-420
Makes efficientEvidence: Direct
Linearized Attention (Reformer/Performer/Linear Transformers)
Linear attention approximates softmax attention
P-421
Depends onEvidence: Strongly supported
GLM: General Language Model Pretraining with Autoregressive Blank Infilling / GLM-130B
GLM is built on the Transformer architecture
GLM 2103.10360
Depends onEvidence: Direct
A Mathematical Framework for Transformer Circuits
The framework reverse-engineers the Transformer attention block
P-501
Depends onEvidence: Strongly supported
Toy Models of Superposition
Superposition is studied in small Transformer-style networks
P-503
Depends onEvidence: Direct
Zero-Shot Text-to-Image Generation (DALL-E)
DALL-E autoregressively models image tokens with a Transformer
P-530
Depends onEvidence: Direct
Robust Speech Recognition via Large-Scale Weak Supervision (Whisper)
Whisper is an encoder-decoder Transformer for speech
P-531
Depends onEvidence: Strongly supported
Highly Accurate Protein Structure Prediction with AlphaFold
AlphaFold Evoformer and structure module are built on attention
AlphaFold Nature 2021
Depends onEvidence: Direct
Titans: Learning to Memorize at Test Time
Titans augments an attention backbone with a learned long-term memory module
Titans 2501.00663
Depends onEvidence: Strongly supported
BLOOM: A 176B-Parameter Open-Access Multilingual Language Model
BLOOM is a decoder-only Transformer
BLOOM 2211.05100
Descendants
GeneralizesEvidence: Direct
Neural Machine Translation by Jointly Learning to Align and Translate (Bahdanau attention)
Self-attention generalizes content-based soft alignment
P-001 cites Bahdanau 2014
ExtendsEvidence: Direct
Sequence to Sequence Learning with Neural Networks
Encoder-decoder transduction framing carried over from seq2seq
P-001 background
Depends onEvidence: Direct
Deep Residual Learning for Image Recognition (ResNet)
Residual sublayers (x + Sublayer(x)) in every block
P-001 Sec 3.1
Depends onEvidence: Direct
Layer Normalization
LayerNorm applied around each sublayer
P-001 Sec 3.1
Depends onEvidence: Direct
Adam: A Method for Stochastic Optimization
Adam optimizer with warmup schedule
P-001 Sec 5.3
Depends onEvidence: Direct
Neural Machine Translation of Rare Words with Subword Units (BPE)
Subword (BPE) vocabulary for open-vocab modeling
P-001 Sec 5.1
Depends onEvidence: Direct
Efficient Estimation of Word Representations (Word2Vec)
Learned token embeddings feed the input
standard practice
Depends onEvidence: Strongly supported
Understanding the Difficulty of Training Deep Nets (Xavier/He init)
Principled init enables deep Transformer training
P-001
Source record
Provenance
- Record ID
- P-001
- Record created
- 2026-07-13
- Last reviewed
- 2026-07-14
- Record version
- 2
- https://arxiv.org/abs/1706.03762
- arXiv:1706.03762
Citation caveat: Citation metadata is approximate and marked unverified in the source dataset.