PAPER DEEP DIVE
World In-Context Learning for Agentic Robot Manipulation
World In-Context Learning (WICL) keeps a foundation model frozen, learns from one demonstration, and rehearses in a simulator by writing feedback into semantic Task Memory. RoboScript reaches 83.4% mean success on all 50 RoboTwin 2.0 tasks without gradient updates and transfers to a physical dual-arm robot.
One-sentence summary
World In-Context Learning turns a resettable simulator into a source of executable evidence: a frozen foundation model rehearses one demonstrated manipulation task, converts action outcomes into a versioned Task Memory, and then deploys that memory on unseen object instances without changing a single network weight.
The paper asks a deceptively broad question about where robot skill should live. Contemporary vision-language-action models, world action models, and reinforcement-learning policies all encode task competence in parameters. RoboScript proposes a different storage medium. The foundation model remains frozen, while the task-specific knowledge is written as a structured document containing object roles, workflow stages, relative grasp and placement specifications, completion conditions, and lessons derived from failed attempts. The central contribution is therefore not a new low-level controller. It is an argument about the location and lifecycle of adaptation.
The experiment makes that argument empirically sharp. In clean RoboTwin 2.0 scenes, RoboScript with GPT-6.1-Sol scores 83.6%, close to the 81.5% of the strongest trained baseline, 4D-WAM. Under randomized textures, lighting, table heights, and distractors, RoboScript scores 83.2% while 4D-WAM falls to 41.8%. The important object of study is not the three-point clean successor the 21.7-point mean gap by itself. It is the difference between knowledge stored as task semantics and knowledge absorbed as training-distribution statistics.
Why feedback must enter the context
Ordinary in-context learning already lets a frozen model inspect demonstrations, instructions, or retrieved examples. That is useful for recognizing an object role or inferring a sequence of stages, but it cannot tell the robot whether its last action actually moved the gripper to the commanded pose, preserved a grasp, or placed an object on the intended support. A demonstration from one table can suggest what to do; it cannot certify that the same relative motion will work on another table.
RoboScript treats this missing result signal as the main bottleneck. Action feedback is made explicit through receipts containing commanded and achieved poses, deviations, gripper state, step count, and execution paths. A reviewer can use that evidence to revise the task context. The next attempt then tests the revised memory in the world. This produces a feedback loop that is closer to reinforcement learning than imitation, except the update target is readable text rather than model parameters.
This distinction matters for auditability. A parameter update records that behavior changed without preserving an easily inspected reason. A Task Memory edit can retain its source attempt, merge history, and semantic rationale. It can also be linted before deployment. The design does not make the foundation model transparent, but it moves a crucial portion of task adaptation outside the opaque model where the system can inspect, compare, and roll back the learned artifact.
A formal view of learning in a world
Let the foundation model be a policy with frozen weights, and let one expert demonstration initialize the task context. The initial context is produced by the same model that will later act:
$$C_0 = I_\theta(d)$$
At rehearsal step k, the model receives an observation and current context, while a world returns a trajectory and outcome feedback. The model then updates only the context:
$$C_{k+1} = U_\theta(C_k,\tau_k,r_k)$$
The frozen parameter symbol is the formal expression of the paper’s central constraint. World outcomes may change the memory, but they never produce gradients into the base model. In principle, this allows the system to carry over broad visual, linguistic, and tool-use competence while replacing task-specific assumptions from one rehearsal instance to the next.
After the rehearsal set is exhausted and the memory passes its convergence rule, the context is frozen. Deployment uses the current observation and the learned context, with an evaluation instance drawn from a disjoint set:
$$\pi_\theta(\cdot \mid o_t,C^\star),\quad e \in E_{\text{test}}$$
The disjointness condition is not a bookkeeping detail. If an evaluation instance appeared during rehearsal, success could reflect retained scene facts rather than transferable task structure. RoboScript instead evaluates on new object placements and, for many tasks, new object instances. The paper reports that objects vary across instances in 39 of the 50 tasks, and 78% of episodes in those tasks use a different instance from the demonstration.
The transfer argument relies on shared task semantics across worlds. Appearance, lighting, and physical detail may change while the objects, their roles, and the relative geometry needed by the task remain equivalent:
$$\sigma(W)=\sigma(W')=\sigma(W'')$$
Here the worlds can represent the rehearsal simulator, a randomized simulator, and a real robot. The equality is conceptual rather than a claim of exact physical identity. A memory that refers to a handle, a receiver, a support relation, and a measured approach direction has a chance to survive transfer. A policy that has absorbed texture correlations from one visual domain has no equivalent guarantee.

Figure 3: WICL couples one demonstration, world rehearsal, frozen deployment, and reflection over disjoint evaluation blocks. Context knowledge is intended to track shared semantics rather than appearance.
RoboScript as an agentic manipulation system
Separating deployable information from simulator privilege
The implementation divides responsibilities between an agent plane and a control plane. The acting agent can access RGB-D images, proprioception, gripper reports, reachability checks, and motion-planner responses. The control plane manages simulator state, demonstrations, official success checks, and privileged diagnostics. This is a stronger boundary than simply asking the model not to inspect ground truth. The acting path is built from interfaces that also exist on a real robot, while privileged information can influence learning only after it has been compressed into the semantic memory.

Figure 2: The modular RoboScript infrastructure. Deployable paths, marked D, are separated from privileged paths, marked P, that remain inside the control plane.
The boundary also makes the simulator replaceable. A world needs to respond faithfully to actions, reset episodes for rehearsal, and prevent evaluation instances from leaking into learning. It does not need a privileged API that the deployed actor reads. In this paper the concrete world is RoboTwin 2.0, but the software architecture leaves room for a learned dynamics model or another simulator provided those conditions hold.
Geometry-first perception and a common action protocol
Perception begins with depth rather than asking a vision-language model to hallucinate complete 3D state from RGB. The system constructs a height map over the workspace, segments connected components, and lifts each proposal into a bounding volume with center, extent, and orientation. Object labels are resolved through a three-way vote among set-of-mark annotations, a grounding model, and a vision-language model. When those sources disagree, the agent receives an ambiguity rather than a silently forced identity.
The action interface is layered. Shared tools expose grasping, placing, corrective motion, reachability checking, and coordinated bimanual movement. An environment binding supplies kinematics, frame conventions, joint limits, table height, and gripper properties. Task-level skills then call the shared tools through that binding. Grasp and place specifications are relative to perceived parts and object roles, so moving a phone to the other side of a table can change the selected arm without invalidating the workflow.
Every action returns a structured receipt. The source contract separates what was commanded from what was achieved, which is exactly the distinction required for useful rehearsal feedback:
packages/core/src/roboscript/contracts/receipt.py:173-205
class ActionReceipt(BaseModel):
reason: ReceiptReason
arm: Arm | None = None
commanded: CommandedPoses | None = None
achieved: AchievedPose | None = None
deviation_m: FiniteFloat | None = None
steps_used: NonNegativeInt = 0
gripper: GripperReport | None = None
tcp_path: dict[Arm, list[Pose]] = Field(default_factory=dict)
...
@computed_field
@property
def ok(self) -> bool:
return self.reason in _REACHED
This contract explains why the learned feedback is more informative than a success bit. The model can observe that a target was clamped, a path deviated, a gripper closed on nothing, or a commanded move was rejected before motion. It can then revise a grasp specification, choose the other arm, reobserve, or add a recovery stage. The receipt is derived from proprioception and planner data, so the actor does not need simulator truth to reason about execution.
Task Memory as executable semantic structure
The object produced by learning is a structured Markdown document plus typed parameters. Stable sections define the task statement, object roles, workflow, call templates, and done predicates. A dynamic lessons section records condition-action guidance with provenance. Scratch space exists only in rehearsal caches and is never merged into the frozen memory. The implementation deliberately makes documents immutable so that every edit creates a new version and leaves a trace of what changed.
packages/core/src/roboscript/memory/doc.py:3-18
## INSTRUCTION [stable]
## TASK [stable]
## OBJECTS [stable]
## WORKFLOW [stable]
## LESSONS [dynamic]
## NOTES
## SCRATCH
Text names parameters as {name}; their values are in params.json.
Documents are immutable; edits make new ones.
The separation between stable and dynamic regions prevents a failed attempt from freely rewriting the whole task. A linter rejects scene coordinates, simulator terminology, instance identifiers, and fixed-arm conventions that are not supported by the instruction. These checks do not prove semantic correctness, but they block a common shortcut in which rehearsal memorizes where an object happened to be rather than how its role should be resolved.
The paper’s frozen memory for one basket task illustrates the level of detail expected: eight ordered workflow stages and 21 typed specifications. Rehearsal added a handover stage and two lessons to the memory derived from the demonstration. That result is a useful counterexample to the idea that context learning merely stores a transcript. The artifact is closer to a compact policy skeleton with explicit preconditions, calls, and completion tests.
From one demonstration to a reusable memory
S1 imitation anchors the task
S1 begins with the initialization expression above. A reader role studies the expert trajectory and writes an initial memory. An actor practices on the demonstration instance, and a reviewer revises the memory after each attempt. Some attempts can refer to the demonstration for support, while others must act from memory alone. The stage ends only after repeated successful attempts that also satisfy the ordered workflow requirements.
The first stage solves a practical problem that pure trial-and-error handles poorly. When the agent starts with an instruction but no demonstration, it must invent object roles, stage ordering, and completion conditions at the same time that it searches for grasp and placement parameters. The paper’s later ablation shows that this joint search is unreliable. The demonstration provides an executable anchor, not a set of weights.
S2 rehearsal tests the memory on new scenes
S2 moves the memory to new clean instances. Each instance receives one counted first attempt. After a failure, a reviewer can inspect a privileged diagnosis and propose an edit to a cached version. The edit is merged into the shared memory only if it makes that instance succeed. This validation step is important: a plausible explanatory sentence is not accepted merely because it sounds consistent with the failure. It must demonstrate causal utility on the failed instance.
The edit budget decays as evidence accumulates. The paper specifies the learning rate and merge budget as:
$$\alpha_k = \max(0.2, 10/(9+k))$$
$$\max(1,\operatorname{round}(4\alpha_k))$$
The schedule gives the agent room to repair structure early and then favors small numerical corrections. The checked repository encodes the expected budget bands: four edits for the first two counted instances, three for instances three through seven, two for eight through seventeen, and one thereafter. Because a structural edit costs more than one unit, later batches naturally preserve the stabilized workflow. This is a concrete mechanism for avoiding repeated overfitting to individual scenes.
recipes/wicl/memory.yaml:43-57
# At the k-th counted seed:
# alpha_k = max(alpha_min, 1 / (1 + (k - 1) / tau))
# B_k = max(budget_min, round(budget_scale * alpha_k))
# B_k = 4 for k <= 2, 3 for k = 3-7,
# 2 for k = 8-17, then 1
schedule:
name: decay
alpha_min: 0.2
tau: 10
budget_scale: 4
budget_min: 1

Figure 4: Skill construction, S1 imitation, S2 rehearsal, deployment, and reflection. Green indicates deployable data; orange indicates privileged supervision confined to the control plane.
Why privileged supervision does not automatically leak into deployment
Privileged data can improve learning without becoming part of the actor’s observation. During S1, a reader may inspect ground-truth object state to understand the demonstration. During S2, a reviewer may see why an attempt failed. The actor still receives only deployable observations, and the linter removes simulator facts from the memory. The crucial question is whether the resulting semantic lesson depends causally on information that the actor could not obtain at deployment.
The paper tests this concern directly by removing both privileged sources. The privilege-free learning variant reaches 86.5%, versus 86.0% for the full relearned method. The half-point difference is not evidence that privilege is harmful. It means that, on this task set and seed configuration, removing it did not reduce success. Together with the actor-side data boundary, the result makes simulator leakage a less plausible explanation for the overall gains, though it cannot certify every learned sentence by inspection.
Deployment: anticipation, arm selection, and recovery
At deployment the memory is frozen, but behavior is not a blind replay. Before manipulation, the agent maps stored object roles to the current scene, checks reachability for candidate grasps and placements, and verifies that the planned sequence is feasible. If the demonstrated phone now lies on the opposite side, the system can mirror a relative grasp specification to the other arm. The paper reports a switch in roughly half of successful grasps, with comparable success whether or not the arm changes.
A failed action does not necessarily terminate the episode. The robot can move to a safe pose, reobserve without resetting, and continue from the current state subject to the benchmark step limit. Completion is checked against the demonstrated final relation, but the agent’s declaration is not allowed to override the official success checker. This separation prevents the policy from turning a confident but incorrect self-assessment into an experimental success.

Figure 8: Three frozen-memory behaviors: mirroring a grasp to the other arm, refusing completion when a workflow stage was skipped, and recovering a dropped bottle by reobserving its new geometry.
The skipped-stage example is especially informative. After the robot grasps a basket, its first completion check fails because the toy car has not been lifted to the required height. Instead of ending the episode, the agent uses the memory’s ordered stages to locate the missing manipulation. In another example, a bottle tips during transport. The system reobserves the bottle, applies the same relative grasp specification to the rotated geometry, and regrasps it. These are not parameter-level gradient updates. They are decisions produced by combining a semantic workflow, a receipt, and current perception.
Reflection over disjoint evaluation blocks
Frozen weights do not prohibit further improvement if the learned knowledge remains editable. After each evaluation block, a reflection agent reads episode records containing deployable observations and success labels. It must diagnose failure patterns without receiving ground-truth reasons. The resulting guidance is tested on the next, previously unseen block:
$$G_{j+1} = V_\theta(G_j,D_j)$$
Because blocks are disjoint, a gain cannot come from replaying the same episodes with a longer prompt. The paper reports net gains of 18, 7, and 1 episodes over 50 tasks across three rounds. On the 17 weakest tasks, the corresponding gains are 18, 8, and 4. The guidance set grows from 74 entries to 97 and then 112. The declining net benefit suggests that reflection first repairs broad, easily diagnosed patterns; later failures are sparser and harder to attribute from deployable records.

Figure 9: Recursive self-improvement on disjoint seed blocks. Guidance increases over rounds, concentrates gains on weak tasks, and can change the outcome of a paired episode.
One qualitative example captures the mechanism. A can must be supported around a pot. The original policy sometimes drags the can across the pot during lateral correction, causing it to fall. A new guidance entry says that when a spacing correction would cross the pot, the robot should first release the supported can, observe the scene, and approach from the other side. With that condition-action rule, the robot releases the can at step 24 and succeeds. The update changes the contact strategy without changing the model weights.
The full WICL control flow
The implementation’s lifecycle is a loop over evidence rather than a single prompt construction step. One demonstration initializes memory; rehearsal revises it through receipts; successful edits are merged and linted; the resulting context is frozen for deployment; new episodes are evaluated; and reflection writes guidance for another disjoint block.
flowchart LR D["One expert demonstration"] --> I["Initialize context"] I --> R["S1 and S2 rehearsal"] R --> P["Actor issues tool action"] P --> A["Action receipt"] A --> T["Typed Task Memory edit"] T -->|failed attempt| R T -->|validated success| F["Lint and freeze memory"] F --> U["Deploy on unseen instances"] U --> E["Deployable episode records"] E --> G["Reflection writes guidance"] G --> B["Evaluate next disjoint block"] B --> G
Three separations make this diagram scientifically meaningful: rehearsal instances differ from evaluation instances, acting roles use deployable observations, and every reflection round is assessed on a fresh block. Remove any one and the reported result changes from a test of transferable task knowledge into a test of memorization, privileged access, or repeated adaptation to a fixed evaluation set.
Evidence on the full benchmark
RoboTwin 2.0 contributes 50 dual-arm manipulation tasks spanning articulated objects, directional parts, receptacle function points, relative placement, and single-object manipulation. Each task is evaluated for 10 episodes in clean scenes and 10 in randomized scenes, yielding 1,000 episodes. RoboScript selects one clean demonstration per task, rehearses on clean instances, and enters both evaluation settings without access to randomized training data. Trained baselines receive 50 demonstrations per task.

Figure 1: Learning skill in weights, ordinary in-context learning from a demonstration, and WICL with a world in the loop. On RoboTwin 2.0, WICL preserves most of its clean-scene success under randomization.
| Method | Demos per task | Clean | Randomized | Mean | Randomized retention |
|---|---|---|---|---|---|
| FastWAM | 50 | 77.8% | 1.9% | 39.9% | 2.4% |
| π0.5 | 50 | 70.7% | 46.0% | 58.4% | 65.1% |
| 4D-WAM | 50 | 81.5% | 41.8% | 61.7% | 51.3% |
| RoboScript, DeepSeek-V4.1-Flash | 1 | 77.8% | 78.4% | 78.1% | 100.8% |
| RoboScript, GPT-5.6-Luna | 1 | 79.8% | 76.0% | 77.9% | 95.2% |
| RoboScript, GPT-6.1-Sol | 1 | 83.6% | 83.2% | 83.4% | 99.5% |
Table 1: Selected main results from the paper. Retention is randomized success divided by clean success.
The clean comparison rules out a simplistic interpretation in which RoboScript simply has a better controller everywhere. Its 2.1-point lead over 4D-WAM in clean scenes is modest. The major separation appears when appearance and table geometry change. Across the three foundation models, randomized retention ranges from 95.2% to 100.8%. Every trained action policy in the main comparison retains at most 65.1%. The method transfers even though rehearsal never sees the randomized setting.
The aggregate result is also stable at the task level rather than being produced by a few spectacular improvements. For GPT-6.1-Sol, the randomized-minus-clean change ranges from -7.0 to +6.4 points across individual tasks. Category means move by at most 8 points. The paper reports a 95% Wilson interval of 81.0% to 85.6% for the 83.4% mean. These statistics do not eliminate task heterogeneity, but they make a pure outlier explanation implausible.
Model substitution provides a second check. GPT-5.6-Luna and DeepSeek-V4.1-Flash use the same code, prompts, and protocol and reach 77.9% and 78.1% mean success. Both exceed every trained action policy, while GPT-6.1-Sol gains a further 5.3 to 5.5 points. Since the task memory is independent of model weights, switching providers changes the reasoning engine rather than requiring a new task dataset or a retrained policy.
Where the failures remain
The failure diagnosis prevents the headline number from becoming a story of uniform competence. GPT-6.1-Sol fails 166 episodes: 82 clean and 84 randomized. Knowledge failures account for 37 and 38 episodes, respectively. Perception failures decrease slightly from 22 to 17, while execution failures rise from 23 to 29 as randomized table heights make some motions harder. The near-constant knowledge count supports the authors’ interpretation that randomization changes physical execution more than task understanding.

Figure 5: Per-task clean and randomized success together with the physical root causes of failed GPT-6.1-Sol episodes. False acceptances are shown separately because they cut across the physical categories.
False acceptance remains a serious operational problem. The agent’s own completion check accepts a state that the official checker rejects in 28% of clean failures and 29% of randomized failures. A better recovery loop does not solve this if the robot misidentifies task completion. The paper surfaces the error rather than folding it into a generic failure rate, which is important for deployment. A real system would need calibrated completion predicates, conservative exit behavior, and perhaps external verification before releasing control.
Task-level weaknesses remain visible. The Chinese draft cites cases such as hanging a mug and manipulating a can around a pot where randomized success is much lower than clean success. Those tasks demand precise orientation, contact maintenance, and narrow recovery windows. Their presence is a useful boundary on the main claim: semantic memory is comparatively robust to visual distribution shift, but it does not replace high-quality perception or contact-rich low-level skills.
Ablating the world and the demonstration
The ablation study isolates two inputs that are easy to conflate. Writing a memory from the demonstration without interactive rehearsal scores 69.0%. Showing the demonstration in the deployment context scores 67.5%, and an instruction-only memory scores 68.0%. These three variants fall within 1.5 points of one another. A static demonstration supplies clues, but without action outcomes it cannot establish whether the grasp, trajectory, and placement parameters work in a new scene.
The opposite ablation is equally important. Rehearsal without a demonstration reaches only 56.5%, 11.5 points below instruction-only deployment and the largest gap in the learning group. The agent must search for object roles, workflow structure, and completion conditions while also correcting low-level parameters. The paper also notes that this variant removes the demonstration-anchored completion check, so the drop combines two losses. The demonstration is not sufficient by itself, but it makes rehearsal tractable.
| Variant | Clean | Randomized | Mean | Interpretation |
|---|---|---|---|---|
| Full frozen memory | 77.0% | 80.0% | 78.5% | Anticipation, completion checks, and recovery |
| Without arm check | 78.0% | 72.0% | 75.0% | Always use the demonstrated arm |
| Without completion check | 72.0% | 82.0% | 77.0% | Can omit a workflow stage before finishing |
| Without recovery | 68.0% | 70.0% | 69.0% | First failed action ends the episode |
| Demonstration written as memory | 69.0% | 69.0% | 69.0% | No world interaction |
| Demonstration in deployment context | 69.0% | 66.0% | 67.5% | Static context without outcomes |
| Instruction only | 68.0% | 68.0% | 68.0% | No object roles or demonstrated workflow |
| Relearn without demonstration | 58.0% | 55.0% | 56.5% | No anchor for rehearsal |
| Without privileged supervision | 87.0% | 86.0% | 86.5% | Paired with 86.0% full relearning control |
Table 2: Ablation results from 10 tasks covering all five task categories. Comparisons are paired within groups and should not be merged across different service sessions.
Deployment ablations identify recovery as the largest single loss: 78.5% with the full system and 69.0% when the first failed action terminates the episode. Removing the arm check lowers the mean to 75.0%, showing that scene-conditioned arm selection is not cosmetic. Removing the completion check yields 77.0%, with a larger clean-scene loss because the policy can finish after skipping a stage. These results explain why the frozen memory must be paired with an agent loop rather than executed as a fixed script.
Rehearsal’s contribution concentrates on harder tasks. On 11 costly tasks, imitation-only memory reaches 46.1%, compared with 54.5% for full S1 plus S2. The average gain is 8.4 points and rises to 13.3 points under randomization, with a paired test p-value of 0.034. Simple tasks leave little for rehearsal to correct once the demonstration has defined the main stages. Difficult tasks expose wrong grasp offsets, arm assignments, and completion contacts that only execution can reveal.
The privilege-free variant deserves careful reading. It scores 86.5%, slightly above the 86.0% full relearning control, but well above the 78.5% frozen-memory group. The absolute levels differ because the groups use different controls and fixed API endpoints. The valid comparison is paired within each group. The paper’s own warning about session-level service variation is therefore part of the result, not an inconvenient footnote.
Reflection, cost, and real-robot transfer
Reflection works best where the original memory has systematic gaps. On the 17 weak tasks, guidance yields net gains in every round, but the effect falls from 18 to 8 and then 4 episodes. Across all 50 tasks it falls from 18 to 7 and then 1. The guidance library nevertheless grows, from 74 to 97 to 112 entries, suggesting that later rounds add increasingly specific advice for rarer failures. The method is not compounding without limit; it is consuming easier failure modes first.
Cost is substantial. A GPT-6.1-Sol evaluation episode averages 54.7 model calls, 2.33 million tokens, and 149 simulation steps. Learning 50 tasks and evaluating 1,000 episodes costs approximately USD 1,911 at list prices. GPT-5.6-Luna costs USD 308, while DeepSeek-V4.1-Flash costs USD 739 because it generates far more output tokens despite a lower unit price. The memory can be reused across episodes, but deployment still depends on repeated foundation-model inference and therefore carries latency and API availability risk.
| Foundation model | Mean success | S1 exits | Mean S2 instances | Calls per episode | Tokens per episode | Learning and evaluation cost |
|---|---|---|---|---|---|---|
| DeepSeek-V4.1-Flash | 78.1% | 50/50 | 11.1 | 53.1 | 3.89M | USD 739 |
| GPT-5.6-Luna | 77.9% | 47/50 | 14.5 | 62.2 | 2.61M | USD 308 |
| GPT-6.1-Sol | 83.4% | 49/50 | 12.5 | 54.7 | 2.33M | USD 1,911 |
Table 3: Model success and operational cost. Costs cover learning 50 tasks and evaluating 1,000 episodes at October 2026 list API prices.
The real-robot experiment tests whether the semantic representation survives a genuinely different execution stack. The paper takes memories learned on simulated ALOHA and deploys them on a dual-arm, 6-DoF PiPER robot. A lightweight adapter remaps coordinate conventions, kinematics, and gripper parameters while leaving workflow and relative specifications unchanged. No demonstration is rerecorded and no rehearsal is repeated. The four tasks cover pressing, bimanual grasping, pick-and-place, and stacking.
| PiPER task | Successful episodes | Manipulation type | Primary observed difficulty |
|---|---|---|---|
| Click Bell | 10/10 | Press | No failure observed in this sample |
| Grab Roller | 7/10 | Bimanual grasp | Gripper alignment and depth error |
| Move Playingcard Away | 7/10 | Pick-and-place | Thin-object perception and grasp stability |
| Stack Bowls Two | 6/10 | Relative placement and stacking | Contact location and alignment error |
Table 4: Real-robot outcomes reported for four tasks with 10 episodes each. All memories were rehearsed on simulated ALOHA and transferred without re-rehearsal.
These results support the transfer hypothesis, but they are not a broad real-world validation. Four short-horizon tasks and 40 total episodes provide initial evidence. The authors restrict their evaluation to rigid and articulated objects and explicitly identify cloth, cables, and tightly coordinated handovers as difficult. Real depth noise and gripper alignment already cause failures in the tested tasks, so a stronger manipulation foundation model or better calibrated sensing would still matter even if task memory transferred perfectly.
Limitations and implementation boundaries
The authors identify four concrete limitations. Commercial foundation-model service quality varies between sessions and can shift success by several points. Inference is slower than a trained policy because the robot must wait for dozens of model calls. Reflection gains diminish as easy failure patterns disappear. Most importantly for robotics, the benchmark does not cover deformable objects or tasks that require very tight bimanual contact. Those domains demand richer state estimation, contact-aware skills, and more faithful worlds.
There are additional limitations visible outside the paper’s main claims. The randomized evaluation changes appearance and physical parameters within one simulator; it does not establish transfer across arbitrary simulators, camera setups, or real homes. The memory linter can reject explicit scene coordinates, but it cannot prove that every learned condition is causally relevant. The agent can still encode a spurious regularity in entirely semantic language. The privilege-free ablation reduces the risk but is not a formal leakage proof.
The public repository also marks “Real-robot deployment code” as a TODO in its README. This does not contradict the reported PiPER experiment, but it limits independent reproduction of the end-to-end hardware path. The available code strongly supports the core contracts highlighted here, including immutable Task Memory, action receipts, and the decaying rehearsal schedule. A team attempting to reproduce the physical results should still expect to build or obtain the missing deployment integration.
Finally, the approach is not a replacement for low-level learned control. RoboScript still depends on geometry processing, motion planning, calibrated cameras, grasp skills, and the base model’s visual and tool-use competence. WICL changes where task adaptation is stored and how it is revised. It does not eliminate the need for a capable robot stack. This narrower framing is more defensible than describing the method as learning manipulation from scratch in a prompt.
Conclusion
RoboScript makes a coherent case that task skill need not be written back into network weights after every demonstration. A frozen model can use a world to test a semantic memory, turn execution results into typed edits, freeze the resulting artifact, and deploy it on unseen instances. The 83.4% mean success on all 50 RoboTwin tasks is the headline result, but the ablations supply the stronger argument: neither a static demonstration nor unlimited rehearsal works as well alone, and recovery remains essential after the memory is frozen.
The method is expensive, slow, and dependent on commercial model services. It remains vulnerable to completion errors, difficult contact dynamics, and imperfect semantic edits. Even so, it offers a useful architectural direction for agentic robotics: keep the base policy general, make task knowledge explicit, validate edits through action, preserve strict data boundaries, and evaluate improvement on unseen instances. In that framing, the world is not merely a training simulator. It is the interface through which a frozen model can practice, diagnose, and revise what it knows.



