Creating Multimodal Interactive Agents with Imitation and Self-Supervised Learning

Josh Abramson, Arun Ahuja, Arthur Brussee, Federico Carnevale, Mary Cassin, Felix Fischer, Petko Georgiev, Alex Goldin, Tim Harley, Felix Hill, Peter C. Humphreys, Alden Hung, Jessica Landon, Timothy P. Lillicrap, Hamza Merzic, Alistair Muldal, Adam Santoro, Guy Scully, Tamara von Glehn, Greg Wayne, Nathaniel Wong, Chen Yan, Rui ZhuarXiv 2021

Abstract

A common vision from science fiction is that robots will one day inhabit our physical spaces, sense the world as we do, assist our physical labours, and communicate with us through natural language. Here we study how to design artificial agents that can interact naturally with humans using the simplification of a virtual environment. We show that imitation learning of human-human interactions in a simulated world, in conjunction with self-supervised learning, is sufficient to produce a multimodal interactive agent, which we call MIA, that successfully interacts with non-adversarial humans 75% of the time. We further identify architectural and algorithmic techniques that improve performance, such as hierarchical action selection. Altogether, our results demonstrate that imitation of multi-modal, real-time human behaviour may provide a straightforward and surprisingly effective means of imbuing agents with a rich behavioural prior from which agents might then be fine-tuned for specific purposes, thus laying a foundation for training capable agents for interactive robots or digital assistants.

Introduction

To build AI that truly understands our world, agents need to perceive their environment, manipulate objects, and communicate with humans in real-time. However, training such agents using standard reinforcement learning (RL) is notoriously difficult. In open-ended, naturalistic settings, it is nearly impossible to programmatically define reward functions for complex, ambiguous, or subjective tasks, such as "bring food to the table so we can eat."

DeepMind introduces MIA, a multimodal interactive agent capable of perceiving its 3D environment, manipulating objects, and communicating via natural language. This research explores how to bypass programmatic rewards entirely by using imitation learning to instill agents with a rich, intelligent behavioral prior derived directly from human-human interactions in a simulated 3D world. The goal is to create an agent competent enough that humans actually want to interact with it, laying the foundation for future RL fine-tuning.

Methodology

The researchers built MIA using a straightforward but powerful combination of representation learning techniques:

  • Behavioral Cloning (BC): MIA is trained via supervised learning to predict expert human actions—including moving, looking, grabbing, and speaking—given a sequence of past observations.
  • Hierarchical Control: Instead of predicting actions at every single frame (15 times per second), MIA uses a high-level controller that processes observations and a low-level controller that unrolls eight consecutive movement actions. This forces the agent to act over longer temporal abstractions, improving visual consistency.
  • Cross-Modal Contrastive Learning: To improve generalization in a highly randomized 3D world, an auxiliary self-supervised loss was added. The agent must predict whether a given visual embedding and language embedding come from the same trajectory or different ones.
  • Architecture: The model utilizes a ResNet to process 96x72 RGB images and a tokenizer for text embeddings. Both inputs feed into a Multimodal Transformer (MMT), followed by an LSTM memory core that drives the hierarchical movement and language policies.
First-person view of the MIA agent during a multimodal interaction task.

The Playhouse Dataset

The primary training ground for MIA is the "Playhouse," a newly collected dataset of human-human interactions within a 3D Unity environment. This environment features randomized rooms, furniture, and a wide array of interactable toys.

The Playhouse environment, a 3D Unity-based simulation for human-agent interaction.

Data was collected via "language games"—prompted interaction types (e.g., "Ask the other player to put something on top of something else") and free-form instructions. The scale of the dataset is significant, containing 275,676 training episodes and 34,399 test episodes, totaling nearly three years of real-time human play.

Results and Discussion

MIA achieved a success rate of over 70% in live, human-rated online interactions, representing 75% of the performance achieved by humans in the same "solver" roles. Ablation studies confirmed that removing the hierarchical movement policy, the contrastive representation loss, or visual/language inputs caused significant performance degradation.

Key Insights

  • Evaluation Metrics: Standard validation loss and scripted probe tasks did not always correlate perfectly with actual human judgment. Models that appeared to be overfitting on language or contrastive loss sometimes performed better in live human evaluations, highlighting the limitations of relying purely on log probabilities.
  • Scaling Laws: Similar to large language models, increasing both the dataset size and the model parameter count (from 5M to 121M) yielded consistent improvements in human-evaluated behavioral competency.
  • Rapid Behavioral Transfer: While MIA does not exhibit zero-shot generalization to entirely new objects, its strong behavioral prior allows for rapid learning. For instance, MIA learned to interact with a novel object (a drum) using less than 12 hours of new human demonstration data and reached near-optimal performance for a new verb command ("to clear") in just one hour.

Conclusion

While MIA demonstrates impressive interactive capabilities, several challenges remain. Relying on human evaluation is expensive and slow, and the perception challenges in the simulated Playhouse are simpler than those of the physical world. Furthermore, the agent's language comprehension is currently constrained compared to web-scale LLMs. Future work may explore "self-play" dynamics, where "setter" agents automatically generate tasks for "solver" agents, potentially reducing reliance on human-generated prompts and scaling the environment indefinitely.

Summary updated

BibTeX
@misc{abramson2021creating,
  author = {Josh Abramson and Arun Ahuja and Arthur Brussee and Federico Carnevale and Mary Cassin and Felix Fischer and Petko Georgiev and Alex Goldin and Tim Harley and Felix Hill and Peter C. Humphreys and Alden Hung and Jessica Landon and Timothy P. Lillicrap and Hamza Merzic and Alistair Muldal and Adam Santoro and Guy Scully and Tamara von Glehn and Greg Wayne and Nathaniel Wong and Chen Yan and Rui Zhu},
  title = {{Creating Multimodal Interactive Agents with Imitation and Self-Supervised Learning}},
  year = {2021},
  eprint = {2112.03763},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.03763},
}
Figure