Research
World In-Context Learning for Agentic Robot Manipulation
Overview Research area: Robot learning and manipulation — specifically in-context learning with frozen foundation models, evaluated in simulated and physical dual-arm manipulation. Technical level: Ad

- arXiv
- 2611.12885
- Published
- 2026-11-09
- Authors
- Heng Fang, Zehui Guo, Yuehan Zhang, Mingyang Du, Dingkang Liang, Xiang Bai
AI summary
Overview
Research area: Robot learning and manipulation — specifically in-context learning with frozen foundation models, evaluated in simulated and physical dual-arm manipulation.
Technical level: Advanced. The abstract assumes familiarity with action policies, in-context learning, gradient-based training, sim-to-real transfer, and cross-embodiment adaptation.
Scope: The paper proposes a paradigm, World In-Context Learning (WICL), and an accompanying system, RoboScript, that let a frozen model learn manipulation tasks from one demonstration by rehearsing in a simulated world and storing the resulting feedback in its context instead of its weights.
What This Paper Is About
Conventional robot manipulation policies encode skill into network weights, which binds what the robot learns to the exact distribution of data it was trained on. In-context learning promises to escape that coupling — the model adapts from examples without retraining — but it has not matched trained policies, because a demonstration filmed in a different scene gives the robot no information about the world it currently faces. The paper's goal is to close that gap by giving the model a simulated world to practice in, so that the feedback it collects during rehearsal becomes context the model can act on in a new, real scene.
Key Contributions
- A stated insight about what in-context learning captures: the authors observe that what an agent learns in context is semantic — task steps and object roles — rather than visual appearance, which is the premise for claiming that experience from one world can transfer to another.
- The WICL paradigm: a frozen model starts from a demonstration, rehearses the task inside a world such as a simulator, and writes the resulting feedback into its context rather than its weights, so no gradient updates are needed.
- RoboScript infrastructure: a modular implementation for agentic manipulation that, from a single demonstration per task, runs simulated rehearsal, freezes the result as a Task Memory, and deploys that frozen memory on new scenes under data isolation, meaning every input used at deployment is something a real robot could actually observe.
- Empirical validation on a 50-task benchmark, reporting 83.4% mean success across clean and randomized settings with one demonstration per task and no gradient updates, plus demonstrations of visual-distribution generalization, improvement through reflection, scaling with the foundation model, and transfer to a physical dual-arm robot.
Main Findings
- Benchmark performance: On all 50 tasks of RoboTwin 2.0, RoboScript reaches 83.4% mean success averaged over clean and randomized settings, using one demonstration per task and no gradient updates.
- Outperforms trained policies: That figure exceeds the strongest trained action policy in the comparison by more than 20 points, directly addressing the prior gap between in-context methods and weight-trained policies.
- Semantic transfer across worlds: The authors' central claim is that because in-context learning records task steps and object roles rather than visual appearance, experience gathered in one world carries over to another.
- Generalization across visual distributions: The method is reported to generalize when the visual appearance of the scene differs, consistent with the semantic-transfer hypothesis.
- Improvement through reflection: Performance improves when the model reflects, indicating that rehearsal feedback stored in context remains useful rather than being a one-shot prompt.
- Scaling with the foundation model: Results improve as the underlying foundation model is scaled up, suggesting the approach benefits from stronger base models rather than saturating at a fixed capability.
- Physical robot transfer: The frozen memory transfers to a real dual-arm robot through cross-embodiment memory adaptation, extending the results beyond simulation.
Methodology in Plain English
The approach separates learning from weight updating. A human or system supplies a single demonstration of the task. The frozen model then practices that task inside a simulated world, where it can attempt the steps, observe what happens, and receive feedback. That feedback — not a change to the model's parameters — becomes the model's context. Once rehearsal is complete, the accumulated knowledge is frozen into what the authors call a Task Memory, a fixed artifact that can be reused.
Deployment is deliberately constrained: the Task Memory is applied to new scenes under data isolation, which the authors define as ensuring that every input available at deployment is also something a real robot would have access to. This rule is meant to prevent the method from quietly depending on privileged simulator information that would not exist on physical hardware. The design is packaged as RoboScript, described as modular infrastructure for agentic manipulation, and the authors report that the same pipeline drives a physical dual-arm robot through cross-embodiment memory adaptation. The abstract does not describe the internal architecture of the agent, the rehearsal loop's mechanics, or how Task Memory is represented.
Why This Matters
The paper reframes where robot skill should live: not in updated weights but in context, refreshed against a world the robot can actually probe. If the reported results hold, that changes the practical economics of deploying manipulation systems, since a new task requires one demonstration and a rehearsal run rather than a training pipeline.
- Small-batch manufacturing and assembly: tasks that change often enough that retraining a policy per task is impractical would suit a one-demonstration, rehearse-then-deploy workflow.
- Warehouse and logistics picking: varied objects and rearranged bins create exactly the visual-distribution shift the method claims to tolerate.
- Service and household robotics: a robot entering an unfamiliar home is the canonical case of a demonstration recorded elsewhere needing to transfer to a new scene.
- Lab and light industrial automation: repetitive but frequently reconfigured procedures where a single human demonstration is cheaper than data collection at scale.
Industry relevance: the work targets the main cost driver in applied robotics — adapting a capable model to a new task without a fresh dataset — and the released code lowers the barrier to reproducing and extending the pipeline.
Future Directions
- How faithful must the rehearsal world be? The method depends on a simulator standing in for reality; how simulator fidelity affects deployment success is not addressed in the abstract.
- Does the semantic hypothesis hold beyond tabletop manipulation? The evidence covers RoboTwin 2.0 tasks and a dual-arm platform; long-horizon, deformable, or contact-rich tasks may not decompose into transferable "task steps and object roles."
- Rehearsing without a simulator: if the "world in the loop" could be the real world or a learned model rather than a hand-built simulator, the pipeline would apply where no adequate simulator exists.
- Broader embodiment coverage and benchmark breadth: cross-embodiment adaptation is shown on one physical dual-arm robot; how far Task Memory transfers across markedly different bodies and to benchmarks beyond RoboTwin 2.0 remains open.
Target Audience
Robotics and embodied-AI researchers working on manipulation policies, in-context learning, and sim-to-real transfer; engineers evaluating whether frozen foundation models can replace task-specific training; and readers already comfortable with action policies and foundation-model agents, since the abstract's argument rests on that background. Those new to the area can follow the overview and motivation but will need outside context for terms like in-context learning and cross-embodiment adaptation.
Authors’ abstract
Trained action policies write manipulation skill into network weights, tying what is learned to the distribution it is learned from. In-context learning (ICL) avoids this coupling but has not matched trained policies, because a demonstration recorded in another scene carries no feedback from the world the robot currently faces. We observe that what an agent learns in context is semantic, recording task steps and object roles rather than visual appearance, so experience…
The full abstract on arXiv