Skip to main content

Artificial Intelligence

How machines learn from data, what neural networks and language models actually compute, and where today's AI systems succeed, fail and need human judgement.

10 concepts. Difficulty runs from 1 (gentlest) to 5 (most demanding); every concept can also be read at the depth you choose.

AI basics

Difficulty 1-2

Artificial intelligence (AI) is the field of building machine-based systems that, for a given set of objectives, produce outputs such as predictions, recommendations or decisions. Early AI tried to write intelligence down as hand-made rules; much of modern AI instead learns patterns from data. Today's systems can be remarkably strong at some tasks and surprisingly weak at others, so knowing what an AI system was built and tested to do matters as much as knowing what it can do.

Machine learning

Difficulty 1-3

Machine learning is the part of AI in which a program improves at a task through experience — data — instead of following rules written in advance. Supervised learning learns from labelled examples, unsupervised learning finds structure in unlabelled data, and reinforcement learning learns which actions earn reward by trial and error. The real test of a learned model is not how well it fits its training data but how well it performs on new data it has never seen.

Training data

Difficulty 1-3

Training data is the set of examples a machine-learning model learns from, and it shapes everything the model can and cannot do. Data is usually split into training, validation and test sets so that the model is judged on examples it never learned from. Gaps, mislabelled examples and skewed samples in the data become gaps, errors and biases in the model, which is why datasets need documenting and checking like any other scientific instrument.

Gradient descent

Difficulty 2-4

Gradient descent is the step-by-step method most machine-learning systems use to learn: it measures how the error changes as each parameter changes (the gradient) and nudges every parameter a little way downhill. The learning rate sets the size of each step — too small and learning crawls, too large and it overshoots and can blow up. Variants such as stochastic gradient descent, momentum and Adam make it practical for models with millions of parameters.

Neural networks

Difficulty 2-4

An artificial neural network is a mathematical function built from many simple units arranged in layers: each unit multiplies its inputs by weights, adds a bias and passes the total through an activation function. Stacking layers lets the network represent patterns — such as XOR — that no single linear unit can. The weights are not written by hand but learned from data, usually by back-propagation and gradient descent; the networks are inspired by the brain but are not realistic models of it.

Computer vision

Difficulty 2-4

Computer vision is the field of getting machines to extract useful information from images and video — recognising objects, reading text, finding faces. To a computer an image is a grid of numbers; convolutional neural networks learn small filters that detect edges and textures and combine them into larger patterns. The organisers of the ImageNet challenge describe 2012 as a turning point, after which the vast majority of entries used deep convolutional networks. High benchmark scores still hide real failure modes: tiny engineered perturbations can fool models, and systems trained or tested on skewed data can be far less accurate for some groups of people.

Language models

Difficulty 2-4

A language model is a system that assigns probabilities to sequences of words — in practice, it repeatedly predicts a probability for each possible next token (a word or piece of a word) given the text so far. Large language models are neural networks with billions of parameters trained on vast amounts of text, and they can carry out many tasks described in plain language. Because they generate statistically likely text rather than looking facts up, they can state false things confidently ('hallucination'), and they reproduce biases in their training data.

AI agents

Difficulty 2-4

An AI agent is a system that perceives its environment, decides what to do and takes actions towards a goal, repeating that loop rather than giving a single answer. Today's best-known agents wrap a language model in a loop with memory, planning and tools — search, calculators, code, a computer's mouse and keyboard — so it can carry out multi-step tasks. Agents have improved quickly on benchmarks (as of the AI Index 2026) but still fail often, and acting in the world raises new risks such as compounding errors and prompt injection, so their autonomy needs limits and human oversight.

Reinforcement learning

Difficulty 2-4

Reinforcement learning (RL) is learning by trial and error: an agent takes actions in an environment, receives numerical rewards, and gradually learns which actions lead to the most reward over time. Unlike supervised learning, nobody tells the agent the right action — it must explore, and rewards may arrive long after the actions that earned them. RL produced landmark results in Atari games and Go and is used to fine-tune language models from human feedback, but an agent optimises exactly the reward it is given, which may not be what its designers meant.

Transformers

Difficulty 3-5

A transformer is a neural-network architecture, introduced in 2017, that processes a whole sequence at once using attention: every position computes how relevant every other position is and takes a weighted mix of their information. Because it drops the step-by-step recurrence of earlier language models, it trains far more in parallel; it became the de facto standard architecture for language processing, underlies large language models such as GPT-3, and has been applied to images too. Its main cost is that attention compares every pair of positions, so computation grows with the square of the sequence length.

Simulations

Change the variables and watch what happens.

3D explorers

Turn, zoom and take a guided tour.

Hands-on experiments

Activities to try, with safety guidance.

View the Artificial Intelligence concept galaxy →