# Operant Conditioning and Observational Learning

> Behavior changes through consequences and by watching others, but schedules, biological limits, and attention set what actually sticks. You sort consequences into four categories, compare continuous and partial reinforcement schedules, examine escape, avoidance, and biological or cognitive constraints, and weigh classic observational-learning evidence alongside mirror-neuron debates. Afterwards you can classify consequences, predict response patterns across schedules, explain why avoidance habits resist change, and separate what laboratory imitation data show from what they do not.

Course: Introductory Psychology (Learning, Motivation, Emotion and Stress). Level: first- and second-year university. About 35 minutes.
Lesson page (link this one when citing): https://stemhop.com/lessons/operant-conditioning-and-observational-learning/
Note: parts of this lesson are still being checked ("Under review").

Builds on: 

## What you'll learn

- Classify positive and negative reinforcement, positive and negative punishment, primary and secondary reinforcers, and shaping by successive approximations.
- Compare continuous, fixed-ratio, variable-ratio, fixed-interval, and variable-interval reinforcement schedules in terms of response patterns and extinction persistence.
- Distinguish escape from avoidance learning, and explain how avoidance habits, instinctive drift, and unrewarded latent learning limit simple consequence accounts.
- Separate acquisition from performance in observational learning, evaluate the Bandura, Ross and Ross (1961) data and limits, and weigh competing accounts of mirror neurons.

**A slot machine pays out after an unpredictable number of pulls, while a timed pain pump unlocks only after a fixed wait. A child copies a gesture after seeing it once, with no prize in sight.**

Why do some schedules keep behavior going after payoffs stop? How can someone learn a new action without any direct reward? Hold your answers.

> **The one idea.** Behavior changes through consequences and by watching others, but schedules, biological limits, and attention set what actually sticks. To predict change, check whether the consequence adds or removes a stimulus, what rule times it, whether innate habits push back, and whether the learner watched a model.
>
> *Scope:* Behavioral principles of operant and observational learning in animals and humans. Neural circuits are linked below. Structural social norms belong to Introductory Sociology, and full inferential statistics belong to Research Methods and Statistics.

This lesson builds on the high school overview in [operant and observational learning](https://stemhop.com/lessons/operant-and-observational-learning/) and follows [habituation and classical conditioning](https://stemhop.com/lessons/habituation-and-classical-conditioning/).

## Four ways consequences change behavior

In classical conditioning, a cue predicts another event. In **operant conditioning**, an organism changes a voluntary behavior because of its consequences, as when a dog sits faster for a treat. You can sort any consequence in two ways. First, a consequence either increases or decreases the behavior’s future rate. Second, it either adds or removes a stimulus.

Any consequence that increases a behavior’s future rate is **reinforcement**, such as praise raising how often a student asks questions. Any consequence that decreases a behavior’s future rate is **punishment**, such as a speeding ticket making speeding less frequent. Here, “positive” and “negative” never mean “good” or “bad.” Positive adds a stimulus. Negative removes one.

| Type | Stimulus change | Future rate | Example |
| --- | --- | --- | --- |
| Positive reinforcement | Adds a desirable stimulus | Increases | Praise raises future writing |
| Negative reinforcement | Removes an unpleasant stimulus | Increases | Aspirin ends a headache, raising use |
| Positive punishment | Adds an unpleasant stimulus | Decreases | Extra sprint laps lower false starts |
| Negative punishment | Removes a desirable stimulus | Decreases | Losing phone privileges lowers late returns |

Reinforcers gain value in two ways. A *primary reinforcer* meets an innate biological need without learning, such as food or water. A *secondary reinforcer* (also called a conditioned reinforcer), such as money or tokens, gains value through pairing with primary reinforcers. Midbrain dopamine circuits track reward prediction errors during this learning ([motivation and reward](https://stemhop.com/lessons/motivation-and-reward/)). How rewards interact with drives and interest appears in [motivation and incentives](https://stemhop.com/lessons/motivation-homeostasis-drives-incentives/).

Reinforcement only works once a behavior occurs. To build an unfamiliar action, trainers use **shaping**, reinforcing closer steps toward a target while withholding rewards for earlier ones. You can train a dog to ring a desk bell in four steps:

1. Reward looking toward the bell.
2. Reward stepping closer and stop rewarding glances.
3. Reward touching the bell with a paw.
4. Reward pressing the bell to chime.

**Predict.** A driver fastens a seatbelt and a loud chime stops right away. On future trips, the driver buckles up more often. Which consequence category explains this change, and why?

> **Check your prediction.** This change is negative reinforcement. Removing an unpleasant stimulus (the chime) raises future buckling, whereas punishment lowers a behavior’s rate.

## Schedules of reinforcement and why habits persist

In everyday life, actions rarely pay off every time. A **reinforcement schedule** is the rule specifying which occurrences of a behavior earn a reward, such as a cafe punch card paying after ten coffees. Under *continuous reinforcement*, every target response earns a reward, producing fast initial learning. Under *partial reinforcement* (also called intermittent reinforcement), only some responses earn a reward.

Partial schedules combine two choices. First, the rule either counts responses (*ratio*) or measures elapsed time (*interval*). Second, the requirement either stays constant (*fixed*) or varies around an average (*variable*).

| Schedule | Rule | Response pattern once training is stable | Example |
| --- | --- | --- | --- |
| Fixed ratio (FR) | Every set number of responses | High rate with a brief pause after reward | Piecework pay per 10 kits |
| Variable ratio (VR) | Unpredictable count around an average | Very high, steady rate with little pausing | Slot machine pulls |
| Fixed interval (FI) | First response after a fixed wait | Pause after reward, then scalloped rise as the wait ends | First button press after a pain pump’s lockout |
| Variable interval (VI) | First response after an unpredictable wait | Moderate, steady rate across time | Checking an inbox for random replies |

On a cumulative record, a line that steps up with each response and runs flat during pauses, fixed-interval responding traces an upward curve called a scallop. Cramming before an exam looks scalloped too, yet unlike the pain pump it is only an analogy, because the exam date is not a response-triggered reward.

**Predict.** Two hypothetical dispensers reward pressing a lever. Machine A pays on every press. Machine B pays on an unpredictable average of every fifth press. Both machines then break and stop paying. Which learner should keep pressing longer, and why?

> **Check your prediction.** The learner on Machine B should keep pressing longer. Under continuous reinforcement, zero payouts signal right away that rewards stopped, whereas variable-ratio learners already expect unrewarded runs.

When reinforcement stops, responding declines in a process called *extinction*. Behavior trained on partial schedules, such as variable-ratio schedules, usually resists extinction longer than behavior trained on continuous reinforcement, a pattern called the *partial reinforcement extinction effect*. Because unrewarded runs already occur during variable-ratio training, a dry spell does not look like a broken machine. Extinction does not erase the original learning. Instead, it builds new, context-dependent learning that holds the response back, so an extinguished habit can return in the original setting.

Draw the cumulative record under each schedule and look for the pause-and-run steps, the scallop and the steady slopes. Then stop the rewards and compare the triangle for each record with the one for continuous reinforcement: it marks where responding starts to fade.

*Interactive on the lesson page:* Schedule recorder: cumulative record and extinction

**Film transcript: Learning Without Direct Rewards**

### Film transcript: Learning Without Direct Rewards

Consequences shape actions. What can watching teach? An adult makes a gesture, and a child copies it with no prize in sight. How did the child pick up the action?

Your own actions can spare you trouble.

Stepping inside once rain starts is escape. Opening an umbrella at thunder to stay dry is avoidance. Ending or preventing something unpleasant can strengthen the action. That's negative reinforcement. A sign of safety after avoiding can reward it and keep avoidance going. Food rewards have limits too. Trainers rewarded a raccoon for putting coins in a box. It began rubbing the coins together. The trainers read this as a natural food seeking habit disrupting the trained action. That's instinctive drift.

Learning can also happen without immediate rewards. Explore a campus building with no goal, and you can still learn its layout. Later, you can go straight to an office when you need it. That's latent learning. You can learn an action by watching even if you never perform it. That's observational learning. Attention means noticing the action, and retention means remembering it. Doing it takes both ability and motivation. Bandura, Ross, and Ross studied what preschoolers copied after watching an adult model act aggressively. In 20 minutes of play, children copied new acts toward an inflatable Bobo doll without direct rewards. Whether toy imitation generalizes to lasting violence toward other people remains contested.

Watching a model get rewarded can make you more willing to copy. That's vicarious reinforcement. Seeing punishment can curb copying. That's vicarious punishment. In one study, offering incentives later brought out actions children had learned by watching. Watching might also change how you feel. Imagine watching someone get mild shocks paired with a colored square. You're told to expect shocks after that color, too. Could the square by itself later stir a stronger reaction?

Yes. In one study, people saw that pairing and were told to expect shocks themselves. Later, that square alone raised skin conductance more than an unpaired square. Skin conductance measures arousal. Learning an emotional response by watching is vicarious emotion.

Watching can engage movement circuits, too. In macaques, some cells fire when the monkey grasps food and when it watches a similar grasp. These are mirror neurons. Seeing and feeling your own hand move together may help build that link. How it develops remains debated. The child's copied gesture began with noticing and remembering.

Watching gave the child a movement to try, and the child could show it when ready.

From the film

- A sign of safety after avoiding can reward it and keep it going.
- Learning can also happen without immediate rewards.
- You can learn an action by watching even if you never perform it.
- Watching a model get rewarded can make you more willing to copy.

## Escape, avoidance and limits on consequences

Negative reinforcement powers two defensive habits. In *escape learning*, an unpleasant event is already underway and an action ends it, such as stepping indoors once rain starts. In *avoidance learning*, an action prevents the event, often after a warning cue, such as opening an umbrella at a thunderclap so you never get wet.

Experiments in a shuttlebox, a two-sided chamber with a low barrier between the sides, show how cues and actions combine. First, a neutral tone is paired with a mild shock until the tone signals threat. Next, the animal learns that crossing the barrier during the tone prevents the shock.

**Predict.** Suppose a rat learns to cross a barrier whenever a warning tone plays, preventing a mild shock. Later, the experimenter turns the shock off permanently, so staying put is safe. If the rat keeps crossing on every tone, what stops it from learning that the shock is gone?

> **Check your prediction.** Its own continued avoidance stops it from finding out. Because crossing leaves the rat unshocked, it never stays put to test whether the tone is now safe.

Active avoidance resists extinction for two reasons. First, each crossing can produce a safety signal, a cue that no shock is coming, which reinforces crossing and can turn it into a habit. Second, avoiding keeps the learner from staying put to test whether the threat is gone. Amygdala circuits for warning cues and freezing live in [emotion and stress](https://stemhop.com/lessons/emotion-and-stress/). Prolonged uncontrollable stress can also produce passivity in new settings, examined in clinical context in [depressive and bipolar disorders](https://stemhop.com/lessons/depressive-and-bipolar-disorders/).

Consequences also hit biological limits. In **instinctive drift**, an animal trained on a food-reinforced task gradually reverts to species-typical food-getting behaviors that disrupt the trained action. In applied-training reports, a raccoon trained with food to deposit coins into a metal box rubbed them together and dipped them into the container. A pig trained to carry large wooden coins repeatedly dropped and rooted them, delaying payoff. Trainers interpreted these observations as instinctive food-getting habits intruding on trained responses, showing biological constraints without isolating a single mechanism.

Cognition sets a second limit. In *latent learning*, learners store information about an environment without immediate reinforcement, and that knowledge appears only when an incentive arrives. Walking through a new campus building with no goal still builds a mental layout. The first day you need an office there, you can walk straight to it.

## Learning by watching: models, vicarious emotion and mirror neurons

Learners do not need direct trial and error for every skill. In **observational learning**, a learner acquires new behaviors or expectations by watching a model rather than through direct consequences. For example, you can watch a coworker use a spreadsheet shortcut and apply it later yourself.

Can young children copy novel aggressive acts just by watching an adult, with zero direct reward? Bandura, Ross and Ross (1961) tested 72 preschoolers from the Stanford University Nursery School. They split the children into three groups of 24: an aggressive-model group, a non-aggressive-model group, and a no-model control group. Each session ran in three steps:

1. A child watched an adult model for 10 minutes (half saw a female model, half a male model), while control children saw no model.
2. Each child played with attractive toys until engaged (usually about 2 minutes), and the experimenter then withdrew them to induce mild frustration.
3. Each child spent 20 minutes in a test room with an inflatable Bobo doll and other toys while observers scored specific acts.

**Predict.** No child in Bandura, Ross and Ross (1961) received a reward for copying the adult. Before reading the scores, how should the aggressive-model group compare with the non-aggressive-model and control groups on novel physical and verbal acts, and why?

> **Check your prediction.** The aggressive-model group should show far more novel imitative physical and verbal acts than the non-aggressive and control groups. Brief observation lets children acquire new actions without direct rewards.

The published means from Table 1 of Bandura, Ross and Ross (1961) match that prediction. Each model column averages 6 girls or 6 boys. The control column averages 12 of each.

| Category and child sex | Aggressive female | Aggressive male | Non-aggressive female | Non-aggressive male | Control |
| --- | --- | --- | --- | --- | --- |
| Imitative physical, girls | 5.5 | 7.2 | 2.5 | 0.0 | 1.2 |
| Imitative physical, boys | 12.4 | 25.8 | 0.2 | 1.5 | 2.0 |
| Imitative verbal, girls | 13.7 | 2.0 | 0.3 | 0.0 | 0.7 |
| Imitative verbal, boys | 4.3 | 12.7 | 1.1 | 0.0 | 1.7 |

Overall, children in the aggressive-model condition imitated far more physical and verbal acts than those in the non-aggressive and control groups, whose subgroup averages stayed between 0.0 and 2.5. Some subgroup means also differed by which model the children watched (see Going deeper). With 6 children in each model subgroup, these means stay suggestive and do not show what every individual child did.

Follow-up studies, some by independent teams, reproduced short-term imitation with filmed models. However, generalizing hits on an inflatable toy to lasting real-world interpersonal violence remains contested. This experiment shows that preschoolers at one California university nursery school copied new toy-directed acts in a 20-minute session without direct rewards. Generalizing from one narrow sample stays an open question ([design, control and validity](https://stemhop.com/lessons/psychological-science-validity/)).

Four processes separate learning an action from performing it. *Attention* (noticing the model’s actions) and *retention* (storing a mental record) support *acquisition*. *Reproduction* asks whether the learner can physically execute the action, while *motivation* determines whether the learner performs it.

Watching a model’s outcomes shapes motivation. Seeing a model rewarded raises willingness to act, which is *vicarious reinforcement*. Seeing a model punished suppresses performance, which is *vicarious punishment*. In a laboratory test of rewarded, punished, and no-consequence models, children who saw punishment initially produced fewer matching responses. After incentives were offered, the groups no longer differed reliably in how many different modeled responses they produced. Observed punishment in this experiment acted mainly on performance rather than blocking acquisition.

Observational learning also includes *vicarious emotion*, acquiring an emotional response by watching someone else react. In one study, participants watched someone receive mild shocks paired with a colored square and were told to expect shocks after that color themselves. When the squares later appeared without shocks, they showed higher skin conductance (a measure of physiological arousal) and amygdala activation to that square than to an unpaired one.

What brain activity links seen actions to performed ones? Single-cell recordings in macaque monkey ventral premotor cortex (area F5) revealed **mirror neurons**. These cells fire both when a monkey executes a goal-directed act, such as grasping food, and when it watches another individual perform a similar act. Early proponents viewed human mirror neurons as an innate engine for action understanding, imitation, and empathy via motor simulation.

**Predict.** Suppose a stroke damages a patient’s frontal premotor cortex so the patient cannot grip a cup. Yet the patient still identifies whether someone on video is grasping a cup to drink or to clear the table. What does that finding challenge about the strongest mirror-neuron claim?

> **Check your prediction.** It challenges the claim that internal motor simulation through mirror neurons is necessary for understanding actions. Because recognition stays intact despite impaired execution, being able to perform an action is not required to recognize its goal.

Stroke-lesion studies report that producing an action and recognizing it can come apart: some patients recognize actions they cannot execute. Other lesions impair both capacities across shared networks. Together, the two patterns suggest that motor regions may contribute to action understanding without being strictly necessary for it. A second critique asks how mirror firing develops. Associative-learning accounts argue that mirror properties emerge through ordinary sensorimotor experience, such as repeatedly seeing your own hand move while feeling it move, rather than an innate social module. Mirror neurons remain an active research topic, not a simple switch for empathy.

Return to the slot machine and the child copying a gesture. Variable-ratio schedules keep responding going after payoffs stop because unrewarded runs were already part of training. Observational learning lets someone acquire a new action through attention and retention without any direct reward. Behavior changes through consequences and by watching others, but schedules, biological limits, and attention set what actually sticks.

### Design problem

Consider a made-up campus scenario. A student wants to review flashcards for 20 minutes each evening instead of scrolling on a phone. Checking phone notification banners breaks focus right away. Using operant conditioning, schedules, and observational learning, design a plan that builds the study habit and weakens phone checking.

> **One way to do it.** Start with shaping and continuous reinforcement during week one. Reward a 5-minute flashcard block with a break, then step up to 10, 15, and 20 minutes. Once the 20-minute habit stabilizes, shift to a partial schedule (such as a weekend treat after an unpredictable number of completed evenings) so the habit resists unrewarded days.
>
> Banners are cues, not a schedule. What reinforces checking is finding new messages, which arrive after unpredictable stretches of time, so checking runs on a variable-interval-like schedule that resists extinction. Turn off banners and put the phone in another room to remove the cue and raise the effort required.
>
> Finally, study beside a focused classmate who models uninterrupted 20-minute blocks.

## Going deeper

### Sample, scoring and model details in Bandura, Ross and Ross (1961)

The 72 preschoolers included 36 boys and 36 girls aged 37 to 69 months (mean 52 months), matched on prior aggressiveness ratings. Observers scored the 20-minute test session across 5-second intervals, yielding 240 response units per child.

Raw subgroup means differed by model: boys averaged 25.8 physical acts after the male aggressive model versus 12.4 after the female. Girls averaged 13.7 verbal acts after the female aggressive model versus 2.0 after the male. Only one woman and one man served as models (confounding sex with identity), and nonparametric testing precluded an overall model-sex test. The authors linked the pattern partly to socialized gender expectations rather than fixed traits.

---

From STEMhop (https://stemhop.com), free lessons by Christopher Deppmann. Lesson text © the authors. Practice questions: https://stemhop.com/lessons/operant-conditioning-and-observational-learning/
