RoboScript lets a robot learn a task by rehearsing a single demonstration in simulation, then saving the resulting know-how as reusable task memory rather than updating model weights. On all 50 RoboTwin 2.0 tasks, it reported 83.4% average success across clean and randomized scenes with one demonstration per task and no gradient updates, surpassing the strongest trained action policy by more than 20 points.
What did the researchers build?
The researchers built RoboScript, a system for teaching manipulation skills through World In-Context Learning, or WICL. Instead of adjusting a model’s internal parameters to teach a skill, WICL gives a frozen model a demonstration and lets it rehearse the task in a world such as a simulator. The model uses the rehearsal experience to build a task-specific memory, which can then guide later attempts.
The approach is designed to address a weakness in ordinary in-context learning. A robot can be shown a demonstration, but if that demonstration comes from a different scene, it does not provide feedback about the objects and conditions the robot now faces. RoboScript adds a world in the loop: rehearsal lets the system learn from how the task unfolds, rather than relying only on the original example.
For each task, RoboScript starts with a single demonstration, learns through simulation rehearsal, and freezes the result as a Task Memory. That memory is then used in new scenes under a data-isolation setup. In practical terms, deployment is restricted to information available to the real robot, rather than relying on hidden simulator state. The approach also includes reflection, which the researchers report can improve task performance.

How well did RoboScript perform?
RoboScript achieved an 83.4% mean success rate across all 50 tasks in the RoboTwin 2.0 benchmark, covering both clean and randomized settings. It used one demonstration per task and made no gradient updates, meaning the model’s learned weights were not changed to acquire those tasks.
The abstract reports that RoboScript exceeded the strongest trained action policy by more than 20 points. This is an important comparison: trained policies typically encode learned behavior in their weights, while RoboScript puts task-specific learning into context memory. The result suggests that rehearsal and task memory can be competitive with, and in this benchmark outperform, a strong trained-policy baseline.
| Reported result | RoboScript |
|---|---|
| RoboTwin 2.0 tasks evaluated | 50 |
| Mean task success across clean and randomized settings | 83.4% |
| Demonstrations per task | 1 |
| Gradient updates for task learning | 0 |
| Advantage over strongest trained action policy | More than 20 points |
The authors also report generalization across visual distributions, improvements through reflection, and better results as the foundation model scales. The abstract does not give separate scores for clean versus randomized scenes, individual tasks, model sizes, or reflection settings, so those comparisons cannot be quantified here. It also reports transfer to a physical dual-arm robot through cross-embodiment memory adaptation, but does not provide a physical-robot success rate in the abstract.
How does World In-Context Learning work?
WICL separates task learning from model training. In a conventional trained action policy, examples influence the model’s weights, and its learned behavior can be tied closely to the training distribution. WICL keeps the model frozen. “Frozen” means its learned parameters stay unchanged while it picks up a particular task through context and rehearsal.
The process begins with one demonstration of the desired manipulation. RoboScript then lets the model rehearse the task in a world, such as a simulator, where it can use feedback from the task environment. The key idea is that useful experience is semantic: it captures the task’s steps and the roles objects play, rather than just copying the demonstration’s exact visual appearance. That kind of task knowledge can be carried into a different scene.
After rehearsal, RoboScript stores the learned task knowledge as a Task Memory. The system can apply that frozen memory in new scenes without repeating the learning process from scratch. Data isolation is intended to keep the deployment inputs grounded in what a physical robot could actually receive, addressing the risk that a simulated rehearsal could grant access to information unavailable at deployment.
The researchers also describe reflection as a way to improve performance, as well as adapting memory across embodiments so learning can transfer to a physical dual-arm robot. The abstract does not specify the model architecture, the exact contents or encoding of Task Memory, or the detailed rehearsal and reflection algorithms. It establishes the overall pipeline and headline results, but not enough detail to reproduce each engineering choice.
Why does this matter for robotics?
Robot deployment often involves a gap between a demonstration and the conditions on the floor: lighting changes, object layouts differ, and equipment may have a different appearance or configuration. A system that learns only from the original images can struggle when those details shift. RoboScript’s results point to another route: retain the task structure, then use world-based rehearsal to adapt that knowledge to the new setting.
Avoiding gradient updates could also make task-specific learning easier to manage. A frozen model plus a separate memory creates a clearer boundary between the general-purpose model and the knowledge for a particular task. If the memory can be tested, replaced, or adapted independently, operators could potentially change task behavior without retraining the underlying model. The paper’s abstract does not establish how memory management works in a production system, but the separation is a practical design direction.
The physical dual-arm transfer result matters because simulation performance alone does not show that a method can work on real hardware. It offers an initial indication that task memory can cross the simulation-to-robot boundary and even adapt across embodiments. Teams exploring automation can also browse used robots for sale when assessing hardware options for manipulation work. Still, benchmark success is not a substitute for reliability testing in a specific operation.
What are the limitations and open questions?
The available abstract gives headline benchmark figures but leaves important details open. It does not name the foundation model, explain how Task Memory is represented, report per-task scores, or break down success between clean and randomized settings. Without those details, it is difficult to assess which tasks drive the average or how much performance varies across conditions.
The physical demonstration is also not quantified in the abstract: no hardware specifications, task list, trial count, or real-robot success rate are provided. The results therefore support a promising transfer claim, not a full assessment of robustness in production environments. Rehearsal quality and simulator realism are further practical questions: success will depend on whether the rehearsal world supplies feedback that transfers to the target robot and scene.
Finally, one demonstration per task is a strong benchmark result, but does not show how the method handles ambiguous instructions, long task sequences, safety constraints, or repeated failures. Those are important tests for deployment beyond a controlled benchmark.
Frequently Asked Questions
Does RoboScript train or fine-tune the model for each task? No. The model remains frozen, and the reported task learning uses no gradient updates.
How many demonstrations does RoboScript need for each task? The reported RoboTwin 2.0 results use one demonstration per task.
Does the method work only in simulation? The abstract reports transfer to a physical dual-arm robot through cross-embodiment memory adaptation, though it does not provide detailed real-robot metrics.
What is the main reported benchmark result? RoboScript reached 83.4% mean success across 50 RoboTwin 2.0 tasks in clean and randomized settings, more than 20 points above the strongest trained action policy.
What is the conclusion?
RoboScript shows how a robot can learn a manipulation task by rehearsing in a world and preserving the result as task memory, rather than changing its model weights. Its benchmark performance and reported physical-robot transfer make World In-Context Learning a promising direction, while detailed real-world testing remains essential.
