Two Forks After 2017: Masked Encoders vs. Autoregressive Decoders

In 2018, the Transformer family split cleanly into two camps. Google's BERT trained a bidirectional encoder with masked language modeling and immediately dominated every NLP benchmark once fine-tuned on task-specific datasets. Meanwhile, OpenAI's GPT-1 and GPT-2 stuck to unidirectional next-token prediction.

At first glance, BERT looked more sample-efficient for classification and extraction. GPT-2's 1.5B-parameter release hinted at a stranger property, however: without changing a single weight, a sufficiently large language model could perform translation, summarization, and question answering simply from natural-language phrasing.

Empirical Scaling Laws Turned Research Into Engineering

In early 2020, Kaplan et al. showed that cross-entropy loss follows remarkably smooth power laws across orders of magnitude in parameters, dataset size, and compute. Performance was no longer a lottery of clever task-specific architectures; it became a predictable curve governed by scale.

Months later, GPT-3 (175B) demonstrated in-context learning at a shockingly broad level. Supplying three or four examples directly inside the prompt rivaled supervised models trained on thousands of labeled samples. Prompting became a new programming interface.

The Chinchilla Correction: Models Were Starved of Tokens

DeepMind's 2022 Chinchilla paper reshaped every pre-training recipe that followed. Earlier scaling runs had over-indexed on parameter count while under-training on tokens. Chinchilla proved that for a fixed compute budget, parameters and training tokens should scale roughly equally (~20 tokens per parameter for compute-optimal training).

Even more importantly for deployment, labs soon realized that if inference cost dominates over a model's lifetime, it pays to deliberately over-train smaller models far past Chinchilla optimality—hundreds or thousands of tokens per parameter—packing far higher capability into cheaper serving footprints.