grounding-and-correcting-steps-with-embodied-r1
The hub has failure classifiers (classifying-failure-type-vlm, detecting subtask success) and pointers (gemini-er, molmo), but no step that both says "it failed, here" and "go there instead". Embodied-R1.5 is trained for both (process detection, error localisation, correction; pointing on a 0-1000 grid), so one local model answers all three questions.
How it composes
- Before it: the step that just ran, in words (
step), and a frame (frame, orcamerainrobot.get_observation).assume_failed: truewhen a cheaper check already said it failed. - After it:
correction_point(andcorrection_points, R1.5 may give several) in frame pixels: lift it with depth (depth.*, the camera's intrinsics) to a place or grasp target and retry;error_pointfor a log, a re-grasp near the dropped part, or a VLM's second look.
What it does
embodied-r1.query_yes_no: "The robot just tried this step: ... Did the step succeed?" Yes ->step_ok.embodied-r1.pointin OFG mode at "the place in the image that shows why this robot step failed: ..." ->error_point.embodied-r1.pointwithgoal(defaultstep) incorrection_mode(RRG: where the object should end up; OFG: the part to act on) ->correction_point.
The prompts of steps 1 and 2 were written for this skill (R1.5's own process-detection and error-localisation prompts are not published); step 3 is upstream's RRG / OFG template (in tools/embodied-r1).
Inputs
step (required), goal, frame | camera, assume_failed (false),
correction_mode (RRG).
Outputs
step_ok, error_point [x, y] | null, correction_point [x, y] |
null, correction_points, detail.
Checks
CPU unit tests with FakeContext (tests/bundles/test_embodied_r1.py): every
exit, the frame from the camera, assume_failed, and the tool's parsing.
Live (2026-11-30, the pointing half only; numbers in tools/embodied-r1):
on 12 object queries over 3 real station frames, embodied-r1.point (R1.5)
put its first point on the named part 9 times, gemini-er.point 8 and 9
times in two runs. R1.5 left 2 queries empty and once pointed at a
look-alike cap; it took 1.6 s a call on an RTX PRO 6000. The run found that
R1.5's <point>[[x, y]]</point> replies were mapped as pixels (points
clipped to the frame corner), fixed in the tool. Not yet measured: the
success question (query_yes_no) on frames before and after a step, and
the OFG / RRG correction points.
Limits
- One frame, no history: a step whose failure is not visible in the frame (a slipped grasp hidden by the hand) is judged on what is visible.
- Points are pixels; depth and a camera model are needed to act on them.
- R1.5 needs ~20 GB of GPU memory and seconds per call (it reasons in a
<think>block first): use it after a step, not inside a servo loop.


