Skip to content

Talk-to-Robot

Tested where a language model goes wrong when it turns spoken robot commands into target positions, separately from the robot's own controller.

Result
End-to-end success falls from 98.3% to 50% across five tiers
My role
Co-author: two paper sections, target annotations, README
Team
5 people

Highlights

  • End-to-end success fell from 98.3% to 50% across five tiers of 100 instructions while the controller held at 93.3% or better, so the language model was what failed.
  • A plain regex beat the language model on relative offsets, 85.0% to 76.7%.
  • I wrote the paper sections on the environment and controller and on the five instruction tiers, and one of the three sets of human target annotations.
End-to-end success by instruction tierT0 baseline98.3%T0Literal93.3%T1Region76.7%T2Offsets73.3%T3Reference50.0%T4Intent

The problem

People give a robot directions the way they give a person directions: put it next to the marker, get it out of the way. A goal-conditioned controller needs an x, y, z target. A language model can translate, but when the block lands in the wrong place, you cannot tell whether the model picked the wrong target or the controller missed a good one.

Talk-to-Robot was our CSE 190 (Deep Reinforcement Learning) project at UC San Diego in spring 2026. We kept the two stages apart and asked where the grounding breaks and which errors a controller can recover from.

What I built

Five of us wrote the paper: Joseph Warzybok Mckenney, Fong-Yu (Yang) Lin, Waleed Alghaithi, Nasser Al Nasser and me. I wrote its sections on the environment and controller and on the five instruction tiers. In the code, my part was:

  • Annotated one of the three sets of targets for the 20 functional-intent instructions. Joseph, Waleed and I each picked a target for every instruction, and the ground truth is the average of our three picks.
  • Wrote the final README: tiers, key results, failure modes, setup and reproduction steps.
  • Set up the installable package layout: the code under src/talk_to_robot with a pyproject.toml.

My teammates built the rest. Yang set up the repository and the environment guide, trained the SAC+HER policy, first ran the whole pipeline and added rollout video recording. Nasser wrote the regex baseline and the Gemini grounding package: client, prompts, output parser and failure classifier. Joseph built the evaluation harness and the instruction set, ran the T0 to T3 results and wrote the retraining. Waleed fixed the regex T0 parsing and the T2 cube position in the harness, ran the zero-shot T4 evaluation and reorganized the results.

How it works

A grounder reads the instruction and returns a target point on the table. A SAC+HER policy, trained once on the MuJoCo FetchPush-v4 task and then frozen, pushes the block there. Because the controller never changes, differences in end-to-end success come from the grounding.

We wrote 100 instructions, 20 in each of five tiers: literal coordinates (T0), named regions such as the upper-left corner (T1), relative offsets such as "push it 5 cm to the right" (T2), reference objects such as "next to the marker" (T3), and functional intent such as "get it out of the way" (T4). The grounder is gemini-3.1-flash-lite at temperature 0, prompted zero-shot, few-shot with three examples, or with chain-of-thought. A regex baseline covers T0 to T2.

Each instruction gets three rollouts, so each tier's policy and end-to-end numbers rest on 60 episodes. We score whether the grounder's point is near the true target, whether the policy reaches the point it was given, and whether the block ends at the true target. The tolerance is 5 cm for T0 to T2, 8 cm for T3, and for T4 the annotators' average spread plus 3 cm.

A second experiment retrained the policy with 20% of goals near the workspace edge and 10% near its corners, a reward for getting close, and replays of the T2 and T3 failures.

Results

These are the few-shot numbers, as drawn in the chart above. The regex baseline does not handle T3 or T4.

Success by instruction tier, few-shot prompting
TierToleranceGrounder successPolicy successEnd-to-end successRegex end-to-end
T0 Literal coordinates5 cm100.0%100.0%98.3%98.3%
T1 Named regions5 cm100.0%96.7%93.3%93.3%
T2 Relative offsets5 cm45.0%95.0%76.7%85.0%
T3 Reference objects8 cm100.0%96.7%73.3%Not supported
T4 Functional intentAnnotator spread50.0%93.3%50.0%Not supported

Policy success stayed between 93.3% and 100% while end-to-end success fell, so the controller was not what failed. From T2 on, each tier failed differently:

  • T2: a plain regex beat the model, 85.0% to 76.7% end to end. The model put goals just past the workspace edge or used the wrong sign. Chain-of-thought stopped the edge cases but flipped signs, and scored lowest, 60.0%.
  • T3, scored at 8 cm: the model always picked the right object, then put the goal 0.060 m from it, the same offset on every case. At 5 cm every T3 case would fail.
  • T4: the model tended to send the block to a corner. Its mean distance from the annotators' target, 0.186 to 0.195 m, is about how far apart the annotators were, around 0.20 m.

Retraining brought policy success to 100% on every tier and, with chain-of-thought, cut the T3 block-to-goal distance from 38.7 mm to 23.4 mm. It did nothing for T2's off-table goals, and the 6 cm bias still kept T3 outside a 5 cm window.

Limits and next steps

  • Twenty instructions per tier is a small sample. The paper treats any gap under about 10 percentage points as suggestive only.
  • T3's score depends on the tolerance: 73.3% end to end at 8 cm, while at 5 cm the 6 cm offset alone fails every grounding. The retraining comparison used 5 cm for T3, which is misleading, so I leave it out here.
  • T2's true target moves with the block's random start, so its changes after retraining are noise.
  • We scored T4 against three annotators' average, so a reasonable corner can count as a miss. T4 scoring needs rework.
  • Everything ran in one simulated environment. The paper makes no sim-to-real claim.

Stack

  • Python 3.11
  • Gemini gemini-3.1-flash-lite as the grounder
  • MuJoCo FetchPush-v4 through Gymnasium Robotics
  • Stable-Baselines3 SAC with hindsight experience replay

Published , updated