Execution-Grounded Reasoning for Embodied AI: How Robots Track Task Progress
This article explains execution-grounded reasoning, an approach that extends embodied reasoning from task planning into task execution so robots can continuously estimate where they are in a task. It breaks down three core capabilities—spatial anchoring, task understanding, and progress estimation—and shows how they enable execution monitoring, next-step prediction, failure diagnosis, and local replanning. The article also covers process-oriented evaluation metrics and key engineering practices for building state representations, fusing evidence, and running regression tests.
1. The Problem: Robots Don’t Lack a Plan—They Lack a Sense of Where They Are
Most embodied systems do their reasoning before a task begins: given a natural language instruction, the model outputs a sequence of actions and hands it to a low-level controller. This pipeline often works well in demos, but it breaks down in real environments. Execution is noisy—actions get occluded, slip, or miss their grasp targets—and the plan does not revise itself as conditions change. The result is a robot that “knows what to do” but has no idea “what it has actually done.”
Execution-grounded reasoning addresses this gap directly. It extends reasoning from before the task into the middle of execution, so the model continuously estimates current progress and decides the next step accordingly. It rests on three foundational capabilities:
- Spatial anchoring: aligning visual observations with stable geometric structure in the scene to obtain reusable coordinate references, instead of re-understanding space from scratch every frame;
- Task understanding: decomposing an instruction into verifiable subgoals and completion conditions to form a structured task graph;
- Progress estimation: fusing action history, observation history, and the current observation to output a probability distribution over “which step has been completed,” rather than a single-point guess.
Combined, these three capabilities naturally yield five outputs: task planning, execution monitoring, next-step prediction, failure diagnosis, and task understanding.
2. Breaking Down the Core Mechanisms
2.1 Spatial Anchoring: Establish a Stable Reference Frame First
The goal of spatial anchoring is not extreme precision but a reference that stays consistent across frames. Common approaches include extracting planar and edge structure from the scene, maintaining relative relationships among keypoints, and applying temporal filtering to the relative pose between the robot arm’s end effector and the target. Two engineering concerns matter most. First, anchor stability: anchors that jump frequently make progress estimates jitter. Second, graceful degradation when visibility drops: when an anchor is occluded, the system should fall back to relative motion estimation rather than forcing an absolute pose output.
2.2 Task Understanding: Turn Natural Language into Verifiable Conditions
The key output of task understanding is “verifiable subgoals.” For example, “put the cup in the cabinet” should be decomposed into: approach the cup, grasp, lift, move to the cabinet door, place inside, release, and retreat. Each subgoal carries a completion criterion (relative pose threshold, contact state, displacement). This step determines whether later progress estimation has a clear anchor to align against, and whether failure diagnosis can pinpoint a specific stage.
2.3 Progress Estimation: Output a Distribution, Not a Conclusion
Progress estimation should be modeled as posterior inference over the subgoal index, fusing three kinds of evidence: the action history (what I have done), the observation history (what I have seen), and the current observation (what I see now). Relying only on the current frame leads to misjudgment under occlusion; relying only on the action sequence leads to being “confidently wrong” when slipping occurs. A common practical approach is to maintain a confidence value that updates with observations and trigger active re-observation (small viewpoint adjustment, slight movement) when confidence falls below a threshold.
Illustrative pseudocode:
# Pseudocode: structure only, not any specific product interfacestate = TaskState(subgoals=parse_instruction(cmd)) # Task understandinganchor = SpatialAnchor(scene) # Spatial anchoringwhile not state.finished():obs = perceive()anchor.update(obs)evidence = {"action_hist": state.action_hist,"obs_hist": state.obs_hist,"current": obs,"anchor": anchor.pose_ref,}progress = estimator.infer(evidence) # Outputs subgoal probability distributionif progress.confidence < LOW_CONF:obs = active_reobserve() # Active re-observationcontinueif progress.regressed(): # Progress regression -> failure diagnosisplan = replanner.repair(state, progress)else:plan = replanner.next_step(state, progress)execute(plan)state.push(plan, obs)
3. Failure Diagnosis and Replanning
The value of failure diagnosis is turning “it failed” into “where it failed and why.” Diagnosis can rely on three kinds of signals: progress distribution regression (the probability of an already-completed subgoal drops sharply), evidence conflict (actions indicate contact but vision shows no displacement), and timeout without progress (no subgoal transition for a long time). The corresponding strategies are to roll back to the last stable subgoal, switch sensing modality or viewpoint, and retry with smaller action steps. Replanning does not need to overturn the global plan—local repair is enough, which is friendlier to compute budgets and real-time requirements.
4. Evaluation: Why Process Metrics Matter
Evaluating only final success rate hides process capability. A more reasonable evaluation includes at least four types of metrics: subgoal localization accuracy (did it identify the current step correctly), progress monotonicity (did unjustified regressions occur), failure recovery rate (can the task be completed after diagnosis), and average number of re-observations (reflecting uncertainty management). On multiple public task reasoning benchmarks, methods with execution-state grounding typically outperform general-purpose large models that only plan before the task; on spatial anchoring benchmarks, versions that continuously perform geometric alignment show a similarly stable lead. The emphasis here is on the trend and the effectiveness of the method; specific numbers vary widely across benchmarks and implementations and should be verified with your own testing.
5. Engineering Implementation
- Make state representations interpretable: subgoals, completion criteria, and confidence should all be printable and replayable for easier debugging;
- Decouple perception from reasoning: the perception module produces stable output while the reasoning module handles fusion and decisions, so each can be iterated independently;
- Split work between cloud and edge: training and large-scale log analysis can run in the cloud, using object storage for trajectory data, message queues for data pipelines, container platforms for training jobs, and logging and monitoring services to track production anomalies; the edge keeps a low-latency closed loop;
- Build a regression set: feed production failure cases back as fixed regression cases to prevent fixes from introducing new problems;
- Safety fallback: when progress confidence stays low for a long time, stop or request human intervention instead of continuing to execute blindly.
6. Conclusion
Making robots understand task progress is essentially about turning the one-way “plan-execute” pipeline into a closed loop of “estimate-decide-verify.” Spatial anchoring provides the reference, task understanding provides the criteria, and progress estimation provides the state; together they support embodied intelligence that is monitorable, diagnosable, and recoverable. For developers, the focus of implementation is not chasing single-point model scores but getting three fundamentals right: state representation, evidence fusion, and regression evaluation.
