Optimal Behavior Prior: Data-Efficient Human Models for Improved Human-AI Collaboration

Mesut Yang, Micah Carroll, Anca D. DraganarXiv 2022 · DOI

Introduction

Effective human-AI collaboration requires AI agents that can accurately predict and adapt to human behavior. However, training these predictive models typically demands vast amounts of human interaction data, which is expensive and difficult to acquire. This research introduces the Optimal Behavior Prior (OBP), a novel approach that leverages "optimal" policies learned through self-play as a foundation for modeling human behavior. By initializing models with this prior before fine-tuning on limited human data, the authors demonstrate significant improvements in data efficiency, generalization, and collaborative performance.

The Challenge: Modeling Suboptimal Human Behavior

To be an effective partner, an AI must anticipate a human's next move. The standard approach, Behavior Cloning (BC), involves training a model to mimic human actions from a dataset. However, human behavior is often suboptimal, influenced by cognitive biases, and inherently "noisy."

Learning these complexities from scratch requires massive datasets. Without sufficient data, traditional BC models often fail to grasp basic task rules or generalize to novel environments (e.g., a different kitchen layout). Furthermore, an AI trained against a flawed human model may learn to exploit those flaws rather than providing meaningful assistance to a real person.

The OBP Framework

The core hypothesis of this work is that while humans are not perfectly optimal, their behavior is much closer to optimality than to random action. The OBP framework operationalizes this by assuming humans are "near-optimal" agents.

Overview of the OBP training pipeline and its application in collaborative AI training.

The methodology consists of four primary stages:

  1. Pre-training (The Prior): A neural network is first trained via Self-Play (SP) across millions of simulated environments to learn the optimal strategy for the task.
  2. Initialization: The weights of this optimal agent serve as the starting point (the "Optimal Behavior Prior") for the human model.
  3. Fine-tuning: The model is fine-tuned using a small dataset of actual human-human gameplay. This allows the model to learn specific human nuances and deviations from optimality.
  4. Feature Freezing (OBP+f): The authors also explored a variant where early layers (feature extractors) were frozen, testing whether the high-level representations used by experts and humans are fundamentally similar.

Experimental Setup: Overcooked-AI

The framework was evaluated using Overcooked-AI, a standard benchmark for multi-agent coordination. In this environment, two players must cooperate in a grid-world kitchen to prepare and serve soup.

Sequential frames from the Overcooked-AI environment illustrating the coordination task.

To test generalization, the authors utilized a distribution of approximately $10^{13}$ possible $7 \times 5$ layouts. For large-scale testing, they employed "ground truth human proxies"—automated agents parameterized by real-world human studies to exhibit common suboptimalities, such as frequent "wait" actions.

Key Insights and Results

The Validation Loss Trap

A critical finding was the inadequacy of standard "loss" metrics in this domain. In high-speed coordination tasks, humans spend over 50% of their time waiting. A vanilla BC model can achieve low mathematical error simply by predicting "wait" constantly, resulting in a model that is technically "accurate" but functionally useless. OBP avoids this by maintaining task competence while learning human-like timing.

Performance and Generalization

  • Competence: While vanilla BC models trained on multiple layouts often failed to complete tasks (achieving zero reward), OBP models achieved rewards nearly identical to the ground truth human proxies.
  • Collaboration: AI agents trained to respond to OBP-based human models performed significantly better when paired with humans in unseen layouts compared to those trained via self-play or standard BC.
  • Shared Representations: The success of the "frozen" OBP+f model suggests that the high-level features required to understand a task are largely shared between optimal agents and humans.

Conclusion and Future Work

The Optimal Behavior Prior offers a robust path toward data-efficient human modeling. By starting with competence, AI can focus its limited human data on learning the nuances of human behavior rather than the basic mechanics of the environment.

Future research will focus on validating these models with real-time human-in-the-loop experiments and exploring alternative priors, such as Maximum Entropy agents, to better capture the inherent noise in human decision-making. While the "near-optimal" assumption is powerful, its limitations in tasks where humans are fundamentally confused remain an area for further investigation.

Summary updated

BibTeX
@misc{yang2022optimal,
  author = {Mesut Yang and Micah Carroll and Anca D. Dragan},
  title = {{Optimal Behavior Prior: Data-Efficient Human Models for Improved Human-AI Collaboration}},
  year = {2022},
  eprint = {2211.01602},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.01602},
}
Figure