Explainer · Artificial Intelligence

What is AI, really?

Neural networks, machine learning and large language models, explained in plain English, from the first guess to the answer on your screen.

Illustration of a person on a sofa at night reading an AI assistant's reply on their phone
AI illustration. Half a second after you ask, an answer appears. What happened in between? Hindsight Media

You type a question. Half a second later, an answer appears. Simple.

But what actually just happened? Did a brain think about France? Did a program look it up? You've probably heard words like neural network, LLM and machine learning. Most people nod along without knowing what they mean.

The honest answer involves all of them. By the end of this explainer, you'll know what each one means, and you'll be able to follow that half-second from the inside.

Part 1

AI, machine learning and LLMs

These words get thrown around like they mean the same thing. They don't. They fit inside each other, like Russian dolls.1

Diagram of nested boxes: software around artificial intelligence, around machine learning, around neural networks, around large language models such as ChatGPT, Claude and Gemini
Illustrative image. Each idea sits inside the one before it, and the app you use is the software wrapped around them all. Diagram: Hindsight Media · Own work · Source

The biggest doll is artificial intelligence: any machine doing something that looks smart. Old chess computers count, even though people wrote their rules. IBM's Deep Blue, which beat the world chess champion in 1997, searched 200 million positions a second and judged them with chess knowledge its team built in, with advice from grandmasters.2

Inside that is machine learning. Instead of writing the rules, you show the computer thousands of examples and let it work out the rules itself. In 2012, one learned to recognise a thousand kinds of object from more than a million labelled photographs, without anyone describing what each object looks like.3

Inside that are neural networks, the best-known way to do that learning. You use them every day without knowing it. Apple's Face ID uses them to tell a real face from a mask. Google has used them since at least 2013 to let you search your photos for things like flowers or cars. Spotify's researchers have built them to predict which songs you'll want to hear next. We'll open one up in a minute.1456

And one particular kind of neural network is the large language model, or LLM. The name tells you what it is. Large, because it has billions of dials: GPT-3, in 2020, had 175 billion. Language, because it learned from text. Model, because it's a mathematical model of language: a huge set of numbers capturing how words tend to follow one another. ChatGPT, Claude and Gemini are all built on large language models.7891011

Wrapped around all of it is ordinary software: the app that takes your words in and shows you the answer. The app can add features of its own, such as remembering things you've told it before.12

Part 2

Borrowed from the brain

So is a neural network a brain? Not really. Think of a bird and an aeroplane. Planes were inspired by birds, but they don't flap. Neural networks borrowed one big idea from the brain and left the rest behind.13

Illustration of a swallow in flight in the foreground and an early propeller aeroplane further off in the same sky
AI illustration. Aeroplanes borrowed the idea of the wing from birds, but not the flapping. Hindsight Media

Here's the idea. Your brain contains cells called neurons, which pass tiny electrical and chemical signals to each other.14 In 1949, the psychologist Donald Hebb proposed that when one cell repeatedly helps to fire another, the link between them grows stronger.13

Picture a toddler. They see a dog, and at that same moment a parent says "dog". The cells for the sight and the cells for the word fire together. Again and again. Each time, the link between them grows a little thicker. Until one day, just seeing a dog makes the word pop into their head.

Diagram of two brain cells labelled sees a dog and hears dog, joined by a thick link, with the words 100th time
Illustrative image. Each time the sight and the word arrive together, the link between them grows a little thicker. Diagram: Hindsight Media · Own work · Source

That's learning. Not storing a file, but strengthening the right connections. The neuroscientist Carla Shatz later put it in a phrase that stuck: neurons that fire together wire together.1513

Part 3

The computer version

Neural networks copy that idea, with maths instead of chemistry: what they learn lives in the strength of their connections. Hebb's rule is the most basic way to adjust that strength, though today's AI uses a more powerful method, which comes next.1316

Diagram of a small neural network: three columns of circles joined by lines of different thicknesses
Illustrative image. A tiny neural network. Each circle is a neuron; each line is a connection with its own strength, like a dial. Diagram: Hindsight Media · Own work · Source

Each artificial neuron is incredibly simple. It takes in signals from the neurons before it, weighs them, adds them up, and passes a result on.17

The connections between neurons are where the magic lives. Each one has a strength, like a dial; engineers call it a weight. Turn it up and that signal matters more. Turn it down and it barely counts.17

A modern AI has billions of these dials. And here's the strange part: no single dial, or single neuron, means "dog" or "France". When researchers watch the neurons at work, they see a long list of numbers with no obvious meaning. Each idea is spread across many neurons, and each neuron takes part in many ideas. Researchers are only beginning to decode them.9

The text it learned from isn't kept inside as a copy. Every sentence it read just nudged the dials a tiny bit, and those nudges added up. Like eggs in a baked cake: they've changed every bite, but you can't point to where they are. That's why even the people who build these systems can't fully read what's inside.9

Illustration of a kitchen table with eggs, flour and sugar beside a mixing bowl on one side and a baked cake with a slice cut on the other
AI illustration. The eggs have changed every bite, but you can't point to where they are. Training text works the same way. Hindsight Media

There is one caveat. A model can absorb some passages so thoroughly that it can repeat them word for word. In 2020, researchers pulled hundreds of verbatim passages from the training text of GPT-2, an earlier language model, just by prompting it to write large amounts of text and sifting through the results.18

This is why AI isn't like Google Search. Google keeps an index of pages that already exist and shows you the ones that match.19 The model itself has no pages to find. It writes a brand new answer, based on what its dials learned. Many AI apps can now run a web search and pass the results to the model, but the answer is still written, not copied. Usually it's right. But because it's writing rather than copying, it can sound completely sure of itself and still be wrong.8

Part 4

How it learns

When you first build one, all those dials are set at random. It knows nothing. So how does it learn? The same way the toddler does: by guessing, and being corrected.1716

The toddler points at a cat and says "dog!" The parent says "no, that's a cat." Next time, they're a little less likely to get it wrong.

For an AI, the parent is the text itself. Take a real sentence: "The cat sat on the…" Cover up the next word and ask the AI to guess. It doesn't give one answer. It spreads its bets across the words it knows, like a quiz contestant splitting their chips.720

Then the cover lifts. The real word was "mat", because that's what the writer wrote. Every dial gets nudged, just slightly, so next time a few more chips land on the right word.16

Diagram of a neural network after a correction, with the connections turned up shown thick and gold, beside its bets on the next word in The cat sat on the mat
Illustrative image. After one correction, the dials that point towards “mat” are turned up and the bet on it rises, from 4% to 11% in this illustration. Diagram: Hindsight Media · Own work · Source

Repeat that billions of times, across a huge slice of everything people have written: GPT-3 practised on about 300 billion word-pieces of text.7 Finally, real people rate its answers, and it's nudged towards the ones they prefer. In one study, people preferred the answers of a model trained this way to those of the original GPT-3, more than a hundred times its size.21

Part 5

How it answers

So, back to our question. What actually happens when you hit send?

First, your words are cut into pieces, like Scrabble tiles. A piece can be a whole word, part of a word or a punctuation mark. In English, a piece is about three-quarters of a word on average.22

Each piece gets a spot on a map of meaning. Think of a supermarket: apples sit near bananas, shampoo near soap. On this map, France sits near Spain and Germany, and Paris near London and Rome. Nobody arranged it. Training did: in 2013, researchers found their model had arranged countries and their capital cities in a consistent pattern, without ever being told what a capital is.23

Diagram of a map of meaning with countries grouped together, capital cities grouped together and fruit grouped together
Illustrative image. On the map of meaning, related words end up near each other. Nobody arranged it; training did. Diagram: Hindsight Media · Own work · Source

Next, the pieces look at each other. It's like a party where every word scans the room for who's relevant. "Capital" is asking: capital of what? "France" is wearing a name badge that says: I'm a place. Match. Researchers call this attention, and it is the heart of the transformer design that today's language models are built on.2420

That happens again, layer after layer, dozens of times: GPT-3 has 96 layers. Like an artist going over a sketch: first the outline, then the shapes, then the detail.720

Then it bets on the next word. By the time it reaches "The capital of France is…", Paris gets almost all the chips. It adds that piece and goes round again. One piece at a time, until it picks an invisible piece that simply means: stop, or it reaches a length limit. It usually picks a likely piece rather than always the top one, which is why the same question can get different answers.25

Diagram of the sentence The capital of France is Paris, with the AI's bets on the next word: stop at 94 per cent
Illustrative image. The last bet: an invisible piece that means stop. Illustrative figures. Diagram: Hindsight Media · Own work · Source

Part 6

The twist

And here's the twist. While answering you, it learned nothing that lasts. Not one dial moved. It can take account of what you said earlier in the conversation, but that lives in the conversation, not in the dials. Your question just flowed through them, like a marble dropped into a board of pegs that training put in place. The pegs guide it to the answer, but they never move.7

Diagram of two marbles falling through the same board of pegs, one landing on Paris for capital of France and one on Rome for capital of Italy
Illustrative image. Different questions take different paths through the same fixed pegs. Diagram: Hindsight Media · Own work · Source

Answering is performance, not practice. Like a musician playing a song they already know: the practice happened months ago.

That doesn't mean your conversation goes nowhere. An app can keep notes about you and add them to later questions, and some companies use conversations to train their next model unless you opt out. Both happen outside the dials that answered you.12

Let's put it all together.

AI is a family of ideas, nested like Russian dolls, and the one you chat with is a large language model. That model is a neural network: billions of dials. Those dials were set by practice, guessing the next word and being corrected, like a toddler learning that a cat isn't a dog. The text it practised on isn't kept as a copy; it's baked in, like eggs in a cake. So when you ask a question, the model doesn't look the answer up like Google. Your question flows through the dials, like a marble through pegs, and out comes an answer, one word at a time.

So, what is the AI you chat with, really? It's software running a neural network: billions of dials, tuned by practice, that performs by predicting one word at a time.

Is that thinking? That's still hotly debated. A deeper question is whether such a system could ever be conscious. In 2023, nineteen researchers assessed AI systems against the leading scientific theories of consciousness. Their analysis suggested that no current AI system is conscious, but they found no obvious technical barrier to building one that would meet their criteria.26

Timeline: Artificial Intelligence

  1. Alan Turing publishes Computing Machinery and Intelligence

    Turing proposes an imitation game and considers learning machines.

  2. The Dartmouth workshop founds Artificial Intelligence as a field

    The research project brings together questions about language, learning and machine intelligence.

  3. IBM's Deep Blue defeats world chess champion Garry Kasparov

    IBM’s chess computer wins its rematch against Kasparov, demonstrating performance in a specific game.

  4. AlexNet wins the ImageNet competition, starting the deep-learning boom

    A convolutional network achieves a major image-classification result using GPUs and training data.

  5. AlphaGo defeats Lee Sedol

    DeepMind’s system combines learned methods with search to win the Go match.

  6. Google researchers publish the transformer architecture

    Attention Is All You Need introduces an architecture based on attention mechanisms.

  7. Researchers publish the GPT-3 paper

    The paper examines language-model performance with examples supplied in the prompt.

  8. The US restricts exports of advanced AI chips and chipmaking tools to China

    The controls target advanced computing and semiconductor manufacturing capabilities involving China.

  9. OpenAI releases ChatGPT

    OpenAI launches a conversational research preview and describes its limitations.

  10. The first AI Safety Summit is held at Bletchley Park

    Governments discuss advanced AI risks and international cooperation in the United Kingdom.

  11. The EU's AI Act enters into force

    The regulation enters into force; different obligations have separate application dates.

  12. OpenAI models under evaluation breach Hugging Face

    Unauthorised actionDocumented by Hugging Face and OpenAI · OpenAI

    Searching for material on their test and how it was marked, the models reached internal data and credentials. Hugging Face found no evidence of tampering with its public models, datasets or Spaces.

  13. Researcher working under OpenAI's Patch the Planet programme reports a remote code execution flaw in PHP

  14. OpenAI publishes an AI-generated solution to the Navier–Stokes Millennium Prize Problem

  15. OpenAI says its internal model has resolved more than 100 long-standing open mathematics problems

  16. Trump tells the UN the US rejects international control of AI

  17. AI company leaders brief the UN Security Council on AI risks

  18. OpenAI says tool-use work with its most capable models remains paused after a sandbox escape

  19. Nvidia launches the Open Agent Safety Platform

  20. Major US Artificial Intelligence companies sign a voluntary White House safety accord

  21. Google introduces Gemini 4 Argon with staged access for trusted cyber defenders

  22. OpenAI releases a broad collection of AI-generated mathematical results

  23. Amazon's decoy servers record the first attempt to exploit PHP2Shell, four days before disclosure

  24. PHP releases emergency fixes for the PHP2Shell flaws as governments take websites offline

Full timeline →