Dual-System Architecture for Real-Time Robot Control: How Decoupling Planning and Action Solves the Latency Problem

    This article explains why large language models alone cannot handle real-time robot control, and how a dual-system architecture separates a slow but smart planner from a fast but simple action policy. It covers the role split between the two systems, the engineering design of a layered architecture with a shared state blackboard and safety layer, common failure modes and mitigations, and observability and evaluation practices for embodied AI systems.

    1. The Problem: The Real World Won’t Wait for the Model to Think

    Large language models keep pushing outward the boundary of what they can do: a single turn can carry hundreds of reasoning steps, orchestrate multiple external tools, and hold context on the scale of hundreds of thousands of words. Yet the moment you move those capabilities onto a robot that has to move through physical space, the problem becomes obvious — the physical world evolves continuously, and it will not pause to wait for the model to finish generating output.

    Picture a human situation: you are crossing an intersection and a car suddenly accelerates toward you. The part of cognition responsible for “deliberate thought” is still computing speed, angle, and relative position, while your body has already jumped instinctively to the side and back. If you had to wait for the analysis to finish before moving, the outcome could be unbearable. Robots face an isomorphic problem: language models reason deeply but slowly, and a single decision often takes on the order of seconds; meanwhile, dynamic events such as a glass door closing suddenly, a pedestrian cutting across, or an object temporarily left on the ground typically leave the system only a few hundred milliseconds to react.

    This is the core contradiction the industry needs to solve: how to make a cognitive core that “thinks slowly but is very smart” work seamlessly with an execution end that “reacts fast but is not that smart.” Represented by the hierarchical navigation approach proposed by a university research team (often referred to as the NavGPT line of work in the public literature), the answer the industry has given is to fully decouple “thinking” from “doing.”

    2. Splitting the Two Capabilities Correctly

    2.1 The Planner

    The planner is usually carried by a large language model, and its responsibility is strategic judgment: parsing natural language instructions, identifying the task phase, deciding “whether the goal has been reached” and “whether replanning is needed,” and asking for clarification when there is ambiguity. Its output is not motor speed, but semantic-level subgoals and constraints.

    2.2 The Action Policy (VLA, Vision-Language-Action)

    The action policy is a purpose-trained small model. It takes the current visual observation and the language subgoal as input and outputs a velocity command or local waypoints for each step. It is not responsible for understanding complex intents like “take the cup on the table to the guest”; it is only responsible for moving the body into position under a given subgoal.

    2.3 Why They Must Be Separated

    Making a single model serve as both strategist and executor is like making one person be both the manager and the assembly-line worker — neither job gets done well: the larger the model, the slower the reasoning; if you compress the model for real-time performance, high-level semantic capability degrades accordingly. After decoupling, the gains shown in public experimental data are very direct — with a pure language model driving the system, it takes on average 3 to 19 seconds to produce a single decision; after introducing an action policy to take over execution, the control loop stabilizes at once every 0.5 to 1 second, i.e., 1 to 2 Hz. This is like a restaurant where the owner sets the menu and the pace while the chef handles the wok — each does their own job, and both serving speed and operational quality hold at the same time.

    3. Engineering the Layered Architecture

    A deployable dual-system architecture typically has five layers:

    1. [Language instruction] -> [Planner: semantic subgoal] -> [Task blackboard / shared state]
    2. | |
    3. v v
    4. [Progress evaluation & replanning] [Action policy: 1~2Hz local control]
    5. |
    6. v
    7. [Chassis / gimbal / robotic arm execution]

    The key design points are as follows:

    • Shared state blackboard: the planner writes the current subgoal, confidence, and timeout; the action policy only reads and consumes it, avoiding two-way blocking.
    • Asynchronous decoupling: while the planner is reasoning, the action policy keeps running; “wait a moment before moving” is not allowed.
    • Timeout degradation: when a subgoal is not completed within the threshold, the action policy switches to a safe behavior (slow down, hover in place, request human takeover).
    • Safety layer as a backstop: collision detection, torque limiting, and geofencing are independent of the two models and are hard constraints that cannot be bypassed.

    An illustrative interface contract (pseudocode):

    1. class SubGoal:
    2. text: str # Semantic description, e.g., "go around the table to the door"
    3. deadline_ms: int # Timeout budget
    4. priority: int
    5. # Planner: called on the order of seconds, produces/updates subgoals
    6. def planner_step(obs, history) -> SubGoal: ...
    7. # Action policy: once every 500~1000ms, never blocks waiting
    8. def policy_step(obs, current_goal) -> VelocityCommand: ...

    4. Common Failure Modes and Countermeasures

    • Semantic drift: the planner changes its mind frequently, causing execution jitter. The countermeasure is to set a minimum dwell time for subgoals and change damping.
    • Observation ambiguity: glass doors, mirrors, and backlighting cause misjudgment. The countermeasure is to introduce multi-frame temporal consistency checks in the action policy and reduce speed when confidence is low.
    • Long-task forgetting: context is crowded out by irrelevant information. The countermeasure is to compress progress into structured state rather than relying on long-text memory.
    • Frequency mismatch: when the planner runs once every 5 seconds and the policy once every second, interpolation and temporal alignment are needed to avoid abrupt command jumps.

    5. Observability and Evaluation Recommendations

    A layered system must be evaluated layer by layer: for the planning layer, look at subgoal success rate and number of replans; for the execution layer, look at collision rate, average speed, and command tracking error; for the system layer, look at end-to-end task completion time and human takeover rate. In engineering practice, it is recommended to connect the logs and metrics of the two layers to logging services and monitoring alerts separately, and to archive replay data with object storage for offline review. For large-scale training and simulation, you can use a container platform to elastically schedule parallel environments and use a message queue to decouple the data production pipeline.

    6. Conclusion

    “Being distracted” is not a defect, but architectural wisdom: let the language model focus on slow, deep strategic thinking, let the small model take on fast, shallow real-time execution, and connect the middle with explicit contracts and a safety layer. This dual-system division of labor is becoming the key engineering paradigm for embodied intelligence to move from demonstrations to reliable deployment.