Psychology Optional‹›⌂ 0:00 studied

Module 4 · 16 min read · Free chapter

Classical and operant conditioning: extinction, discrimination and generalisation

In short

Learning is a relatively permanent change in behaviour due to experience. In classical conditioning, a neutral stimulus paired with an unconditioned stimulus comes to elicit a conditioned response, as in Pavlov's dogs and Watson's Little Albert. In operant conditioning, consequences shape voluntary behaviour, from Thorndike's puzzle box and law of effect to Skinner's box and shaping.

What are you preparing for? We show the practice and previous year questions of your exam.

Start from zero: how experience changes us

A newborn can do only a few things, mostly reflexes like sucking and blinking. Within a few years the same child recognises family members, eats with a spoon, reads, rides a bicycle and knows how to behave at a wedding. Almost all of this comes from learning.

This chapter covers the two simplest and best-studied forms of learning: classical conditioning, in which we learn that one event signals another, and operant conditioning, in which we learn from the consequences of our actions. It also covers three processes that run through both: extinction, generalisation and discrimination.

UPSC asks about this topic often, from the difference between the two conditionings and their uses, to the role of contingency, to applications in forming likes, managing chemotherapy and learning skills. Each section gives the points you need.

The nature of learning

Learning is defined as any relatively permanent change in behaviour or behavioural potential produced by experience. Each part of this definition matters. 'Relatively permanent' rules out passing changes.

'Behavioural potential' allows for learning that is not yet shown. 'Experience' separates learning from changes due to maturation or illness.

Learning always involves experience. Sometimes it needs repeated experience, as when hostel students learn that a bell after sunset means dinner. Sometimes a single experience is enough, as when a child who burns a finger on a match learns to handle matches carefully.

Some behaviour changes are not learning. Fatigue after long reading or driving makes us stop, but the change disappears with rest. Habituation is the fading of orienting responses to a stimulus that continues, such as loud wedding music next door that stops disturbing you after a while. Changes due to drugs, sedatives or alcohol also wear off.

Learning is an inferred process and is different from performance. Performance is the behaviour we can observe, such as reciting a poem. From good performance a teacher infers that learning has occurred. But learning can exist without performance, and performance can suffer for reasons other than a lack of learning, such as nervousness.

Psychologists describe several paradigms of learning, from simple to complex. The simplest is conditioning, in two forms, classical and operant. More complex forms include observational, cognitive, verbal and skill learning, which build on these basic processes.

Classical conditioning: Pavlov's discovery

Ivan Pavlov, a Russian physiologist, won the Nobel Prize in 1904 for his work on digestion. While studying dogs, he noticed that they began to salivate not only when food was in their mouths but at the sight of the empty food dish. Saliva secretion is a reflex to food, so why should a dish trigger it?

Pavlov designed an experiment. A dog was placed in a harness, and a tube from its salivary gland collected saliva in a measuring glass. The hungry dog heard a bell, and immediately afterwards meat powder was given.

After several such pairings, a test trial was run with the bell but no food. The dog salivated to the bell alone.

Pavlov named the parts. Food, which naturally produces salivation, is the unconditioned stimulus (US), and salivation to food is the unconditioned response (UR). The bell, at first neutral, becomes the conditioned stimulus (CS) after pairing, and salivation to the bell is the conditioned response (CR). Because the bell comes to signal food, classical conditioning is a form of S–S learning.

Everyday life is full of classical conditioning. Seeing someone eat mango pickle makes your mouth water. A child holding a balloon that bursts with a loud bang becomes afraid, and the next time a balloon is offered it signals the noise and brings fear. The smell of a hospital can make some people anxious because it has been paired with pain.

The most famous human example is Little Albert (Watson and Rayner, 1920). An infant who was not afraid of a white rat was shown the rat while a loud noise was made behind him. After several pairings, the rat alone made him cry. The study showed that emotions can be conditioned, though it is regarded as unethical by today's standards.

Pavlov also showed higher-order conditioning. Once the bell elicits salivation, a light paired with the bell can come to elicit salivation too, without any food. Conditioning above the second order is hard to achieve, but higher-order conditioning helps explain how words and symbols acquire emotional meaning.

What makes classical conditioning work: timing and contingency

How quickly and strongly a CR is acquired depends on several factors. The first is the time relation between the CS and US. In simultaneous conditioning they begin together. In delayed conditioning the CS begins first and overlaps the US. In trace conditioning the CS begins and ends before the US, with a gap. In backward conditioning the US comes first.

Delayed conditioning is the most effective. Simultaneous and trace conditioning work but need more trials, and backward conditioning rarely produces a CR. For many responses conditioning is strongest when the CS comes about half a second before the US, because the CS can then act as a warning.

The type of US matters. Appetitive stimuli such as food produce approach responses, and appetitive conditioning is slower, needing many trials. Aversive stimuli such as loud noise, shock or bitter taste produce escape responses, and aversive conditioning can be established in one to three trials, depending on intensity. The intensity of the CS also matters: a more intense CS speeds acquisition.

Pairing alone is not enough. What matters is contingency: whether the CS reliably predicts the US. If the US also occurs often without the CS, conditioning fails, even when CS and US are frequently paired. Work by Robert Rescorla and others in the late 1960s showed that animals learn the predictive relationship, not just closeness in time, and the Rescorla–Wagner model later described learning as reducing the surprise of the US.

Taste aversion shows that some learning breaks the usual rules. In studies by John Garcia and colleagues, rats that drank a sweet liquid and were later made sick avoided the taste, even when the illness came more than an hour after drinking. Rats easily linked taste with illness but not lights or sounds with illness, a biological constraint on learning that likely helps animals avoid poisons.

These findings matter for applications. A strong, predictive, well-timed CS conditions quickly. A single bad experience with a food can create lasting dislike. And a CS that only sometimes predicts the US will condition weakly, which is useful to know when designing therapy or training.

Operant conditioning: learning from consequences

Classical conditioning explains reflexes, but most of our behaviour is voluntary. Why do we study, work, joke or avoid certain people? The answer begins with Edward Thorndike's law of effect (1911): behaviour followed by satisfying consequences is more likely to be repeated, and behaviour followed by unpleasant consequences is less likely.

B. F. Skinner developed this into operant conditioning. He called voluntary behaviours operants, because the organism operates on its environment and changes it. Skinner studied rats and pigeons in a chamber now called the Skinner box, which had a lever or key that delivered a food pellet when pressed.

A hungry rat placed in the box explores, sniffing and pawing the walls. By accident it presses the lever and a pellet drops. It eats and explores again.

Over trials it takes less and less time to press the lever, until it presses as soon as it is placed in the box. Lever pressing is the operant; food is the consequence that strengthens it.

Because the response is instrumental in getting the reward, this form of learning is also called instrumental conditioning. A consequence that increases the probability of a response is a reinforcer; one that decreases it is a punisher. Reinforcers differ in type, amount, timing and schedule, and each of these shapes how fast learning occurs and how long it lasts.

Operant learning is everywhere. Children learn to say 'please' because it brings favours, a child learns where the sweets jar is hidden, and adults learn to operate gadgets and find shortcuts to their goals. Skinner also showed shaping: by reinforcing successive approximations, pigeons were taught to turn in circles and even play a form of ping-pong.

Classical versus operant: the key differences

The two forms of conditioning share processes such as extinction and generalisation, but they differ in important ways. A clear comparison is a frequent exam demand, so learn it as a set of contrasts.

Type of response. Classical conditioning involves reflexive responses automatically elicited by a stimulus, so it is often called respondent conditioning. Operant conditioning involves voluntary responses emitted by the organism, the operants.

Stimulus. In classical conditioning the CS and US are clearly defined. In operant conditioning there is no clear eliciting stimulus; the controlling stimulus can be inferred but is not directly known.

Control and activity. In classical conditioning the experimenter controls when the US occurs, and the learner is passive. In operant conditioning the occurrence of the reinforcer depends on the learner's behaviour, so the learner must be active to be reinforced.

What is learned. Classical conditioning is S–S learning: one stimulus signals another. Operant conditioning is R–S learning: a response leads to a consequence. What is called a reinforcer in operant conditioning corresponds to the US in classical conditioning, which both elicits the response at first and strengthens its link to the CS.

The two often work together. In learned helplessness, Martin Seligman and Steven Maier first gave dogs shocks they could not escape, paired with a sound. Later the dogs were placed where they could escape shock easily, but they did not try. People given repeated failure regardless of their effort also give up quickly on later tasks, and this pattern has been linked to depression.

Extinction and spontaneous recovery

Extinction is the gradual disappearance of a learned response when reinforcement is removed. If the bell is sounded again and again without food, the dog salivates less and less. If lever pressing no longer brings pellets, the rat presses less and finally stops.

Extinction is not instant. Learned responses show resistance to extinction, continuing for some time without reinforcement. Resistance increases with the number of reinforced trials up to a point. It is greater after partial (intermittent) reinforcement than after continuous reinforcement, and greater when reinforcement during learning was delayed.

Extinction is not the same as forgetting. The learning is suppressed, not erased. After extinction and a period of rest, presenting the CS again often brings back the response, a phenomenon called spontaneous recovery.

The longer the rest, the greater the recovery. In operant conditioning, restoring reinforcement brings the behaviour back much faster than original learning.

Extinction matters for everyday adjustment. Without a way to drop responses to stimuli that no longer predict anything, we would carry around a bundle of useless conditioned reactions. Therapies use it deliberately: flooding exposes a person to a feared stimulus until fear fades, and systematic desensitisation pairs gradual exposure with relaxation.

Spontaneous recovery also explains relapse. A person whose fear or habit has been extinguished may find it returning in a new place or after a long gap. This is why therapists plan for repeated sessions and practice in many settings.

Generalisation and discrimination

Generalisation is responding in the same way to stimuli that are similar to the one originally conditioned. A dog conditioned to a bell may salivate to a telephone ring. Little Albert's fear of the white rat spread to other furry objects and even a Santa Claus mask. In operant learning, a child who learned to find sweets in one jar finds them in a new jar of a different shape.

Generalisation is adaptive. The buzzing of angry bees, wasps and hornets is similar but not identical, and someone stung once is wise to be cautious of all three. Without generalisation, every slightly new situation would require learning from scratch.

Discrimination is the complementary process: responding differently to stimuli that differ. It is learned when one stimulus is followed by the US or reinforcement and a similar one is not. A child afraid of a man with a long moustache and black clothes may also fear a bearded man in black (generalisation) but not a clean-shaven man in grey (discrimination).

Generalisation is due to similarity; discrimination is due to difference. The occurrence of generalisation means a failure of discrimination. As discrimination training proceeds, the range of stimuli that produce the response narrows.

Discrimination has limits. In a famous experiment from Pavlov's laboratory, a dog was fed after a circle but not after an ellipse. The ellipse was then made rounder step by step.

When it became nearly circular, the dog could no longer tell them apart, became agitated and lost even easy discriminations. Pavlov called this experimental neurosis.

In skill learning, generalisation and discrimination work together. A learner driver generalises braking from one car to another, but must discriminate a red light from an amber one and a pedestrian from a shadow. A batsman generalises a shot to many deliveries but must discriminate a slower ball. Skilled performance is the right balance of the two, built by reinforcing correct responses to the right cues.

Mains lens: likes, chemotherapy and the behaviourist blind spot

Likes and preferences. Many likes are formed by classical conditioning. In evaluative conditioning, the liking for a stimulus changes after it is paired with something positive or negative; early studies paired nationality names with pleasant or unpleasant words and changed how people rated them. Advertisers pair products with attractive people, music or celebrities.

In one study, men who saw a car advertisement with an attractive model rated the car as faster and better designed. Advertisers also drop celebrities after scandals, because the pairing now carries negative feeling.

The same process works in daily life: a song heard during a happy trip becomes a favourite, and a dish eaten before an illness becomes disliked. Prejudice can form when a group is repeatedly paired with negative words or events. A full answer ends with how conditioned likes can also be changed, by new pairings and extinction.

Chemotherapy. Patients often vomit after chemotherapy. After a few sessions, some begin to feel sick on entering the clinic or seeing the syringe, before any drug is given: the clinic and syringe have become conditioned stimuli for nausea. Foods eaten before treatment can also become targets of taste aversion.

Knowledge of learning helps a relative support such a patient. Relaxation and pleasant activities paired with the clinic setting can counter-condition the anxiety. Varying the setting and avoiding favourite foods just before treatment can reduce unwanted associations. Reinforcing small steps, such as attending sessions or eating light meals, supports recovery, and understanding that the nausea is learned reduces self-blame.

Why behaviourists avoided thought. John Watson's behaviourist manifesto wanted psychology to be purely objective, with the aim of predicting and controlling behaviour rather than describing conscious states. Introspection was unreliable and could not be checked by others, so thoughts and feelings were left out. Skinner treated the mind as a black box, though his radical behaviourism allowed private events governed by the same laws.

The cost of this choice became clear. Tolman's rats learned a maze without reward, showing latent learning and cognitive maps. Köhler's chimpanzees solved problems by insight.

Contingency research showed that animals learn prediction. Noam Chomsky's 1959 critique of Skinner's account of language argued that it could not be explained by conditioning alone. These developments led to the cognitive revolution.

Mains practice: five questions, five angles

These are practice questions written by us, not past papers. The UPSC questions on this topic are shown in the previous year questions panel.

Angle Question Key points to cover
Concept (10 marks) Distinguish extinction from forgetting, with reference to spontaneous recovery. Withdrawal of US; suppression; recovery after rest; relapse.
Explain (15 marks) Why is taste aversion considered a special case of classical conditioning? One trial; long delay; taste versus light and sound; biological constraint.
Apply (15 marks) How can the principles of conditioning be used to treat phobias? Little Albert; avoidance; flooding; desensitisation; relapse.
Evaluate (10 marks) 'Pairing is enough for conditioning.' Evaluate. Contiguity versus contingency; prediction; Rescorla–Wagner; timing.
Analyse (20 marks) Analyse the role of generalisation and discrimination in learning to drive safely. Transfer across cars; cue discrimination; feedback; limits; training design.

How to use this table: define the process, describe the classic experiment, add an everyday example, and end with an application or limitation.

Quick revision

  • Learning: relatively permanent change in behaviour or potential due to experience; not fatigue, habituation, drugs.
  • Learning is inferred from performance but differs from it.
  • Pavlov: US (food), UR, CS (bell), CR; S–S learning; higher-order conditioning.
  • Little Albert (Watson and Rayner, 1920): conditioned fear, generalised.
  • Timing: delayed best; simultaneous and trace slower; backward rare; about 0.5 s optimal.
  • Aversive conditioning in 1–3 trials; appetitive slower; intense CS faster.
  • Contingency: CS must predict US; Rescorla; Rescorla–Wagner model.
  • Taste aversion (Garcia): one trial, long delay, biological constraint.
  • Thorndike's law of effect; Skinner box; operants; instrumental conditioning; shaping.
  • Classical: reflexive, elicited, passive learner; operant: voluntary, emitted, active learner.
  • Learned helplessness (Seligman and Maier): interaction of both.
  • Extinction; resistance greater after partial reinforcement; spontaneous recovery after rest.
  • Generalisation (similarity) and discrimination (difference) are complementary; experimental neurosis.
  • Applications: advertising and likes, phobias, chemotherapy nausea; behaviourists avoided mind (Watson, black box).

Mains answer practice

Write your answer first, then open the points a good answer should cover.

  1. Differentiate between classical and operant conditioning. Discuss their applications with suitable examples.

    Show answer points
    • Pavlov and Skinner procedures
    • Reflexive versus voluntary
    • Passive versus active learner
    • S–S versus R–S
    • Applications: phobias, advertising
    • Applications: shaping, token economies
  2. Explain how learning takes place through classical conditioning, and the role of reflexive behaviour and contingency.

    Show answer points
    • US–UR reflex as base
    • Pairing and CR
    • Timing arrangements
    • Contiguity versus contingency
    • Rescorla–Wagner and prediction
    • Taste aversion
  3. 'Discrimination and generalisation are complementary processes in skill learning.' Discuss with reference to operant conditioning.

    Show answer points
    • Definitions
    • Similarity versus difference
    • Reinforcing correct cues
    • Driving or sports example
    • Limits
  4. How do the principles of classical conditioning help in the formation of likes and preferences, and in managing chemotherapy?

    Show answer points
    • Evaluative conditioning
    • Advertising
    • Conditioned nausea
    • Counter-conditioning
    • Reinforcing small steps
  5. Why did behaviourists avoid the topics of thought and knowledge?

    Show answer points
    • Watson's objective aim
    • Problems of introspection
    • Black box
    • Radical behaviourism
    • Cognitive challenge
  6. What is extinction? Why does spontaneous recovery occur?

    Show answer points
    • Withdrawal of reinforcement
    • Resistance to extinction
    • Partial reinforcement effect
    • Recovery after rest
    • Relapse
  7. Distinguish learning from performance, habituation and fatigue.

    Show answer points
    • Definition
    • Inferred process
    • Habituation
    • Fatigue and drugs
    • Example

Previous year questions

Previous year questions for UPSC CSE will appear here once each one is checked word for word against the official question paper.

Learn with AI

A tutor that asks instead of telling, a partner that argues the other side, and this chapter told through your own district.

Tell the tutor what you are stuck on. It will guide you with questions and give the answer after a few tries.

🙋 Raise a doubt or feedback

Stuck somewhere, or spotted a mistake? Write to the ExamHike team. We usually reply within a day, and you will see the reply on My progress.

Log in to ask a doubt or send feedback →

Frequently asked questions

What is classical conditioning?

Learning in which a neutral stimulus, after repeated pairing with an unconditioned stimulus, comes to produce a conditioned response, as when Pavlov's dogs salivated to a bell.

What is the law of effect?

Thorndike's principle that responses followed by satisfying consequences are strengthened and those followed by annoying consequences are weakened.

How does operant conditioning differ from classical conditioning?

Classical conditioning links two stimuli and involves reflexive responses; operant conditioning links a voluntary response to its consequence.

What is shaping?

Reinforcing successive approximations to a target behaviour until the full behaviour appears.

More in this module: Learning

Official sources

Facts in this chapter were checked against these official sources.

  1. NCERT Psychology Class XI, Chapter 5: Learning
  2. IGNOU MPC-003 Personality, Block 2 Unit 3: Learning theory of personality (Pavlov and Skinner)
  3. OpenStax Psychology 2e, 6.2 Classical Conditioning
  4. OpenStax Psychology 2e, 6.3 Operant Conditioning
  5. Wikipedia: Classical conditioning
  6. Wikipedia: Behaviorism