Sub topic 4
Positive reinforcement
This chapter assumes you know what behavior and learning mean in psychology, and that you have met classical (Pavlovian) conditioning at a high level. You should also know the three-term contingency (antecedent, behavior, consequence) and the four consequence types from the earlier chapters. The Python snippets are optional.
What positive reinforcement is
Positive reinforcement is a consequence in which a stimulus is added after a behavior, and the behavior becomes more likely in the future. Both parts must be true:
- Something is added (the "positive" part means added, not "good").
- The behavior increases in frequency, rate, or intensity afterward (the "reinforcement" part).
The definition is functional. A consequence counts as a reinforcer only if the behavior increases. What the consequence looks like, or what you intended it to do, does not decide the question.
def is_positive_reinforcement(stimulus_added, behavior_increased):
return stimulus_added and behavior_increased
# A student answers aloud, the teacher smiles, and hand-raising becomes more frequent.
print(is_positive_reinforcement(True, True)) # True
# A teacher praises a student in front of the class, but the student now
# participates less (the student finds public praise embarrassing).
print(is_positive_reinforcement(True, False)) # False: praise did not function as a reinforcerThe second example shows why the definition is functional. Praise is not a reinforcer for everyone. If the behavior does not increase, the consequence was not reinforcing for that person in that situation, whatever it looks like.
The cycle of reinforcement
The loop is the point. Each reinforced response makes the next one more likely, and the strengthened behavior then produces more chances to be reinforced.
Working examples
| Situation | Behavior | Added stimulus | Later effect |
|---|---|---|---|
| Rat in a chamber | Presses a lever | Food pellet | Lever pressing rate rises |
| Child in class | Completes a worksheet | Sticker | Worksheet completion rises |
| Employee | Closes a sale | Commission | Selling effort rises |
| Social media user | Posts a photo | Likes | Posting becomes more frequent |
| Dog at a door | Sits calmly | Door opens for a walk | Sitting at the door becomes more frequent |
In the last row the added stimulus is access to a walk. Reinforcers do not have to be objects. Activities, attention, access, and sensory events all qualify if they raise the behavior.
Timing, contingency, and size
Three properties of delivery determine how well a reinforcer works.
Immediacy
Reinforcers work best when delivered right after the behavior. As the delay grows, other behaviors occur in between, and those may be strengthened instead. A dog that sits, then gets a treat ten seconds after it has begun jumping up, is more likely to have jumping reinforced. Delays are especially damaging in animal training and with young children. Language can bridge delays for older learners ("I'll give you this after dinner for finishing your homework"), but the effect is weaker than immediate delivery.
Contingency
The reinforcer must depend on the behavior. If it arrives regardless of what the learner does, the link between behavior and outcome weakens. Delivering rewards on a time basis, whatever the learner is doing, can also strengthen whatever happened to precede the delivery. This is accidental reinforcement. Skinner's well-known "superstition" demonstration with pigeons fed at fixed times is the classic example, in which birds developed idiosyncratic ritual movements.
Magnitude
Larger or higher-quality reinforcers generally produce stronger effects, but with diminishing returns. Very large reinforcers can also cause satiation (the learner has had enough), which lowers the reinforcer's value for a while.
Common errors when applying it
- Reinforcing the wrong behavior. Attention is a powerful reinforcer. A parent who responds only when a child shouts is positively reinforcing shouting, even while scolding. The scolding is "punishment" only in the speaker's intent. If shouting increases, attention is functioning as a reinforcer.
- Assuming a reinforcer without testing it. Check what happens to the behavior. A treat that works for one dog may do nothing for another.
- Reinforcing too late. See the immediacy point above.
- Reinforcing inconsistently while teaching. When the behavior is new, reinforce each correct response. Later chapters cover how to thin the reinforcement through schedules.
- Confusing reinforcement with bribery. A bribe is offered before the behavior, usually to stop or prevent bad behavior that is already happening. Reinforcement follows the behavior. Reward promised in advance is an antecedent, and what matters is what is delivered afterward.
Do rewards undermine motivation?
Some research, notably studies on the "overjustification effect," suggests that expected tangible rewards for an activity people already enjoy can reduce their later interest in it once the rewards stop. A reasonable summary of the evidence for intermediate learners is as follows:
- The effect appears most clearly with expected, tangible rewards given for simply doing a task the person already likes.
- Verbal praise and unexpected rewards show much weaker or no such effect.
- Rewards tied to meeting a clear performance standard are less likely to undermine interest than rewards for mere participation.
Reviews of this literature disagree on how large and general the effect is. Treat it as a reason to choose reinforcers with care, and not as a reason to abandon reinforcement.
Reinforcement is not conscious choice
The learner does not need to know that reinforcement is happening, or to understand the rule. Operant conditioning works in infants, in animals, and in people who cannot explain what changed their behavior. Awareness can help, but the definition depends only on the observed change in behavior.
Checking your understanding in code
You can express the logic as a tiny simulation. The probability of a behavior rises a little each time it is reinforced.
import random
random.seed(3)
p = 0.1 # starting probability of the behavior in a given trial
step = 0.1 # increase after each reinforced response
history = []
for trial in range(30):
emitted = random.random() < p
if emitted:
p = min(1.0, p + step) # reinforcer delivered right after the behavior
history.append(emitted)
print(sum(history[:10]), sum(history[-10:])) # fewer responses early, more lateThis model is deliberately simple. Real learning curves vary, and there are limits and individual differences. It does show the core idea: reinforcing a response increases its later probability.
Summary
Positive reinforcement means adding a stimulus after a behavior so that the behavior becomes more likely. It is defined by its effect. It works best when the reinforcer is immediate, depends on the behavior, and is valued by the learner. The most common errors are guessing the reinforcer without testing it, and accidentally reinforcing behavior you wanted to reduce.
Exercise
A toddler whines at the supermarket checkout. The parent says "No!" firmly, then eventually hands over a candy bar. Over the next weeks, whining at checkouts becomes more frequent and louder. Identify the consequence type for the child's whining, name the added stimulus, and explain why the parent's firm "No!" does not change the answer.
Show answer
This is positive reinforcement of whining. The added stimulus is the candy bar (and the parent's attention). The behavior increased, which is the test. The "No!" is a verbal response that came before the eventual reward and does not matter, because classification depends on what is delivered after the behavior and on what happens to the behavior's frequency. The parent's intent to refuse is irrelevant to the classification.
Exercise
A manager praises an employee in a team meeting for finishing a report early. Over the next month, the employee finishes reports later than before and avoids team meetings. Is the praise a positive reinforcer? What would you investigate next?
Show answer
No. Praise was added, but the target behavior (finishing reports early) did not increase, so by the functional definition the praise did not act as a reinforcer. Investigate what the employee actually values (for example, private feedback, time off, or autonomy), and check whether public attention is aversive for this person. Also check whether another consequence, such as extra work given to fast finishers, is competing with the praise.