经过训练的动作策略将操作技能写入网络权重,使所学内容与学习数据的分布紧密绑定。上下文学习(ICL)避免了这种耦合,但尚未达到经过训练的策略的水平,因为在另一个场景中记录的演示无法为机器人当前面对的世界提供反馈。我们观察到,智能体在上下文中所学的内容是语义层面的,记录的是任务步骤和物体角色,而非视觉外观,因此在一个世界中积累的经验可以迁移到另一个世界。基于这一洞察,我们提出了世界上下文学习(WICL),这是一种范式:冻结模型从演示开始,在世界(如模拟器)中排练任务,并将反馈写入其上下文而非权重。我们构建了 RoboScript,一个为代理操作实现 WICL 的模块化基础设施。通过单个演示,RoboScript 在模拟中进行排练来学习每个任务,将所学的知识冻结为“任务记忆”(Task Memory),并在新的场景中部署该冻结的记忆,同时通过数据隔离确保每次部署的输入都能在真实机器人上获取。在 RoboTwin 2.0 的全部 50 个任务中,RoboScript 在干净和随机化设置下达到了 83.4% 的平均成功率,每个任务仅需一个演示且无需梯度更新,比最强的经过训练的动作策略高出超过 20 个百分点。该方法在不同视觉分布中具有泛化能力,通过反思得到改进,并随基础模型扩展,还通过跨具身记忆适配迁移到了物理双臂机器人上。通过将世界纳入循环,机器人可以在其上下文中学习操作任务,其效果等同于在其权重中学习。所有代码均已开源。
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.
首次收录 · 2026-11-12 · 10.95 分