Sub topic 6
Extinction: when the prediction stops holding
Prerequisites and scope
This chapter assumes you know the four core terms: unconditioned stimulus (US), unconditioned response (UR), conditioned stimulus (CS) and conditioned response (CR). It also assumes you can read a simple graph of change over repeated trials. Acquisition, the process by which a CS comes to predict a US, was covered in the previous chapter. Here we look at what happens when that prediction stops being true.
What extinction is
Extinction is the procedure of presenting the CS repeatedly without the US, and also the resulting decline in the CR. The word covers both the procedure and the outcome, so it helps to keep them apart:
- Extinction procedure: the CS is presented alone, with no US following it.
- Extinction effect: the CR becomes weaker and less frequent.
In Pavlov's experiments, a dog that salivated at a metronome would, after many metronome-only trials, salivate less and less. The tone was still audible. The dog could still hear it. What changed was that the tone no longer predicted food.
Extinction is not the same as forgetting. Forgetting is a loss of learning over time without any new experience. Extinction needs new experience, namely trials where the expected US fails to arrive.
The shape of the extinction curve
Extinction usually mirrors acquisition. The CR drops quickly at first and then more slowly as it approaches zero. Early trials produce the largest changes because the gap between what the animal expects and what happens is largest then.
The Rescorla-Wagner update rule, which a later chapter treats in full, captures this. Each trial changes associative strength V by a fraction of the prediction error (lambda minus V). During extinction, lambda is 0, because the US is absent. The following code runs acquisition and then extinction:
# Rescorla-Wagner update for a single CS paired with a US
alpha_beta = 0.3 # combined learning-rate parameter
lam = 1.0 # maximum associative strength the US supports
V = 0.0 # associative strength of the CS
print("Acquisition (CS + US):")
for trial in range(1, 11):
V += alpha_beta * (lam - V)
print(trial, round(V, 3))
lam = 0.0 # extinction: CS now occurs without the US
print("Extinction (CS alone):")
for trial in range(1, 11):
V += alpha_beta * (lam - V)
print(trial, round(V, 3))During acquisition, V rises toward 1.0. During extinction, the error is negative, so V falls toward 0. The decrease on the first extinction trial is large, and later decreases are smaller.
Why the CR declines: learning, not erasure
An early view was that extinction deletes the original association. The evidence points the other way. Extinction appears to produce new learning that competes with the old learning. The animal learns something like "in this situation, the CS is not followed by the US" and that memory inhibits the CR.
Several findings support this account:
- Spontaneous recovery. After a rest, the CR often returns, partially. If the original association had been erased, nothing would be left to return. A later chapter covers this in detail.
- Renewal. If extinction is carried out in one context, such as a particular room, and the CS is then tested in a different context, the CR often reappears. Extinction learning is tied to its context more strongly than the original acquisition is.
- Reinstatement. After extinction, an unsignaled presentation of the US alone can bring the CR back when the CS is next presented.
- Rapid reacquisition. Re-pairing the CS with the US after extinction usually restores the CR in fewer trials than the first acquisition took. Some of the original association must have survived.
The practical point is that a lack of CR after extinction shows that the response is suppressed, not that the learning is gone.
Extinction as a failed prediction
Chapter-level framing helps here. In conditioning, the CS works as a prediction that the US is coming. During acquisition the prediction is confirmed. During extinction it fails again and again. The animal's expectation is revised by those failures.
This is why extinction can be slow or fast depending on the schedule that came before it:
- After continuous reinforcement, where every CS was followed by the US, the first omitted US is a clear change. Extinction tends to be quick.
- After partial reinforcement, where the US followed the CS only some of the time, a missing US looks like something that already happened often. Extinction is slower. This is called the partial reinforcement extinction effect. The learner has little evidence that the rules have changed.
| Training history | What a missing US signals | Typical extinction speed |
|---|---|---|
| Every CS followed by US | Clear change in the rule | Fast |
| CS followed by US on some trials | Ordinary variation | Slow |
| Many acquisition trials | Strong prior expectation | Slower than after few trials |
Variables that affect extinction
Several factors change how quickly the CR declines and how durable the decline is:
- Strength of the original learning. Stronger associations take more extinction trials to weaken.
- Number and spacing of extinction trials. More trials produce more extinction. Spaced trials can give slower declines within the session but sometimes more durable results.
- Context. Extinction in the context where the later test will occur gives better transfer, because renewal is less likely.
- Intensity of the US. Strong USs, such as intense shocks, tend to produce CRs that resist extinction.
- Retrieval cues. Reminders of the extinction session, such as a cue present during extinction, can help the extinguished response stay suppressed when the CS is encountered later.
A worked example
A person is bitten by a dog and then feels fear at the sight of dogs. The bite is the US, the fear the UR, and the sight of a dog the CS. Fear at the sight of a dog is the CR.
Suppose the person later spends time around calm dogs. The CS (dog) now appears with no bite. Each uneventful encounter is an extinction trial. Fear should fall over repeated encounters.
Three things can go wrong:
- The person avoids dogs. With no exposure, there are no extinction trials, so fear stays. Avoidance prevents the CS-alone experience that would correct the prediction.
- The person meets calm dogs only in a clinic, then sees a large dog in a park. Because extinction is context-dependent, fear may return (renewal).
- The person is startled by a loud noise near a dog weeks later. This unsignaled aversive event can reinstate the fear.
These points connect extinction directly to exposure therapy, which later chapters treat. Exposure therapy deliberately arranges CS-alone trials, ideally in several contexts.
Common errors
- Confusing extinction with punishment. Extinction removes the expected US. Nothing aversive is added. Punishment belongs to operant conditioning.
- Confusing extinction with habituation. Habituation is a decline in the UR to a repeated stimulus. Extinction is a decline in the CR when the CS stops predicting the US.
- Treating the CR as the same as the UR. The CR may differ from the UR in form or size. Extinction acts on the CR.
- Assuming extinction is permanent. As the evidence above shows, relapse is common.
Check your understanding
Exercise
A rat learns that a light predicts a shock and freezes when the light comes on. In the extinction phase, the light is shown 30 times with no shock, and the rat freezes less and less. Next day, in a different cage, the light is shown again and the rat freezes strongly. Name the phenomenon and explain what it tells you about what extinction does to the original learning.
Show answer
The phenomenon is renewal. Freezing returned because the test happened in a different context from the one where extinction took place. This shows that extinction does not erase the light-shock association. Instead it creates new, context-dependent learning that suppresses the response, and that suppression does not carry over fully to a new setting.
Exercise
Two groups of dogs learn to salivate at a tone. Group 1 gets food after every tone. Group 2 gets food after only half of the tones. Both groups then go through extinction. Which group extinguishes more slowly, and why?
Show answer
Group 2 extinguishes more slowly. Their history already included tones without food, so a tone without food during extinction does not clearly signal a change in the rule. This is the partial reinforcement extinction effect.
Exercise
In the Rescorla-Wagner code above, what value does lam take during extinction, and why does V fall fastest on the first extinction trial?
Show answer
lam is 0.0 because the US is absent. On the first extinction trial V is highest, so the prediction error (0 minus V) is largest in magnitude, and the update alpha_beta times that error is the biggest drop of the phase.