Gato is a generalist agent developed by DeepMind and described in 2022: a single 1.2-billion-parameter transformer that, with one set of weights, can play Atari games, caption images, hold short conversations and control a real robot arm. It treats every task as next-token prediction over a shared sequence of text, image, observation and action tokens.
Among AI models and assistants, Gato matters as a proof of concept rather than as a product. It showed that one network trained on 604 distinct tasks across many modalities and embodiments could perform reasonably on most of them, which influenced later work in artificial intelligence on multimodal foundation models and vision-language-action models for robotics.
How Gato turns every task into a token sequence
Gato works by serializing all inputs and outputs into tokens and training a decoder-only transformer to predict the next token, exactly as a language model does. The difference lies in what the tokens represent: words, image patches, joint angles, button presses and rewards all share one flat sequence.
Each modality has its own tokenization scheme, after which tokens are embedded into the same vector space. The table below lists the main schemes.
| Data type | Tokenization | Detail |
|---|---|---|
| Text | SentencePiece subwords | Vocabulary of 32,000 tokens |
| Images | Non-overlapping patches | 16 by 16 pixel patches, embedded with a ResNet block |
| Discrete actions | Integer tokens | Button presses in games mapped to integers |
| Continuous values | Mu-law encoding and binning | Values scaled to a range and split into 1,024 bins |
During an episode, observation tokens are followed by a separator token and then by action tokens. At inference, Gato reads the observation, generates action tokens autoregressively, sends them to the environment and receives the next observation, so the control loop is simply repeated sampling. The context window holds 1,024 tokens, which limits how much history the agent can see.
Training data and task coverage
Gato was trained with supervised learning on expert data, not with reinforcement learning during its own training. For control tasks, the data were trajectories produced by specialist reinforcement learning agents, so Gato learned by imitating them, a method known as behavior cloning.
| Domain | Example environments | Type of output |
|---|---|---|
| Video games | Atari, Procgen | Discrete joystick actions |
| 3D navigation | DeepMind Lab | Movement and view actions |
| Simulated control | DeepMind Control Suite, Meta-World | Continuous torques and positions |
| Instruction following | BabyAI | Grid-world actions |
| Real robotics | Block stacking with a robot arm | Continuous arm commands |
| Vision and language | Image captioning, visual question answering | Text tokens |
| Dialogue | Large text corpus | Text tokens |
Tasks are distinguished not by explicit task IDs but by prompt conditioning: at training and evaluation time, part of the context is filled with a demonstration from the same task, and the model infers what it is expected to do. DeepMind reported that Gato reached at least half of the expert score on roughly 450 of the 604 control tasks.
Model size and the real-time constraint
The authors trained three sizes, and the largest was deliberately kept small. The reason was real-time robot control: the model had to produce actions fast enough to drive a physical arm at a practical control rate, which ruled out the much larger networks typical of language modeling at the time.
| Variant | Parameters | Observed behavior |
|---|---|---|
| Small | About 79 million | Lowest average task performance |
| Medium | About 364 million | Intermediate performance |
| Large | About 1.18 billion | Best performance, still fast enough for control |
Performance improved consistently with scale across the three sizes, which the authors presented as evidence that larger generalist agents might close the gap with specialists. This scaling argument, rather than the absolute scores, was the central claim of the paper.
How Gato compares with related models
Gato is often confused with large language models because it uses the same architecture, but its defining feature is embodiment: it outputs actions as well as text. It also differs from DeepMind’s earlier game agents, which were specialists trained for one domain.
| System | Scope | Training approach | Key difference from Gato |
|---|---|---|---|
| AlphaZero | Board games | Self-play reinforcement learning | Specialist with superhuman play in its domain |
| MuZero | Games with a learned model | Model-based reinforcement learning | Plans with a learned dynamics model |
| Gato | 604 tasks, many modalities | Supervised imitation of experts | One network, modest per-task skill |
| Large language models | Text, later images | Self-supervised text prediction | No native action output |
| Vision-language-action models | Robot manipulation | Pretrained vision-language backbone plus robot data | Later, larger and more capable at robotics |
Limitations and misconceptions
Gato attracted strong public reactions, and several claims about it went beyond the evidence. The most important correction is that Gato is not artificial general intelligence: it is a competent imitator across many narrow tasks, with weak transfer to genuinely new tasks.
- Below specialist level: on many tasks Gato performs well under the experts it imitates, and its dialogue and captioning are noticeably weaker than contemporary language models.
- Dependence on expert data: behavior cloning cannot exceed the quality of its demonstrations and inherits their biases.
- Short context: 1,024 tokens covers only a few image observations, which limits long-horizon reasoning.
- Limited generalization: adapting to new tasks generally required fine-tuning rather than zero-shot transfer.
- No public release: the weights were not published, so independent replication was limited.
In simple terms
Most AI systems do one job. A chess program plays chess. A chatbot writes text. Gato was an experiment to see whether one AI could do hundreds of different jobs with the same brain.
The trick was to turn everything into the same kind of symbols. Words, pictures and robot movements all became tokens. Gato then learned to guess the next token, whether that meant the next word or the next movement. It learned by copying expert examples. It became a decent all-rounder, but not an expert at anything, much like a person who has tried many sports without mastering one.
A practical example
A robotics research group studying household manipulation reads the Gato paper while planning its next system. Instead of training a separate network for each of its twelve kitchen tasks, such as opening drawers and placing cups, the group adopts the same idea of a single shared transformer conditioned on a short demonstration.
The team tokenizes camera images into patches and discretizes the arm commands into 256 bins, then trains one model on all twelve datasets. It keeps the network small enough to run at about 10 actions per second on the lab computer, the same trade-off Gato made between size and control speed.
The shared model matches the specialists on eight tasks and falls short on four that need longer memory. The result mirrors Gato’s own lesson: one generalist can replace many specialists for routine skills, but context length and data quality still limit the hardest tasks.