Atlas Robotics
Lesson 3/9 · about 15 min

The canonical operational architecture: three layers of intelligence

After years of exploration, AI robotics has converged on a canonical operational architecture: three layers, each with its own kind of perception, planning horizon, time scale and model. It is the backbone of the whole course: later modules are all details of one layer or another.

After this lesson you will

  • Name the three layers (reactive/behavioral, deliberative, interaction) and the functions inside the deliberative layer
  • Describe each layer by five attributes
  • Answer: can intelligence be added layer by layer, like apps? How much AI does a robot need?

Three layers

LayerBiological counterpartDoes
Interaction"Emotional", social intelligenceInterfaces with people and other agents, teamwork, showing what the robot is thinking
DeliberativeCortexReasoning over symbols about goals: planning, monitoring, selecting behaviors
Reactive (behavioral)Spinal cord, lower brainSkills and responses, coupling sensing directly to action

Inside the deliberative layer

Large-scale factory automation (not factory robots, but the whole production management system) suggests four functions of "deliberation":

  • Generating a plan: what mission needs doing.
  • Selecting: which behaviors and resources to use for this step.
  • Implementing: activating those behaviors and letting them run.
  • Monitoring: is the plan succeeding? This needs sensing, understanding what was planned, and perhaps learning what is normal.

These split naturally into two sub-layers: planning (generating and monitoring the mission; past + present + future; slow) and sequencing (selecting and implementing behaviors for each step; past + present; fast). The well-known three-tier variant names the tiers planner – sequencer – skills.

The result is that AI robotics has converged on PLAN, then SENSE–ACT, with LEARN where needed. (Technically it is SENSE–PLAN, SENSE–ACT, but by tradition the sensing used for planning and monitoring is lumped into PLAN.)

Five attributes that distinguish the layers

AttributeReactiveDeliberative: sequencingDeliberative: planning
PrimitivesSENSE–ACTPLAN (select, implement)PLAN (generate, monitor)
PerceptionDirectRecognition as neededRecognition, symbols
Planning horizonPresentPresent + pastPresent + past + future
Time scaleVery fastFastSlow
ModelsLocal (or none)LocalGlobal

See these layers on four very different robots:

Each layer also suits its own programming style: behaviors are usually written in procedural languages (C, C++) because they must be fast and close to the hardware; planning often uses functional or knowledge-representation languages (such as LISP, or ontology languages) because it works with symbols. Layering lets each layer use the right tools, run on its own processor, even split between on-board and off-board (a control centre), and add to working, verified code without breaking it.

Can intelligence be "installed"?

Like upgrading to a Pro version or downloading apps? Yes, but it isn't trivial.

  • Yes: intelligence is organized in layers, and libraries of equivalent ("logical") algorithms can be built.
  • But adding a new behavior isn't trivial: the coordination function in the reactive layer has its own assumptions, restrictions and side effects (Module 4).
  • Adding a whole layer is harder still: different perception and models require significant design investment, and there is "hidden" coordination between layers.

How much AI does a robot need?

It depends, but there are four questions to answer:

  1. Which functions does the robot need? Generate? Monitor? Select? Implement? Execute behaviors? Learn?

  2. What planning horizon do those functions require: present only, or past, or future too?

  3. How fast must the algorithms update? Sometimes you must use a closed world and guaranteed execution rates (control theory).

  4. Does the robot need local models, global models, or both?

Advice: go with the minimum. Each extra layer adds design, testing and failure points. The first robot vacuums had only a reactive layer and still did their job well.

What is still hard

Each step up a layer demands something new. From reactive to deliberative, the robot needs a world model: a central structure holding symbols, history and knowledge, rich enough to plan with yet compact enough to compute in time. From deliberative to interaction, it needs a model of other agents: what the other person believes, wants and intends (the belief–desire–intention frame), and what common ground the two already share. Psychologists call this ability a theory of mind; children develop it around the age of four or five, and robots are still learning.

Today AI does well with deliberation over symbols and with behaviors using direct perception. Two major barriers remain: converting sensor data into symbols (recognizing and labelling unique instances), and understanding human intention, which is often implied but never spoken. Robots still need explicit directions.

Check yourself

The three layers of the canonical operational architecture?

Reactive (behavioral), deliberative, interaction.

The four functions inside the deliberative layer and how they split into two sub-layers?

Generating, selecting, implementing, monitoring. Planning: generating and monitoring (slow, past–present–future). Sequencing: selecting and implementing (fast, past–present).

The five attributes that distinguish the layers?

Primitives involved, perception (direct/recognition), planning horizon, time scale, models (local/global).

Which layer handles a humanoid keeping its balance? Planning "get a cup from the kitchen"?

Balance: reactive layer (very fast, present only, direct perception from the IMU and force sensors). Getting a cup: deliberative planning (needs a house map, knows where cups are, slow).

The four questions for deciding how much AI a robot needs?

Which functions; which planning horizon; how fast to update; local, global or both models. And go with the minimum.

The canonical operational architecture: three layers of intelligence · Module 1: Architectures: the software engineering of intelligence — Atlas Robotics