微软研究:物理AI推理卸载提升机器人性能与续航
Offloaded inference for real-world physical AI robotics
物理AI工程落地的关键基础设施突破,实测数据详实,为机器人系统架构设计提供了重要参考,值得硬件与算法工程师关注。
At a glance
概览
- Challenges a core assumption in robotics AI: Our research shows that running physical AI inference exclusively on onboard GPUs can limit robot performance, battery life, and scalability, and that offloading inference to edge or cloud GPUs can offer significant advantages.
- Demonstrates measurable benefits of inference offloading: Across representative mobile manipulation workloads, offloading improved task success rates, enabled larger AI models, and helped robots respond more effectively in dynamic, real-world environments.
- Extends robot operating time: Replacing power-hungry onboard AI compute with lightweight onboard hardware and remote inference can substantially improve battery life, enabling robots to operate longer between charges.
- Introduces a new capability in the Physical AI Toolchain: Developers can now containerize, deploy, and orchestrate robotics AI workloads across robots, edge infrastructure, and the cloud using Kubernetes-based tooling for distributed inference.
- 挑战机器人 AI 的核心假设:我们的研究表明,仅在机载 GPU 上运行物理 AI 推理会限制机器人的性能、电池续航能力和可扩展性,而将推理卸载到边缘或云端 GPU 则能带来显著优势。
- 展示了推理卸载的可衡量收益:在具有代表性的移动操作工作负载中,推理卸载提高了任务成功率,支持了更大规模的 AI 模型,并帮助机器人在动态的真实环境中更有效地做出响应。
- 延长机器人运行时间:用轻量级的机载硬件和远程推理取代高功耗的机载 AI 计算,可以大幅改善电池续航能力,使机器人在两次充电之间能够运行更长时间。
- 在物理 AI 工具链中引入新能力:开发人员现在可以使用基于 Kubernetes 的工具,对跨机器人、边缘基础设施和云端的分布式推理进行容器化、部署和编排。
Readily-available physical AI, with robotics assisting users in manufacturing, home, and warehouses scenarios, holds immense potential to improve safety, productivity, and assistance across a wide range of tasks. In many ways, AI for the physical world represents a major frontier for AI . Physical AI must operate in open, unpredictable environments, interact with both other robots and people, and work with a diversity of embodiments. Realizing this vision requires advances along three dimensions: robot hardware, embodied AI models, and systems infrastructure for training and inference. While robot hardware and the AI models have advanced rapidly in recent years, we turn our focus on a relatively under-addressed aspect: inference infrastructure of physical AI. Enabling robots to effectively and safely operate in the physical world will require sophisticated systems to handle large volumes of distributed inference compute.
易于获取的物理 AI,通过在制造、家庭和仓库场景中协助用户,拥有巨大的潜力来提升安全性、生产力和各类任务的辅助能力。在许多方面,面向物理世界的 AI 代表了 AI 的一个重要前沿领域。物理 AI 必须在开放且不可预测的环境中运行,与其他机器人和人进行交互,并与多种形态的载体协同工作。实现这一愿景需要在三个维度上取得进展:机器人硬件、具身 AI 模型以及用于训练和推理的系统基础设施。尽管近年来机器人硬件和 AI 模型取得了快速进步,但我们将焦点转向一个相对被忽视的方面:物理 AI 的推理基础设施。要使机器人能够在物理世界中有效且安全地运行,需要复杂的系统来处理大规模的分部推理计算。
Today, the prevailing approach to physical AI is to provision a GPU onboard the robot, e.g., by wiring a GPU to the robot. In this model, the robot’s inference will be confined to the onboard GPU, and provide the robot with the necessary chunks and sequence of actions for the execution of its tasks. While higher-level planning may be performed in the cloud, task execution typically remains tied to the robot itself. We challenge this assumption. As physical AI models grow in size and sophistication, the constraints of onboard compute become increasingly apparent. GPUs consume significant power, reduce battery life, add cost and weight, and can limit the ability to run the latest generation of AI models.
如今,物理 AI 的主流方法是在机器人上配备 GPU,例如通过布线将 GPU 连接到机器人。在这种模式下,机器人的推理过程将局限于机载 GPU,并为机器人提供执行任务所需的动作片段和序列。虽然更高层级的规划可能在云端进行,但任务执行通常仍与机器人本身紧密绑定。我们对此假设提出挑战。随着物理 AI 模型在规模和复杂性上的增长,机载计算资源的限制日益显现。GPU 消耗大量电力,缩短电池寿命,增加成本和重量,并可能限制运行最新一代 AI 模型的能力。
To better understand the systems implications of physical AI, we conducted the first systematic study of robotics workloads. We focused on mobile robotic manipulation, with the canonical task such as “check for rubbish in the kitchen and put it in the trash.” Such a task involves planning the path to the kitchen, perceiving the environment to find rubbish, navigating to the rubbish, picking up the rubbish, and navigating back to the trash can for disposal. We evaluated representative models across three core capabilities: semantic mapping and planning, navigation, and manipulation, as summarized in Figure 2.
为了更深入地理解物理 AI 的系统影响,我们对机器人工作负载进行了首次系统性研究。我们专注于移动机器人操作,以“检查厨房是否有垃圾并将其扔进垃圾桶”这一典型任务为例。此类任务涉及规划前往厨房的路径、感知环境以寻找垃圾、导航至垃圾位置、拾取垃圾,以及导航回垃圾桶进行丢弃。我们评估了代表模型在三个核心能力方面的表现:语义映射与规划、导航和操作,如图 2 所示。
Figure 2: Details of the models used for the different components of mobile manipulation.
图 2:用于移动操作不同组件的模型详情。
Offloading physical AI inference out of the robot improved its response time and accuracy, along with battery lifetime and cost. We evaluated the inference models across a range of onboard, edge, and cloud compute configurations. Details of the specific test hardware are available in our technical report.
将物理 AI 推理从机器人卸载出去,改善了其响应时间和准确性,同时延长了电池寿命并降低了成本。我们在多种机载、边缘和云计算配置下评估了推理模型。具体测试硬件的详细信息见我们的技术报告。
Benefits in task performance: Our evaluation shows offloading inference can significantly improve robot performance across mapping, planning, navigation, and manipulation workloads. Some smaller GPUs could not accommodate the mobile manipulation stack. On GPUs with sufficient memory, mapping and planning slowed by up to 383% compared to an A100, thus limiting the robot’s abilities in dynamic spaces. Navigation showed a 30% drop in its timely detection of obstacles with lighter GPUs. While the VLA models did not dramatically slow down with smaller GPUs, the slowdown was still sufficient to drop their accuracies by 50%. In other words, onboard GPUs limited the performance of the robots while offloading their inference to an on-premise or cloud GPU boosts their operations, as shown in the videos below and quantified in the graphs. As physical AI models continue to grow in size and complexity, the benefits of offloading are likely to become even more pronounced.
任务性能方面的优势:我们的评估表明,卸载推理可以显著提升机器人测绘、规划、导航和操作负载的性能。一些较小的 GPU 无法容纳移动操作堆栈。在内存充足的 GPU 上,与 A100 相比,测绘和规划的延迟最高增加了 383%,从而限制了机器人在动态空间中的能力。使用较轻的 GPU 时,导航对障碍物的及时检测率下降了 30%。虽然 VLA 模型在使用较小 GPU 时没有显著变慢,但速度下降仍足以使其准确率降低 50%。换句话说,板载 GPU 限制了机器人的性能,而将推理卸载到本地或云端 GPU 则能提升其运行效率,如下方视频所示,并在图表中进行了量化。随着物理 AI 模型规模和复杂性的不断增长,卸载的优势可能会变得更加明显。
Figure 3a: The video shows the handover task with onboard GPUs.
图 3a:视频展示了使用板载 GPU 时的交接任务。
Figure 3b: The video shows the handover task when the inference is offloaded.
图 3b:视频展示了推理卸载时的交接任务。
Figure 4: Success rates of robot arms handing over objects to each other when inference is performed with different GPUs (some onboard, and some offloaded). Offloading improves success rates.
图 4:在不同 GPU(部分为板载,部分为卸载)上进行推理时,机械臂相互交接物体的成功率。卸载提高了成功率。
Benefits in battery lifetime: Beyond performance, onboard GPUs also significantly drained the battery life of the robot. We compared the increase in battery lifetime by replacing an onboard GPU with a Raspberry Pi-5 board and shipping all the data to the offloaded GPU. The larger onboard GPUs, such as Jetson Thor, drained robot batteries by up to 160% (or a few hours) for even the larger robots.
电池寿命方面的优势:除了性能之外,板载 GPU 还会显著消耗机器人的电池寿命。我们通过用 Raspberry Pi-5 主板替换板载 GPU 并将所有数据传输到卸载的 GPU,比较了电池寿命的增加情况。即使是较大的机器人,像 Jetson Thor 这样的大型板载 GPU 也会使电池电量最多减少 160%(即几小时)。
Figure 5: Impact of offloading GPU inference on the battery life of the robots; the above numbers are for the Stretch-3 robot.
图 5:卸载 GPU 推理对机器人电池寿命的影响;上述数据针对 Stretch-3 机器人。
The above results show that offloading GPU inference out of the robot is critical for functioning in the open world with large models and long battery lifetimes. Nonetheless, offloading inference out of the robot involves a complex tradeoff involving performance, network latency and bandwidth, and available GPU resources. We believe that our measurement study will inform the design of physical AI inference systems.
上述结果表明,将 GPU 推理从机器人中卸载出来,对于在开放世界中利用大型模型并实现长电池寿命至关重要。然而,将推理从机器人中卸载涉及复杂的权衡,包括性能、网络延迟和带宽以及可用的 GPU 资源。我们相信,我们的测量研究将为物理 AI 推理系统的设计提供参考。
PODCAST SERIES
播客系列
AI Testing and Evaluation: Learnings from Science and Industry
AI 测试与评估:来自科学与行业的经验教训
Discover how Microsoft is learning from other domains to advance evaluation and testing as a pillar of AI governance.
了解微软如何借鉴其他领域的经验,将评估和测试作为 AI 治理的支柱加以推进。
Listen now
立即收听
Opens in a new tab
在新标签页中打开
Toolset for automatic offload
自动卸载工具集
We have built a toolset for easy inference offloading out of the robot and distributing inference between the edge GPU and cloud. Kubernetes is a natural platform to provide a uniform abstraction to distribute robotic AI between the robot’s compute, edge GPU, and overflowing to the cloud. The toolset allows automatic containerization and offloading of robotics workloads using declarative specifications, distributes physical AI containers with smart policies using Kubernetes, and integrates with robotic simulators, LeRobot, and ROS2 for easy development. The sequence of steps below shows how the toolset can be prompted with what to offload, and how it creates a separate container for GPU inference and offloads the same.
我们构建了一套工具集,用于轻松地将推理任务从机器人卸载到外部,并在边缘 GPU 和云端之间分配推理负载。Kubernetes 是一个天然的平台,能够为在机器人计算资源、边缘 GPU 以及溢出至云端的场景中分布机器人 AI 提供统一的抽象层。该工具集允许使用声明式规范自动将机器人工作负载容器化并实现卸载,利用 Kubernetes 的智能策略分发物理 AI 容器,并与机器人模拟器、LeRobot 和 ROS2 集成以简化开发。以下步骤序列展示了如何提示工具集需要卸载的内容,以及它如何为 GPU 推理创建单独的容器并进行卸载。
Figure 6: Steps in the offloading toolset with containerization and deployment.
图 6:具有容器化和部署功能的卸载工具集中的步骤。
Microsoft has recently released the Physical AI Toolchain (opens in new tab) for operationalizing physical intelligence at scale. Physical AI Toolchain is an open-source, production-ready framework that integrates Microsoft Azure (opens in new tab) cloud services with NVIDIA’s (opens in new tab) physical AI stack, accelerating robotics and physical AI developers to automate and scale data curation, augmentation, and evaluation across perception, mobility, imitation learning, and reinforcement learning pipelines. We are announcing the addition of an industry-first capability for offloaded physical AI inference for robots as part of the Physical AI Toolchain. This release includes example projects for offloading inference of a SO-101 and a UR10e. The videos below show the offloading of the inference of Microsoft’s Rho model, targeted at dual-arm robots, to a Jetson Thor GPU, which controls the actions of the Mobile Aloha robot (opens in new tab).
微软最近发布了 Physical AI Toolchain(在新标签页中打开),用于大规模运营物理智能。Physical AI Toolchain 是一个开源的、面向生产的框架,它将 Microsoft Azure(在新标签页中打开)云服务与 NVIDIA(在新标签页中打开)的物理 AI 堆栈集成在一起,加速机器人与物理 AI 开发人员自动化并扩展感知、移动性、模仿学习和强化学习管道中的数据策展、增强和评估工作。我们宣布作为 Physical AI Toolchain 的一部分,新增了一项行业首创的能力,即为机器人提供卸载式的物理 AI 推理。此次发布包含了针对 SO-101 和 UR10e 进行推理卸载的示例项目。以下视频展示了将微软 Rho 模型(面向双臂机器人)的推理卸载到 Jetson Thor GPU 的过程,该 GPU 控制着 Mobile Aloha 机器人(在新标签页中打开)的动作。
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力