Atlas Robotics
Lesson 5/9 · about 14 min

The reactive paradigm: act now, no world model

In the mid-1980s a group of researchers asked: if building the world model is the hardest part, why not drop it? A cockroach has no map of the kitchen, yet it dodged slippers faster than any robot of the day. The reactive paradigm grew from this idea and produced the first robots that really worked outside the lab.

After this lesson you will

  • Describe the reactive paradigm: concurrent SENSE–ACT behaviors, behavior-specific sensing
  • Know the role of releasers and emergent behavior
  • Recognize reactive robots around us, and explain local minima

Two primitives, grouped into behaviors

The reactive paradigm drops PLAN altogether. Each behavior is a directly coupled SENSE–ACT pair. Behaviors are:

  • Independent, running in parallel, each a separate process.
  • Released by a perceptual event or an internal state: the avoid behavior only switches on when an obstacle is sensed.
  • Given behavior-specific, local sensing: each behavior sees only the sensor data it needs; there is no shared world model and no long-term memory.

The robot's overall behavior emerges from the interaction of simple behaviors with each other and the world, rather than being programmed directly. Users loved it because it worked; AI researchers loved it but wanted to put PLAN back; control engineers disliked it because it couldn't be rigorously proven to work.

Two notable reactive architectures

  • Subsumption: no subsystems, only layers of competence; higher layers can override the outputs of lower ones.
  • Potential fields: each behavior produces a vector, and the vectors are summed.

Both are covered in detail in Module 4.

What can you do without planning?

More than you'd think. An autonomous lawn mower can get by with four behaviors, all active:

Random:  always on                         → drive straight, occasionally turn randomly
Avoid:   bump switch = obstacle             → back up, turn
Avoid:   boundary wire buried in the lawn   → turn back inside
Stop:    tilt sensor = ON                   → stop blades, stop

A robot baby doll can cry from several different behaviors:

Touched              → wake up
Upside down & awake  → cry
Awake & hungry       → cry
Awake & lonely       → cry

Reactive robots also hide in unexpected places: theme-park animatronics, the techniques used to animate crowds in animated films, many smart appliances.

Watch it run, and get stuck

The model below is in reactive mode: pull towards the goal plus push away from everything within sensor range. Red dots are the points currently pushing the robot.

The robot avoids the person very naturally. But it drives straight into the U and stays there forever. This is a local minimum: at the bottom of the U, the pull towards the goal is cancelled by the push from the walls, and every direction looks "worse" from where the robot stands. Escaping requires backing out and going around, i.e. seeing beyond sensor range, i.e. a world model and planning. A fly banging against a window pane while the window next to it is open is the biological version.

Strengths and weaknesses

AdvantagesDirect perception is simple and fast. Highly modular: new behaviors can be added without reprogramming working ones. Degrades gracefully when part of it fails.
Hidden costBesides the behaviors, there is always a coordination function that fuses their outputs before they reach the motors.
Where it breaksLocal scope ("fly at the window"). Poor coordination functions: "go left" plus "go right" becomes "go straight" into the obstacle.
Where it works but annoys peopleBecause actions depend on the sensor readings of the moment, people nearby can't predict whether it will dodge left or right. And it isn't optimal, being sensor-based rather than map-based.

Check yourself

How does the reactive paradigm arrange the primitives and handle sensing?

No PLAN; many SENSE–ACT pairs (behaviors) run in parallel; sensing is behavior-specific and local, with no shared world model.

What does "emergent behavior" mean?

The robot's overall behavior isn't programmed directly but arises from the interaction of many simple behaviors with each other and the world.

Does the lawn mower above need a map of the garden? Why does it still cover the lawn?

No. Driving randomly long enough within an area bounded by the boundary wire covers almost all of it, even if not optimally.

What is a local minimum? Why are reactive robots prone to it?

A position where, judged locally, every direction looks worse than staying put, even though a path to the goal exists. Reactive robots only see within sensor range and have no model to see the longer way around.

The reactive paradigm: act now, no world model · Module 1: Architectures: the software engineering of intelligence — Atlas Robotics