物理AI如何跨越语言、视频与动作学习——Ming-Yu Liu
- NVIDIA 的 Cosmos 3 被定位为一套贯通视频理解、生成与动作的架构,并将“动作视为一等公民”(“action as a first-class citizen”)。 Tim Scarfe 披露,本期节目为与 NVIDIA 的付费合作;Ming-Yu Liu 描述了一种自回归视觉语言“推理塔”,其预训练权重用于初始化双向扩散“生成塔”,生成视频、动作和音频。Cosmos 也可以作为策略模型的起点。开场演示中的道路“从未被拍摄”(“was never filmed”)。
- 所提议的模拟器可以降低对实体测试车队的依赖。 Liu 的框架是:与其“雇佣100名司机、驾驶100辆车、前往不同路口”,不如直接在算力上启动验证运行——“你不再受车队规模限制”。对于自动驾驶、以及最终的人形机器人,他认为世界模拟是实现安全验证所需开发速度的唯一途径。
- 首个实际用例应是策略验证,而非直接训练策略,且模拟无需做到精确。 模拟器只需保持不同 checkpoint 的相对排序:“不需要它们精确,只需要知道策略A是否优于策略B”,并确保这一排序能够迁移到现实世界,从而让开发者“缩小需要在真实世界测试的 checkpoint 数量”。
- 跨具身迁移是解决数据稀缺问题的办法:充足的人类第一视角视频可以帮助弥补稀缺的机器人动作数据。 人形机器人的手在操纵物体时,其视觉模式与其他机器人“非常相似”;将一个动作空间建立关联,会让其他动作空间“相对更容易”——但当 Tim Scarfe 追问这种迁移何时可能有害时,Liu 承认:“模型其实并不知道。”
- Liu 坦言,模拟器会被钻空子,而他没有解决办法。 他的判断是:“钻空子一定会发生”;正则化和问题度量方法可能会出现,但“我不知道具体该怎么做……我只是相信人们会找到办法”。
- 模型以开放方式发布,并提供边缘部署选项。 3种尺寸分别是 Super(前沿保真度最高)、Nano(规模更小、更容易做后训练)和 Edge,后者面向 Jetson Thor、Orin、DGX Spark 等设备,目标是让“世界模型生活在机器人所在的地方”。模型和部分数据托管在 Hugging Face;代码及后训练配方位于
github.com/nvidia-cosmos/cosmos。
1. 一套贯通理解、生成与动作的架构
- 节目以一段生成式驾驶视频开场——“那条路从未被拍摄”——随后 Liu 介绍整套架构:先从语言模型出发,接入视觉编码器,形成自回归视觉语言模型,再用其预训练权重初始化双向扩散生成器,用于生成视频、动作和音频。在生成器中,“每个 token 都会关注其他所有 token”,既保持每个片段内部的一致性,也利用“推理塔”提供的指令。
- 训练分为两步:先预训练,再进行基础训练和中期训练,并在后者加入动作。动作成为“一等公民”:模型可以执行一个动作,而它的下一次观测可能正是由这个动作造成的。
- 视频、音频和动作的帧率与频率并不一致,跨模态对齐由时间位置嵌入方案处理:将信号归一到同一时间轴和尺度,告诉模型哪些 token 属于同一个时间实例,以及不同时间实例之间的相对距离。
2. 世界模型是什么,以及为什么把3项任务放在一个模型里会相互促进
- Liu 没有给出硬性定义:和 AGI 一样,“世界模型究竟是什么,至今仍没有共识”。在他看来,世界模型是“一组有用工具”。具体到机器人,至少需要3类能力:前向动力学(起点加动作→未来)、逆向动力学(视觉变化→动作),以及策略(机器人应该做什么)。
- 为什么要联合训练?因为这3项任务都“捕捉观测与动作之间的关联,只是切片不同”。在信息瓶颈下——“你只有这么多容量去解释所有这些任务”——论文结果显示三者存在协同效应:“一个确实会帮助另一个”。
- 针对 Scarfe 提到的人类第一视角视频充足、机器人数据却少得多这一数据不对称,Liu 提出为“不同具身建立共享词汇”。人类和机器人在操纵物体时会产生相似的视觉—动作模式,即使两者的动作空间并不精确对应,也能让模型更容易泛化到未见过的具身形态。但当被问及模型是否知道何时迁移会有害时,他回答:“模型其实并不知道。”
3. Scarfe 对 sim-to-real 的质疑与策略验证答案
- Scarfe 的问题是:在 Cosmos 中训练出的策略,是否会利用模拟器的特征或伪影?Liu 则重新界定了路线图:世界模拟器最初更适合用于策略验证——给 checkpoint 排序,而不是把每个策略都部署到现实车队中,因为后者“成本太高”。
- 关键洞见是:“不需要它们精确,只需要保留这一排序”,也就是让模拟器中的排序与真实世界成功率之间保持一致。这有望“大幅提升开发速度”,帮助开发者“更早找到更优策略”。
- 对于模拟器被钻空子的问题,Liu 直言:“钻空子一定会发生。”他预计未来会出现正则化训练和度量这一问题的方法,但也表示:“我不知道具体该怎么做……我只是相信人们会找到办法。”
- 针对模糊任务,Scarfe 提出由 System 2 帮助 System 1 把任务变得更具体。Liu 描述了一个类似 LLM agent 的系统:先定义任务序列,再逐项执行;每完成一步就检查结果,并处理其中的选择。他将其定位为模型之上的系统级执行框架,在物理任务周围组织记忆和工具。
4. Cosmos 作为教师:训练配方、Dreams 与模拟的安全论证
- 这套生态打法是“更好的数据、更好的环境和更好的起点”。Liu 表示,这“并非只是理论”:在 DROID 数据集上对 Cosmos 模型进行后训练后,抓取放置策略结果达到业界最先进水平。后训练配方已随 Cosmos 仓库发布。
- Cosmos Dreams 提供构建闭环模拟器所需的技能,覆盖多种具身,而不只是自动驾驶。世界模型如今已经足以支持机器人导航任务;操控则更难,因为交互会造成遮挡,也可能导致物体变形。Liu 对此非常乐观,认为随着深度学习持续进步、算力增加,复杂操控最终可以在世界模拟中实现。
- 安全论证十分直接:人形机器人可能会“部署在许多人的家中”,周围就是人,“也许还有你的孩子和宠物”。开发者不可能为每项任务搭建“各种各样的厨房”,因此 Liu 认为,使用世界模拟器是实现所需开发速度、验证每一次策略迭代的唯一方式。
5. 边缘部署,以及开放的模型、代码与部分数据
- Cosmos 有3种尺寸:Super 是面向算力充足用户、保真度最高的前沿模型;Nano 规模更小,也更容易做后训练;Edge 则为 Jetson Thor、Orin 和 DGX Spark 等设备设计。Edge 的目标是让世界模型留在机器人所在的位置,避免在网络可靠性或安全要求使低延迟变得重要时往返数据中心。Liu 还提到一套配方,可在1天内完成 Cosmos Edge 的微调,改善视觉理解。
- Liu 设想3个版本协同工作:强大的模型负责提供帮助,简单任务则由边缘设备上的模型即时处理。
- 模型和代码开放,部分训练数据也开放。模型和数据集托管在 Hugging Face;代码及后训练脚本位于
github.com/nvidia-cosmos/cosmos。仓库还包含帮助 agent 使用 Cosmos 的技能;Liu 表示自己会查看每一个 issue,并欢迎正面和负面反馈。
完整逐字稿
This car is about to make a left turn. Can you envision the trajectory the car is taking? And the video generated.
Guess what? That road was never filmed. It was made by NVIDIA’s Cosmos 3. It reads video, simulates roads, and is learning how to handle objects. Ming-Yu Liu leads the research, and this is a paid partnership with Nvidia.
Now, Cosmos 3 takes text, video, audio, and actions as input. Let’s start with the simplest case. You ask the model what happened in the videos: how many cars are in the video, or whether the robot succeeded in completing an action. “Okay, there are 3 cars, and the robot succeeded in picking up the apple and putting it in the basket.” When you have video and text as inputs and generate text, it becomes a vision-language model.
So why don’t we flip this thing on its head? The model stops describing the scene and starts generating it.
Cosmos Dreams is a set of skills to build a closed-loop simulator, not just for self-driving. I can employ 100 drivers, drive 100 cars, go to different intersections, and figure out whether it works better, or I can use this simulator to verify the accuracy. You are not limited by the size of your fleet. Anytime you need to do a lot of testing, if you have the compute, just launch it.
Okay, so what if we took the same idea but applied it to an even harder problem, like robots?
With navigation, you don’t want your physical device to touch anything else, but manipulation tasks require all kinds of interactions. When there’s an interaction, there’s occlusion and potential deformation when objects are manipulated, so it’s more challenging.
We will reach a state where we can use a simulation to handle this complex manipulation well. Once we reach that status, you can test your robot policy with the world simulator.
Okay, so one model, Cosmos 3, handling three jobs—handling objects in robotics—is the future. It’s very exciting.
1. Inside Cosmos 3: reasoning and generator towers
You can see that you are looking at a very diverse, versatile model architecture. We now have action as a first-class citizen, which means the model might actually take an action, and then its next observation could be caused by what it did before.
We start with a language model. We either train it from scratch ourselves or take an open model. It has a basic understanding of language structure. Then we have a vision encoder that can take video or a set of image inputs. We connect this vision encoder to the large language model, and we build a vision-language model. Sometimes, you can also start with a pretrained vision-language model.
Now we take the pretrained weights from this vision-language model and initialize a generator. One key thing is that this vision-language model is autoregressive, while our generator is actually diffusion-based and bidirectional.
This bidirectional generative tower learns to generate video, action, and audio. In this tower, every token attends to every other token. When you generate the video or the action, there’s coherence among the chunks it generates. The signal within each chunk is coherent, and it also leverages the tokens from the vision-language model part—the reasoning tower, which we call the reason tower. It also understands the instruction and what you want to generate.
The training has 2 stages: pretraining, followed by base and mid-training, where we add action.
2. World models: dynamics, policy and one clock
In your estimation, what is a world model?
This is a very challenging question. Earlier, people tried to give a definition to AGI. I think this started several years ago, but even today there’s still no common agreement on what AGI is. People have their own definitions, and I think a world model is going to be the same.
I think a world model is a collection of useful tools. We model something because we are trying to achieve a goal. For example, it could be to predict the future, or it could be to understand why something happened.
There are 3 important models in robotics: forward dynamics, inverse dynamics, and policy. Forward dynamics means that, given the starting point and the action taken, you predict what will happen in the future. Inverse dynamics means that, given the visual transition, you infer what action was taken. Policy means determining what the robot should do to achieve the task.
We’re combining different modalities, like audio, action, and vision, and they might run on different time scales. How do you make them all run on the same time scale?
Different signals have different frequencies. Even for video, we can have different frame rates—high-speed video or low-speed video. Audio also has different frequencies, and action operates at a different frequency.
We have a temporal positional-embedding scheme in which we normalize all the signals to the same axis and scale. When tokens represent different time chunks or different spatial chunks of the signal, the model knows which other tokens are in the same time instance and knows the relative distance between different time instances.
That is a critical part of making this world model work while handling audio, video, and action, all of which come with different frequencies.
You were talking earlier about these different modalities—forward dynamics, inverse dynamics, and policy—in a single model. How exactly do they reinforce each other?
When we train the model, we put them together and give it an information bottleneck. You only have a certain amount of capacity to explain all of them. These are all trying to connect visual observation to action.
In the world-action model, you have a text instruction describing what you want to achieve, and this is what you observe. You start to generate an action and a predicted output. The predicted output is similar to forward dynamics: when you have an action, what could the output be? In inverse dynamics, when you have this visual transition, what could the action be? That is also similar to what happens in the world-action model, where you have the video and the action and the correlation between them.
3. Learning robot skills from human video
I think all 3 are fundamentally trying to capture the correlation between observation and action. It’s just a different slice, a different perspective. Once you put in the information bottleneck and the capacity constraints, the model learns. Our results in the paper show that there’s a synergy: one does help the other.
I think it’s fair to say there’s a bit of an asymmetry in the training data, right? There’s lots of human-generated video data, and there’s far less action data. You get this virtuous transfer between the modalities, but could the model ever know when not to transfer, when transfer could be harmful?
I think the model doesn’t really know. We have a large amount of egocentric video—the first-person view—with 2 hands trying to accomplish a certain task. We have a relatively small amount, actually a much smaller amount, of robot video. Robots also have a head camera and a gripper camera, and we can see them complete certain tasks.
I think it’s more about having a shared vocabulary for different embodiments. A humanoid robot looks like a human, and the way a human hand manipulates an object has a visual pattern. The visual-action correlation in how humans manipulate an object is very similar to how a robot would manipulate an object.
Even though the action space doesn’t correlate precisely, once you correlate 1 set of actions, the pattern is similar. It’s easier to generalize to the other embodiment. Incorporating a couple of different embodiments also helps you generalize to unseen embodiments.
Humanoid robots are going to look like humans. Some may have a bigger hand or a longer hand, but they are going to be similar. A gripper can be different, but its functions are also similar. The key is really the pattern—the correlation between visual observation and action. Translating an action from one embodiment to another embodiment is relatively easier.
4. Ambiguous tasks and system 2 planning
Apparently, one of the failure modes is when tasks are not specified well enough. I think System 2 is the key to making ambiguous tasks more concrete for System 1 to execute.
Yes, it’s fascinating, because I’m thinking that we want to use this technology in safety-critical environments, right? Some tasks are quite ambiguous. Presumably, we could add layers of tests and checks. We could red-team it and make it improve over time.
You give it a task, similar to an LLM agent. The first call of the agent or the model will define a sequence of tasks that need to be completed, and it will execute them one by one. After each execution, it will check whether it is complete, and at some point there may be choices that need to be made.
So, okay, should I do this or the other? Right. I think this will require us to think about this robotic task more at the system level, a layer above the model level. You have some harness to gather the resources together, either your past memory or the tools that you can use. Right? So, I’m seeing this as a more complex way to look at the physical task.
5. Neural simulators for policy verification
One thing we’ve not spoken about enough is using Cosmos as a simulator, essentially to train a policy. I’m just thinking about whether there would be some potential problems with that because, in reinforcement learning, we have the sim-to-real gap. Could you have a situation where the policy might learn to exploit features inside the simulator?
Yeah, it’s possible. The way I look at how this world simulator will progress is that I think it will first be more useful for policy verification. Policy verification is a task where, if you’re a model builder, any model run is going to have a lot of checkpoints, and you might do a version study. For every variant, you’re going to have many checkpoints, so how do you know which one is better?
In the ideal case, you deploy each policy on a real robot in a real environment and measure the completion rates, or success rates. For a self-driving car, for example, every time you update your driving policy, how do you know it works? You need a fleet of drivers to go to different challenging scenarios and check whether the policy is desirable, right? It’s so costly. There are so many checkpoints.
If we can use a world model as a world simulator, as a replacement for the real world and real drivers, you can pass the task directly into the world simulator. At the end of the rollout, you can measure whether the test is completed or not, and then you have a success rate. If the success rate of the world simulator correlates with real-world testing and preserves the ranking, you don’t need them to be precise.
You just need to know if policy A is better than policy B in the world simulator, and most likely policy A is going to be better than policy B in the real world. You just need this ranking to be preserved. With this, you can quickly narrow down the number of checkpoints you need to deploy in the real world. You’re going to largely improve your development velocity and help yourself find a better policy sooner.
6. Cosmos as a starting point for robot policies
Okay. And in this policy verification, you don’t directly train the model using the visual output, the rollout, right? If what happened with large language models is going to happen with world models, we’re going to see rapid improvements in world models, right? Even before it’s mature enough to provide training data for the policy model, the training data used to train the world simulator can be used for policy verification. That’s what I think. Okay, so now we go back to the question you asked. Hacking is going to happen. Even if you use deep learning, if there’s some pattern and something that can be exploited, there are going to be other examples. I think the new simulator is going to be exploited, and other simulators are also going to be exploited. As we reach that stage, I think there will be ways to regularize the model training and measure those that can be used. I don’t know precisely the approach. I think this is also a very exciting area, and I just believe that people will figure out a way.
Yeah. And on this thing about using Cosmos as a teacher, essentially, for policies, you guys have a set of recipes around this, and you should talk about that. One interesting thing is the ability to imagine the notional elephant in the room. Something that is quite unnatural and would be very low-frequency in the training data—you can imagine those. But you could also have this adaptive system where you recognize edge cases and improve the policy over time.
Cosmos as the teacher. In Cosmos, we try to help the ecosystem in 3 ways: better data, better environments, and better starting points. We believe that a Cosmos model, a world model, links video, action, and text together to learn a shared representation and is a great starting point for building a policy model.
Not just in theory, we actually post-trained a Cosmos model on the DROID dataset and achieved state-of-the-art pick-and-place policy results. Our intuition is that if we can predict the physics dynamics well and learn the correlation between pixels and actions, then it’s going to help you build a policy model. As we keep advancing Cosmos models and bring more embodiments into them, they’re going to become better and better starting points, and the amount of effort required to adapt to a new embodiment will be less.
Well, maybe you should comment on the recipes, because this will really help folks at home get up to speed with it.
As we build Cosmos as a platform, we also provide post-training recipes in our Cosmos repo. A user or developer can use the recipes to reproduce the results we have, starting with the Cosmos model. We look forward to adding more recipes there. Maybe we’ll also add skills to help you provide data, and agents to help you post-train Cosmos to do something you like. We’re trying to serve the community this way.
7. Cosmos Dreams and robot safety
Amazing. And can you tell me about Cosmos Dreams?
With Cosmos Dreams, we provide a set of skills to build a closed-loop simulator, not just for self-driving but for all sorts of embodiments. It falls into the conventional, traditional definition of a world model in robotics: action in, future observation out. You’re not limited by the size of your fleet, and anytime you need to do a lot of testing, if you have the compute, you can just launch it. It can help you with development velocity. It’s very useful for self-driving, and I think this is going to also be true for robotics.
A world model is now good enough for navigation tasks in robotics. The other challenge is manipulation tasks. With navigation, you don’t want your physical device to touch anything else, but manipulation tasks require all kinds of interactions. When there’s interaction, there’s occlusion and potential deformation when things are manipulated, so it’s more challenging.
I’m very optimistic that, with the excitement the whole field has around world models, continued advances in deep learning research, and more compute, we will reach a state where we’ll be able to use world simulation to handle complex manipulation well. Once we reach that stage, you can test your robot policy with the world simulator.
Self-driving cars require a lot of policy verification today because cars are moving around in our human space, so we need them to be safe enough. When humanoid robots reach that stage, you’ll be deploying them in many people’s houses, and safety is even more important. You don’t expect to see a car in your house, but once humanoids are everywhere, you’re going to expect to see humanoids surrounding you, and maybe your kids and pets.
You do want them to be safe enough. How do you know? As a developer of a humanoid, how do you make sure every iteration of your new policy, or the whole system, is safe enough? You need policy verification, and you won’t have enough space to set up all kinds of kitchens for all kinds of different tasks. I think using a world simulator is the only way to give you the development velocity we need.
8. Super, Nano and Edge model sizes
Very cool. And you also have this Cosmos 3 edge model, so this runs on a single device.
Yes. Cosmos comes in 3 sizes. We have Super, Nano, and Edge, right? Super gives you the highest fidelity; it’s a frontier model. If you want very high accuracy and you have the compute resources, definitely go with Super. Nano is in between: smaller and easier to post-train with whatever GPU resources you have.
We want to make sure Edge runs really well on edge devices like the Jetson Thor, Orin, or DGX Spark. The reason we build this one is that we want the world model to live where the robot lives. That way, you don’t need a round trip to a data center when you want to take a certain action, and I think that’s important when you come to real deployments. You may not be able to count on the network connection being good enough to do all the tasks, and sometimes it’s safety-critical. You have to complete the task on time.
We developed Edge so it’s small enough but also powerful enough to run on those edge devices. Because the model is smaller, it takes fewer compute resources, so it can be easily fine-tuned. Earlier, we had a recipe on fine-tuning the Cosmos Edge model in 1 day to boost its visual understanding capability.
I think all 3 versions are going to be super important. I also envision that they may need to work together in some form for future robotic development. Very challenging task.
You probably want a very powerful model. It's like calling out for help. For simpler tasks, you have to finish right away. You want to depend on the model that is on the edge device.
9. Open models, the Cosmos repo and feedback
For folks at home, where can they get their hands on these models and find out more about them?
10. Cosmos 3 collection on Hugging Face
Yeah. All our models are open, and all our code, and even some of the training data we created, are open. The models and the data live on Hugging Face, and the code lives in a GitHub repository. We have github.com/nvidia-cosmos/cosmos as our landing repository. On the front page, you can see links to the Hugging Face models, the datasets, and also the training code and the post-training scripts.
We also have skills in the repository to help your agent quickly pick up the offerings in Cosmos. We built Cosmos to help the ecosystem and a wide range of physical AI developers. We welcome feedback. I have my email inbox, and as you know, I'm watching every issue that comes to the Cosmos repository.
We do want to see your feedback. Good or bad, both are very welcome, and we are committed to making this better and better.
Ming-Yu, it's been a pleasure and an honor having you on MLST. Thank you so much for joining us today.
Thank you.