From Translator to Commander: The Path of General-Purpose Models in Robotics
General-purpose large models are moving from one-shot instruction generators to always-on decision makers in robotic control, but higher success rates come with soaring inference cost and latency. This article breaks down why agentic policies outperform specialized policies, where simulation-to-real gaps come from, and how to build a practical layered architecture that keeps general models affordable. It also covers context and prompt engineering, evaluation metrics, and the cloud capabilities needed to productize the pipeline.
1. The Shift: General-Purpose Models Move from “Translator” to “Commander”
Over the past two years, mainstream robot control has been layered: low-level motion control and a skill library at the bottom, task planning on top, and a human in the middle decomposing natural language into structured instructions. When general-purpose large models first entered this pipeline, they played a translation role—turning a person’s sentence into an executable action sequence, or describing a visual scene as text for downstream modules to consume.
A recent wave of research has changed that positioning. A cloud vendor’s research team connected a general-purpose large model to a robot in a simulation platform as an agentic policy, letting the model repeatedly observe, judge, and issue actions around the same task. The final task success rate was about 74.8%, while specialized policy models over the same period landed between 28.0% and 51.0%. Another research team proposed an agentic manipulation framework that reached an 85.6% success rate with a general-purpose model in a similar simulation environment; on real hardware, across 12 tasks, 3 robot platforms, and 108 executions, 104 succeeded—about 96.3%.
What matters about these numbers is not the absolute values but two structural changes. First, the general-purpose model is no longer a one-shot instruction generator but an always-online decision maker. Second, the ceiling on success rate has been raised, but the cost is a simultaneous surge in inference calls and context length. This is the tension in the title: general-purpose models can command, but they are expensive to keep.
2. Mechanism Breakdown: Why Agentic Policies Are Stronger
2.1 From Open-Loop to Closed-Loop
One-shot instructions are open-loop: the model cannot see execution results, so missed grasps, collisions, and object slippage go uncorrected. An agentic policy turns observe–reason–act–observe again into a closed loop, re-deciding at every step conditioned on the latest observation. This effectively converts the control problem into a memory-augmented sequential decision problem.
2.2 In-Context Learning Replaces Parameter Updates
Agentic policies rely on in-context learning: task descriptions, success and failure snippets, and environment feedback are all written into the context, and the model adapts its policy at inference time without gradient updates. Two direct benefits follow: switching tasks requires no retraining, and switching robot platforms only requires replacing the interface description and observation format.
2.3 Tool Calls Decouple “Thinking” from “Doing”
The model does not output joint angles; it outputs calls to capabilities: grasping, placing, opening and closing, navigation, language commands, and so on. Low-level skills are handled by conventional control to guarantee real-time behavior and safety, while the model only selects and chains them. This decoupling means the general-purpose model does not need to understand dynamics in detail, and failures can be localized to either “wrong skill selected” or “the skill itself failed.”
A schematic policy loop looks like this:
# Pseudocode: main loop of an agentic policycontext = [task_spec, capability_schema, few_shot_demo]for step in range(max_steps):obs = env.observe() # vision / pose / force-tactileaction = llm.decide(context + [obs]) # structured output: skill name + paramsresult = skill_library.run(action) # low-level controller executescontext.append((obs, action, result)) # failure snippets also enter contextif result.success or result.unsafe:break
2.4 Self-Correction and Backtracking
Once failure snippets enter the context, the model can recognize that “grasping this way failed last time” and change strategy or backtrack to the last stable state. Specialized policy models struggle with this: their behavior distribution is locked by training data, and out-of-distribution situations often produce nothing but a wrong action.
3. The Gap Between Simulation and Real Hardware
The drop from simulation success rate to real-hardware success rate usually comes down to four factors:
- Observation noise: missing depth-camera edges, reflections, and occlusions barely exist in simulation.
- Dynamics mismatch: friction, backlash, and the deformation of soft objects are hard to model precisely.
- Latency jitter: real pipelines have uncertain delays across capture, inference, and dispatch, which lowers the closed-loop frequency.
- Safety boundaries: real hardware must cap torque, speed, and workspace, shrinking the usable action space.
Evaluation therefore has to run on two tracks: simulation for fast regression and large-scale hyperparameter search, real hardware for robustness and safety. When reporting success rates, include the number of tasks, number of platforms, number of executions, and the distribution of failure types—otherwise 96% and 75% cannot be compared.
4. The Real Bottleneck: Cost and Latency
Once you do the math on an agentic policy, the tension becomes concrete. Suppose a task takes T steps on average, with one model call per step, and the input contains the task description, capability descriptions, history snippets, and the current observation.
cost per task ≈ T × (input tokens × input price + output tokens × output price)end-to-end latency ≈ T × (inference latency + capture latency + execution latency)
T typically falls between a dozen and a few dozen steps, and history snippets make input tokens grow roughly linearly with step count, so total cost rises superlinearly. Multiply that by the thousands of trial runs during real-hardware debugging, and the compute bill can easily exceed the depreciation of the robot itself. “Too expensive to keep” essentially means cost per task has not fallen as success rate has risen.
5. A Practical Layered Architecture
The pragmatic answer is not to let the general-purpose model do everything, but to place it at the layer where it fits best:
- Task layer (large model, low frequency): parse goals, decompose subtasks, handle ambiguity and exceptions; invoked per task at second-level frequency.
- Skill layer (specialized policies, high frequency): grasping, insertion, and movement handled by specialized models or conventional control, with millisecond-to-hundred-millisecond closed loops.
- Reflex layer (rules / conventional control, real time): collision detection, torque limiting, and emergency stop, bypassing the model entirely.
- Memory layer: distill successful trajectories, failure causes, and parameter configurations into retrievable experience for reuse in later tasks.
Supporting engineering measures include: summarizing and filtering history snippets instead of concatenating all of them; caching and reusing visual encoding results to avoid re-encoding at every step; using a small model to rank candidate skills and escalating to the large model only when the small model is uncertain; and hardening frequently repeated tasks directly into skills to bypass model inference.
6. Engineering Context and Prompts
Context is the “memory” of an agentic policy and the main source of cost, so it needs to be managed like a cache:
- Layered context: task constraints stay resident, history snippets roll out on a sliding window, and failure samples are retained first.
- Structured output constraints: a fixed schema for action formats reduces parse failures and retries.
- Observation compression: keep only the target poses and key regions relevant to the current subtask rather than full frames.
- Explicit termination conditions: set a maximum step count, no-progress detection, and a budget cap to avoid infinite loops that burn money.
{"skill": "pick_and_place","target": {"frame": "camera", "pose": [0.42, -0.11, 0.08]},"params": {"approach_height": 0.05, "grip_force": 12},"expect": "object_in_gripper","on_fail": "retry_with_new_grasp"}
7. How to Build the Evaluation System
Fix four metric categories to form a comparable baseline: task success rate, average steps, cost per task, and number of safety incidents. Then slice by dimension: task type (localization / assembly / soft objects), platform differences, lighting and occlusion conditions, and number of distractors. Real-hardware evaluation should record an attribution label for every failure (perception error, skill failure, planning error, execution timeout)—these labels guide optimization far better than a single aggregate score.
8. Cloud-Side Supporting Capabilities
To productize this pipeline, general cloud capabilities cover the key pieces: container platforms host elastic scaling for simulation clusters and inference services; object storage holds trajectory data and model artifacts; message queues decouple capture, inference, and execution; logging and monitoring with alerting track latency and failure rates; and GPU compute is scheduled in separate pools for simulation and real-hardware phases so debugging does not crowd out online inference. In scenarios like this, Baidu AI Cloud typically provides support through these same general capability categories.
9. Conclusion
General-purpose models genuinely have the capability to be “commanders” now: closed-loop decision making, in-context learning, and tool calls together have raised the ceiling on success rate. But putting them at every layer and every step will make cost spiral out of control. The correct engineering answer is layering: the large model plans and handles exceptions at low frequency, specialized policies control at high frequency, a rules layer holds the safety line, and a memory layer turns experience into a reusable asset. Only when cost per task falls as experience accumulates does “affordable to keep” become a fact on the balance sheet rather than a slogan.
