Skip to content
Skip to content

14-part series

LLM Atlas

Architectural Evolution, 2017–2026

Ten years of architectural churn, in dependency order: what a language model actually is, what the Transformer replaced and why, the lineages that descend from it, and the economics that decide what gets built.

Part 01

Math Primer

Dot products, softmax, gradients. A handful of ideas carry the entire field — explained before anything depends on them.

3 min4 sections
Part 02

What Is a Language Model?

Strip away the branding and a language model is one thing: a conditional probability distribution over the next token.

8 min9 sections3 figures
Part 03

The Pre-Transformer Era

N-grams, word2vec, RNNs, LSTMs, and the attention mechanism bolted onto them. Everything the Transformer replaced, and why it needed replacing.

10 min8 sections6 figures
Part 04

Attention Is All You Need (2017)

The 2017 architecture, component by component: QKV projections, multi-head attention, positional encoding, the feed-forward block, residuals and norms.

15 min12 sections9 figures
Part 05

The Evolution of Attention

Causal masking, multi-head, grouped-query, cross-attention. The formula barely moves — what changes is where the numbers come from.

8 min7 sections7 figures
Part 06

Cluster A: Quadratic Attention O(n²)

The O(n²) lineage: sparse patterns, sliding windows, FlashAttention. Keep exact attention, attack the constant factor instead.

10 min10 sections4 figures
Part 07

Cluster B: Sub-Quadratic O(n)

The O(n) lineage: linear attention, kernel tricks, state-space models. Give up exactness, buy back the sequence length.

8 min6 sections4 figures
Part 08

Beyond the Transformer Stack

Mamba, RWKV, RetNet. Architectures that are not Transformers wearing a hat.

2 min3 sections
Part 09

Tokenizer Evolution

BPE, WordPiece, SentencePiece. The least glamorous component, and the one that quietly decides what a model can never represent.

6 min6 sections4 figures
Part 10

Activations, Optimizers & Systems

GELU and SwiGLU, LayerNorm and RMSNorm, RoPE, Adam. The unglamorous machinery that makes a deep stack trainable at all.

8 min6 sections4 figures
Part 11

Serving at Scale

KV-cache, paged attention, speculative decoding. Training is a one-off cost; inference is the bill that arrives every month.

2 min3 sections1 figures
Part 12

The Economics of Scale

Kaplan, Chinchilla, and the data wall. What the scaling laws actually claim, and where they stop.

5 min3 sections3 figures
Part 13

What Remains Unsolved

Long-context degradation, evaluation that measures the wrong thing, interpretability, and the problems no amount of compute has fixed.

8 min7 sections5 figures
Part 14

What It Means & Where It's Going

What ten years of architectural churn adds up to, and which bets still look live from here.

2 min2 sections