NAVIGATION

What is Transformer?

Definition

Transformer

A Transformer is a deep learning neural network architecture introduced in 2017 by Google researchers, based entirely on self-attention mechanisms. It processes sequential inputs in parallel, capturing long-range dependencies and serving as the foundational engine for all modern LLMs.

Why It Matters for AI Builders

Key to managing sequence memory and token weights during large language models (gpt, gemini, claude), neural machine translation, and text-to-image foundation models; optimizing Transformer prevents attention processing bottlenecks and keeps execution latencies low.

Detailed Deep Dive

The Transformer is a neural network architecture introduced in the paper "Attention Is All You Need." Based entirely on self-attention mechanisms and feedforward layers, the Transformer processes input sequences in parallel, capturing complex long-range dependencies, forming the foundation of modern generative AI.

Advertisement

Frequently Asked Questions

Q:Why did Transformers replace recurrent architectures like LSTMs?

Recurrent models process tokens sequentially, which makes them slow and difficult to parallelize on GPUs. Transformers process entire sequences simultaneously, allowing them to train on massive web-scale datasets.

Q:What is the role of positional encoding in Transformers?

Since Transformers process all sequence tokens simultaneously, they have no built-in sense of order. Positional encoding adds coordinate markers to the token vectors to convey the order of words.

Quick Facts

  • CategoryNeural Architectures
  • Key ApplicationLarge Language Models (GPT, Gemini, Claude), neural machine translation, and text-to-image foundation models.

Coverage Trend12 Weeks

12w agoToday

Cite This Term

Reference this definition in your articles, research, or documentation to credit this source:

[Transformer | SPIDITS Glossary](https://spidits.com/ai-glossary/transformer)

Transformer Media Coverage & Intelligence

RESEARCHJul 8, 2026

Powering Scientific Discovery: BYOKG and GraphRAG for Intelligent Pharmaceutical Research

In this post, we explore how Graph-based Retrieval Augmented Generation (GraphRAG) is transforming scientific research by combining graph databases with.

RESEARCHJun 25, 2026

How Agents Are Transforming Work

A new OpenAI research paper shows how AI agent are transforming work, enabling longer, more complex tasks and expanding productivity across roles.

FUNDINGJun 11, 2026

Architect Labs nabs $24M to speed up chip design projects with AI

Chip design startup Architect Labs Inc. launched today with $24 million in funding from a group of prominent investors. Kindred Ventures led the seed round. It was joined by Perplexity AI Inc. Chief Executive Officer Aravind Srinivas, Transformer co-inventor Lukasz Kaiser, former OpenAI Group PBC...