Sub topic 6
Positive Punishment
What it is and what you should already know
This chapter assumes you know the law of effect, the antecedent-behavior-consequence sequence, and the four-way consequence table from earlier chapters. It also assumes you can read short Python snippets.
Positive punishment means that a behavior is followed by the addition of a stimulus, and as a result the behavior becomes less likely in similar situations. "Positive" here means only that something is added. It does not mean the consequence is pleasant. "Punishment" is defined by its effect on behavior, not by how harsh the consequence looks.
This definition has a practical consequence. If a consequence is added but the behavior does not decrease, then by definition it was not punishment, whatever the person delivering it intended.
Where it sits in the consequence table
Two questions classify any consequence: was a stimulus added or removed, and did the behavior increase or decrease? Positive punishment is the cell where a stimulus is added and the behavior decreases.
The classify function from the consequence-types chapter returns this label for the pair ("added", "decreases"):
def classify(stimulus_change, behavior_effect):
"""stimulus_change: 'added' or 'removed'; behavior_effect: 'increases' or 'decreases'."""
table = {
("added", "increases"): "positive reinforcement",
("removed", "increases"): "negative reinforcement",
("added", "decreases"): "positive punishment",
("removed", "decreases"): "negative punishment",
}
return table[(stimulus_change, behavior_effect)]
# A driver gets a speeding ticket and then drives more slowly:
print(classify("added", "decreases")) # positive punishmentWorked examples
Each example below passes the same test. Something is added after the behavior, and the behavior later occurs less often.
| Situation | Behavior | Added stimulus | Later effect |
|---|---|---|---|
| A rat presses a lever and receives a mild shock | Lever pressing | Shock | Pressing drops |
| A child touches a hot stove | Touching the stove | Pain | The child avoids the stove |
| A driver is photographed speeding | Speeding | A fine | Less speeding on that road |
| A student makes a rude joke in class | The joke | A reprimand | Fewer rude jokes in that class |
Natural consequences count as well. The stove does not need anyone to deliver the pain. Punishment does not require a person who intends to punish.
A case where the label fails
Suppose a teacher reprimands a student for calling out answers, and the student calls out more often afterward. The reprimand was added, but the behavior increased. If the student wanted attention, the reprimand functioned as positive reinforcement. The same event can be a punisher for one person and a reinforcer for another, so you can only classify it after you observe the effect.
Punishment versus respondent processes
Positive punishment is operant. The consequence depends on the behavior. A shock that arrives regardless of what the animal does is not punishment, because nothing the animal does changes it. It may produce fear conditioning, which is respondent (classical) learning, and it can produce a general state of helplessness. Always check that the added stimulus is contingent on the behavior.
What determines how well it works
Research on punishment, much of it with animals, points to several factors that change its effect.
- Immediacy. A consequence delivered right after the behavior suppresses it more than a delayed one. A ticket mailed weeks later has a weaker link to the act.
- Contingency. If the consequence follows the behavior every time, suppression is stronger than if it follows only sometimes.
- Intensity. Stronger punishers suppress behavior more, but strong punishers raise ethical problems and increase side effects. Starting at full intensity works better than increasing gradually, because gradual increases let the learner adapt to each level.
- Alternative behavior. Punishment works better when a different behavior that earns reinforcement is available. The punished behavior was probably being reinforced, and if nothing replaces that reinforcement, the pressure to return to it remains.
- Motivation for the punished behavior. If the behavior produces a strong reward, the same punisher will suppress it less.
Suppression is not the same as elimination
Punishment often reduces behavior only while the punisher is expected. A driver may slow down near a speed camera and speed up past it. The behavior is under stimulus control: the signal "punisher is present" has become a discriminative stimulus for not responding. The behavior's reinforcement history has not been erased.
This differs from extinction. In extinction, the reinforcer is withheld and the behavior declines because it no longer pays off. In punishment, the behavior may still pay off, but it now also has a cost.
A simple simulation
The simulation below shows suppression and its dependence on the punisher being present. A learner chooses between a punished behavior that earns reinforcement and an alternative that earns a little less. It tracks a value for each option and updates it from the outcome. The code is a teaching model, not a claim about how animals compute.
import random
def run(punisher_present_probability, trials=2000, seed=3):
random.seed(seed)
value = {"punished": 0.0, "alternative": 0.0}
rate = 0.1
chosen = {"punished": 0, "alternative": 0}
for _ in range(trials):
# Mostly pick the higher-valued option, with 10% random exploration.
if random.random() < 0.1:
choice = random.choice(list(value))
else:
choice = max(value, key=value.get)
chosen[choice] += 1
if choice == "punished":
outcome = 3.0 # reinforcement
if random.random() < punisher_present_probability:
outcome -= 4.0 # added aversive stimulus
else:
outcome = 2.0 # smaller reinforcement
value[choice] += rate * (outcome - value[choice])
return chosen["punished"] / trials
print("Punisher never delivered:", round(run(0.0), 2))
print("Punisher always delivered:", round(run(1.0), 2))With no punisher, the learner favors the punished option almost all the time, so the printed share is high. With a punisher on every use, the share falls to roughly the exploration rate. Change the 3.0 to 7.0 to model a more valuable reward, and the learner keeps choosing the punished option despite the cost.
Side effects
Positive punishment carries risks that reinforcement does not.
- Escape and avoidance. The learner may avoid the person, place, or task associated with the punisher. A student punished for wrong answers may stop answering at all, or skip class.
- Emotional responses. Fear, anxiety, or anger can become conditioned to the punisher or the person delivering it.
- Aggression. Painful stimuli can provoke aggression toward the source or toward others.
- Modeling. Observers may learn that delivering aversive consequences is a way to control others.
- No new behavior. Punishment tells the learner what not to do. It does not teach what to do instead.
- Reinforcement of the punisher. When punishment stops a disruptive behavior, the person who punished is negatively reinforced, because the annoying behavior ended. This makes punishing more likely next time, even if the long-term effect is poor.
The last point explains why punishment persists in homes and workplaces despite its limits.
Using it responsibly
Applied behavior analysts treat positive punishment as a last resort. They try reinforcement of alternative behavior and extinction first, and they use punishment only when those fail and a behavior is dangerous. Mild forms, such as a brief verbal "no" paired with redirection and reinforcement of the right behavior, appear far more often than intense forms.
Check your understanding
Exercise
A cat jumps onto the kitchen counter and gets sprayed with a puff of water. Over the next week the cat jumps on the counter less often, but only when its owner is in the room. Classify the consequence, and explain what the owner-dependent pattern tells you.
Show answer
It is positive punishment, because the water was added and the behavior decreased. The fact that the cat avoids the counter only when the owner is present shows the behavior is under stimulus control. The owner's presence signals that the punisher may be delivered, so the cat suppresses the behavior in that setting. The behavior is not eliminated, and it likely still pays off when the owner is away.
Exercise
A teacher gives a student extra homework for talking in class. The student talks more. Is this positive punishment? Give two possible explanations.
Show answer
No. Positive punishment requires the behavior to decrease, and here it increased. Possible explanations: the extra homework brought attention that functioned as a reinforcer, or the student found talking more rewarding than the homework was aversive, so the consequence did not work as a punisher. A third option is that talking also escapes boring work, which makes it negatively reinforced.