SAN FRANCISCO, July 25 — A 2017 paper titled “Attention Is All You Need,” published by researchers at Google, introduced the transformer architecture. That design has since become the dominant framework for large-scale artificial intelligence systems spanning natural language processing, computer vision, robotics, and chess. According to the original paper, the transformer is a family of neural network architectures built on a multi-head attention mechanism.
Text is converted into numerical tokens via a word-embedding table. Each token is then contextualized across a context window using parallel multi-head attention, which amplifies key signals while diminishing less important ones.
Because self-attention alone is permutation-invariant — it does not inherently preserve word order — positional encodings or learned positional embeddings are injected into the model.
Parallel processing, quadratic cost
The architecture marked a sharp departure from earlier recurrent neural networks such as long short-term memory (LSTM). Unlike RNNs, which process tokens sequentially, transformers have no recurrent units. That design allows parallel processing, significantly reducing training time.
But the record shows a trade-off: transformers require computation time quadratic in the size of the context window, while RNNs scale linearly, albeit with sequential processing. Modern transformer designs are grouped into three variants.
Encoder-only models are optimized for representation learning. Decoder-only models are designed for autoregressive generation. Encoder-decoder architectures handle conditional sequence-to-sequence tasks.
This taxonomy, according to the published research, allows each variant to be tailored to specific use cases.
Predecessors and legacy
The transformer did not emerge in a vacuum. The Elman network, a plain RNN first described in 1990, suffered from the vanishing-gradient problem. LSTM, first described in a 1995 technical report and formally published in 1997, introduced multiplicative gating units to mitigate vanishing gradients but still processed tokens sequentially.
Another predecessor, the fast weight controller from 1992, learned to compute weight matrices for further processing. None of these earlier architectures could match the transformer’s parallel training efficiency.
On the timeline, the transformer led directly to pre-trained systems such as generative pre-trained transformers, or GPTs, and bidirectional encoder representations from transformers, known as BERT. These models have been applied across computer vision — under the name vision transformers — as well as reinforcement learning, audio processing, multimodal learning, and robotics. The 2017 paper carries no named individual authors in the source material beyond the Google team.
What is clear from the record is that the architecture has reshaped the field, offering a scalable foundation that continues to drive both research and deployed systems. Industry analysts are watching how the transformer’s quadratic computational cost will be addressed in next-generation designs, and whether hybrid approaches combining attention with other mechanisms can sustain the pace of innovation.





