NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Generalist Agent

Scott Reed, Konrad Zolna, Emilio Parisotto, Sergio Gómez Colmenarejo, Alexander Novikov, Gabriel Barth-maron, Mai Giménez, Yury Sulsky, Jackie Kay, Jost Tobias Springenberg, Tom Eccles, Jake Bruce, Ali Razavi, Ashley Edwards, Nicolas Heess, Yutian Chen, Raia Hadsell, Oriol Vinyals, Mahyar Bordbar, Nando de Freitas

Abstract: Inspired by progress in large-scale language modeling, we apply a similar approach towards building a single generalist agent beyond the realm of text outputs. The agent, which we refer to as Gato, works as a multi-modal, multi-task, multi-embodiment generalist policy. The same network with the same weights can play Atari, caption images, chat, stack blocks with a real robot arm and much more, deciding based on its context whether to output text, joint torques, button presses, or other tokens. In this report we describe the model and the data, and document the current capabilities of Gato.

Introduction

In the field of Artificial Intelligence, specialization has traditionally been the standard. Models are typically designed for specific domains—be it mastering chess, generating creative writing, or controlling robotic hardware. DeepMind’s Gato represents a shift toward universal AI agents. It is a multi-modal, multi-task, and multi-embodiment transformer that utilizes a single set of weights to perform hundreds of diverse tasks.

Gato is a single generalist agent capable of performing a wide variety of tasks across different modalities and embodiments.

Problem Statement

Building an AI agent for a specific domain usually requires a bespoke architecture and a carefully tuned reward function. This fragmentation limits "combinatorial generalization"—the ability of an agent to leverage knowledge from one domain (such as natural language understanding) to succeed in another (such as following complex robotic instructions). Gato addresses this by acting as a generalist agent capable of sensing and acting across a wide range of environments without architectural redesign for new tasks.

Methods: The "Everything is a Token" Philosophy

The core design principle of Gato is serialization. By converting all inputs—regardless of modality—into a sequence of tokens, a standard Transformer architecture can process them uniformly.

The Gato model architecture processes diverse data types—text, images, and robot actions—by converting them into a unified token stream.

Universal Tokenization

  1. Text: Encoded using SentencePiece.
  2. Images: Divided into 16x16 patches, similar to Vision Transformers (ViT), and processed through a ResNet block to generate vector embeddings.
  3. Discrete and Continuous Values: Data such as robot joint torques or button presses are flattened, normalized, and discretized into 1024 uniform bins.

Architecture and Training

Gato is a 1.2-billion parameter decoder-only Transformer. It functions essentially as a language model where the "vocabulary" encompasses robot actions and pixel data alongside text. The model is trained autoregressively to predict the next token in a sequence. To help the model identify which task to perform, "prompt conditioning" is used: in 25% of training sequences, the model is provided with a successful demonstration episode as context.

Datasets

Gato was trained on a massive library of 604 distinct tasks across several domains:

  • Simulated Control: Environments including DM Lab, ALE Atari, BabyAI, Meta-World, and the Procgen Benchmark.
  • Vision & Language: Large-scale datasets such as MassiveText, ALIGN, and MS-COCO Captions.
  • Robotics: Data from the "RGB Stacking" benchmark, involving both simulated environments and real-world Sawyer robot arms.

Key Insights

  • Unified Modality: The success of Gato suggests that specialized architectures for different modalities may be unnecessary. A sufficiently large transformer can learn the underlying structure of any serialized data.
  • Embodiment as Modality: From the model's perspective, outputting a text token is fundamentally similar to outputting a specific torque for a robotic joint.
  • Scaling Laws: The research confirms that scaling laws observed in LLMs apply to generalist agents. Performance improved consistently as the model size increased from 79M to 1.18B parameters.

Results

Gato demonstrates significant breadth of capability, performing at over 50% of expert level on 450 of its 604 training tasks.

  • Atari: The agent achieves average human-level scores or better on 23 different Atari games.
  • Robotics: In real-world "RGB Stacking" tasks, Gato proved competitive with specialized baselines, successfully manipulating objects even when their shapes were previously unseen.
  • Multimodal Interaction: Despite its focus on control, Gato can engage in basic dialogue and produce accurate image captions, showing that its internal representations are not limited to motor control.

Limitations and Conclusion

While Gato is a significant proof-of-concept, several limitations remain. Its context window is limited to 1024 tokens, which restricts its "memory" to a few seconds of recent history. Additionally, the 1.2B parameter size was a compromise to ensure real-time control (20Hz) on physical hardware; larger models may currently face latency issues. Finally, as an imitation learning model, Gato is currently capped by the quality of its expert training data.

Gato serves as a powerful demonstration that the path to General Artificial Intelligence may lie in scaling up simple, universal architectures rather than developing increasingly complex, specialized modules.

Summary updated

BibTeX
@article{reed2022generalist,
  author = {Scott Reed and Konrad Zolna and Emilio Parisotto and Sergio Gómez Colmenarejo and Alexander Novikov and Gabriel Barth-maron and Mai Giménez and Yury Sulsky and Jackie Kay and Jost Tobias Springenberg and Tom Eccles and Jake Bruce and Ali Razavi and Ashley Edwards and Nicolas Heess and Yutian Chen and Raia Hadsell and Oriol Vinyals and Mahyar Bordbar and Nando de Freitas},
  title = {{A Generalist Agent}},
  journal = {Accepted by TMLR},
  year = {2022},
  url = {https://openreview.net/forum?id=1ikK0kHjvj},
}
Figure