Attention Is All You Need
Authorship and approval
[Written with AI] [Approved by a human]
Updated
28.10.2026
"Attention Is All You Need" is a 2017 research paper (Vaswani et al., Google) that introduced the Transformer architecture. It's the "T" in GPT. Almost every modern large language model, from ChatGPT to Claude and Gemini, is its descendant.
2017
publication year
288
titles with "transformer" in our lab
42.4%
papers are LLMs (week 43)
What did they invent, simply?
- Previous models read text word by word, like looking through a keyhole. Long sentences lost the beginning, and training could not be accelerated because each step waited for the previous one.
- The Transformer looks at the entire sentence at once. The attention mechanism calculates for each word which other words are important to it. In the sentence "The cat didn't fit in the box because it was too small," attention connects "it" to the "box" rather than the "cat".
- Multi-head attention looks in parallel at various relationships: syntax, meaning, distant references.
- Since everything is calculated simultaneously, training can be distributed across many GPUs. This is what paved the way for models trained on massive text corpora.
What happened next?
- 2018: BERT (Google) takes the "reading" part of the Transformer, and GPT (OpenAI) the "writing" part.
- 2020–2022: GPT-3, then ChatGPT. The same architecture, just thousands of times larger.
- Today: Transformers translate, write code, see images, and turn text into vectors.
The paper is one of the most cited in computer science history: over 100k citations.
How does it look in our lab?
- In the lab database (~15.6k papers and entries from recent months), the word "transformer" appears in the title of 288 texts, eight years after publication.
- The title has become a template for researcher jokes. We have three parodies: "Attention is all you profile", "Attention is all you have", and "Attention Is All You Need (to Avoid Spurious Oscillations)".
- In the week 43 report, as many as 42.4% of papers from arXiv concern large language models, meaning practically descendants of the Transformer.
- Both models that calculate vectors for our chat and knowledge map are also Transformers.
Limitations of the Transformer
- Attention compares every word with every other word, so the cost grows roughly with the square of the text length. That's why long context windows cost money, and providers charge for tokens.
- The model doesn't "understand" the world. It predicts the next word based on patterns, hence hallucinations.
Related terms
Large Language Model (LLM) · Tokens and Context Window · Embedding · AI Hallucinations
Questions and answers
Who wrote "Attention Is All You Need"?
Eight authors from Google Brain and Google Research, first in order: Ashish Vaswani. The paper was presented at the NeurIPS 2017 conference.
Is GPT a Transformer?
Yes. GPT stands for Generative Pre-trained Transformer.
Do I need to read this to use AI?
No. It's only worth knowing where context limits and token costs come from.
Will something replace the Transformer?
There are attempts (e.g., state space models, Mamba), but for now, the Transformer dominates.
Sources
- Vaswani et al.: Attention Is All You Need, arXiv:1706.03762 (NeurIPS 2017)
- Devlin et al.: BERT, arXiv:1810.04805
- Lab report: AI research trends, week 43/2026
Next