Atlas Robotics
Lesson 6/9 · about 16 min

The hybrid paradigm: plan, then sense–act

From around 1990, the hybrid deliberative/reactive paradigm "won" the paradigm wars. It keeps the fast reflexes of the reactive paradigm and brings planning back, in the right place. It is the heart of the canonical architecture in AI robotics.

After this lesson you will

  • Describe the PLAN, then SENSE–ACT arrangement and how sensing is shared
  • Draw the hybrid systems architecture with its subsystems
  • Name three styles that contributed to the hybrid architecture

The arrangement

The robot plans first, then activates the appropriate SENSE–ACT behaviors and lets them run until the task is complete or something needs to change. The upper layer doesn't drive the motors; the lower layer doesn't need to understand the whole mission. A notable trend: planning is increasingly event-driven (replan only when there is a reason) rather than continuous.

This time all sides were happier: AI researchers and users loved it; control engineers disliked it at first because the lowest level has no models, but are getting over it.

See it run

The blue line is the plan, recomputed every second on a map that only has walls: the person isn't in the map. The reactive layer follows a point ahead on that path and adds the push from whatever the sensors see. The result: the robot goes around the U (thanks to the plan) and avoids the person (thanks to the reflexes), something neither of the other paradigms managed. The planning layer also runs only once per second, like the hierarchical robot set to 1 second; the difference is that the hybrid robot never stands still waiting and never drives blind.

Sensing is shared

Unlike the hierarchical paradigm (centralized) and the reactive one (behavior-specific), sensing in the hybrid paradigm is shared:

  • Each behavior still has its own sensors, used directly.
  • Deliberative functions can "eavesdrop" on the sensor data behaviors use, or have their own sensors.
  • The output of the deliberative layer can be fed to a behavior as if it were a sensor: a virtual sensor. For example, a "move to goal" behavior doesn't know its goal comes from a map; to it, it is just a direction reported by a "sensor".

The hybrid systems architecture

Click each block to see what it does:

SubsystemRole
Social interfaceInteraction layer: talking with people and other agents
Mission plannerGenerates missions from goals
CartographerHolds the world model, plans over maps
Performance monitoring and problem solvingTracks performance, detects and resolves lack of progress
SequencerSelects and activates behaviors for each step
Resource managerChooses sensors, algorithms and behaviors suited to current conditions
Behaviors, sensors, effectorsThe reactive layer

Three contributing styles

The canonical hybrid architecture is a synthesis of three design schools, each stressing one aspect:

ManagerialDivides responsibilities as in a business: planner, coordinator, worker. Example: the AuRA architecture.
State hierarchiesLayers strictly by time scope: how far into the past and future each layer looks. Example: the 3T architecture (planning, sequencing, skills).
Model-orientedModels act as virtual sensors; there may be several world models. Examples: the Saphira and TCA architectures.

Why hybrid "won"

  • Most extensible and reusable.
  • More modular: the reactive and deliberative layers are developed and tested separately.
  • Reacts fast to surprises while still handling purposeful, multi-step tasks.
HierarchicalReactiveHybrid
ArrangementSENSE → PLAN → ACTParallel SENSE–ACTPLAN, then SENSE–ACT
SensingCentralized, globalBehavior-specific, localShared; virtual sensors
Reaction to surprisesSlowFastFast
Purposeful tasksGoodPoorGood
Local minimaNoProneRare

Check yourself

How does the hybrid paradigm arrange the primitives?

PLAN first, then SENSE–ACT: activate the appropriate behaviors and let them run until the task is done or the plan needs to change.

What is a virtual sensor? Give an example.

Output of the deliberative layer fed to a behavior as if it were sensor data. For example, the direction to the next waypoint (computed from the map) used by a "move to goal" behavior as a direction sensor.

List the subsystems of the hybrid architecture.

Social interface, mission planner, cartographer, performance monitoring and problem solving, sequencer, resource manager, behaviors, sensors, effectors.

The three styles that contributed to the hybrid architecture?

Managerial (divide responsibilities like a business), state hierarchies (layers by time scope), model-oriented (models as virtual sensors, possibly several models).

The hybrid paradigm: plan, then sense–act · Module 1: Architectures: the software engineering of intelligence — Atlas Robotics