Research Library · Idea
Transformer
Neural network architecture introduced by Vaswani and colleagues in 2017 that replaces recurrence with stacked attention and feed-forward layers. Also: transformer architecture; Attention Is All You Need.
Research articles
- Next-token machines: a reader on large language models and the transformer · Artificial intelligence
- Mixture of experts: a reader on sparse models that use only part of themselves · Artificial intelligence
- Multimodal models: a reader on how images, audio and robot actions became tokens · Artificial intelligence
- Mechanistic interpretability: a reader on features, superposition, sparse autoencoders and circuit tracing · Artificial intelligence
- Noise in, images out: a reader on diffusion, flows and the other generative architectures · Artificial intelligence
- Reasoning models and chain of thought: what the visible thinking is worth · Artificial intelligence
- Scaling laws and compute: a reader on why bigger kept working, and what it costs · Artificial intelligence
- Tokens and vectors: a reader on tokenization and embeddings · Artificial intelligence
Papers
Attention Is All You Need (opens in a new tab)
The authors build a translation model around attention instead of passing information token by token through a recurrent network. Each layer uses several attention heads so token representations can draw on different relationships in the sentence. Positional encodings supply information about order. The paper reports results on English to German and English to French translation, and shows that the architecture can also handle constituency parsing.
The Transformer became the architecture on which many later language models were built.

SecSIG