Sub topic 13
Contingency: Predictiveness over Mere Pairing
This chapter assumes you know the terms conditioned stimulus (CS) and unconditioned stimulus (US), and that acquisition is the phase when a conditioned response develops. The key idea here is that conditioning depends on whether the CS predicts the US, not simply on whether they occur close together in time.
Contiguity is not contingency
Contiguity means that two events occur near each other. For example, a tone may sound immediately before food appears. Contiguity helps learning because the learner can connect the events in time.
Contingency means that one event changes the likelihood of another. A tone has high contingency with food when food is much more likely after the tone than when the tone is absent.
A useful simplified measure is:
\[ \text{Contingency} = P(\text{US} \mid \text{CS}) - P(\text{US} \mid \text{no CS}) \]
The first term is the probability of the US when the CS occurs. The second is the probability of the US when the CS does not occur.
| Situation | Food after tone | Food without tone | Likely conditioning |
|---|---|---|---|
| Predictive tone | 90% | 10% | Strong |
| Uninformative tone | 50% | 50% | Little or none |
| Protective tone | 10% | 90% | Inhibitory learning |
A tone can be paired with food many times and still fail to become a useful predictor if food also appears just as often without the tone.
A comparison
Imagine two groups of animals. In both groups, a light is followed by a mild shock on ten trials.
- In Group 1, shocks occur only after the light. The light strongly predicts shock.
- In Group 2, shocks also occur ten times when the light is off. The light provides no new information.
Group 1 should show a stronger conditioned fear response to the light. In Group 2, the shock is common, but the light does not explain when it will occur.
This explains why mere pairing is not enough. Learning systems track prediction error: the difference between what is expected and what happens. If the US is already likely without the CS, the CS produces little surprise and gains little associative strength.
Testing contingency
A simple simulation compares two conditions. In the predictive condition, the US is likely after the CS and rare otherwise. In the uninformative condition, the probabilities are equal.
def contingency(p_us_after_cs, p_us_without_cs):
return p_us_after_cs - p_us_without_cs
conditions = {
"predictive": (0.9, 0.1),
"uninformative": (0.5, 0.5),
}
for name, probabilities in conditions.items():
print(name, contingency(*probabilities))The predictive condition has a contingency of 0.8. The uninformative condition has a contingency of 0.0.
Exercise
A bell is followed by food on 80% of trials. Food appears without the bell on 20% of trials. What is the contingency, and should strong conditioning be expected?
Show answer
The contingency is 0.80 - 0.20 = 0.60. The bell is substantially more predictive of food than silence is, so strong conditioning should be expected.