让大模型通过自我纠错生成新代码,实现无需示范的机器人操作
Act-Observe-Rewrite: Multimodal Coding Agents as In-Context Policy Learners for Robot Manipulation
- 大模型基于视觉反馈和任务结果,自动生成可执行的控制代码
- 在三个任务中达成高成功率,且无需演示或奖励设计
- 适合对自主学习机器人感兴趣的开发者与研究者
大语言模型能否在不依赖梯度更新、示范或奖励工程的情况下,通过反思自身失败来学会操控物理对象?我们提出一种名为 Act-Observe-Rewrite(AOR)的框架,使 LLM 代理在每次尝试后,根据视觉观察和结构化任务结果,合成全新的可执行 Python 控制代码以改进机器人操作策略。与以往将大模型锚定于预定义技能库或仅用于一次性规划生成的工作不同,AOR 将完整的底层运动控制实现作为大模型推理单元,使代理不仅能改变机器人的行为,还能改变其执行方式。核心观点是:以可解释代码作为策略表示,带来了与黑箱神经策略截然不同的上下文学习能力——代理可诊断系统性失败并重写其根源。我们在三个 robosuite 操控任务上验证了该方法,结果显示代理在无示范、无奖励工程、无梯度更新条件下取得了有竞争力的成功率。
原文摘要 · Abstract (English)
Can a multimodal language model learn to manipulate physical objects by reasoning about its own failures-without gradient updates, demonstrations, or reward engineering? We argue the answer is yes, under conditions we characterise precisely. We present Act-Observe-Rewrite (AOR), a framework in which an LLM agent improves a robot manipulation policy by synthesising entirely new executable Python controller code between trials, guided by visual observations and structured episode outcomes. Unlike prior work that grounds LLMs in pre-defined skill libraries or uses code generation for one-shot plan synthesis, AOR makes the full low-level motor control implementation the unit of LLM reasoning, enabling the agent to change not just what the robot does, but how it does it. The central claim is that interpretable code as the policy representation creates a qualitatively different kind of in-context learning from opaque neural policies: the agent can diagnose systematic failures and rewrite their causes. We validate this across three robosuite manipulation tasks and report promising results, with the agent achieving high success rates without demonstrations, reward engineering, or gradient updates.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。