Foundation Models for Decision Making: Problems, Methods, and Opportunities

Sherry Yang, Ofir Nachum, Yilun Du, Jason Wei, Pieter Abbeel, Dale SchuurmansarXiv 2023

Abstract

Foundation models pretrained on diverse data at scale have demonstrated extraordinary capabilities in a wide range of vision and language tasks. When such models are deployed in real-world environments, they inevitably interface with other entities and agents. For example, language models are often used to interact with human beings through dialogue, and visual perception models are used to autonomously navigate neighborhood streets. In response to these developments, new paradigms are emerging for training foundation models to interact with other agents and perform long-term reasoning. These paradigms leverage the existence of ever-larger datasets curated for multimodal, multitask, and generalist interaction. Research at the intersection of foundation models and decision making holds tremendous promise for creating powerful new systems that can interact effectively across a diverse range of applications such as dialogue, autonomous driving, healthcare, education, and robotics. In this manuscript, we examine the scope of foundation models for decision making, and provide conceptual tools and technical background for understanding the problem space and exploring new research directions. We review recent approaches that ground foundation models in practical decision making applications through a variety of methods such as prompting, conditional generative modeling, planning, optimal control, and reinforcement learning, and discuss common challenges and open problems in the field.

The Generalist Agent Challenge

Traditional Reinforcement Learning (RL) and decision-making systems are often "tabula rasa," meaning they start from scratch for every new task. This approach is notoriously sample-inefficient; a standard agent might require seven days of GPU time to master a single Atari game. Furthermore, these agents struggle to generalize to new environments or different physical embodiments.

Foundation Models (FMs), such as GPT-4 or CLIP, offer a potential solution. They possess vast "world knowledge" derived from broad internet-scale data. However, they are primarily trained on static data (text and images) and do not inherently know how to act in a physical environment or reason over long-term sequences of actions and rewards. The central challenge is merging these two worlds: leveraging the broad knowledge of FMs to solve the sample-efficiency and generalization problems in sequential decision-making.

Methodological Roles for Foundation Models

Recent research categorizes the functional roles of FMs in decision-making into three primary areas:

  1. FMs as Conditional Generative Models: Trajectories (sequences of states, actions, and rewards) are treated as a language. Autoregressive models, like Decision Transformers, predict the next action based on history and a "return-to-go" target. Diffusion models, such as Diffuser, generate entire future trajectories at once, allowing for flexible planning and steering agents toward high-reward outcomes.
  2. FMs as Representation Learners: FMs serve as powerful encoders. In "plug-and-play" setups, pretrained CLIP or ViT models process visual observations for task-specific RL policies. Alternatively, BERT-style masking on trajectory data can be used to learn environment dynamics before fine-tuning.
  3. FMs as Agents and Environments: This involves treating dialogue as a Markov Decision Process (MDP) optimized via Reinforcement Learning from Human Feedback (RLHF), or training models to use external tools (APIs) as "actions" to solve complex reasoning tasks.
Architectural paradigms for foundation models, including sequence modeling, representation learning, and generative approaches.

Bridging the Dataset Gap

A significant hurdle in this field is the "dataset gap" between static internet data and interactive trajectory data. While static datasets like LAION-5B or Wikipedia provide broad world knowledge, interactive datasets like MineDojo (Minecraft) or RT-1 (Robotics) provide the necessary grounding for action.

Foundation models leverage broad, large-scale datasets for pretraining before being adapted for specific tasks.

To bridge this gap, researchers are increasingly using "hindsight relabeling." This involves using FMs to analyze unlabelled internet videos and retroactively assign action labels or text descriptions, effectively turning passive observations into training data for interactive agents.

Key Insights and Scaling Results

Several provocative ideas are reshaping the field:

  • Policy-as-Video: Recasting decision-making as a video generation problem. If a model generates a video of a robot successfully performing a task, an inverse dynamics model can determine the motor torques needed to match that video.
  • Algorithm Distillation: Training a model to imitate the learning process itself. By observing the history of an RL agent improving over time, a transformer can learn to "learn" in-context.
  • Universal Interfaces: Using text and video as universal languages allows a single model to control diverse robots, bypassing the need for specialized architectures for different sensor configurations.

Scaling laws suggest that multi-task performance improves significantly as model and data scale increase. Generalist agents like Gato (600+ tasks) and RT-1 (700+ robot tasks) demonstrate that LLMs can act as high-level planners, decomposing complex instructions into executable sub-tasks without task-specific training.

Limitations and Future Directions

Despite progress, several challenges remain. FMs often lack a "common sense" understanding of physics, leading to plans that are linguistically sound but physically impossible. Current Transformer architectures also face context window limitations, struggling with the long-term memory required for complex tasks. Furthermore, most FMs operate in an "open-loop" fashion; true decision-making requires "closed-loop" interaction where the model constantly adjusts based on environment feedback. Finally, as FMs move into physical control (e.g., autonomous driving), the safety implications of model "hallucinations" become a critical priority.

Summary updated

BibTeX
@misc{yang2023foundation,
  author = {Sherry Yang and Ofir Nachum and Yilun Du and Jason Wei and Pieter Abbeel and Dale Schuurmans},
  title = {{Foundation Models for Decision Making: Problems, Methods, and Opportunities}},
  year = {2023},
  eprint = {2303.04129},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.04129},
}
Figure