同一套动作,换台机器人就变成了外语

林越2026-10-091389人形机器人

科技行者10月9日介绍的这篇论文提出CROSSBFM,思路是冻结源机器人的行为基础模型潜在空间,用统一编码器把重定向数据当作跨机器人对应关系,一小时内完成多机器人行为空间蒸馏。行为基础模型这套框架能用一个潜变量向量同时表示“模仿这段动作”“走到这个姿势”“最大化这个奖励”,但训练一台机器人就要烧掉上百个GPU小时,更麻烦的是换一台机器人重新训练出来的第二套空间,跟第一套毫无关系,同一个坐标点对应的动作完全不同。论文的做法是在两套坐标系统之间架一座桥,而且不用把整本书重新盲文化一遍。以下从潜在空间为什么不能直接迁移、统一编码器怎么设计、策略训练和奖励优化如何跨机器人实现、泛化能力的边界几个角度展开。

The Same Motion Becomes a Foreign Language on a Different Robot

 

TechWalker on October 9 introduced a paper proposing CROSSBFM, which freezes the latent space of a source robot's behavior foundation model, uses a unified encoder to treat retargeted data as cross-robot correspondences, and distills multi-robot behavior spaces within one hour. The behavior foundation model framework can use a single latent variable vector to simultaneously represent "imitate this motion," "reach this pose," and "maximize this reward." But training one robot burns over a hundred GPU hours, and more troublesome, retraining a second robot produces a behavior space completely unrelated to the first—the same coordinate point corresponds to entirely different actions. The paper's approach is to build a bridge between two coordinate systems without re-Brailling the entire book. What follows examines why latent spaces cannot be directly transferred, how the unified encoder is designed, how policy training and reward optimization work across robots, and where the boundaries of generalization lie.

 

为什么潜在空间不能直接迁移

 

论文里提到的Forward-Backward表征,核心思想来自后继测度这个概念。它记录的是一个策略在无穷多步之后,大概率会跑到状态空间的哪些区域。这个测度可以分解成前向映射乘以后向映射,前向映射管策略往哪里走,后向映射管这个状态在潜在空间里对应哪个坐标。关键的地方在于,一旦训练出后向映射,任何一个奖励函数都可以通过一个简单的加权平均公式,直接转换成对应的潜变量,闭式解出来,不需要额外的强化学习微调。这就是BFM能同时支持追踪参考动作、到达目标姿势、优化某种奖励这三种截然不同指令模式的原因。

 

Why Latent Spaces Cannot Be Directly Transferred

 

The Forward-Backward representation mentioned in the paper draws its core idea from the concept of successor measure. It records which regions of state space a policy is likely to visit after infinitely many steps. This measure can be decomposed into a forward mapping multiplied by a backward mapping—the forward mapping governs where the policy goes, the backward mapping governs which coordinate in latent space a given state corresponds to. The key point is that once the backward mapping is trained, any reward function can be directly converted into a corresponding latent variable through a simple weighted average formula, solved in closed form, without additional reinforcement learning fine-tuning. This is why BFM can simultaneously support three distinct instruction modes: tracking a reference motion, reaching a target pose, and optimizing a certain reward.

 

但这个后向映射是针对训练时那台特定机器人的关节结构、身体比例训练出来的。换成一台关节数目不同、身体长宽比不同的机器人,原来的后向映射根本没法直接套用,因为它压根没见过这台新机器人的感知输入长什么样子。过去解决跨机器人问题的思路大致分成几派。一派用图神经网络或者带注意力机制的架构,把机器人的身体部位当作输入的词元,训练一个策略同时适应多种机器人构型,这样确实能泛化到没见过的机器人,但通常只能解决单一任务,共享的是身体结构编码而不是任务行为编码。另一派直接对齐两个策略的状态空间,用最优传输或者图匹配的方法找对应关系,但计算开销通常很大。还有一派试图从头学一个跨机器人的统一潜在空间,但这些空间是描述性的,不带有闭式的奖励转换能力。

 

But this backward mapping is trained for the specific robot's joint structure and body proportions at training time. Switch to a robot with a different number of joints and different body aspect ratios, and the original backward mapping cannot be directly applied—it has never seen what this new robot's sensory input looks like. Past approaches to cross-robot problems roughly split into several camps. One uses graph neural networks or attention-based architectures, treating robot body parts as input tokens, training a policy that adapts to multiple robot configurations. This does generalize to unseen robots, but usually only solves a single task—what is shared is body structure encoding, not task behavior encoding. Another camp directly aligns the state spaces of two policies, using optimal transport or graph matching to find correspondences, but computational overhead is usually high. Yet another camp tries to learn a cross-robot unified latent space from scratch, but these spaces are descriptive and lack closed-form reward conversion capability.

 

统一编码器:一套输入维度打天下

 

要把新机器人的动作塞进已有的坐标系统,第一步得知道对应关系是什么。论文给出的答案借助动作重定向。如果同一段人类舞蹈动作,被分别重定向到G1机器人和M3机器人身上,并且用的是同一条时间轴、同一帧频,那么G1在第100帧做出的姿势,和M3在第100帧做出的姿势,本质上代表的是同一个意图,尽管两具身体的关节角度完全不同。这就给了一个天然的、免费的对应关系,不需要额外标注,重定向算法已经把这个对应关系算出来了。于是问题从如何对齐两个完全无关的空间,退化成了一个监督学习问题:给定新机器人某一帧的感知输入,去回归预测源机器人在同一帧产生的潜变量。

 

Unified Encoder: One Input Dimension Format for All

 

To stuff a new robot's motions into an existing coordinate system, the first step is knowing what the correspondence is. The paper's answer relies on motion retargeting. If the same human dance motion is retargeted onto a G1 robot and an M3 robot using the same timeline and frame rate, then the pose G1 makes at frame 100 and the pose M3 makes at frame 100 essentially represent the same intent, even though the two bodies' joint angles are completely different. This provides a natural, free correspondence—no additional labeling needed, the retargeting algorithm has already computed it. The problem thus degrades from aligning two completely unrelated spaces into a supervised learning problem: given a new robot's sensory input at a certain frame, regress to predict the source robot's latent variable at the same frame.

 

不同机器人的关节数目不一样,M3有27个自由度,T1只有23个,N1也是23个但身体节点数不同。如果给每个机器人单独训练一个编码器,等于又要维护好几套模型,谈不上统一。论文的解法是设计一个固定宽度的输入格式,不管来的是哪台机器人,都往这个统一的163维输入模板里塞数据。模板里预留了8个关键身体部位的位置和速度,预留了33个标准关节位置,外加根节点的高度、朝向和线速度信息。这个模板里故意包含了一些没有任何一台训练机器人真正拥有的关节,比如腰部的滚转和俯仰、头部关节,目的是让这套架构对未来加入的、可能拥有这些关节的新机器人保持开放性。如果某台机器人没有某个关节,对应位置就打一个二进制标记,标注这个位置不存在,而不是简单地填零,因为填零会让网络分不清这个关节角度恰好是零和这个关节根本不存在这两种完全不同的情况。

 

Different robots have different numbers of joints—M3 has 27 degrees of freedom, T1 only 23, and N1 also has 23 but a different number of body nodes. Training a separate encoder for each robot means maintaining several models, which is hardly unified. The paper's solution is a fixed-width input format: no matter which robot comes in, data goes into the same 163-dimensional input template. The template reserves positions and velocities for 8 key body parts, 33 standard joint positions, plus root node height, orientation, and linear velocity. The template deliberately includes joints that no training robot actually has, such as waist roll and pitch, and head joints, to keep the architecture open to future robots that might have them. If a robot lacks a joint, the corresponding position gets a binary flag marking it as nonexistent, rather than simply zero-filled, because zero-filling would make it impossible for the network to distinguish "this joint angle happens to be zero" from "this joint does not exist at all."

 

训练这套统一编码器的成本,论文给出的数字是一个GPU小时以内,在单张消费级显卡上就能完成,而原本训练那套源头行为空间需要上百个GPU小时。论文的对照实验显示,三台机器人各自独立训练出来的编码器之间,潜变量的一致性只有0.867到0.913,而统一编码器能把这个一致性提升到0.938到0.965,意味着不同机器人在被给予同一个潜变量指令时,行为更加趋同。编码器架构本身是一个带有位置编码的Transformer,用预层归一化结构堆叠了四层,最后把每一帧的输出投影到一个半径为根号256的球面上。论文尝试过用post-LayerNorm的版本,结果模型直接崩溃成只输出一个固定的潜变量,换成pre-LayerNorm之后问题才解决。

 

The training cost for this unified encoder is under one GPU hour on a single consumer-grade graphics card, while training the original source behavior space requires over a hundred GPU hours. Controlled experiments show that encoders trained independently for three robots achieve latent variable consistency of only 0.867 to 0.913, while the unified encoder raises this to 0.938 to 0.965, meaning different robots behave more similarly when given the same latent variable instruction. The encoder architecture itself is a Transformer with positional encoding, stacked with pre-LayerNorm in four layers, finally projecting each frame's output onto a sphere of radius square root 256. The paper tried a post-LayerNorm version, but the model collapsed into outputting only a fixed latent variable; switching to pre-LayerNorm solved the problem.

 

从潜变量到真实动作

 

编码器解决的是把姿势变成坐标这一步,但机器人真正要动起来,还需要一个策略网络,根据给定的潜变量坐标,计算出每个关节该输出多大力矩。这一步论文用了PPO算法训练一个潜变量条件化的追踪策略。这个策略的输入很干净,只有当前的潜变量和机器人自身的本体感知,没有任何显式的逐帧参考轨迹。论文做了一个对照实验,把这套潜变量驱动的策略,和传统的关节角度驱动策略放在一起比较。后者在每一步都被明确告知目标关节角度是多少,理论上应该表现更好,因为它掌握的信息更精确。结果确实如此,但差距小得惊人。三台机器人上,潜变量策略比关节策略的追踪误差,只多了0.0247、0.0057、0.0029弧度,最大的差距也就1.4度出头。

 

From Latent Variables to Real Actions

 

The encoder solves the step of turning poses into coordinates, but for the robot to actually move, a policy network is needed to compute how much torque each joint should output given the latent variable coordinate. Here the paper uses PPO to train a latent-conditioned tracking policy. The policy's input is clean—only the current latent variable and the robot's own proprioception, with no explicit per-frame reference trajectory. A controlled experiment compares this latent-driven policy with a traditional joint-angle-driven policy. The latter is explicitly told the target joint angles at every step and should theoretically perform better because it has more precise information. It does, but the gap is surprisingly small. Across three robots, the latent policy's tracking error exceeds the joint policy's by only 0.0247, 0.0057, and 0.0029 radians—the largest gap just over 1.4 degrees.

 

关节角度驱动的策略有个致命缺陷。如果突然让它从一个姿势跳到另一个完全不相关的姿势,关节目标发生跳变,会产生巨大的瞬时力矩,轻则动作僵硬,重则直接摔倒。而潜变量驱动的策略,因为潜变量所在的空间是连续的、有几何结构的,可以在两个潜变量之间做插值,机器人会自然地、平滑地从一个姿势过渡到另一个姿势,不会有任何摔倒记录。这就好比开车换挡。老式手动挡换挡如果操作生硬,会有明显的顿挫感,甚至熄火。现在很多车用的是无级变速,动力输出是连续调节的,你几乎感觉不到换挡的存在。潜变量空间提供的正是这种无级过渡能力,而关节角度指令天生就是离散挡位式的,中间没有平滑地带。

 

Joint-angle-driven policies have a fatal flaw. If suddenly commanded to jump from one pose to a completely unrelated pose, the joint targets jump, producing massive instantaneous torques—at best stiff motion, at worst a fall. Latent-driven policies, because the latent space is continuous and geometrically structured, allow interpolation between two latent variables, and the robot transitions naturally and smoothly from one pose to another, with no fall records. This is like shifting gears in a car. An old manual transmission shifted clumsily produces obvious jerkiness, even stalling. Many cars now use continuously variable transmission, where power output is continuously adjusted and you barely feel the shift. The latent space provides exactly this continuously variable transition capability, while joint angle commands are inherently discrete-gear-style, with no smooth zone in between.

 

奖励优化怎么跨机器人实现

 

三种指令模式里,动作追踪和目标到达都比较直观,编码器直接把参考姿势转换成潜变量就行。真正麻烦的是第三种模式,奖励优化。奖励转潜变量需要对状态分布做加权平均,这个状态分布是训练源机器人时,强化学习过程中收集到的那些访问过的状态。可新机器人根本没有跑过强化学习,它没有自己的状态分布可用。论文的解法是用重定向数据集里缓存的状态来近似这个分布。这样至少保证了被选中的高奖励状态,是新机器人真的能达到的姿势,而不是继承源机器人那些新机器人身体结构根本模仿不了的极限姿势。

 

How Reward Optimization Works Across Robots

 

Among the three instruction modes, motion tracking and goal reaching are relatively straightforward—the encoder directly converts reference poses into latent variables. The truly troublesome one is the third mode, reward optimization. Converting rewards to latent variables requires a weighted average over the state distribution, and this state distribution is the states visited during reinforcement learning when training the source robot. But the new robot has never run reinforcement learning and has no state distribution of its own. The paper's solution is to approximate this distribution using cached states from the retargeting dataset. This at least ensures that selected high-reward states are poses the new robot can actually achieve, rather than inheriting extreme poses from the source robot that the new robot's body structure cannot imitate.

 

但还有一个更隐蔽的问题。源机器人的奖励函数里经常写死一些绝对数值,比如手抬到1米高就算达标。如果新机器人个头比源机器人矮很多,1米对它来说可能永远够不着;如果新机器人个头更高,1米又太容易达到,起不到激励作用。论文用了一个分位数映射的办法来解决这个问题。先算出源机器人在整个重定向数据集里,手臂高度这个特征的分布,找到1米对应的是这个分布里的第几个百分位,论文举的例子是93.8百分位。然后在目标机器人自己的手臂高度分布里,找到同一个百分位对应的具体数值,把这个数值作为新的阈值。这很像成绩换算。假设某个班级期末考试满分150分,及格线是90分,对应年级排名前60%。换到另一个满分100分的班级,你不会直接说90分及格,而是去找年级前60%对应的具体分数是多少,可能是72分。同一个百分位排名,在不同的评分体系下对应不同的绝对分数,但代表的相对位置是一致的。实验结果显示,用这套目标侧近似方法计算出的潜变量,在M3和N1机器人上,比直接套用源机器人真实后向映射算出的潜变量,归一化回报分别高出3.50倍和2.95倍。

 

But there is a more hidden problem. Source robot reward functions often hard-code absolute values, like "hand raised to 1 meter counts as success." If the new robot is much shorter, 1 meter may be forever out of reach; if taller, 1 meter is too easy and provides no incentive. The paper uses a quantile mapping approach. First compute the distribution of arm height in the source robot's retargeting dataset, find which percentile 1 meter corresponds to—the paper's example is 93.8th percentile. Then in the target robot's own arm height distribution, find the value at the same percentile and use that as the new threshold. This is much like grade conversion. Suppose a class final exam is out of 150, passing is 90, corresponding to top 60% of the grade. Switch to another class out of 100, and you would not simply say "90 passes"—you would find what score corresponds to top 60%, maybe 72. The same percentile rank corresponds to different absolute scores under different scoring systems, but represents the same relative position. Experiments show that latent variables computed with this target-side approximation method achieve normalized returns 3.50 times and 2.95 times higher on M3 and N1 robots, respectively, compared to directly applying the source robot's true backward mapping.

 

跨机器人泛化的边界

 

论文做了两个消融实验。第一个把训练数据从100%一路砍到只剩5%,甚至换成纯噪声,看看编码器还能不能正常工作。结果显示,关节追踪误差在数据量从100%降到25%时,只从0.2132涨到0.2241,性能损失大概5%。真正开始明显崩溃是在数据量降到10%的时候,误差跳到0.2706,逼近纯随机潜变量控制下的0.4411这个下限。用t-SNE降维可视化能清楚看到,25%数据训练出的编码器,依然能让不同行为类别在潜在空间里保持清晰的分簇,验证集里没见过的动作片段,也准确落进了对应行为的簇里。但降到10%,这些簇就开始纠缠不清了。

 

The Boundaries of Cross-Robot Generalization

 

The paper ran two ablation experiments. The first cut training data from 100% down to 5%, even replacing it with pure noise, to see if the encoder still works. Results show joint tracking error rises only from 0.2132 to 0.2241 when data drops from 100% to 25%—about 5% performance loss. Real collapse begins at 10% data, where error jumps to 0.2706, approaching the lower bound of 0.4411 under pure random latent control. t-SNE visualization clearly shows that an encoder trained on 25% data still keeps different behavior categories—standing, walking, dancing, running, jumping—in distinct clusters in latent space, and unseen motion segments from the validation set land accurately in the corresponding behavior clusters. But at 10%, these clusters start tangling.

 

第二个实验拿两台机器人的数据训练编码器,然后测试它在第三台完全没见过的机器人上表现如何。结果分化非常明显。对M3来说,这台机器人身材和关节结构跟训练集里的N1比较接近,编码器能恢复89.3%的追踪性能,几乎媲美见过它的编码器。但对T1来说,这台机器人个头明显更小,身体比例也不同,恢复的性能只有12.8%。这个结果背后传达的信号是,跨机器人泛化能力,本质上取决于训练集里有没有一个形态相近的邻居。如果有,新机器人的表现更接近插值,编码器能靠举一反三猜出大概;如果没有,那就是彻底的外推,编码器基本抓瞎。这就像学一门新语言。如果你已经会法语,再去学西班牙语,会发现很多单词长得像,语法结构也接近,学起来事半功倍,这是插值式的泛化。但如果你直接从法语跳去学芬兰语,语系完全不同,过去积累的经验帮不上什么忙,得从头啃。

 

The second experiment trained the encoder on two robots' data, then tested on a third completely unseen robot. Results diverge sharply. For M3, whose body and joint structure are close to N1 in the training set, the encoder recovers 89.3% of tracking performance, nearly matching an encoder that had seen it. For T1, noticeably smaller with different body proportions, recovery is only 12.8%. The signal: cross-robot generalization depends fundamentally on whether the training set contains a morphologically similar neighbor. If yes, the new robot's performance is closer to interpolation—the encoder can extrapolate by analogy. If no, it is pure extrapolation, and the encoder is essentially blind. This is like learning a new language. If you already know French and learn Spanish, many words look similar and grammar is close, so progress is fast—that is interpolation-style generalization. But jumping from French to Finnish, a completely different language family, past experience offers little help and you start from scratch.

 

论文最后在M3和T1两台真实机器人上完整跑通了动作追踪、目标到达、奖励优化外加流匹配生成潜变量这四种模式。仿真里表现最好的追踪误差,搬到真实世界后有小幅上升,比如M3从0.2024涨到0.2206弧度,这属于典型的仿真到现实的迁移损耗,但整体趋势和仿真结果保持一致,证明这套流程不是纸上谈兵。流匹配生成潜变量这部分,论文额外训练了一个整流模型。这意味着操作者未来甚至可以不提供任何参考动作,直接说让它跳个舞,生成器就能在潜在空间里合成一段对应的潜变量轨迹,驱动策略执行。这为后续接入自然语言指令,处理更复杂的长时程操作任务打开了一扇门。

 

The paper finally ran all four modes—motion tracking, goal reaching, reward optimization, plus flow-matching latent generation—on two real robots, M3 and T1. The best tracking error in simulation rises slightly when moved to the real world, such as M3 going from 0.2024 to 0.2206 radians—typical sim-to-real transfer loss, but overall trends match simulation, proving the pipeline is not just on paper. For flow-matching latent generation, the paper trained an additional rectified flow model. This means an operator could eventually provide no reference motion at all, simply say "make it dance," and the generator synthesizes a corresponding latent trajectory in latent space to drive the policy. This opens a door for future integration with natural language instructions and more complex long-horizon manipulation tasks.