Where did ChatGPT come from?
Short answer: ChatGPT went online on 30 November 2022, but its core trick, guessing the next word, was shown by Claude Shannon in 1948. Brain-inspired networks, AlexNet in 2012, the 2017 Transformer, GPT-3 in 2020 and learning from human ratings did the rest: a revolution 74 years in the making.
How it works
A 74-year overnight revolution, in six stops:
- 11948: guess the next word. Bell Labs engineer Claude Shannon built fake English one word at a time, choosing each by what tends to follow the word before. The more each guess took into account, the more human it sounded.
- 2Late 1990s: quiet networks. A few researchers kept working on networks loosely inspired by the brain. One was reading millions of bank cheques a day, and hardly anyone called it AI.
- 32012: two gaming cards. Alex Krizhevsky trained a network on two gaming graphics cards in his bedroom. In a photo-recognition contest it cut the error rate from 26% to 15%.
- 42017: the Transformer. Eight Google researchers published "Attention Is All You Need", a design that lets every word look at every other word. It's the T in ChatGPT.
- 52020–2022: bigger, then helpful. GPT-3 had 175 billion dials. People then rated its answers and it learned from the ratings; they preferred the result even at under a hundredth of the size.
- 630 Nov 2022: online. OpenAI put it in a chat window. Five days later, it had a million users.
MYTHChatGPT came out of nowhere in 2022.
REALLYIts core trick, guessing the next word, dates to 1948. Getting good at it took 70 years of research and an unbelievable amount of electricity.
People also ask
Who invented the idea behind ChatGPT?
No single person. Claude Shannon showed next-word guessing in 1948, and the Transformer design came from eight Google researchers in 2017, their names listed in random order.
What does GPT stand for?
Generative Pre-trained Transformer. The Transformer is the 2017 design that lets every word look at every other word.
How fast did ChatGPT reach a million users?
In five days. It went online on 30 November 2022.
Read the transcript
On the 30th of November, 2022, a small company called OpenAI put a chatbot online. Its builders later said they didn't want to oversell it. Five days later, it had a million users. It seemed to come from nowhere. It didn't. The trick inside it was written down in 1948. That year, a Bell Labs engineer named Claude Shannon built fake English one word at a time, choosing each next word only by what tends to follow the word before. It's nonsense, but it's almost English. And Shannon saw that the more each guess took into account, the more human it sounded. Guess the next word. Remember that. It's the whole trick. Getting good at it took 70 years and an unbelievable amount of electricity. But a few researchers refused to quit. They kept working on networks loosely inspired by the brain, layers of tiny dials that learn by adjusting themselves. By the late 90s, one was quietly reading millions of bank cheques a day. Hardly anyone called it AI. Then 2012. A student named Alex Krizhevsky trained one on two gaming graphics cards in his bedroom at his parents' house. In a contest to recognise objects in photos, it cut the error rate from 26% to 15. His paper ended with a prophecy. Results could improve simply by waiting for faster GPUs and bigger datasets. The tech giants took that line very seriously. In 2017, eight Google researchers published a paper called "Attention is all you need." Their names listed in random order. It described the Transformer, a design that reads a whole passage at once, letting every word look at every other word. It's the T in chat GPT. Then OpenAI made it bigger. GPT-3 in 2020 had 175 billion tiny dials. But a giant word guesser isn't a helpful assistant. So people rated its answers, and it learned from the ratings. People preferred the result, even at less than a hundredth of the size. Put that in a chat window, and you get the 30th of November, 2022. An overnight revolution, 74 years in the making.
Sources we checked
- Shannon (1948): A Mathematical Theory of Communication
- Krizhevsky, Sutskever & Hinton (2012): the AlexNet paper
- Vaswani et al. (2017): Attention Is All You Need
- Brown et al. (2020): the GPT-3 paper
- Ouyang et al. (2022): InstructGPT
- MIT Technology Review: oral history of ChatGPT's launch
Spotted a mistake? Email cogling.studio@gmail.com and we'll check it.
The full video
How does AI work, and will it take my job?
It only guesses the next word. To guess well, it had to learn about our world. A 21-minute film on AI and your job.
More from this video
What should I actually do about AI and my job?
A job is a bundle of tasks. AI takes tasks. Four things the evidence says to do, starting today.
Will AI take your job? What 200 years of history says
Three times a machine came for a job: weavers in 1811, telephone operators a century ago, radiologists in 2016.
How fast is AI really moving?
From a coffee break to a working day in about three years. And what the job numbers actually say.
Does AI actually think, or just predict the next word?
It picks the rhyme before it writes the line. It taught itself to say "wait". Its makers still can't fully explain it.
How does ChatGPT actually work?
It never sees letters. It guesses the next chunk, again and again. That's every answer you've ever had from it.
More explainers
Why does AI run on a gaming card?
One chatbot answer is nearly 50 trillion sums. By hand: 1.5 million years. A gaming card: under a second. Here's how a game chip ended up running AI.
Wi-Fi from a black-hole hunt
The hunt found nothing. The maths it left behind fixed Wi-Fi's echo problem.