[Paper Review] Grounded Decoding: Guiding Text Generation with Grounded Models for Embodied Agents
Grounded Decoding (GD) couples a frozen Large Language Model with domain-specific grounded models to decode open-vocabulary plans for embodied robots, enabling long-horizon tasks without fine-tuning the LLM. GD uses token-level combining probabilities to ensure plans are both semantically plausible and physically realizable.
Recent progress in large language models (LLMs) has demonstrated the ability to learn and leverage Internet-scale knowledge through pre-training with autoregressive models. Unfortunately, applying such models to settings with embodied agents, such as robots, is challenging due to their lack of experience with the physical world, inability to parse non-language observations, and ignorance of rewards or safety constraints that robots may require. On the other hand, language-conditioned robotic policies that learn from interaction data can provide the necessary grounding that allows the agent to be correctly situated in the real world, but such policies are limited by the lack of high-level semantic understanding due to the limited breadth of the interaction data available for training them. Thus, if we want to make use of the semantic knowledge in a language model while still situating it in an embodied setting, we must construct an action sequence that is both likely according to the language model and also realizable according to grounded models of the environment. We frame this as a problem similar to probabilistic filtering: decode a sequence that both has high probability under the language model and high probability under a set of grounded model objectives. We demonstrate how such grounded models can be obtained across three simulation and real-world domains, and that the proposed decoding strategy is able to solve complex, long-horizon embodiment tasks in a robotic setting by leveraging the knowledge of both models. The project's website can be found at grounded-decoding.github.io.
Motivation & Objective
- Bridge high-level semantic planning from large language models with grounding information from robot embodiment and environment.
- Develop a token-level decoding strategy that combines LLM probabilities with grounded model objectives (affordances, safety, preferences).
- Show applicability across multiple domains (simulation and real-world) and demonstrate efficiency gains over prior approaches.
Proposed method
- Define grounding functions pG(w1...n|s) conditioned on embodiment state s.
- Formulate GD as a token-level autoregressive decoding that maximizes pGD(w1...N|s, l) ∝ pLLM(wn|w1...n-1, l) · pG(w1...n|s).
- Implement GD with greedy or beam search to select tokens that are likely under both the LLM and grounded models.
- Learn grounding signals from domain data (token-conditioned value functions, multimodal detectors, rule-based cues) and compose them (affordance, safety, preferences).
- Optionally enable multimodal grounding via prompts or chain-of-thought techniques to leverage vision-language models in decoding.
Experimental results
Research questions
- RQ1How can an open-vocabulary language model be grounded in a robot's embodied state to produce executable long-horizon plans?
- RQ2What grounding signals (affordances, safety, preferences, multimodal detectors) improve long-horizon task success compared to ungrounded decoding?
- RQ3Can token-level Grounded Decoding efficiently scale to open-action spaces and multiple domains (simulation and real world) without fine-tuning the LLM?
- RQ4How does GD compare to SayCan in planning and execution efficiency and generalization to unseen tasks?
Key findings
- GD achieves strong performance across three embodied domains by integrating LLM planning with domain grounding.
- Beam search enhances performance over greedy decoding, especially on long-horizon tasks.
- GD is two orders of magnitude more efficient than SayCan on the tested tasks while achieving comparable performance.
- Grounding via affordance, safety, and preferences narrows the action space and reduces planning failures compared to ungrounded or purely LLM-based approaches.
- Using multimodal grounding with chain-of-thought prompts can help disambiguate tasks in real-world settings, improving planning and execution in ambiguous scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.