Maze learning in 3D

A standing display board with a graph showing errors decreasing over repeated trials in maze learning.Drag to turn

Maze learning is the study of how an animal or person improves at finding a route through a set of paths to a goal, measured by errors and time across repeated trials. It is a classic method for testing conditioning and cognitive accounts of learning.

What a maze task measures

A maze is a set of paths with choice points. Some turns lead to dead ends and one route leads to a goal box. A researcher places a rat at the start and records how long it takes to reach the goal and how many wrong turns it makes. Each run is called a trial.

Early studies in the 1900s used mazes modelled on garden mazes. Later designs include the T-maze, the radial arm maze and the Morris water maze. The T-maze offers a single left or right choice, which makes the data easy to analyse.

How reinforcement shapes the route

In operant conditioning, a behaviour becomes more likely when it is followed by a consequence that strengthens it. Food in the goal box is a reinforcer. Turns that lead toward food are followed by reward sooner, so they become more frequent. Turns into dead ends earn nothing and fade.

Early trials look like trial and error. Thorndike's law of effect describes this: responses followed by a satisfying outcome are strengthened. Maze learning also shows chaining, where each correct turn becomes the cue for the next turn, and the food rewards the whole sequence.

Speed of learning depends on conditions. Greater hunger, larger rewards and shorter delays between the final turn and the food all tend to speed learning. These patterns hold under standard laboratory conditions, and species differ in how quickly they learn.

A worked example: reading an error curve

Suppose a hungry rat runs a maze with six choice points, one trial per day. These numbers are illustrative. It makes 24 errors on trial 1, 15 on trial 5, 6 on trial 10 and 2 on trial 15.

From trial 1 to trial 15 the rat makes 24 - 2 = 22 fewer errors. As a proportion, 22 / 24 = 0.917, so errors fall by about 92 percent.

The rate of improvement slows. From trial 1 to trial 5 errors fall by 24 - 15 = 9 over 4 trial steps, or 2.25 errors per trial. From trial 10 to trial 15 they fall by 6 - 2 = 4 over 5 steps, or 0.8 errors per trial. This shrinking gain is the typical shape of a learning curve. Researchers often set a criterion, such as two error-free runs in a row, to mark when the maze counts as learned.

Latent learning, cognitive maps and common misconceptions

A strict conditioning view says learning needs reinforcement. Tolman challenged this. In a well-known experiment with Honzik, three groups of rats ran a maze daily. One group always found food, one never did, and one found food only from day 11. Once food appeared, the late-reward group's errors fell quickly to about the level of the always-rewarded group.

On Tolman's interpretation, the rats had learned the layout without reward, and reward changed performance rather than learning. Reinforcement theorists disputed this, arguing that other unnoticed reinforcers may have been at work. The hidden learning Tolman proposed is called latent learning. He also proposed that animals build an internal representation of space, called a cognitive map.

One misconception is that a rat's behaviour always equals what it has learned. Performance can hide learning, as the late-reward group suggested. A second misconception is that maze results apply unchanged to people. Humans use language and planning, so maze findings are a starting point, not a full account.

Where maze methods appear

Neuroscientists use the radial arm maze and water maze to study spatial memory and the hippocampus. Pharmacology studies use mazes to test whether a drug changes learning or memory. Researchers also build virtual mazes to study navigation in people.

The same logic appears in reinforcement learning in computing, where an agent learns a route through a grid by being rewarded at the goal. Behavioural training methods that reward successive steps toward a target also rest on the principles seen in maze work.

Key terms

Trial
One run of a task, such as one trip from the start of a maze to the goal box.
Reinforcer
A consequence that makes the behaviour before it more likely to occur again.
Law of effect
The principle that responses followed by satisfying outcomes are strengthened and those followed by unpleasant outcomes are weakened.
Learning curve
A graph of performance, such as errors or time, across trials.
Latent learning
Learning that occurs without obvious reinforcement and shows up in behaviour only later, when a reason to act appears.
Cognitive map
An internal representation of the spatial layout of an environment.
Chaining
Linking a series of responses so that each one signals the next.

Common questions

Why do researchers count errors as well as time?

Time can fall because an animal runs faster, not because it knows the route. Errors count wrong turns, so they reflect route knowledge more directly. Using both gives a fuller picture.

Did Tolman's rats prove that reinforcement is unnecessary?

No. Reinforcement still strongly affected performance, since the rats ran the maze efficiently once food appeared. The finding is widely taken as evidence that reward is not required for learning, though reinforcement theorists disputed this reading. It does show that reward can decide whether learning appears in behaviour.

How is a T-maze different from a complex maze?

A T-maze has one choice point, so each trial gives a single clear measure such as left or right. A complex maze has many choice points and tests chaining and spatial memory, but its data are harder to interpret.

Learn this with a tutor

Sidechair's AI tutor will teach this topic in 3D. Join the waitlist for early access.

We'll only email you about Sidechair. Read our privacy policy.