46 Transformer Era: Research Landscape
← Back to: The Transformer Era — A Map
46.1 Chronological timeline
| Year | Work | Family | Notes |
|---|---|---|---|
| 2017 | Sparse MoE Shazeer et al. |
Arch |
|
| 2017 | Transformer [@vaswani2017] Vaswani et al. |
Enc-Dec |
|
| 2018 | GPT-1 [@radford2018gpt] Radford et al. (OpenAI) |
Dec-only |
|
| 2018 | BERT [@devlin2019] Devlin et al. (Google) |
Enc-only |
|
| 2019 | GPT-2 [@radford2019gpt2] Radford et al. (OpenAI) |
Dec-only |
|
| 2019 | RoBERTa [@liu2019roberta] Liu et al. (Facebook) |
Enc-only |
|
| 2019 | T5 [@raffel2020] Raffel et al. (Google) |
Enc-Dec |
|
| 2019 | BART [@lewis2019bart] Lewis et al. (Facebook) |
Enc-Dec |
|
| 2020 | Scaling laws [@kaplan2020] Kaplan et al. (OpenAI) |
Research |
|
| 2020 | GPT-3 [@brown2020] Brown et al. (OpenAI) |
Dec-only |
|
| 2020 | ViT [@dosovitskiy2021] Dosovitskiy et al. (Google) |
Enc-only |
|
| 2021 | Switch Transformer [@fedus2021switch] Fedus et al. (Google) |
Arch |
|
| 2021 | CLIP [@radford2021clip] Radford et al. (OpenAI) |
Multimodal |
|
| 2021 | AlphaFold 2 [@jumper2021] Jumper et al. (DeepMind) |
Science |
|
| 2021 | Codex [@chen2021codex] Chen et al. (OpenAI) |
Dec-only |
|
| 2022 | Chinchilla [@hoffmann2022] Hoffmann et al. (DeepMind) |
Research |
|
| 2022 | LoRA [@hu2022lora] Hu et al. (Microsoft) |
PEFT |
|
| 2022 | Chain-of-Thought [@wei2022cot] Wei et al. (Google) |
Prompting |
|
| 2022 | Flash Attention [@dao2022flashattn] Dao et al. (Stanford) |
Efficiency |
|
| 2022 | InstructGPT [@ouyang2022] Ouyang et al. (OpenAI) |
Alignment |
|
| 2022 | Whisper [@radford2022whisper] Radford et al. (OpenAI) |
Enc-Dec |
|
| 2022 | ChatGPT OpenAI |
Dec-only |
|
| 2023 | QLoRA [@dettmers2023qlora] Dettmers et al. (UW) |
PEFT |
|
| 2023 | Speculative decoding [@chen2023speculative] Chen et al. (Google) |
Efficiency |
|
| 2023 | LLaMA [@touvron2023llama] Touvron et al. (Meta) |
Dec-only |
|
| 2023 | GPT-4 OpenAI |
Dec-only |
|
| 2023 | DPO [@rafailov2023] Rafailov et al. (Stanford) |
Alignment |
|
| 2023 | Mistral 7B [@jiang2023mistral] Jiang et al. (Mistral AI) |
Dec-only |
|
| 2023 | Mamba [@gu2023mamba] Gu & Dao (CMU / Stanford) |
Alt-Arch |
|
| 2023 | Gemini [@team2023gemini] Google DeepMind |
Multimodal |
|
| 2024 | o1 OpenAI |
Dec-only |
|
| 2024 | Sora OpenAI |
Video |
|
| 2024 | DeepSeek-V2 / MLA [@deepseekv2team2024] DeepSeek AI |
Efficiency |
|
| 2025 | DeepSeek-R1 DeepSeek AI |
Dec-only |
|
46.2 By architecture family
Encoder-Decoder
Two stacks: encoder reads the full source bidirectionally; decoder generates target tokens autoregressively with cross-attention to all encoder states. The original Transformer family, and still dominant for structured generation (MT, summarisation, speech).
| Work | Year | Key specialisation |
|---|---|---|
| Transformer (Vaswani et al., 2017) | 2017 | Machine translation; established the architecture |
| T5 (Raffel et al., 2020) | 2019 | Text-to-text unification; systematic scaling study |
| BART (Lewis et al., 2019) | 2019 | Denoising pretraining; strong summarisation |
| Whisper (Radford et al., 2023) | 2022 | Multilingual speech; weak-supervision at scale |
| mT5 (Xue et al., 2021) | 2021 | Multilingual T5 across 101 languages |
Encoder-decoder peaked around 2020–2022. Decoder-only models at sufficient scale can perform the same tasks, reducing incentive to maintain the split.
Encoder-only
A bidirectional Transformer pretrained on a self-supervised objective; fine-tuned representations for downstream tasks. Strong for classification, extraction, and retrieval; cannot generate fluently.
| Work | Year | Objective | Key strength |
|---|---|---|---|
| BERT (Devlin et al., 2019) | 2018 | MLM + NSP | Bidirectional; defined fine-tuning paradigm |
| RoBERTa (Liu et al., 2019) | 2019 | MLM only | Better training recipe; new BERT baseline |
| ViT (Dosovitskiy et al., 2021) | 2020 | Patch classification | Transformers for vision |
| CLIP (Radford et al., 2021) | 2021 | Contrastive image-text | Universal multimodal backbone |
| DeBERTa (He et al., 2021) | 2021 | MLM + disentangled attn | Disentangled position representations |
Now used primarily for embeddings, retrieval (dense passage retrieval, bi-encoders), and cross-modal alignment rather than generation.
Decoder-only
A causal (left-to-right) Transformer pretrained as a language model. By 2022 this family dominates every benchmark and every major product.
| Work | Year | Scale | Key advance |
|---|---|---|---|
| GPT-1 (Radford et al., 2018) | 2018 | 117M | Pretraining + fine-tuning paradigm |
| GPT-2 (Radford et al., 2019) | 2019 | 1.5B | Zero-shot task transfer |
| GPT-3 (Brown et al., 2020) | 2020 | 175B | In-context few-shot learning; emergence |
| Codex (M. Chen et al., 2021) | 2021 | 12B | Code generation; GitHub Copilot |
| InstructGPT (Ouyang et al., 2022) | 2022 | 175B | RLHF alignment |
| LLaMA (Touvron et al., 2023) | 2023 | 7–65B | Open weights; modern SLM architecture stack |
| GPT-4 | 2023 | undisclosed | Multimodal; SOTA across all benchmarks |
| o1 | 2024 | undisclosed | Test-time compute scaling |
| DeepSeek-R1 | 2025 | 671B (MoE) | Open frontier reasoning model |
Mixture of Experts (MoE)
A routing mechanism layered on top of any Transformer: each token activates only a subset of FFN experts, keeping active compute constant while total parameters grow.
| Work | Year | Routing | Notable use |
|---|---|---|---|
| Sparse MoE (Shazeer et al., 2017) | 2017 | Top-k soft gate | Founding paper; 137B params |
| Switch Transformer (Fedus et al., 2022) | 2021 | Top-1 hard | Trillion-param training |
| Mixtral 8×7B (Jiang et al., 2024) | 2024 | Top-2 of 8 | First competitive open MoE |
| DeepSeek-V3 (2024) | 2024 | Top-2 of 256 | 671B sparse; frontier quality at open cost |
MoE is the dominant architecture at frontier scale. GPT-4, Gemini 1.5, and almost every post-2023 flagship model is believed to use sparse MoE.
Methods: training, alignment, efficiency
Works that changed how models are trained, aligned, or deployed without introducing a new architecture family.
| Work | Year | Type | Core contribution |
|---|---|---|---|
| Scaling laws (Kaplan et al., 2020) | 2020 | Training | Power-law training budgets |
| Chinchilla (Hoffmann et al., 2022) | 2022 | Training | Optimal token/param ratio; equal scaling |
| LoRA (Hu et al., 2022) | 2022 | PEFT | Low-rank weight injection; 10 000× fewer trainable params |
| Chain-of-Thought (Wei et al., 2022) | 2022 | Prompting | Intermediate reasoning steps unlock multi-step tasks |
| Flash Attention (Dao et al., 2022) | 2022 | Efficiency | IO-aware exact attention; 2–4× speedup |
| InstructGPT RLHF (Ouyang et al., 2022) | 2022 | Alignment | PPO from human preferences |
| DPO (Rafailov et al., 2023) | 2023 | Alignment | Closed-form preference loss; replaces PPO |
| RAG (Lewis et al., 2020) | 2020 | Retrieval | Non-parametric memory: retrieve passages, condition generation on them |
| RoPE (Su et al., 2024) | 2021 | PE | Rotary position encoding; adopted by LLaMA family |
| MQA (Shazeer, 2019) | 2019 | Efficiency | Multi-query attention: all Q heads share one K,V head |
| GQA (Ainslie et al., 2023) | 2023 | Efficiency | Grouped-query: G shared KV groups; interpolates MHA↔︎MQA |
| MLA (DeepSeek-AI, 2024) | 2024 | Efficiency | Low-rank KV compression; up to 93% KV cache reduction |
| QLoRA (Dettmers et al., 2023) | 2023 | PEFT | 4-bit NF4 quantisation + LoRA adapters; single-GPU fine-tuning |
| Speculative decoding (C. Chen et al., 2023) | 2023 | Efficiency | Draft-verify pipeline; 2–3× throughput, exact distribution |
Alternative architectures: beyond quadratic attention
The Transformer’s \(O(N^2)\) attention cost motivates research into sub-linear alternatives. None has displaced Transformers at scale, but Mamba and hybrids are serious contenders for 2025–2026.
| Work | Year | Mechanism | Status |
|---|---|---|---|
| Mamba (Gu & Dao, 2023) | 2023 | Selective SSM — input-dependent state transitions | Competitive at small scale; Mamba-2 unifies SSM ↔︎ attention |
| RWKV (Peng et al., 2023) | 2023 | Linear attention via token-shift recurrence | LLM-scale open model (14B); constant inference memory |
| RetNet (Sun et al., 2023) | 2023 | Retention: parallel train, sequential infer | “Training Parallelism + Inference Efficiency + Performance” triangle |
| Griffin (DeepMind, 2024) | 2024 | Gated linear recurrence + local attention hybrid | Matches Llama at 14B; inference-efficient |
The most likely outcome is hybrid architectures that mix attention layers (for long-range global context) with SSM or linear recurrence layers (for local computation efficiency).
46.3 By application area
| Domain | Landmark work | Available | Current state |
|---|---|---|---|
| Machine translation | Transformer 2017 | 2017 | Transformer MT is the industry standard |
| NLU / QA / classification | BERT 2018 | 2019 | Fine-tuned encoders or few-shot LLMs |
| Text generation | GPT-2 2019 | 2019 | GPT-4o, Claude 4, Gemini 2.x, LLaMA 3 |
| Code generation | Codex 2021 | 2022 (Copilot) | Claude, DeepSeek-Coder, GPT-4o |
| Image classification | ViT 2020 | 2021 | ViT, DeiT, Swin, DINO v2 |
| Image generation | CLIP + diffusion 2021 | 2022 | Stable Diffusion, DALL-E 3, Flux, Midjourney |
| Video generation | Sora (DiT) 2024 | 2024 | Sora 2, Veo 2, Kling, Wan |
| Speech recognition | Whisper 2022 | 2022 | Whisper v3, Distil-Whisper |
| Protein structure | AlphaFold 2 (Jumper et al., 2021) 2021 | 2021 | AlphaFold 3, ESMFold, ESM3 |
| Reasoning | CoT (Wei et al., 2022) + o1 2024 | 2024 | o3, DeepSeek-R1, Gemini Thinking |
| Agents and tool use | GPT-4 function calls 2023 | 2023 | Multi-agent frameworks, Claude tool use |
| Long-context understanding | Flash Attn + LLaMA 2023 | 2023 | 1M+ context windows (Gemini 1.5 Pro) |
| Efficient fine-tuning | LoRA 2022 | 2022 | QLoRA, DoRA, widely used open-source |
46.4 Reading order
Core architecture sequence (read the chapters in this order):
- Self-Attention & Multi-Head Attention
- The Transformer Architecture
- Positional Encoding
- BERT & GPT
- Output Layer & Decoding
- Scaling Laws & Emergence
- Alignment & Instruction Tuning
- Language Models — The Lineage
- Mixture of Experts
- Beyond Quadratic Attention — SSMs and Hybrids
- Multimodal Transformers
If you want the deployment angle first: start with Scaling Laws → Alignment → MoE, then work backward through the architecture chapters.