World In-Context Learning for Agentic Robot Manipulation

Heng Fang, Zehui Guo, Yuehan Zhang, Mingyang Du, Dingkang Liang, Xiang Bai

Huazhong University of Science and Technology · ArcheOne AI

Published November 9, 2026 · on the feed November 11, 2026 · ▲ 66 · arXiv 2611.12885

Robotics & embodiedAgents Full code arXiv ↗Hugging Face ↗

The 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 gathered in one world transfers to another. Based on this insight, we propose World In-Context Learning (WICL), a paradigm in which a frozen model starts from a demonstration, rehearses the task in a world such as a simulator, and writes the feedback into its context rather than its weights. We build RoboScript, a modular infrastructure that implements WICL for agentic manipulation. From a single demonstration, RoboScript learns each task through rehearsal in simulation, freezes the learned knowledge as a Task Memory, and deploys the frozen memory on new scenes with data isolation that ensures every deployment input is available on a real robot. On all 50 tasks of RoboTwin 2.0, RoboScript reaches 83.4% mean success across clean and randomized settings with one demonstration per task and no gradient updates, exceeding the strongest trained action policy by over 20 points. The method generalizes across visual distributions, improves through reflection, scales with the foundation model, and transfers to a physical dual-arm robot through cross-embodiment memory adaptation. With a world in the loop, a robot can learn a manipulation task in its context as well as it learns one in its weights. All code is available at https://github.com/ArcheOne-AI/RoboScript

The Brief

2:57

A short podcast summary of the paper. Written and voiced by AI.

Transcript

World In-Context Learning for Agentic Robot Manipulation. By Heng Fang and five others, from Huazhong University of Science and Technology and ArcheOne AI. Published on the ninth of November.

A trained action policy writes its manipulation skill into network weights, and that ties what it learned to the distribution it learned from. In-context learning avoids the coupling, because nothing is written into the weights at all. Yet it has not matched trained policies, and the authors give a reason. A demonstration recorded in some other scene carries no feedback from the world the robot is actually facing now. It shows what was done somewhere else, but says nothing about whether doing it here will work. Plain in-context learning, working from a demonstration recorded elsewhere, never hears back from the scene in front of it.

The key observation is about what an agent learns in context. It is semantic: the steps of a task and the roles objects play in it, not their visual appearance. That kind of knowledge travels, so experience gathered in one world can transfer to another. From this comes World In-Context Learning, or WICL. A frozen model starts from a demonstration, rehearses the task in a world such as a simulator, and writes the feedback from that rehearsal into its context instead of its weights. The demonstration gives a starting point, the rehearsal world gives the feedback that was missing, and the context is where the result is kept. Because what is kept is semantic, it does not stay tied to the simulator where it was learned.

The authors implement the paradigm as RoboScript, a modular infrastructure for agentic manipulation. Starting from a single demonstration, RoboScript learns each task by rehearsing it in simulation. The knowledge it gains is then frozen as a Task Memory. That frozen memory is deployed on new scenes, under a data isolation rule that guarantees every input used at deployment is one a real robot would also have. The sequence is learn, freeze, deploy. Rehearsal happens only in simulation, the memory stops changing once it is frozen, and the isolation keeps deployment honest: nothing reaches the deployed system that a physical robot could not also supply.

The test is all fifty tasks of RoboTwin 2.0. Across clean and randomized settings, with one demonstration per task and no gradient updates, RoboScript reaches eighty-three point four percent mean success. That is more than twenty points above the strongest trained action policy. The comparison is lopsided in setup: one side was trained, the other learned from a single demonstration plus rehearsal, with its weights never touched.

Several further properties are reported. The method generalizes across visual distributions. It improves through reflection. It scales with the foundation model underneath it. And it carries over to a physical dual-arm robot, through what the authors call cross-embodiment memory adaptation.

Where skill is stored has usually decided how far it travels. Weights hold it tightly and bind it to their training data. A context that has been through rehearsal holds it as steps and roles, which move between scenes. The paper's own summary puts it as a symmetry: with a world in the loop, a robot can learn a manipulation task in its context as well as it learns one in its weights.

Paper Quest · 7 chapters · about 41 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

Robots learn skills in their weights. Prompts were meant to be the shortcut, but they hear nothing back from the world.

Your robot's trained action policy has its manipulation skill written into its network weights. It works on scenes like its training data, but every new task or distribution needs new data and new training.

The road ahead

  1. 1 · The problem ~7 min Trained robot policies lock skill into weights tied to their training scenes, while a prompted example from another scene gives no feedback about this one.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min A frozen model rehearses the task in a simulator and writes the semantic feedback into its readable context, which then transfers to new scenes.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min RoboScript learns a task from one demonstration, rehearses it in simulation, freezes the result as a Task Memory, and deploys it on unseen scenes.
  6. 6 · The experiment ~6 min You’ll guess: Learning each RoboTwin 2.0 task from one demonstration with no gradient updates, how did RoboScript compare with the strongest trained action policy?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.