AIAny

Attention Is All You Need

The 2017 paper that replaced recurrence with pure self-attention, making sequence models fully parallelizable — and, almost as a side effect, laying the architectural foundation for nearly every large language model that followed, from BERT to GPT.

Introduction

It is hard to overstate how much this eight-page paper rearranged AI. The title was almost a provocation — that attention alone, with no recurrence or convolution, was enough — yet within a few years every frontier language model was a descendant of the architecture it introduced. The deeper point was never translation quality; it was that dropping sequential computation made models trivially parallelizable, which is exactly what later let them scale to billions of parameters.

Key Findings
  • Attention replaces recurrence. The Transformer drops RNNs and CNNs entirely, using self-attention to relate any two positions in constant path length — so long-range dependencies stop being the bottleneck.
  • Parallelism unlocks scale. Without step-by-step recurrence, training parallelizes across the whole sequence; the model reached 28.4 BLEU on WMT'14 English-German at a fraction of prior training cost — the property that later made large-scale pretraining feasible.
  • Multi-head attention and positional encoding. Multiple heads capture different relationships at once, while positional encodings reinject the order that recurrence used to provide for free.
  • It generalizes. The same architecture transferred beyond translation to parsing and, eventually, to essentially all of language and multimodal modeling.
Why It Still Matters / When to Skip

Great fit if you want to read the single most load-bearing paper behind modern LLMs, or to understand attention, multi-head, and positional encoding from the source. Look elsewhere if you want the modern training recipe — scaling laws, RLHF, and decoder-only designs all came later; this is the architectural origin, not a current playbook.

Information

  • Websitearxiv.org
  • OrganizationsGoogle Brain, Google Research, University of Toronto
  • AuthorsAshish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, Illia Polosukhin
  • Published date2017/06/12

More Items

Maps visual and textual context to a probability distribution over natural-language choices, enabling agents to decide without generating each answer token by token. Its set-attention head models option interactions while preserving order invariance.

Transfers gains from prompts and tools into a vision-language model’s own weights through training-free edits. Evaluated across ten visual reasoning benchmarks, including held-out tests.

Introduces a statistical measure of how finely time-series forecasting leaderboards can distinguish models, and presents Vernier, a tool for assessing rank resolution, ties with the leader, and ranking stability.