AI and the Feed

How does AI actually work?

Quick Answer

Most AI you use learns patterns from huge numbers of examples. A chatbot is trained to predict the next piece of text, over and over, until its guesses sound like knowledge.

Deep and Real

Learning from examples. Instead of following rules written by people, machine learning systems adjust millions or billions of internal numbers. They keep tuning until they get good at a task, like spotting cats in photos.

A network of artificial neurons. Those numbers live in a neural network, layers of simple math units loosely inspired by brain cells. Each layer transforms the signal a little and passes it to the next.

Predicting the next word. A large language model reads text broken into small pieces called tokens. Trained on vast amounts of writing, it learns which token is likely to come next in any context.

Then people shape it. After training, human feedback teaches the model to follow instructions and avoid harmful answers. It doesn't experience the world the way you do; it works from patterns in data.

Key words: machine learning, neural network, large language model

The Numbers

  • 175 billion adjustable numbers inside GPT-3, a 2020 language model
  • 300 billion pieces of text GPT-3 read during training
  • 1956 the summer workshop that launched AI as a field
Still Unknown Researchers still can't fully explain how a large model reaches a specific answer inside its billions of numbers. A field called interpretability is trying to map what those inner parts actually do.
Pages 66-67 of The Why Book for Teens, Deep and Real: How does AI actually work?
This is how it looks in the book (pages 66-67).

Sources: Dartmouth College and studies published in arXiv. How we check our facts

More questions from AI and the Feed

All our questions