Real-Robot Evaluation of Large Models: A Unified Framework Practice Guide

    This article explains how to evaluate large models on physical robots under zero-shot conditions, where results must be comparable across models without task-specific tuning or prompt templates. It breaks a mature evaluation framework into four decoupled layers (task suite, observation/action interface, runtime sandbox, metrics and attribution), shows the layer contracts and a weighted scoring function in code, and argues that success rate alone is misleading. It covers four metric families, structured failure attribution, engineering practices for reproducibility, parallelism, logging and cost control, and a checklist of common pitfalls.

    1. Where the Problem Starts: Why Zero-Shot Real-Robot Evaluation Is Hard to Get Right

    Connecting a large model directly to a physical robot to complete manipulation tasks is a problem of a completely different magnitude than running a single trajectory in simulation. In simulation, states can be reset, physics parameters can be tuned, and observations are noise-free. On real hardware, you face calibration errors, actuator latency, grasp slippage, lighting changes, and other uncontrollable factors. The core tension of evaluation is therefore this: every model must face the same physical constraints, while the evaluation process itself must not become a variable.

    “Zero-shot” has two meanings here. First, the model has not been fine-tuned on the target task. Second, the evaluator does not supply task-specific prompt templates or action priors. Only when both conditions hold are the scores horizontally comparable.

    2. The Four-Layer Structure of a Unified Evaluation Framework

    A mature real-robot evaluation framework can usually be split into four layers, decoupled from one another by stable contracts.

    1. Task layer (Task Suite): defines task semantics, initial conditions, success criteria, and the maximum step budget. Tasks should span a range of difficulty tiers, for example single-object grasping, multi-object sorting, deformable-object manipulation, and long-horizon tasks with multi-step dependencies.
    2. Abstraction layer (Observation/Action Interface): normalizes observations and actions into hardware-agnostic data structures, hiding differences in arm model, gripper type, and camera intrinsics/extrinsics.
    3. Execution layer (Runtime Sandbox): handles safety limits, timeout circuit breaking, emergency stops on exceptions, trajectory smoothing, and retry policies, and guarantees that the initial scene of each trial is reproducible.
    4. Metrics layer (Metrics & Attribution): collects raw logs, computes success, efficiency, and robustness metrics, and produces structured attribution for failed samples.

    Example inter-layer contracts (illustrative interface shapes only, not any specific product API):

    1. from dataclasses import dataclass
    2. from typing import Any, Protocol
    3. @dataclass
    4. class Observation:
    5. rgb: Any # Multi-view image tensors
    6. state: Any # Joint angles / end-effector pose
    7. step: int
    8. budget_left: int
    9. @dataclass
    10. class Action:
    11. delta_pose: Any # End-effector delta pose
    12. gripper: float # Open/close ratio, 0~1
    13. class Policy(Protocol):
    14. def reset(self, task_id: str) -> None: ...
    15. def act(self, obs: Observation) -> Action: ...
    16. class TaskEnv(Protocol):
    17. def reset(self, seed: int) -> Observation: ...
    18. def step(self, action: Action) -> tuple[Observation, float, bool, dict]: ...

    3. Metric Design: Success Rate Is Only the Entry Point

    A single success rate is easily diluted by a high proportion of easy tasks. It is advisable to report at least four metric families in parallel:

    • Task success rate: broken down by difficulty tier, with confidence intervals, so that random fluctuation on small samples is not mistaken for a conclusion.
    • Sample efficiency: interaction steps and wall-clock time required to complete a task, reflecting inference latency and planning redundancy.
    • Robustness: the drop in success rate under initial-pose perturbations, lighting changes, and object category substitution.
    • Safety compliance rate: the proportion of out-of-bounds events, collisions, and timeout circuit breaks. This is a veto criterion that cannot be ignored in real-robot settings.

    When aggregating, use tiered weighting rather than a plain average:

    1. def weighted_success(results: dict[str, list[bool]], weights: dict[str, float]) -> float:
    2. total = 0.0
    3. for tier, outcomes in results.items():
    4. if not outcomes:
    5. continue
    6. rate = sum(outcomes) / len(outcomes)
    7. total += weights.get(tier, 0.0) * rate
    8. return total

    4. Failure Attribution: Making Scores Explainable

    The value of evaluation lies not in ranking but in locating bottlenecks. Tag every failed trajectory with structured labels: perception error (target not recognized, pose estimation bias), planning error (infeasible path, wrong order), execution error (grasp slippage, collision), timeout (inference or action too slow), and safety circuit break. Only after tabulating the label distribution can you tell whether the problem sits on the model side, the interface side, or the hardware side.

    Attribution data must be retained together with the raw observation frames, action sequences, and timestamps, forming a traceable evidence chain.

    5. Engineering Implementation Notes

    • Reproducibility: fix random seeds, record calibration parameters and firmware versions, and treat any environment change as a new evaluation version.
    • Parallelism and isolation: when running multiple devices in parallel, distribute tasks with a message queue and isolate runtime dependencies with a container platform to avoid mutual interference.
    • Data and logs: archive raw trajectories and images to object storage, and send structured logs and metrics into the logging service and the monitoring/alerting system for traceback and threshold alerts.
    • Cost control: real-robot time is expensive. Screen candidates in simulation first, then confirm the shortlisted configurations on hardware; this significantly reduces wasted machine time.
    • Statistical rigor: cover multiple repeated trials for each configuration, and report both mean and dispersion instead of drawing conclusions from a single success.

    6. Common Pitfalls Checklist

    1. Inconsistent prompt templates, so score differences come from engineering wrappers rather than model capability.
    2. Vague success criteria (for example, “close to the target” without quantification), which introduces subjective bias.
    3. No cap on steps or time budget, so slow models are misjudged as strong.
    4. Ignoring safety circuit-break samples, either counting abnormal terminations as failures or dropping them entirely.
    5. Reporting only an aggregate score without tiers, which hides systematic weaknesses on long-horizon tasks.

    7. Conclusion

    The essence of zero-shot real-robot evaluation is separating “model capability” from the “engineering environment.” The quality of the framework’s abstractions, the tiered design of metrics, and the granularity of failure attribution together determine whether the conclusions are trustworthy. Get these three things solid, and horizontal comparison becomes meaningful and model iteration gains a clear direction.