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:
| Subsystem | Role |
|---|---|
| Social interface | Interaction layer: talking with people and other agents |
| Mission planner | Generates missions from goals |
| Cartographer | Holds the world model, plans over maps |
| Performance monitoring and problem solving | Tracks performance, detects and resolves lack of progress |
| Sequencer | Selects and activates behaviors for each step |
| Resource manager | Chooses sensors, algorithms and behaviors suited to current conditions |
| Behaviors, sensors, effectors | The reactive layer |
Three contributing styles
The canonical hybrid architecture is a synthesis of three design schools, each stressing one aspect:
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.
| Hierarchical | Reactive | Hybrid | |
|---|---|---|---|
| Arrangement | SENSE → PLAN → ACT | Parallel SENSE–ACT | PLAN, then SENSE–ACT |
| Sensing | Centralized, global | Behavior-specific, local | Shared; virtual sensors |
| Reaction to surprises | Slow | Fast | Fast |
| Purposeful tasks | Good | Poor | Good |
| Local minima | No | Prone | Rare |
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).