Part 1: Language models · Optional reading
How we got here
Six turning points, from image recognition to agents, and the chapters that explain each one.
The rest of this guide explains how today’s systems work. This page is about the order in which the pieces arrived. It’s optional, and it’s a simplification: every step below rests on decades of earlier work, and on faster chips and more data as much as on any single idea.
The rest of the page tells the same story with a little more detail.
2012: neural networks start winning
A neural network is a program that learns from examples by adjusting millions of numbers. For decades it was one approach to AI among several, and not the favoured one: the leading methods worked with rules and symbols written by hand, and in computer vision with hand-engineered features, which the field gave up after 2012, as three of deep learning's pioneers later described itsource. That changed with one contest result. In the 2012 ImageNet contest, a deep neural network built by Krizhevsky, Sutskever and Hinton made errors on 15.3% of test images, where the runner-up made them on 26.2%source. The network itself was an old idea. This time it had far more labelled images to learn from, more layers, and graphics chips to train on. Within a few years this approach, now called deep learning, was the default for images and speech, and then for text.
How learning by adjusting numbers works: Training.
2013 to 2016: learning by trial and error
Deep learning needs examples that come with the right answer. Reinforcement learning is a different way to learn: try something, get a score, adjust. The two fit together, because one is a kind of model and the other a way to train it. DeepMind, a London start-up that Google bought, combined them. In 2013 DeepMind showed one network learning to play seven Atari video games from nothing but the screen and the score, and beating a human expert at three of themsource. Go was the harder test, because it has far too many positions to search through: in January 2016 DeepMind reported that AlphaGo, which combined neural networks with a search through possible moves and was trained first on human games and then by playing against itself, had beaten a professional Go player, something expected to be a decade away; that March it beat Lee Sedol, one of the world's strongest players, four games to onesource.
This strand goes quiet for a few years in the story of language models. It comes back in the last two steps.
2017: the transformer
Until then, networks read text one word after another, which made long texts slow to train on and easy to lose track of. In June 2017 a team at Google working on machine translation proposed the transformer, a design built on attention alone, which looks at all the words of a text at oncesource. Because it handles a whole text in one go, it could be trained on far more text than anything before it. Its authors were trying to improve machine translation. The design turned out to be general: the same architecture now handles images and audio as well, as Beyond autocomplete explains.
How it works: Attention and Inside the stack.
2018 to 2020: read everything first
The next idea was to train a transformer on plain text with a simple exercise, such as guessing a hidden or the next word, and only afterwards adapt it to a job. Google's BERT (October 2018) was first trained on plain, unlabelled text and then needed just one extra layer to be adapted to a new language tasksource. Then the models grew. OpenAI's GPT-3 (2020), a text predictor with 175 billion parameters, could take on new tasks from a few examples written into the prompt, with no further trainingsource. A big enough text predictor, it turned out, could be steered with words alone.
This is reading, the first of the three stages in the opening chapter. More in Tokens and Generating.
2022: a predictor becomes an assistant
A raw text predictor continues text. Ask it a question and it may reply with more questions. The missing step was the second stage, apprenticeship: show the model helpful conversations and train it on which answers people prefer. That last part is where trial and error comes back, in a mild form: the model tries an answer, and the score comes from people’s preferences. ChatGPT, released on 30 November 2022, was a language model trained to hold a conversation, using reinforcement learning from people's feedback on its answers, a method OpenAI had published that Marchsource. Most of the technology already existed. ChatGPT put it behind a chat window that anyone could use.
More in Training.
2024 onwards: practice on checkable tasks
The next step removes the person from the scoring. Models now practise on tasks whose results can be checked automatically, such as maths with known answers or code with tests, much as AlphaGo practised by playing: since late 2024, training on checkable tasks such as maths and code has produced "reasoning models": OpenAI's o1 used large-scale reinforcement learning, and DeepSeek-R1 published the recipeNov 2026. Models trained this way work through long problems more carefully and use tools more reliably, and a model that uses tools in a loop is what this guide calls an agent.
More in Beyond autocomplete and The agent loop.
What this story leaves out
- Hardware and data. None of these steps would have worked without graphics chips and without text and images at the scale of the internet.
- Everyone else. Each “first” above built on earlier work by many groups, and neural networks themselves go back to the middle of the last century.
- The roads not taken. This is the story as told from where the field stands now. Other approaches lost out, for the time being, and Where research is heading lists ideas that may yet replace parts of today’s design.
Read it with some doubt
A story like this one makes progress look inevitable. It wasn’t, and the people closest to it were sometimes wrong. Around the time of the 2012 result, the leading computer-vision conference turned down a paper from Yann LeCun's group because it used neural networks, as the winning team later recalled; many researchers had concluded that deep networks were simply too hard to trainsource. The field was confident when it dismissed the idea behind everything on this page, and it is confident again today.
So treat confident forecasts the same way in both directions, the ones that promise everything and the ones that say it’s all hype: ask what the evidence is and who is offering it. How to judge AI claims shows how.
Remember this
- Today's systems combine three older ideas: deep neural networks, the transformer, and learning by trial and error.
- ChatGPT was a packaging step. What it ran on had been building for a decade.
- Every step needed scale as much as a new idea: more data and more computing power.
- The experts' consensus has been wrong before. Ask for the evidence behind confident forecasts, hopeful or dismissive.
Further reading
- The Bitter Lessonno background neededRich Sutton, 2019 · cs.utexas.eduOne page on why methods that scale with computing power keep beating hand-built knowledge. The idea behind every step on this page.
- Deep Learning for AIBengio, LeCun, Hinton, 2021 · cacm.acm.orgThree of the people behind deep learning on where it came from and what it still can't do. Free to read.
- Genius Makers: The Mavericks Who Brought AI to Google, Facebook, and the Worldno background neededCade Metz, 2021 · penguinrandomhouse.comThe deep-learning side of the story, told through its researchers and the companies that hired them.
- The Infinity Machine: Demis Hassabis, DeepMind, and the Quest for Superintelligenceno background neededSebastian Mallaby, 2026 · cfr.orgThe trial-and-error side, told from inside DeepMind. One lab's view of a story with many labs in it.
- Artificial Intelligence: A Guide for Thinking Humansno background neededMelanie Mitchell, 2019 · melaniemitchell.meThe sceptical counterweight: a researcher on what was achieved, what was oversold, and how far these systems are from understanding.
- Attention Is All You NeedVaswani and colleagues, 2017 · arxiv.orgThe transformer paper itself. Short, and more readable than its reputation.
Chapter complete
Spotted a mistake? Report it on GitHub. Every fix is listed in the monthly field notes.