B.F. Skinner showed that behaviour is shaped by its consequences. Put an animal
in a box with a lever; whether it presses that lever more or
less depends entirely on what happens right after. Reinforcement makes a
behaviour more likely; punishment makes it less. And when the reward arrives โ every time, or
unpredictably โ produces strikingly different, lawful patterns of responding. Play with all three below.
1. The Skinner box โ consequences change the press rate
The rat presses the lever now and then on its own. Pick a consequence
below and apply it: a reinforcer (add a treat, or switch off a buzzing shock) makes pressing more
frequent; a punisher (add a shock, or take away food) makes it rarer. Watch the lever-press
rate meter climb or fall.
Pleasant stimulus
Aversive stimulus
ADD (+)
Positive reinforcementGive a treat โ pressing โ
Positive punishmentGive a shock โ pressing โ
REMOVE (โ)
Negative punishmentTake the food away โ pressing โ
Negative reinforcementSwitch off the shock โ pressing โ
Press rate: 1.0 / s
2. Reinforcement schedules โ the shape of responding
How often a press pays off changes how the animal responds. Each line is a
cumulative record: the curve only ever rises, and a steeper slope
means faster pressing. Tick-marks (โ) show when a reinforcer was delivered. Switch schedules and watch
the characteristic shape emerge โ variable-ratio runs high and steady; fixed-interval scallops.
Variable ratio (VR-10)
3. Why this matters โ and why slot machines win
The whole theory in a few lines:
Behaviour is shaped by its consequences. Skinner called this operant conditioning:
the animal operates on its environment, and the outcome feeds back to make that action more
or less likely next time.
Reinforcement increases a behaviour; punishment decreases it. "Positive/negative" just
means something was added or removed โ not "good" or "bad".
Ratio schedules (payoff per N presses) drive faster responding than interval schedules
(payoff after time passes), because pressing harder literally earns more.
Variable-ratio is the most powerful schedule there is. An unpredictable
payoff after a varying number of responses produces high, steady, near-extinction-proof behaviour โ
exactly the design of slot machines, loot boxes, and the infinite-scroll "pull to refresh" in
your apps. You keep pulling the lever because the next pull might be the one.