Do As I Can, Not As I Say: Grounding Language in Robotic Affordances

Michael Ahn, Anthony Brohan, Noah Brown, Yevgen Chebotar, Omar Cortes, Byron David, Chelsea Finn, Keerthana Gopalakrishnan, Karol Hausman, Alexander Herzog, Daniel Ho, Jasmine Hsu, Julian Ibarz, Brian Ichter, Alex Irpan, Eric Jang, Rosario Jauregui Ruano, Kyle Jeffrey, Sally Jesmonth, Nikhil J. Joshi, Ryan Julian, Dmitry Kalashnikov, Yuheng Kuang, Kuang-Huei Lee, Sergey Levine, Yao Lu, Linda Luu, Carolina Parada, Peter Pastor, Jornell Quiambao, Kanishka Rao, Jarek Rettinghouse, Diego Reyes, Pierre Sermanet, Nicolas Sievers, Clayton Tan, Alexander Toshev, Vincent Vanhoucke, Fei Xia, Ted Xiao, Peng Xu, Sichun Xu, Mengyuan Yan

Introduction

Large Language Models (LLMs) have demonstrated an extraordinary capacity for high-level reasoning and common-sense knowledge. However, when applied to physical agents like robots, these models often suffer from a lack of "grounding." An LLM might suggest a logically sound sequence of actions that is physically impossible given the robot's current environment or its specific mechanical capabilities. To bridge this gap, the SayCan framework integrates the semantic intelligence of LLMs with the physical reality of robotic affordances, allowing robots to execute long-horizon, natural language instructions in complex environments.

The Grounding Challenge in Robotics

The fundamental difficulty in robotic control via language is the disconnect between abstract linguistic concepts and concrete physical actions. For instance, if a user says, "I spilled my drink, can you help?", an LLM might suggest finding a vacuum cleaner. While semantically reasonable, this suggestion is useless if the robot is not equipped with a vacuum or if one is not present in the room. Previous attempts to solve this often relied on rigid, structured command sets or failed to generalize to the messy, multi-step tasks typical of real-world settings like a kitchen.

The SayCan Framework

SayCan addresses the grounding problem by treating the LLM as a high-level planner and reinforcement learning (RL) value functions as "affordance" models. The system operates through a symbiotic integration of two components:

  1. The "Say" (LLM): Given a high-level instruction, the LLM generates a probability distribution over a predefined set of low-level skills. It scores how useful each skill is for making progress toward the user's goal based on semantic context.
  2. The "Can" (Affordances): Each low-level skill is associated with a value function trained via RL. This function estimates the probability of a skill succeeding from the robot's current state, derived from real-time sensor data (e.g., camera images). This provides the "physical grounding," telling the robot what is actually possible at that moment.

At each decision point, the robot multiplies the LLM's semantic score by the value function's affordance score for every available skill. The skill with the highest combined probability is selected and executed. This ensures the resulting plan is both semantically sensible and physically executable.

Experimental Setup and Skills

The system was implemented on a mobile manipulator platform equipped with a library of 551 low-level visuomotor skills, such as picking, placing, and navigating. These skills were developed using a combination of Behavioral Cloning (BC) and RL, trained on a massive dataset of 68,000 teleoperated demonstrations and 276,000 autonomous episodes collected over 11 months across a fleet of 10 robots.

To evaluate the framework, the authors introduced a benchmark of 101 real-world robotic tasks in a kitchen environment. These tasks included long-horizon instructions (requiring 10 or more steps), abstract or ambiguous queries (e.g., "I just worked out, bring me something to recover"), and instructions crowdsourced from humans who had no prior knowledge of the robot's specific programming.

Key Results and Scaling

The integration of PaLM (a 540B parameter model) with SayCan yielded significant performance gains:

  • Success Rates: PaLM-SayCan achieved an 84% planning success rate and a 74% execution success rate across the 101-task benchmark.
  • The Value of Grounding: Incorporating affordances nearly doubled the performance compared to non-grounded LLM baselines, which frequently proposed impossible actions.
  • Scaling Effects: A critical finding was that as the underlying LLM improved (e.g., moving from an 8B parameter model to PaLM), the robot's performance on complex tasks improved without any additional robotic training. This suggests that robotics can directly benefit from the rapid scaling of natural language processing.
  • Generalization and Interpretability: The system demonstrated zero-shot generalization to new objects and locations. Furthermore, because the planning occurs in natural language, the robot's decision-making process is fully transparent; researchers can see exactly how the "Say" and "Can" scores influenced the choice of action.

Limitations and Future Work

Despite its success, SayCan is limited by its fixed repertoire of skills. If a task requires a motion the robot has not learned, such as a specific wiping pattern, it cannot complete the instruction. Additionally, the current system is largely open-loop; it does not always possess the "inner monologue" required to recognize a mid-action failure and immediately retry.

Future research aims to create a more closed-loop system where robotic experience not only follows the LLM's guidance but also feeds back into the model to improve its understanding of physical laws. This would move toward a truly integrated intelligence that learns about the world through both language and physical interaction.

Summary updated

Abstract

Large language models can encode a wealth of semantic knowledge about the world. Such knowledge could be extremely useful to robots aiming to act upon high-level, temporally extended instructions expressed in natural language. However, a significant weakness of language models is that they lack real-world experience, which makes it difficult to leverage them for decision making within a given embodiment. For example, asking a language model to describe how to clean a spill might result in a reasonable narrative, but it may not be applicable to a particular agent, such as a robot, that needs to perform this task in a particular environment. We propose to provide real-world grounding by means of pretrained skills, which are used to constrain the model to propose natural language actions that are both feasible and contextually appropriate. The robot can act as the language model's "hands and eyes," while the language model supplies high-level semantic knowledge about the task. We show how low-level skills can be combined with large language models so that the language model provides high-level knowledge about the procedures for performing complex and temporally-extended instructions, while value functions associated with these skills provide the grounding necessary to connect this knowledge to a particular physical environment. We evaluate our method on a number of real-world robotic tasks, where we show the need for real-world grounding and that this approach is capable of completing long-horizon, abstract, natural language instructions on a mobile manipulator. The project's website and the video can be found at https://say-can.github.io/.
BibTeX
@inproceedings{ahn2022do,
  author = {Michael Ahn and Anthony Brohan and Noah Brown and Yevgen Chebotar and Omar Cortes and Byron David and Chelsea Finn and Keerthana Gopalakrishnan and Karol Hausman and Alexander Herzog and Daniel Ho and Jasmine Hsu and Julian Ibarz and Brian Ichter and Alex Irpan and Eric Jang and Rosario Jauregui Ruano and Kyle Jeffrey and Sally Jesmonth and Nikhil J. Joshi and Ryan Julian and Dmitry Kalashnikov and Yuheng Kuang and Kuang-Huei Lee and Sergey Levine and Yao Lu and Linda Luu and Carolina Parada and Peter Pastor and Jornell Quiambao and Kanishka Rao and Jarek Rettinghouse and Diego Reyes and Pierre Sermanet and Nicolas Sievers and Clayton Tan and Alexander Toshev and Vincent Vanhoucke and Fei Xia and Ted Xiao and Peng Xu and Sichun Xu and Mengyuan Yan},
  title = {{Do As I Can, Not As I Say: Grounding Language in Robotic Affordances}},
  booktitle = {Conference on Robot Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=7Ti96LhnF2},
}
Figure