What is the transformer neural network architecture?
The transformer is a deep learning architecture built on a multi-head attention mechanism, which converts input data into tokens and processes them in parallel. Introduced in a 2017 paper by Google researchers including Ashish Vaswani, it avoids sequential token processing to allow much faster training than older recurrent neural networks. Today, transformers form the foundational architecture behind large language models, computer vision systems, and modern AI applications.
What we know
- The transformer neural network architecture relies on a multi-head attention mechanism to contextualize input tokens within a context window. [3]
- Transformers enable computations to be parallelized across sequence positions during training more readily than recurrent neural networks like LSTM. [3]
- The original transformer architecture was proposed in the 2017 paper 'Attention Is All You Need' by researchers at Google, including co-author Ashish Vaswani. [2, 3]
- Transformer models are used across large-scale natural language processing, computer vision, reinforcement learning, audio, and multimodal learning. [3]
Where to go next
- whoWho is Ashish Vaswani?
- what followedWhat is a large language model?
- how it workedHow do residual neural networks work?
- how we knowWhat was the paper Attention Is All You Need?
- compared withWhat are recurrent neural networks?
- an unexpected connectionHow does protein folding connect to language transformers?The residual connection motif that stabilizes training in deep transformer language models is also a common architectural component used in the AlphaFold system.
Sources
- [1]Ashish Vaswani (Wikidata Q44749723) · CC0 1.0
- [2]Ashish Vaswani · CC BY-SA 4.0
- [3]Transformer (deep learning) · CC BY-SA 4.0
- [4]Large language model · CC BY-SA 4.0
- [5]Residual neural network · CC BY-SA 4.0