The hierarchical paradigm: think first, then act
Systems architectures in AI robotics are described by two attributes: how the three primitives SENSE, PLAN, ACT are arranged, and how sensing is handled. These two attributes give three historical paradigms: hierarchical, reactive, hybrid. This lesson covers the first, which appeared in the late 1960s.
After this lesson you will
- Describe the SENSE → PLAN → ACT cycle and the global world model
- Name notable hierarchical architectures and how they divide into subsystems
- State the advantages and disadvantages of the hierarchical paradigm
Five generally accepted subsystems
Before the three paradigms, here are subsystems nearly every robot architecture has, whatever they are called:
| Subsystem | Does |
|---|---|
| Navigation | Planning about navigational goals, path planning (a "generating" function) |
| Cartographer / world model | Everything to do with world models and planning over maps |
| Mission planning | Generating, implementing, selecting, monitoring the mission |
| Motor schemas, behaviors | Executing motor commands |
| Perception, perceptual schemas | Executing sensor input |
The three paradigms differ in how these subsystems are connected.
The hierarchical cycle
The hierarchical paradigm arranges the primitives in order: SENSE → PLAN → ACT, repeated. Sensing is centralized: every sensor feeds a single global world model, a fused data structure combining three things: an a priori representation (maps, object models), freshly sensed information, and cognitive understanding (this is a table, that is a door). Every action goes through planning.
It was disliked from several sides for different reasons: control engineers complained it didn't "close the loop" (no continuous feedback), AI researchers complained it was monolithic, and users complained it was very slow.
See it run
The model below is set to hierarchical: the robot takes a snapshot of the world, stands still to plan, then follows the plan for 3 seconds without looking again. The dashed circle is where the robot believes the person is, from the snapshot taken when planning started.
Drag "planning time" up to 3 s: the robot slows down a lot, and the person has moved far from where the robot thinks. In test runs, the hierarchical robot took between 28 and almost 57 seconds for a route the hybrid robot (lesson 5) covers in about 17 seconds, with collisions at some planning-time settings.
Notable hierarchical architectures
- STRIPS and the robot Shakey (late 1960s): the first mobile robot that planned for itself, using the STRIPS logical planner to decide what to do. Robots no longer use it, but STRIPS spawned the whole automated planning field, and the A* path-search algorithm came out of the same project.
- Nested hierarchical controller: mostly theoretical and oriented towards navigation, dividing the system into a mission planner, navigator, pilot, world model and low-level controllers. Each level hands the level below a shorter-term goal.
- The Real-time Control System (RCS): built on that idea with blocks for sensory processing, world modelling, behavior generation and value judgment. Adopted for military unmanned ground vehicle programmes from the late 1980s, with levels at fixed time horizons: the section-of-vehicles level planned about 10 minutes ahead, the vehicle level about 1 minute, the subsystem level a few seconds, the primitive level half a second, down to the wheel and steering servo level at around 50 milliseconds.
Advantages
Don't dismiss it too quickly. Defenders of hierarchies point out:
- It is a natural way to organize, much like a human organization.
- A hierarchy isn't intrinsically rigid or inefficient: it is not the same as centralized planning; priorities and goals are clear at each level, so it can be efficient.
- It is easier to analyse and verify. That is why many defence and space organizations still favour it, for its perceived efficiency and determinism.
Disadvantages
A common beginner design: a loop that reads sensors, runs a path planner taking a few hundred milliseconds, then sends a command. That is the hierarchical paradigm. It works in an empty room, but when someone walks by the robot reacts late.
Check yourself
Which two attributes classify systems architectures?
How the primitives SENSE, PLAN, ACT are arranged; and how sensing is handled.
What does the global world model of a hierarchical architecture combine?
An a priori representation, freshly sensed information, and cognitive understanding, fused into one data structure.
Why can a hierarchical robot hit a person despite good sensors?
Because it plans on the snapshot taken at SENSE and executes without sensing again; the person moved while the robot was thinking and driving.
Give two advantages and three disadvantages of the hierarchical paradigm.
Advantages: natural organization; clear priorities, potentially efficient and deterministic, easy to analyse. Disadvantages: world-model bottleneck; closed world assumption; frame problem; planning-centric and slow.