Signature
CS Topics Explained

The LLM Breakthrough Explained

From the 2017 Transformer paper to ChatGPT — the story of modern AI

The Problem

The Sequential Bottleneck

Why language models struggled before 2017

RNN/LSTM (Sequential)
The
cat
sat
down
t=0
t=4

Processing one token at a time...

Transformer (Parallel Attention)
The
cat
sat
down
The
cat
sat
down
T
c
s
d

Self-Attention: All-to-All Connections

→Curves = attention between word pairs
→Matrix = attention scores (brighter = stronger)
→Key insight: All computed in one step, not sequentially

Before transformers, RNNs and LSTMs processed text sequentially. The key insight of self-attention: let every token attend to every other token simultaneously—enabling parallelization and direct connections.

Example: "The cat sat on the mat because it was tired." When processing "it," the model computes scores between "it" and every word. "Cat" gets a high score (it refers to the cat); "the" or "on" get low scores. Information flows from relevant words.

1 of 8

Use the arrows or keyboard to navigate through the story.