General-purpose LLMs Directly Driving Robots: A Technical Breakdown of the Approach
This article examines the shift from training task-specific robot policies to using general-purpose large language models that drive physical tasks on real robotic arms in a zero-shot setting. It breaks down the core mechanisms that make this possible—code-as-policy generation, layered perception-inference-execution loops, and the real constraints of zero-shot evaluation—then explains how to read benchmark results, where general and vertical models each fit, and the engineering essentials for deployment, including runtime safety gateways, simulation-first validation, observability, elastic inference, and data feedback. It closes with common misconceptions and key physical-world risks.}
1. The Trend: From “Specialized Models Adapted to Hardware” to “General Models Driving Execution Directly”
For a long time, the robotics industry operated on a default assumption: because hardware platforms differ significantly and force control and calibration requirements are demanding, a dedicated policy model must be trained for each type of robot body, while general-purpose large models could only handle upper-level task planning. Recent public technical developments have changed the premise behind this assumption—the ability of general-purpose large models to complete physical tasks on real robotic arms in a zero-shot manner has been repeatedly validated, with some flagship models completing more than half of the physical tasks in independent third-party benchmarks, and weaker models from the same generation scoring close to them.
It is worth emphasizing that the technical meaning of these results is not that “large models replace motion control,” but rather that “the upper-level capabilities of task understanding and policy generation can now bypass the dedicated policy-training stage.” Understanding this point is the foundation for judging the direction of subsequent engineering investment.
2. Breaking Down the Key Mechanisms: Why Zero-shot Direct Driving Is Possible
2.1 Code as Policy
The model does not directly output joint-angle sequences. Instead, it generates executable control code or structured action calls, which are interpreted and executed by a runtime. This yields three layers of benefit: actions become readable and auditable; existing libraries for kinematics, path planning, and collision detection can be reused; and failures can be traced to a specific statement rather than a black-box output.
A schematic control loop is shown below (pseudocode, expressing structure only):
while not task_done:obs = perception.get_scene() # poses, point cloud, gripper statecode = model.generate(obs, goal) # zero-shot generation of control snippetsplan = runtime.validate(code) # joint limits, velocity, collision checksresult = runtime.execute(plan) # sent to the 6-axis robotic armtask_done = evaluator.check(goal, result)
2.2 Layered Loop Frequencies for Perception–Inference–Execution
Large-model inference latency ranges from hundreds of milliseconds to seconds and cannot handle high-frequency servo control. Engineering practice therefore requires layering: the high-frequency layer is handled by the robot body’s position/force control loops, the mid-frequency layer handles trajectory and grasp-pose correction, and the low-frequency layer is handled by the model for goal parsing and policy replanning. Confusing these layers is the root cause of most current failure cases.
2.3 The Real Constraints of the Zero-shot Setting
Benchmarks typically prohibit task-specific fine-tuning, which means the model relies on general semantic understanding, spatial reasoning, and coding ability rather than task priors. The cost is that robustness drops noticeably in scenarios such as unseen object deformation, transparent/reflective materials, and occluded stacking, and success rates are highly sensitive to perception quality.
3. How to Read Evaluation Benchmarks Correctly
When looking at leaderboards, it is advisable to focus on four dimensions rather than just the overall score:
- Task coverage: the number of physical tasks completed is more informative than a single high score;
- Success rate and variance: the failure distribution across repeated trials determines whether it can go into production;
- Whether task-specific training is allowed: zero-shot and post-fine-tuning results cannot be compared directly;
- Safety and recovery: self-recovery behavior after collisions, drops, and grip failures is often overlooked.
A common misinterpretation is reading “completed 6 tasks” as “possessing general-purpose work capability.” What real production lines require is stable reproduction of the same task thousands of times in a row—the two are not on the same order of magnitude.
4. The Capability Boundaries of General and Vertical Models
A more rigorous conclusion is layered collaboration rather than mutual replacement:
| Dimension | General-purpose LLM | Vertical specialized model |
|---|---|---|
| Task generalization | Strong; supports issuing new goals in natural language | Weak; requires retraining |
| High-frequency force control | Not applicable | Clear advantage |
| Interpretability | Medium; depends on code readability | Low; mostly end-to-end policies |
| Deployment cost | Depends on inference compute | Can run on-device |
The feasible architecture is therefore: the general model handles task decomposition, exception handling, and policy generation; the vertical model handles fine control in contact-rich stages.
5. Key Points for Engineering Deployment
- Runtime safety gateway: all generated code must pass joint-limit, velocity/acceleration, workspace, and collision checks, defaulting to rejection rather than default pass-through.
- Simulation first and domain randomization: run batch regression in simulation first, then migrate to the real robot in small steps, randomizing lighting, materials, and friction coefficients to narrow the gap.
- Observability: collect model inputs and outputs, perception confidence, and execution trajectories in a unified way, and combine them with logging services and monitoring alerts to locate failure modes.
- Elastic compute and model-as-a-service: the inference side uses a container platform, models are provided as service interfaces callable by multiple robot bodies, and cold starts and scaling must be load-tested in advance.
- Data feedback loop: failed samples are automatically archived for expanding the evaluation set and optimizing prompts/toolchains rather than direct fine-tuning, in order to preserve zero-shot capability.
When deployed in the cloud, the above capabilities can map to a combination of general categories: a container platform hosts inference services, object storage holds trajectory and video data, a message queue decouples the perception and execution pipelines, and the logging and monitoring system handles full-chain tracing.
6. Common Misconceptions and Risk Warnings
- Misconception 1: treating demo success rate as production availability. Demos are usually curated by scenario selection.
- Misconception 2: pursuing an all-in-one end-to-end unification. A layered architecture is clearly superior in maintainability.
- Misconception 3: ignoring hardware differences. Kinematic parameters and gripping characteristics of different robot bodies significantly affect the usability of generated code.
- Risk: the physical world cannot be rolled back, so any generative control must have hardware-level limits and an emergency stop as the last line of defense.
7. Conclusion
The value of general-purpose LLMs directly driving robots lies in reducing the onboarding cost of a “new task” from training a policy model to writing a prompt and a set of tool constraints. It does not eliminate the engineering accumulation in motion control and end effectors; instead, it consolidates that capability into reliable primitives the model can call. The recommendation for developers is to first build a safe runtime, an evaluation system, and observability, then gradually expand the model’s takeover scope at the task layer. Baidu AI Cloud’s general compute, storage, and monitoring capabilities in these scenarios can serve as one of the infrastructure options for hosting the architecture described above.
