本文提出 RPT(Robotic Pre-trained Transformer),一种针对机器人操作的自监督感知运动预训练方法。模型将多视角图像、本体感知状态与动作编码为 sensorimotor tokens,通过掩码预测任务在 2 万条真实机器人轨迹上预训练,再以 behavior cloning fine-tune 到下游任务。实验证明预训练在所有任务上持续优于从零训练,堆积任务成功率提升约 2×,且具备良好的跨任务、跨机器人迁移能力。This paper presents RPT (Robotic Pre-trained Transformer), a self-supervised sensorimotor pre-training method for robotic manipulation. The model encodes multi-view images, proprioceptive states and actions as sensorimotor tokens, pre-trains on 20000 real robot trajectories with a masked prediction task, and is then fine-tuned to downstream tasks via behavior cloning. Experiments show that pre-training consistently outperforms training from scratch on all tasks, raises the success rate of the stacking task by about 2×, and transfers well across tasks and across robots.
自监督预训练在视觉和语言领域带来了巨大突破,但在机器人学习领域尚未得到充分探索。机器人操作需要同时处理多模态感知(图像、本体感知)和动作序列,直接从零训练样本效率低、难以在任务间迁移。Self-supervised pre-training has produced major breakthroughs in vision and language, yet it remains under-explored in robot learning. Robotic manipulation has to handle multimodal perception (images, proprioception) and action sequences at the same time; training directly from scratch is sample-inefficient and transfers poorly between tasks.
"We ask: can we learn good sensorimotor representations from robotic trajectories? Our key hypothesis is that if the robot can predict the missing content it has acquired a good model of the physical world."
在机器人操作这一数据稀缺场景中,预训练能否帮助模型学到可迁移的物理世界模型?这是 RPT 试图回答的核心问题。与视觉预训练(ViT、MAE)不同,RPT 预训练的对象是跨模态、跨时间步的感知运动序列,旨在捕捉动作与感知之间的因果依赖关系。In robotic manipulation, a data-scarce setting, can pre-training help the model learn a transferable model of the physical world? This is the core question RPT sets out to answer. Unlike visual pre-training (ViT, MAE), RPT pre-trains on sensorimotor sequences that span modalities and time steps, aiming to capture the causal dependencies between action and perception.
RPT 分为两个阶段:(1)在大规模真实轨迹上进行感知运动掩码预训练;(2)以 behavior cloning fine-tune 到特定下游任务。整个流水线无需任务标签或语言监督,仅依赖机器人自身采集的轨迹数据。RPT has two stages: (1) sensorimotor masked pre-training on large-scale real trajectories; (2) fine-tuning to a specific downstream task with behavior cloning. The whole pipeline requires no task labels or language supervision, relying only on trajectory data collected by the robot itself.
每个时间步包含三个模态:多视角图像、本体感知状态(关节角度等)、动作。图像经预训练视觉编码器(ViT)提取 latent 表示,与状态、动作分别线性映射为固定维度 token,按时间步交错拼接为序列输入 Transformer。这一设计将视觉编码器从感知运动上下文长度中解耦,使模型可使用 10× 更大的 context 而不增加视觉计算量。Each time step contains three modalities: multi-view images, proprioceptive state (joint angles, etc.) and action. Images pass through a pre-trained visual encoder (ViT) to yield latent representations, which — like states and actions — are linearly mapped to fixed-dimensional tokens and interleaved by time step into a sequence fed to the Transformer. This design decouples the visual encoder from the sensorimotor context length, letting the model use a 10× larger context without increasing visual computation.
"We predict in the latent representation space rather than the pixel space, which enables 10 times larger models."
对跨模态、跨时间步的 tokens 进行随机掩码(默认比例 0.9),训练模型从可见 tokens 预测被掩盖内容。对掩码 tokens,模型基于每个 token 的 hidden state 预测对应的原始值;对可见 tokens,直接重构原始输入以鼓励跨模态信息整合。掩码策略同时覆盖所有模态和时间步,迫使模型理解感知与动作之间的时序因果关系。Tokens across modalities and time steps are randomly masked (default ratio 0.9), and the model is trained to predict the masked content from the visible tokens. For masked tokens, the model predicts the corresponding original value from each token's hidden state; for visible tokens, it directly reconstructs the original input so as to encourage cross-modal information integration. The masking strategy covers all modalities and all time steps at once, forcing the model to understand the temporal causal relationship between perception and action.
预训练完成后,将 Transformer 作为特征提取骨干,顶部接一线性层预测 10 步动作(自回归推理)。以 behavior cloning 在下游演示数据上微调,可选冻结或解冻视觉编码器。推理时模型以 10 Hz 运行在真实机器人,context 保持 300 tokens。After pre-training, the Transformer serves as a feature-extraction backbone, with a linear layer on top predicting 10 action steps (autoregressive inference). It is fine-tuned with behavior cloning on downstream demonstration data, optionally freezing or unfreezing the visual encoder. At inference the model runs at 10 Hz on the real robot, keeping a context of 300 tokens.
实验在 7-DoF 机械臂上进行,任务包括 Pick(单物体抓取)、Destack(拆叠)、Stack(堆积),涵盖物体位姿、形状、外观变化。评估指标为真实机器人执行成功率(%),与从零训练基线对比。Experiments are run on a 7-DoF robotic arm; the tasks are Pick (grasping a single object), Destack (unstacking) and Stack (stacking), covering variation in object pose, shape and appearance. The evaluation metric is the execution success rate (%) on the real robot, compared against a train-from-scratch baseline.
| 任务 TaskTask | Scratch(从零训练)Scratch (trained from scratch) | RPT Pre-trained | 备注Notes |
|---|---|---|---|
| Pick(~240 demos)Pick (~240 demos) | ~78% | ~92% | 较易任务,相对增益适中Easier task; moderate relative gain |
| Destack(~480 demos)Destack (~480 demos) | ~78% | ~92% | 中等难度,增益明显Medium difficulty; clear gain |
| Stack(~480 demos)Stack (~480 demos) | ~60% | ~93% | "2x improvements in the block stacking task" |
论文还验证了两种迁移场景:The paper further validates two transfer settings:
作者在项目页面中列举了四类典型失败:imprecise picking(抓取不精准)、imprecise stacking(堆叠不精准)、misaligned closures(闭合错位)、object slippage during manipulation(操作中物体滑落)。这些失败说明模型在精细操作方面仍有提升空间。On the project page the authors list four typical failure modes: imprecise picking, imprecise stacking, misaligned closures, and object slippage during manipulation. These failures show that the model still has room for improvement on fine-grained manipulation.
预训练数据全部来自同一实验室的单一机械臂平台(7-DoF 臂),任务仅涵盖 Pick / Bin Pick / Stack / Destack 四类桌面操作。尽管跨机器人实验展示了一定泛化能力,但数据多样性的不足可能限制更广泛场景下的迁移效果。All pre-training data comes from a single robotic-arm platform (a 7-DoF arm) in one lab, and the tasks cover only four kinds of tabletop manipulation: Pick / Bin Pick / Stack / Destack. Although the cross-robot experiments show a degree of generalization, the limited data diversity may restrict transfer to broader settings.
RPT 不使用语言指令或任务 ID,每次 fine-tune 对应单一任务。在需要语言理解或多任务调度的场景下,需要额外设计任务条件化机制。RPT uses neither language instructions nor task IDs, and each fine-tuning run corresponds to a single task. Settings that require language understanding or multi-task scheduling would need an additional task-conditioning mechanism.
300M 参数模型在真实机器人上以 10 Hz 运行,推理效率已属可接受范围,但预训练阶段的计算资源需求较高。此外,视觉编码器使用在 Ego4D(人类第一人称视频)上预训练的 ViT,与机器人操控场景仍存在域差距,未来可用更多机器人数据专门预训练视觉编码器以进一步提升性能。The 300M-parameter model runs at 10 Hz on the real robot, so inference efficiency is within an acceptable range, but the pre-training stage is computationally demanding. In addition, the visual encoder is a ViT pre-trained on Ego4D (egocentric human video), which still leaves a domain gap with robot manipulation; future work could pre-train the visual encoder specifically on more robot data to improve performance further.