Magma让AI能看懂图像视频并动手操作,从点按钮到机器人抓取都行。
Magma: A Foundation Model for Multimodal AI Agents

- 用标记对象位置和运动轨迹的方法训练,让模型学会视觉空间规划与执行
- 在界面导航和机器人操作上刷新纪录,超越专门设计的旧模型
- 适合想做多模态智能体研发的研究者与工程师
我们提出Magma,一种面向数字与物理世界多模态智能体任务的基础模型。Magma不仅保留了视觉语言模型的语义理解能力(言语智能),还具备在视觉-空间世界中规划与行动的能力(时空智能),可完成从用户界面导航到机器人操控的各类智能体任务。为赋予其智能体能力,Magma在大规模异构数据集上预训练,涵盖图像、视频及机器人数据。图像中的可操作对象(如GUI中的点击按钮)通过集合标记(Set-of-Mark, SoM)进行动作定位标注,视频中的物体运动轨迹(如人手或机械臂移动路径)通过轨迹标记(Trace-of-Mark, ToM)进行动作规划标注。大量实验表明,SoM与ToM协同作用显著提升模型的时空智能,这是实现广泛任务的基础。尤其在界面导航与机器人操控任务上,Magma达到新SOTA,优于此前针对这些任务专门设计的模型。在图像与视频相关的多模态任务上,其表现也优于训练数据量更大的主流大模型。代码与模型已开源:https://microsoft.github.io/Magma。
原文摘要 · Abstract (English)
We present Magma, a foundation model that serves multimodal AI agentic tasks in both the digital and physical worlds. Magma is a significant extension of vision-language (VL) models in that it not only retains the VL understanding ability (verbal intelligence) of the latter, but is also equipped with the ability to plan and act in the visual-spatial world (spatial-temporal intelligence) and complete agentic tasks ranging from UI navigation to robot manipulation. To endow the agentic capabilities, Magma is pretrained on large amounts of heterogeneous datasets spanning from images, videos to robotics data, where the actionable visual objects (e.g., clickable buttons in GUI) in images are labeled by Set-of-Mark (SoM) for action grounding, and the object movements (e.g., the trace of human hands or robotic arms) in videos are labeled by Trace-of-Mark (ToM) for action planning. Extensive experiments show that SoM and ToM reach great synergy and facilitate the acquisition of spatial-temporal intelligence for our Magma model, which is fundamental to a wide range of tasks as shown in Fig.1. In particular, Magma creates new state-of-the-art results on UI navigation and robotic manipulation tasks, outperforming previous models that are specifically tailored to these tasks. On image and video-related multimodal tasks, Magma also compares favorably to popular large multimodal models that are trained on much larger datasets. We make our model and code public for reproducibility at https://microsoft.github.io/Magma.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。