Transformer
Category: Neural Networks & Architectures
A neural network architecture based entirely on self-attention mechanisms that has become the dominant model for NLP and increasingly for other domains.
Full Explanation
The Transformer, introduced in the landmark "Attention Is All You Need" paper by Vaswani et al. in 2017, replaced recurrence with self-attention as the primary mechanism for modeling dependencies in sequences. It consists of encoder and decoder blocks, each containing multi-head self-attention layers and feed-forward networks, with residual connections and layer normalization. The key innovation is the self-attention mechanism, which allows every position to attend to all other positions in parallel, capturing long-range dependencies efficiently. Transformers can be massively parallelized during training, unlike RNNs. The architecture forms the basis of virtually all modern language models (GPT, BERT, T5, LLaMA) and is increasingly applied to vision (ViT), audio, protein structure, and robotics. Transformers have become the most important architecture in modern AI.
Related Terms
More in Neural Networks & Architectures
Explore More
- AI Tools Library — Discover AI tools related to Transformer
- AI Education — Courses to learn about Neural Networks & Architectures
- AI News — Latest news and updates