先划出所有可行动作,再挑一个
机器人抓杯子,从来是先生成一个动作、再放到真机上试错——错了就重来。这篇把顺序倒过来:先让语言模型用 Lean 4(一个数学证明工具)把「所有合法动作」写成一个集合,把目标、物理规律、机器人身体的限制和人的偏好分开摆;再从集合里挑一个,挑完先拿同一份规格验一遍,验过才让机器人动。验证用的是精确区间算术,必要时上 Lean 内核,但只保证集合里写明的那些事。它在三个操作基准上做了验证。它不是你明天能用上的东西——真机上的「所有合法动作」能不能被写全,才是这条路真正的门槛。
📄 原文摘要(英文)
A manipulation task such as picking up a mug admits many valid actions: the mug can be grasped by its handle or its rim and lifted along countless paths. Yet vision-language-action models, Code-as-Policies and human teleoperation each generate a single action whose validity is found only by running it on the robot. We argue for the opposite order: first define all valid actions, then choose one. We introduce LEAP (Lean-as-Policy), in which a language-model agent writes the feasible set of a task as a Lean 4 action family over a shared library of physical laws, separating goal, physics and embodiment constraints from user preferences. An objective selects one member of the set, which is checked against the same specification before the robot moves, using exact interval arithmetic and, optionally, the Lean kernel; the check covers only what the family states. Lean thus serves as a unified representation of actions. We instantiate it in LEAP-Harness, which writes feasible actions in Lean from observations and an instruction, then samples verified joint commands. We validate its effectiveness on RoboDojo, RoboCasa365, and LIBERO-Pro.