Transformer: Attention is all you need
Google researchers
Eight researchers unveil the Transformer, an attention-only model scoring 28.4 BLEU on English-German translation. Its attention-only design becomes the base of BERT, T5, GPT-3 and the Vision Transformer.
The event and the claim
On 12 June 2017, eight researchers submitted a paper describing a new approach to sequence modelling: the Transformer. Its distinctive move was to make attention the central mechanism for exchanging information between positions, removing the recurrent and convolutional sequence-processing machinery used by leading alternatives. The original public submission date, rather than a later revision date, identifies this event. The paper reported 28.4 BLEU on WMT 2014 English-to-German translation and 41.8 on English-to-French. Those are task-specific evaluation results, not percentages of human intelligence. Vaswani and colleagues’ original paper documents the architecture, training conditions and comparisons. Translation quality is still judged by people as well as by automatic scores like BLEU: AI labs pay translators and linguists by the hour to rate machine translation, and the translator roles on AITraining.jobs, which shares a founder with Chronicle, show who is hiring.
The significance is best understood as a change in what researchers could efficiently build. A useful historical question is not whether one paper invented modern AI, but which constraint it removed, which tools it inherited, and which later results depended on new work. That distinction separates an architectural turning point from a mythology of a single breakthrough explaining everything that followed.
Before the Transformer: compressing a sequence
One predecessor made the problem concrete. In 2014, Sutskever, Vinyals and Le described an encoder-decoder system built from long short-term memory networks. One network mapped an input sequence into a fixed-dimensional representation; another produced the output. Their experiments also found that reversing source-word order improved learning. This was a practical design decision tied to the paths through which information and training signals travelled. The sequence-to-sequence paper is an essential starting point for understanding the problem the Transformer later addressed.
Consider translating a sentence containing a name near its beginning and a qualification near its end. A useful representation must preserve both and connect them correctly. A fixed-size intermediate representation asks one object to carry the information needed for an output whose length and structure can differ. This illustrative example explains why access to intermediate information matters; it is not a claim that every earlier system failed on long sentences. Indeed, the earlier paper reported useful performance on them.
Attention already existed
Bahdanau, Cho and Bengio challenged the fixed-vector bottleneck by allowing the decoder to consult different parts of the source sequence while producing a translation. Rather than asking a single summary to contain everything equally well, the system could weight source information according to the current output step. Their work explicitly investigated alignment and translation jointly. The original alignment paper establishes that attention was a predecessor, not an invention first appearing in 2017.
The distinction matters when evaluating novelty. Adding a powerful component to an existing system and reorganizing a system around that component are different contributions. An analogy is the difference between giving a reader an index and designing an entire reference work for cross-referencing. Both can be important; neither erases the earlier contribution. For this event, the stronger historical claim concerns the reorganization of sequence computation, rather than first discovery of the broad idea of selecting relevant information.
Production systems had already exposed the constraints
Google’s 2016 neural machine translation system combined deep LSTMs, attention, residual connections, wordpieces and deployment-oriented engineering. Its authors discussed training cost, inference speed and rare-word handling as obstacles to practical use. They used an eight-layer encoder and eight-layer decoder, and addressed final translation speed partly through lower-precision arithmetic. The GNMT system paper shows how much successful translation already depended on a combination of model design and systems decisions.
This makes a purely conceptual history incomplete. A method can be mathematically expressive yet awkward to train at scale. Conversely, a convenient computation pattern has little value if it loses essential modelling capacity. The relevant comparison is between complete systems under stated conditions: data, hardware, optimization and decoding all affect results. The Transformer entered a field where accuracy and operational efficiency were being pursued together, rather than introducing the first concern for either one.
Convolution was a serious alternative
Gehring and colleagues’ 2017 convolutional sequence-to-sequence work also attacked the limits of sequential computation. Their architecture used convolutional networks, gated linear units and attention, allowing computation across sequence positions to be parallelized during training. Their reported translation results and speed comparisons made convolution a credible alternative to recurrent models. The ConvS2S paper helps restore that contemporary competitive setting.
From a historical perspective, there was no requirement that attention-only designs had to become the dominant successor. Different structures offer different assumptions about how nearby and distant information should interact. Convolution supplies a local pattern that can be composed across layers; attention allows relationships to depend more directly on the content being processed. The consequential question was whether that flexibility could deliver strong results while retaining efficient implementation. Evaluating the 2017 event against a real competing approach is more informative than comparing it only with an obsolete caricature.
What self-attention changes
Google’s contemporaneous explanation uses word meaning in context to motivate self-attention: a word representation can incorporate information from relevant words elsewhere in a sentence without first carrying that information through every intervening position. Its account describes repeated stages of contextualization and distinguishes the encoder’s reading of an input from the decoder’s generation of an output. Jakob Uszkoreit’s explanation of the Transformer connects the architecture to the language-understanding problem it was designed to solve.
Imagine a sentence about a crane lifting a beam beside a river. Local proximity alone could create ambiguity: the river context might suggest a bird, while the action and object indicate machinery. The example is illustrative, not a reported experiment. Content-dependent information exchange provides a way to combine the relevant clues. It does not supply a symbolic guarantee that the correct interpretation will be chosen. A mechanism that makes a relationship accessible is different from a system that always learns to use it correctly.
The surrounding machinery matters
Attention exchanges information, but a trainable deep network needs more than that exchange. Residual learning provided an influential way to make a layer learn a modification to an existing representation rather than reconstructing everything from scratch. He and colleagues introduced and evaluated this framework in image recognition, including substantially deeper networks than their comparison systems. The residual-network paper documents that separate contribution.
Layer normalization addressed another practical issue: maintaining useful behaviour as internal activations change during training. Ba, Kiros and Hinton described normalization based on the features within a training case, with the same computation at training and test time. Their layer-normalization paper explains why a model’s ability to learn is not determined solely by the visible diagram of its information flow.
These dependencies support an important interpretation of the event. Architectural novelty often consists of a productive arrangement of several ideas whose usefulness was established elsewhere. Giving the arrangement historical credit does not require treating every component as new. It requires understanding how the parts work together and why that composition changes the feasible experiment.
Learning and representation were separate choices
An optimizer determines how parameters change in response to training signals. Adam uses adaptive estimates of gradient moments and was presented as a computationally efficient method for stochastic optimization. Its authors explicitly considered noisy or sparse gradients and problems with many parameters. Kingma and Ba’s Adam paper is a reminder that a network description is not a complete account of how a useful model is obtained.
There is a corresponding distinction on the input side. Sennrich, Haddow and Birch investigated representing rare words through subword units, including byte-pair encoding. Their motivation was that translation has an open vocabulary: names, compounds and unfamiliar words cannot all be covered by a fixed list of whole words. The subword translation study describes the problem and evaluates the proposed representation.
For a reader following the timeline, these are distinct branches of the explanation. Architecture governs information exchange; optimization governs learning updates; tokenization governs the units presented to the model. Confusing them encourages exaggerated claims that changing one element automatically solves the other problems. A robust account keeps the interfaces between those choices visible.
From translation to reusable language representations
BERT subsequently demonstrated a different use of Transformer-based language representations. Its pretraining jointly conditioned on left and right context, after which comparatively small changes could adapt the model to downstream tasks. The paper reported improvements across eleven natural-language-processing tasks, including language inference and question answering. Devlin and colleagues’ BERT paper documents the objectives and evaluations rather than merely asserting that the earlier architecture was influential.
This provides a concrete basis for a downstream-influence judgment. The connection is not just chronological: the later work explicitly uses Transformers and changes the learning setup around them. It also shows why the model architecture and the product experience should not be conflated. A representation useful for classifying or answering questions is not automatically an open-ended conversational assistant. Later applications required decisions about objectives, data, adaptation and interaction. Treating those decisions as separate events produces a more useful history than assigning every subsequent capability to the original paper.
A common format for many tasks
T5 investigated transfer learning through a framework that represented text-based problems as text-to-text tasks. The study compared pretraining objectives, architectures, datasets and transfer approaches, and released models, code and a large cleaned text corpus. Raffel and colleagues’ T5 study is valuable because it examines multiple ingredients systematically rather than presenting scale as the only explanatory variable.
The resulting historical lesson is about experimental organization. When tasks share an input-output format, researchers can compare methods without redesigning the interface for every task. That does not imply that all tasks become equally easy, or that a single evaluation captures everything a system can do. It creates a common setting in which different choices can be investigated. In interpreting the Transformer’s legacy, this is one way a reusable architecture becomes a platform for further research: it supports controlled variation instead of dictating one fixed application.
Large language models changed the interaction
GPT-3 examined whether scaling an autoregressive language model improved performance when tasks were described through text and examples, without updating the model’s parameters for each task. The paper reported a 175-billion-parameter model and tested zero-shot, one-shot and few-shot settings, while acknowledging weaknesses and methodological concerns associated with web-scale training data. Brown and colleagues’ few-shot-learning paper supplies evidence for this later development.
This is a consequential change in the user’s relationship with a model. In a conventional task-specific setup, adaptation often means collecting labels and retraining or fine-tuning. In the illustrated few-shot setup, a user supplies examples in the prompt and receives a response from fixed parameters. That comparison describes the experimental distinction; it is not a promise that prompting reliably replaces all supervised learning. The link to the 2017 event is architectural continuity combined with substantial changes in scale, training and evaluation.
Beyond words: the vision connection
Vision Transformer applied a Transformer to sequences of image patches and evaluated image classification after large-scale pretraining. The authors compared the resulting models with convolutional approaches and investigated transfer to several visual benchmarks. Dosovitskiy and colleagues’ Vision Transformer paper is direct evidence that the architecture’s relevance extended beyond the original language tasks.
The interesting abstraction is that a sequence element need not be a word. A model can operate on representations of other kinds of input, provided the representation and training setup make the relevant structure available. That is an analytical interpretation of the connection, not a claim that all modalities become interchangeable. An image patch and a text token have different statistical and spatial properties. Successful transfer therefore demonstrates adaptability while preserving a role for domain-specific design. The historical significance lies in the range of productive adaptations, not the disappearance of those differences.
Efficiency remained an unfinished problem
FlashAttention later addressed a systems bottleneck in attention computation: data movement between levels of GPU memory. Its exact attention algorithm used tiling to reduce high-bandwidth-memory reads and writes, and the paper reported speed improvements on specified model and sequence-length settings. It distinguished this approach from approximations that reduce arithmetic complexity but do not necessarily improve wall-clock performance. Dao and colleagues’ FlashAttention paper makes that distinction explicit.
The important consequence is that an architectural success can create a new engineering frontier. More efficient execution of a familiar mathematical operation can change which context lengths or model sizes are practical. It is therefore misleading to describe the Transformer as having permanently solved computational efficiency. Hardware characteristics, memory use and implementation details remain part of the story. A comparison should state whether it concerns operation counts, memory consumption, elapsed training time or cost, because an improvement in one does not establish the same improvement in all the others.
Scale required its own research
The Chinchilla study investigated the balance between parameter count and training data under a fixed compute budget. Its authors trained hundreds of models and argued that several contemporary large models had too few training tokens relative to their size. Their experiments supported scaling model size and token count together, and they tested that conclusion with a 70-billion-parameter model. Hoffmann and colleagues’ compute-optimal training paper documents this later empirical result.
For this timeline event, the connection limits a common retrospective simplification. Having a scalable architecture does not tell a team how to allocate a training budget. Bigger is not a complete experimental specification; the quantity and character of training data matter as well. This report’s interpretation is that the Transformer enabled an expanding design space whose best operating points still had to be discovered. That is stronger evidence of a productive foundation than a claim that one initial experiment contained the recipe for every future system.
Attention is not an explanation of everything
Jain and Wallace examined whether attention distributions provide faithful explanations for predictions. In their experiments, attention weights could disagree with gradient-based importance measures, and substantially different attention distributions could yield equivalent predictions. Their findings challenged treating attention visualizations as automatic explanations. Attention is not Explanation should be read within its tested settings, rather than as proof that every possible use of attention is uninterpretable.
The broader caution is methodological. An appealing visualization can suggest a hypothesis about what a model uses, but causal claims require stronger tests. Similarly, a strong translation result does not establish consciousness, general reliability or competence outside the evaluated tasks. Historical significance and current trustworthiness are different questions. A technology can be foundational precisely because it creates new capabilities and new failure modes that subsequent work must investigate.
How to place the event in AI history
The evidence supports treating the Transformer as a major architectural turning point, with identifiable predecessors and documented descendants. The narrow original result concerns sequence modelling and translation; the wider historical judgment comes from examining later language, vision, scaling and systems work together. Those are different levels of claim and should remain distinguishable when reading the timeline.
A useful way to navigate outward is to follow three questions. Which earlier idea supplied a necessary component? Which later project reused the architecture while changing another ingredient? Which limitation required an additional discovery? This structure prevents a timeline from becoming a list of victorious product names. It also makes room for contributions in optimization, representation and implementation that are less visible to end users but essential to the models they encounter. The event matters because it reorganized a research trajectory, not because it made the rest of that trajectory inevitable.
References
- Vaswani et al. (2017). Attention Is All You Need.
- Sutskever, Vinyals and Le (2014). Sequence to Sequence Learning with Neural Networks.
- Bahdanau, Cho and Bengio (2014). Neural Machine Translation by Jointly Learning to Align and Translate.
- Wu et al. (2016). Google’s Neural Machine Translation System.
- Gehring et al. (2017). Convolutional Sequence to Sequence Learning.
- Uszkoreit (2017). Transformer: A Novel Neural Network Architecture for Language Understanding.
- He et al. (2015). Deep Residual Learning for Image Recognition.
- Ba, Kiros and Hinton (2016). Layer Normalization.
- Kingma and Ba (2014). Adam: A Method for Stochastic Optimization.
- Sennrich, Haddow and Birch (2015). Neural Machine Translation of Rare Words with Subword Units.
- Devlin et al. (2018). BERT.
- Raffel et al. (2019). Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer.
- Brown et al. (2020). Language Models are Few-Shot Learners.
- Dosovitskiy et al. (2020). An Image is Worth 16x16 Words.
- Dao et al. (2022). FlashAttention.
- Hoffmann et al. (2022). Training Compute-Optimal Large Language Models.
- Jain and Wallace (2019). Attention is not Explanation.
Cite this report
Chronicle. (2026, September 10). Transformer (2017): Attention is all you need. https://epoch.founden.co/events/attention-is-all-you-need
Connected developments
Follow the ideas behind this event and the developments that came after it. Connections indicate conceptual or historical relationships, not proof of sole causation.
Later link to attention · 1982Hopfield network: Memory as an energy landscapeSame optimizer, new architecture · 1986Learning by backpropagationDisplaced by parallel attention · 1997LSTM: Neural networks learn to rememberNew way to consume context · 2003Neural probabilistic language model: Words become learned representationsNeural route to question answering · 2011IBM Watson: Watson wins Jeopardy!Additive attention it builds on · 2014Attention mechanism (Bahdanau, Cho and Bengio): Learning where to lookEncoder-decoder predecessor · 2014Sequence-to-sequence learning: One sequence becomes anotherTrained with Adam and warmup · 2014Adam optimizer: Adam changes the training toolkitResidual connections · 2015ResNet: Depth without the degradationThe LSTM system it surpassed · 2016Google Neural Machine Translation: Phrase tables give way to neural networksSame-day paper, later combined · 2017Deep reinforcement learning from human preferences (RLHF): A reward learned from human choicesArchitecture lineage · 2018GPT-1: The first GPTBidirectional pretraining on it · 2018BERT reads both waysArchitecture source · 2019GPT-2 and the release debateText-to-text study of the design · 2019T5: Every language task is text-to-textArchitecture it measured · 2020Scaling laws for neural language models: Bigger models, predictably betterScaled autoregressive descendant · 2020GPT-3 scales upTransfer to vision · 2020Vision Transformer: Images become patch sequencesAttention machinery it adapted · 2020AlphaFold 2: A 50-year biology problemArchitecture lineage · 2022ChatGPT release: Hello, ChatGPTArchitecture lineage · 2023LLaMA enters the pictureArchitecture lineage · 2023Mistral 7B: A smaller open-weight contender