arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.40799cs.RO
收藏

CaPtain:一种用于训练代码作为策略的机器人智能体的流水线

CaPtain: A Pipeline for Post-Training Code-as-Policy Robot Agents

MMLab, The Chinese University of Hong Kong(香港中文大学MMLab);NovaXBot

Yijia Fan, Xilin He, Yilei Jiang, Dongming Wu, Jiaxu Wang, Xiangyu Yue

AI总结:

本研究提出CaPtain流水线,将小型开放VLM转化为无需VLA等的CaP机器人智能体,经SFT和RL后在LIBERO等基准上表现优于前沿模型,可在真实机器人运行并发布相关资源。

摘要:

在编码、网页和工具使用任务中,语言模型智能体通常采用相同的训练流程:通过监督微调(SFT)学习接口,再通过多轮强化学习(RL)掌握该接口。代码作为策略(CaP)将机器人操纵转化为相同形式,即策略针对机器人API编写代码并读取结果,因此相同的训练流程应适用。然而现有的CaP智能体规避了训练:它们要么提示封闭的前沿模型,要么将操纵委托给预训练的视觉语言动作模型(VLAs)和高级技能,而小型开放视觉语言模型(VLMs)则完全失败。我们提出CaPtain,一种开放的后训练流水线,可将小型开放VLM转化为有能力的CaP智能体,在测试时无需VLA、前沿模型或特权状态。CaPtain在CaPtain-Harness内部训练和部署策略,该工具在仿真和真实硬件中暴露低级感知、几何和受保护运动原语。我们首先通过在GPT-6 Astra生成的合成轨迹上进行SFT来对齐基础模型,然后应用多轮RL。多轮RL需要为数十个智能体请求分配信用,这些请求的物理效果通常在多轮后才显现,来自单个回合结束的结果。因此我们引入一种物理评论器,它读取策略从未见过的特权仿真状态,并根据每个请求对预测成功概率的改变程度分配信用。从Qwen3.5-4B(0%零样本)开始,CaPtain-4B在SFT后达到55.4%的保留LIBERO成功率,在RL后达到73.8%。在LIBERO-PRO上,它达到78.5%,超过几个前沿模型智能体,其RL增益在三个扰动套件中持续存在(+17.6至+21.2个百分点)。在无目标域训练的情况下,它在SimplerEnv WidowX上达到83.3%,在CaP-Bench上超过前沿模型,并且在仅仿真适应后可在真实机器人上运行。我们发布所有代码、数据和模型权重。

英文摘要:

Across coding, web, and tool-use tasks, language-model agents are now routinely trained with the same recipe: supervised fine-tuning (SFT) to learn the interface, then multi-turn reinforcement learning (RL) to master it. Code-as-policy (CaP) casts robot manipulation in the same form, as the policy writes code against robot APIs and reads back the results, so the same recipe should apply. Yet existing CaP agents sidestep training: they either prompt closed frontier models or delegate manipulation to pre-trained vision-language-action models (VLAs) and high-level skills, while small open vision-language models (VLMs) fail outright. We present CaPtain, an open post-training pipeline that turns a small open VLM into a capable CaP agent, with no VLA, frontier model, or privileged state at test time. CaPtain trains and deploys the policy inside CaPtain-Harness, which exposes low-level perception, geometry, and guarded-motion primitives across simulation and real hardware. We first align the base model via SFT on synthetic trajectories generated with GPT-6 Astra, then apply multi-turn RL. Multi-turn RL must credit tens of agent requests, whose physical effects often surface turns later, from a single end-of-episode outcome. We therefore introduce a physical critic that reads privileged simulator state, never seen by the policy, and credits each request by how much it changes the predicted chance of success. Starting from Qwen3.5-4B (0% zero-shot), CaPtain-4B reaches 55.4% held-out LIBERO success after SFT and 73.8% after RL. On LIBERO-PRO, it reaches 78.5%, surpassing several frontier-model agents, and its RL gains persist across three perturbation suites (+17.6 to +21.2 points). Without target-domain training, it attains 83.3% on SimplerEnv WidowX, exceeds frontier models on CaP-Bench, and runs on a real robot after simulation-only adaptation. We release all code, data, and model weights.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑