← back
The Latent History of AI Boom

The Latent History of AI Boom

An exploration of how the transition from RNNs to transformers and the discovery of double descent enabled the scaling of large language models like GPT.

This is the story of how AI transitioned from niche to mainstream and the pieces that fell into place to make that happen.

Picture this. It’s 2017, we’re in the era dominated by Recurrent Neural Networks (RNN) and Convolutional Neural Networks (CNN), LSTM is cutting edge. These models are tiny, and the common wisdom is that overparameterized models don’t generalize well because they memorize everything. Then the transformers paper just came out and one year later, GPT-1.

768

In 2018, Alec Radford decided GPT-1 would have 12 layers and 768 dimensions. Why? At that size, the model would fit on his dev box and training would take about a month, which was at the edge of his patience.

That’s it. No other reason.

Google then went, “oh cool,” and trained BERT.

Guess how many dimensions?

An academic paper excerpt about the BERT model architecture, highlighting that BERT BASE matched OpenAI GPT size for comparison.

“BERT BASE was chosen to have the same model size as OpenAI GPT for comparison purposes.”

Both these models were so small they’d fit on your laptop and run just fine. Because who in their right mind would go against common sense and purposely overparameterize a model to see what happens? Right?

Computer scientist Mikhail Belkin smiles slightly while wearing a dark grey suit jacket and light-colored collared shirt.

This guy did ☝️

DOUBLE DESCENT

The first time I heard of his paper was from this 2019 video which flags it as ‘really interesting’ but the concept completely blew my mind.

It goes something like this…

  1. A small model learns a bit.
  2. A larger model learns a bit more.
  3. A very large model learns everything* (this is bad).

*It’s called overfitting and it’s like memorizing everything for the exam but not being able to apply the knowledge outside of the exact exam material.

A line graph showing a downward-sloping yellow curve that suddenly bends upward in red at the far right.X=model size, Y=loss (smaller the better)

Then Mikhail goes, “to hell with it, let’s keep going see what happens, like whatever”, but he said it using smart words computer scientists use in their papers that sound like “bias variance trade-off curve” and so on.

And then this happens!!1 🤯

A line graph showing test error rising and then dropping again as model size increases, indicating the double descent phenomenon.Larger the model, the worse it gets, until suddenly…. BOOM! Starts to generalise.

And it was this precise EUREKA! moment that kickstarted the new AI revolution. Both Google and OpenAI now knew that scaling models is in facts possible, and that’s all then needed, the reassurance that it can be done.

Alright, cool what happens next?

OpenAI is like… what if we go crazy big? So they go from 117M to 1.5B parameters. Lunatics! This demonstrates emergent abilities, sparks debate about release. Google’s taking notes.

A bar chart compares model sizes, showing a massive increase from a 117M parameter model to a 1.5B parameter model.

Why stop there, keep going!

June 2020 | GPT-3 (175B params) – Shows in-context learning, few-shot capabilities.

A bar chart compares AI model parameter sizes, showing a massive increase from 117 million and 1.5 billion to 175 billion.

The Million Model Explosion

The double descent paper was the spark which ignited the million model explosion.

models

2021-2024 | Explosion: T5, PaLM, ChatGPT, GPT-4, Claude, Llama, Gemini, and countless others.

The ~3 year period from 2017-2020 completely transformed NLP, and the architecture has since conquered vision (ViT), protein folding (AlphaFold), and basically every domain that involves sequences or sets.


Dan Petrovic · Sep 01, 21:37