[Paper Review] A Generalist Agent
Gato presents a single 1.2B-parameter transformer that operates as a generalist policy across multiple modalities, tasks, and embodiments by training on a diverse, serialized token dataset and applying prompt conditioning.
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.
Motivation & Objective
- Motivate building a single generalist agent to reduce hand-crafted policies and biases across domains.
- Demonstrate that a large transformer can handle diverse modalities and tasks with a unified data format.
- Show that training on a broad, multi-domain dataset enables broad capabilities and potential for adaptation to new tasks.
- Investigore how prompting, scaling, and fine-tuning influence performance across control, vision-language, and robotics tasks.
Proposed method
- Serialize multi-modal data into a flat sequence of tokens suitable for a decoder-only transformer.
- Tokenize text with SentencePiece, image patches as ViT-style patches, discrete actions as integers, and continuous values via mu-law encoding into 1024 bins.
- Use a 1.2B parameter transformer with 24 layers to predict the next token, masking loss to target outputs (text and actions).
- Apply prompt conditioning by prepending episodes or demonstrations to sequences during training and evaluation.
- Train offline with a varied data mix from 596 control and vision-language datasets totaling about 1.5 trillion tokens.
- Deploy with a fixed context window of 1024 tokens and use memory-enhanced deployment for long-horizon control.
Experimental results
Research questions
- RQ1Can a single generalist model learn across a wide range of tasks, modalities, and embodiments using a unified token-based sequence model?
- RQ2How does scaling (model size, data, compute) influence cross-domain performance and adaptation to new tasks?
- RQ3What is the impact of prompt conditioning and fine-tuning on few-shot or out-of-distribution task adaptation?
- RQ4How well does the generalist transfer to robotics and perception tasks not seen during pretraining?
- RQ5To what extent can a single model outperform domain-specific baselines or specialists across multiple domains?
Key findings
- Gato achieves above 50% expert score on more than 450 of 604 control tasks in simulation.
- Gato attains average human or better performance on 23 Atari games and over twice human on 11 games.
- On BabyAI, Gato scores over 80% of expert on nearly all levels; the hardest task BossLevel reaches 75%.
- Gato surpasses 50% of expert on 21/30 DM Control Suite tasks and over 80% on 18 tasks; in Meta-World it scores over 50% on 44/45 tasks and over 90% on 3 tasks.
- On real-robot RGB stacking, Gato’s Skill Generalization averages around 50.2% (real) and competitive with BC-IMP baselines; Skill Mastery results show strong in-distribution performance.
- Fine-tuning Gato with limited demonstrations substantially improves robotics performance, with larger models adapting more effectively and enabling perceptual variation tasks (e.g., blue-on-green stacking) to achieve meaningful success rates.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.