Transformer (machine learning)
A neural network architecture built entirely on attention, processing whole sequences in parallel instead of step by step.
The paper "Attention Is All You Need" introduced the architecture.
Dates
- 2014: Seq2seq encoder–decoder models set the stage (source)
Based on
- improves on: Recurrent neural network (1972) — Transformers replaced recurrent networks for sequence tasks by processing all positions at once.
- based on: Attention mechanism (2014) — Transformers are built entirely from attention layers.
- built from: Residual neural network (2015) — Every transformer layer is wrapped in a residual connection.
Used in
- Large language model (2018) — The transformer architecture is what LLMs are built from and trained at scale.
- AI protein structure prediction (2018) — AlphaFold 2 uses attention-based transformer blocks.
- AI image generation (2022) — A transformer text encoder steers the image through cross-attention.
- AI music generation (2020) — Suno generates audio tokens with a transformer, like a language model.
Sources
- Transformer (deep learning) (Wikipedia) (Introduction) —
The original version of the transformer architecture was proposed in the 2017 paper "Attention Is All You Need" by researchers at Google.
Wikipedia article · Text excerpts from Wikipedia are available under CC BY-SA 4.0.