Encore:少样本智能体发现操作策略
研究论文 · 2026/10/12
编码智能体已能在极少人工帮助下编写、运行和调试程序。然而,机器人任务通常仅由一句话指定,未说明如何抓取、以何种顺序接触以及结果应是什么样子,仅获得该句子的智能体必须通过试错来发现这些细节。我们提出ENCORE,它给智能体少量演示作为可读取的证据而非训练数据。一个确定性构建器将每个演示提炼为多视角关键帧、夹爪事件、帧条和完整轨迹的包。一个编码智能体研究该包,针对固定的感知和动作API编写策略程序,在少量开发性部署中迭代优化,并在不揭示成功信号的密封评估前冻结。在LIBERO-PRO上,智能体的第一个程序在有演示时已成功完成一半的扰动任务,无演示时成功一个任务,且冻结程序优于使用相同语言模型的最强先前智能体系统(96.3%对89.3%)。在指令未说明目标的RoboDojo任务上,没有演示则无程序成功。ENCORE也在真实双臂机器人上运行,从每个五个演示中学习方块交接和杯子倒置。
该工作展示了如何利用少量演示作为证据,让编码智能体自主发现机器人操作策略,在多个基准上取得领先性能,并成功迁移到真实机器人,为机器人任务编程提供了新范式。
Coding agents can now write, run, and debug programs with little human help. Robot tasks, however, are usually specified by a sentence that leaves out how to grasp, in what order to make contact, and what the result should look like, and an agent given only the sentence must find these details by trial and error. We introduce ENCORE, which gives the agent a few demonstrations as evidence to read rather than as training data. A deterministic builder distills each demonstration into a pack of multi-view keyframes, gripper events, frame strips, and the full trajectory. A coding agent studies the pack, writes a policy program against a fixed perception and action API, refines it iteratively over a few development rollouts, and freezes it before a sealed evaluation that never reveals the success signal. On LIBERO-PRO, the agent's first program already succeeds in half of the perturbed tasks with demonstrations and in one task without them, and the frozen programs outperform the strongest prior agentic system run with the same language model (96.3% against 89.3%). On RoboDojo tasks whose instructions leave the goal unstated, no program succeeds without demonstrations. ENCORE also runs on a real bimanual robot, learning cube handover and cup inversion from five demonstrations each.