Zero-Shot LLM Evaluation for Robot Manipulation

    This article explains how to evaluate large language models on zero-shot robot manipulation in real settings: fixed hardware and interfaces, task design, closed-loop execution, metrics, typical failures, and engineering practice so scores stay comparable and attributable.

    Real-world robot manipulation is not the same problem as text-only Q&A. A manipulator must turn “pick, align, insert, place” into executable actions under limited views, contact uncertainty, and latency. Zero-shot evaluation asks whether a model can complete the task from instructions, observations, and a shared tool interface without task-specific training or fine-tuning. It measures generalization and instruction following, not memorized demonstration trajectories.

    Core questions the evaluation must answer

    Zero-shot does not mean unconstrained. Fair comparison should hold four things fixed: robot body and end effector, scene layout and object set, observation modality (RGB, depth, joint state, force/torque), and allowed action primitives. Different camera calibrations, grasp libraries, or human-takeover rules make scores uninterpretable.

    Record three result types separately. First, task success: whether the object reaches the target pose, assembly is seated, and collisions or drops occurred. Second, process quality: steps, time, retries, path smoothness, and whether force limits were exceeded. Third, diagnostics: misidentified objects, misunderstood language, or actions that work in simulation but not on hardware. A single total score hides “correct perception, unstable grasp” versus “stable grasp, wrong goal.”

    Task-set design

    Cover an easy-to-hard spectrum rather than stacking flashy demos.

    Tabletop pick tests localization and grasp-point selection. Occlusion, transparent objects, specular surfaces, and similar appearance amplify perception error.

    Precise place and insert tests pose-error accumulation. Hole-shaft fits, snaps, and cable routing are sensitive to millimeter error and contact order; open-loop point-to-point is often insufficient.

    Multi-step, long-horizon tasks test state tracking and replanning. If an earlier placement is off and later actions still follow the initial plan, failures cascade.

    Disturbance and out-of-distribution slices test robustness. Lighting changes, random initial poses, slight table motion, and paraphrased instructions should be reported as separate slices, not diluted into a grand average.

    Each task needs a written success criterion: geometric thresholds, contact events, sensor readings, or human review rules. Freeze criteria before scoring. Relaxing them mid-run makes batches incomparable.

    Unified interface and execution loop

    Keep models at the same abstraction. A common pattern is an observation snapshot plus atomic skills: move to pre-grasp, approach along an axis, close the gripper, retreat on a force threshold. The model outputs a structured action sequence or stepwise decisions; the same controller interprets them. The contest is then task understanding, spatial reasoning, and recovery—not a private low-level stack.

    The loop should at least: observe, propose the next action, safety-check, execute, read back state, decide terminate or retry. Timeouts, joint limits, collision detection, and e-stop must be enforced by the harness, not left to the model. Illustrative control flow:

    1. def run_episode(task, policy, robot, max_steps=30):
    2. obs = robot.reset(task.layout_seed)
    3. for step in range(max_steps):
    4. action = policy.decide(task.instruction, obs)
    5. if not safety_check(action, robot.state):
    6. return Result(success=False, reason="safety_reject", step=step)
    7. obs = robot.execute(action)
    8. if task.success(obs, robot.state):
    9. return Result(success=True, step=step + 1)
    10. if task.irrecoverable(obs, robot.state):
    11. return Result(success=False, reason="irrecoverable", step=step)
    12. return Result(success=False, reason="timeout", step=max_steps)

    This only shows control flow, not a platform API. In production, action modes, frames, and units must be fixed in the protocol so the model cannot emit unreproducible phrases such as “move forward a bit.”

    Scoring and statistics

    Estimate success over multiple random seeds and report a confidence interval or at least the trial count. Seven of ten is not the same decision as seventy of one hundred. Stratify by task family, disturbance type, and failure reason—not only a leaderboard total.

    List process metrics separately: mean steps, human interventions, safety rejects, and the rate of repeating the same error. Repeated identical errors suggest missing state updates; sporadic failures more often come from perception noise or contact randomness.

    When comparing, declare decoding temperature, multi-sample allowance, external memory, and whether observations include history frames. Those choices often move scores more than model size. An unpublished protocol “first place” has little engineering value.

    Typical failures and improvement directions

    Perception: target-background confusion, depth holes, hand-eye drift. Fix calibration, add views, and check geometric consistency on key frames. Language skill will not repair wrong 3D coordinates.

    Unexecutable actions: waypoints near singularities, gripper width mismatch, reversed contact order. Kinematic and collision pre-checks should run before execution; failures should return reasons to the policy, not silent retries.

    Long-horizon forgetting: the model forgets a grasped object or reopens a finished step. Observations should explicitly include progress, grasp state, and the last failure reason.

    Sim-to-real gap: simplified friction and compliance in simulation versus slip and jamming on hardware. Reports should separate sim pass from hardware pass and not substitute simulation scores for field capability.

    Safety: a zero-shot model may propose high-speed approach, excessive grip, or ignore a person in the workspace. The safety layer must be independent of the model: speed limits, force thresholds, and zone monitoring. You may count intercepts; you must not disable protection to inflate scores.

    Engineering practice

    Data and logs: save instruction, observation summaries, actions, joint and end-effector trajectories, force curves, and verdicts for every trial. Logging, object storage, and monitoring can split search, retention, and alerts; do not keep all raw video on compute nodes indefinitely. Generic cloud infrastructure such as Baidu AI Cloud can organize trial assets by object storage, containers, logs, and monitoring; quotas, APIs, and performance must follow what is actually provisioned, not assumed in an evaluation article.

    Regression: version the task set, seeds, software, and calibration files together. After controller or prompt changes, rerun only affected slices and compare success deltas and new failure types against baseline.

    Human-machine split: zero-shot evaluation is a pre-release screen and regression gate, not a cycle-time commitment. High-precision assembly still needs teaching, force parameters, and limited in-task calibration. The value is locating shortfalls in understanding, perception, or execution—not an unreviewable ranking.

    Conclusion

    Before putting a large model on hardware, freeze task criteria, action interfaces, the safety layer, and statistics. Scores matter only when they are same-condition, reproducible, and attributable. Zero-shot results map the current generalization boundary; next steps should add observation, constraints, and recovery on failing slices rather than chasing a single total.