# RoboCat: A Self-Improving Generalist Agent for Robotic Manipulation

RoboCat trains one transformer agent across many robot arms and tasks

Konstantinos Bousmalis, Giulia Vezzani, Dushyant Rao, Coline Devin, Alex X. Lee, Maria Bauza and 33 more · arXiv · 2023-6-20

- **Problem** Robot agents usually need a separate model and dataset for each task. Pooling data from different arms and sensors has stayed hard, so one agent rarely transfers to new robots.
- **Method** RoboCat is a goal-conditioned transformer trained on action-labelled visual data from several arms. Unlike single-task policies, it is fine-tuned per task using 100 to 1000 demonstrations.
- **Results** RoboCat scored 80% on the RGB Stacking Mastery Benchmark. That compares with 79% for BC-IMP and 78% for Gato, so it matches the specialists rather than clearly beating them.

## Why one agent per task gets expensive

Much robot learning work trains one agent for one task at a time. Pooling heterogeneous robot data at scale has stayed hard, even though high-capacity models have enabled progress in multi-task learning. The transformer model has driven multi-task progress in language and vision, which raises the question of whether robots can share one model the same way.

Gato showed that one transformer can play Atari, caption images and chat, but its robotic manipulation capabilities were limited. Recent language-conditioned transformer policies solve multiple simple, visually-diverse tasks. Those tasks share the same observation and action spaces, so the policies don't transfer to arms with different sensors or actuators.

The open problem is therefore a single agent that keeps working when the sensors and actuators change.

The authors aim for a foundation agent for manipulation that is multi-embodiment and adapts quickly through fine-tuning. Their agent handles different degrees of freedom, observation specifications and action specifications natively, without common action or observation representations. Fine-tuning on 100 to 1000 demonstrations is the adaptation budget they test for new robots and tasks.

## Key idea: goal images and one transformer

RoboCat names each task with an image of its desired end state, not with a shared action format. Any frame in a trajectory can serve as the hindsight goal for all the steps that lead up to it. Because of this, existing data can supply goals without extra human supervision. Even suboptimal data the agent collects can go back into the training set for self-improvement.

The transformer takes variable-length sequences, so each embodiment can feed in its own tokens.

The policy is written as π(a\_t\|o\_t,g\_t), where a\_t is the action and g\_t is the goal image. Here o\_t holds the joint positions, velocities and an image observation for that step. The model is autoregressive, so it predicts each action from earlier observation and goal tokens. The token counts L and Q differ by embodiment, so the sequence lengths have to vary.

Action and observation tokens are built the same way Gato builds them, so the tokenisation stays fixed.

RoboCat passes each image through a frozen VQ-GAN encoder pretrained on a broad set of images. Each image becomes an 8×8 grid of tokens. The authors tokenise each image once in advance, which makes training the generalist faster. The encoder was trained on ImageNet images, control-task images, and images from the robotic manipulation dataset.

Otherwise the architecture follows Gato, which the authors use as the base model.

## Training objective and fine-tuning

Training optimises one token prediction loss over the whole joint dataset, covering both action tokens and future image tokens. The image tokens are predicted k = 5 steps ahead, because frames one step apart can look very similar. The objective sums the log-probabilities of these tokens, so training maximises that sum over every trajectory.

The authors found that adding the image prediction term improved performance once a VQ-GAN was used, while Gato predicted only actions. That length corresponds to roughly 3 time steps of history.

Adapting to a new task starts with teleoperation, where the authors collect 100 to 1000 demonstrations for that task. Fine-tuning starts from the pretrained weights and maximises the same objective, but only on that task's demonstration data.

Self-improvement reuses the fine-tuned policies to collect a large set of additional trajectories for each self-improvement task. The authors then apply hindsight goal relabelling to these trajectories, which produces the self-improvement dataset for each task. Learned reward models decide which trajectories succeeded when the semantically-equivalent goals are used.

The next training set combines the original data with each task's demonstrations and self-improvement data. A new VQ-GAN model is then trained on that set, and a new generalist is trained on it.

## The self-improvement loop

The self-improvement loop starts with a generalist trained on a wide dataset, then fine-tunes it on a small set of teleoperated demonstrations. The authors run one successful iteration of this loop, and the self-improvement tasks were unseen in the previous RoboCat iteration. Each new episode's success decides whether its trajectory can be relabelled, so the data from fine-tuned policies stays usable.

![Figure 1: The self-improvement process. RoboCat is a multi-task, multi-embodiment visual goal-conditioned agent that can iteratively self-improve. A diverse tr…](https://refivu.com/papers/b6495492-d71b-4904-97d1-2d044bfa800b/figures/figure-a7659e6d903bbf816f96f9ff476124d3.png?thumb=512)

**Figure 1** : The self-improvement process. RoboCat is a multi-task, multi-embodiment visual goal-conditioned agent that can iteratively self-improve. A diverse training set is used to train an initial version of this generalist agent, which can be fine-tuned to new tasks with 100–1000 demonstrations and then deployed on real robots to generate much more data for these tasks. The resulting trajectories are then added to the training dataset for the next iteration of RoboCat, increasing the generalist’s repertoire of skills and improving performance across tasks. Our experiments demonstrate one successful iteration of this process.

[Original paper](https://arxiv.org/abs/2306.11706v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Extracted the figure area from page 3 of the original PDF.

Automated success detection matters for hindsight goal relabelling of semantically-equivalent goals, and it also decides when a reset is needed. Resets come from policy pools, where the policies for other tasks bring the robot back to a valid start state for the next task. Stateless policy pools run policies in some order regardless of the environment, as in lifting tasks.

A state-based pool instead samples the next policy from the state of the tabletop, judged by the trained reward models.

The next training set is the union of the earlier data with each task's demonstrations and self-improvement data. A new VQ-GAN model is trained on that dataset, and then a new generalist is trained on it. Figure 1 summarises this cycle, where fine-tuned agents self-generate much more training data for the next round.

## Generalist results against foundation-model baselines

The authors trained 59 visual foundation model baselines on simulated tasks and kept two as the main comparison points. The NFNet-f6 model has 438M parameters and Swin-L has 197M, both pretrained with CLIP. These baselines are smaller than RoboCat because each one only handles a single task, and they were built by fine-tuning existing VFM architectures.

The authors also use a Gato baseline to isolate the effect of a diverse robotics dataset, since most of Gato's data comes from non-robotics domains.

In simulation the VFM agents are competitive on Panda stacking, but RoboCat outperforms them on the other simulated building tasks. In the real world, where data is scarcer than in simulation, RoboCat gains more from multi-task joint training on robotics data.

On the RGB Stacking Mastery Benchmark, run on Sawyer robots, RoboCat averages 80%, compared to 79% for BC-IMP and 78% for Gato. These three averages are close, so RoboCat matches the specialists rather than clearly beating them. Because Gato's training data is mostly non-robotics, this comparison tests how much robot data helps. For fine-tuning, the VFM baselines trained on 1000 demonstrations perform very poorly, while RoboCat reaches good success with only 500 demonstrations.

## Fine-tuning to unseen tasks and the RoboCat-lim study

RoboCat is fine-tuned to individual task variations using either 500 or 1000 demonstrations. The fine-tuned agents cover previously unseen task families, such as fruit insertion into a bowl, along with new object sets and a previously unseen real KUKA 14-DoF robot. The visual foundation model baselines were trained on each task independently, and for real-world tasks they were run on all task variations.

On the new Panda fruit insertion and removal tasks, the NFNet (1000) and Swin (1000) baselines perform very poorly. RoboCat reaches good success with only 500 demonstrations on these tasks, and the authors attribute the gap to single-task training that cannot use the existing training data.

RoboCat-lim is a model of the same size, trained on a subset of structure-building tasks with some objects and task variations held out. On the held-out real-world blue-on-green stacking variant, RoboCat-lim scores 0% zero-shot. With 500 demonstrations of that variant, RoboCat-lim reaches 88%, compared to 60% for Gato on the same data. Table 3 shows that expert agent data reached 84% and demonstration data 88% at 500 episodes.

The same table shows 63% for expert agent data and 82% for demonstration data at 100 episodes, so the data source matters less at 500 episodes.

In simulation, RoboCat-lim doesn't generalise zero-shot to the blue-on-green variant on the Sawyer embodiment. Fine-tuning on as few as 100 demonstrations makes that simulated Sawyer variant workable. RoboCat-lim also adapts to the real KUKA gear lifting task, with nearly 80% success. Overall, the authors show that RoboCat-lim adapts with 100 to 500 episodes across unseen variations, objects, data sources and one unseen embodiment.

## Self-generated data against direct demonstrations

The comparison baseline adds the few available demonstrations directly to the generalist's training data. The 364M self-improved model instead also sees the self-generated data that was collected for the same tasks. The two agents are compared on fruit lifting with apple, banana, and peach, and on blue-on-green Sawyer stacking. The self-improved agent beats the baseline on all four of these tasks, as shown in Figure 10.

The authors read this as showing that, given demonstrations of a task, fine-tuning plus self-generating data is significantly better than training the generalist on the demonstrations alone.

This pooled data is the process by which they built the main RoboCat generalist from Section 5.1. Figure 11 compares these self-data-generating agents with the full RoboCat generalist. For most cases, the generalist performs similarly to or even better than the agents that generated its data. The authors take this as a sign that RoboCat can self-improve and grow its multi-task capabilities.

## Limitations: what the evidence does not cover

RoboCat in its current form employs only behaviour cloning, so it doesn't use reinforcement learning. They didn't test RL-based training or fine-tuning, so the evidence covers only behaviour cloning.

The simulated images were not visually realistic, and the visual appearance of the scene was not randomised. Physics parameters were randomised in simulation, but no careful system identification was performed.

The work focused on visual goal conditioning, so language and full-demonstration task specification weren't tested.

The simulated foundation-model baselines were run on only one task from each task family. Those simulation comparisons therefore rest on a narrower set of tasks than the full RoboCat evaluation.

## Paper info

- **Authors**: Konstantinos Bousmalis, Giulia Vezzani, Dushyant Rao, Coline Devin, Alex X. Lee, Maria Bauza, Todor Davchev, Yuxiang Zhou, Agrim Gupta, Akhil Raju, Antoine Laurens, Claudio Fantacci, Valentin Dalibard, Martina Zambelli, Murilo Martins, Rugile Pevceviciute, Michiel Blokzijl, Misha Denil, Nathan Batchelor, Thomas Lampe, Emilio Parisotto, Konrad Żołna, Scott Reed, Sergio Gómez Colmenarejo, Jon Scholz, Abbas Abdolmaleki, Oliver Groth, Jean-Baptiste Regli, Oleg Sushkov, Tom Rothörl, José Enrique Chen, Yusuf Aytar, Dave Barker, Joy Ortiz, Martin Riedmiller, Jost Tobias Springenberg, Raia Hadsell, Francesco Nori, Nicolas Heess
- **Venue**: arXiv · Preprint
- **First published**: 2023-6-20
- **Added**: 2026-11-4
- **Updated**: 2023-12-22
- **Version**: v2
- **arXiv**: 2306.11706
- **Category**: cs.RO · cs.LG
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2306.11706v2) · [PDF ↗](https://arxiv.org/pdf/2306.11706v2)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

The ability to leverage heterogeneous robotic experience from different robots and tasks to quickly master novel skills and embodiments has the potential to transform robot learning. Inspired by recent advances in foundation models for vision and language, we propose a multi-embodiment, multi-task generalist agent for robotic manipulation. This agent, named RoboCat, is a visual goal-conditioned decision transformer capable of consuming action-labelled visual experience. This data spans a large repertoire of motor control skills from simulated and real robotic arms with varying sets of observations and actions. With RoboCat, we demonstrate the ability to generalise to new tasks and robots, both zero-shot as well as through adaptation using only 100-1000 examples for the target task. We also show how a trained model itself can be used to generate data for subsequent training iterations, thus providing a basic building block for an autonomous improvement loop. We investigate the agent's capabilities, with large-scale evaluations both in simulation and on three different real robot embodiments. We find that as we grow and diversify its training data, RoboCat not only shows signs of cross-task transfer, but also becomes more efficient at adapting to new tasks.

## Quote from the paper

Konstantinos Bousmalis, Giulia Vezzani, Dushyant Rao, Coline Devin, Alex X. Lee, Maria Bauza, Todor Davchev, Yuxiang Zhou, Agrim Gupta, Akhil Raju, Antoine Laurens, Claudio Fantacci, Valentin Dalibard, Martina Zambelli, Murilo Martins, Rugile Pevceviciute, Michiel Blokzijl, Misha Denil, Nathan Batchelor, Thomas Lampe et al. (2023). RoboCat: A Self-Improving Generalist Agent for Robotic Manipulation. arXiv:2306.11706v2. https://arxiv.org/abs/2306.11706v2

**BibTeX**

```
@misc{bousmalis2023robocat,
  title = {{RoboCat: A Self-Improving Generalist Agent for Robotic Manipulation}},
  author = {Konstantinos Bousmalis and Giulia Vezzani and Dushyant Rao and Coline Devin and Alex X. Lee and Maria Bauza and Todor Davchev and Yuxiang Zhou and Agrim Gupta and Akhil Raju and Antoine Laurens and Claudio Fantacci and Valentin Dalibard and Martina Zambelli and Murilo Martins and Rugile Pevceviciute and Michiel Blokzijl and Misha Denil and Nathan Batchelor and Thomas Lampe and Emilio Parisotto and Konrad Żołna and Scott Reed and Sergio Gómez Colmenarejo and Jon Scholz and Abbas Abdolmaleki and Oliver Groth and Jean-Baptiste Regli and Oleg Sushkov and Tom Rothörl and José Enrique Chen and Yusuf Aytar and Dave Barker and Joy Ortiz and Martin Riedmiller and Jost Tobias Springenberg and Raia Hadsell and Francesco Nori and Nicolas Heess},
  year = {2023},
  eprint = {2306.11706},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.11706v2}
}
```

## Other paper commentary

- [Seeing Through the Illusion: Test-Time Scaling for World Action Models](https://refivu.com/en/papers/acce6a4d-042b-4465-88b1-f168246c6849-seeing-through-the-illusion-test-time-scaling-for.md)
- [Safe-Ballbot: Tilt-Consistent MPC with Control Barrier Functions for Ballbot Navigation](https://refivu.com/en/papers/dd5b3378-644c-4e61-8f14-eff7412d7ce1-safe-ballbot-tilt-consistent-mpc-with-control-barrier.md)
- [ForceLDM: A Force-aware Latent Dynamics Model for Contact-Rich Manipulation](https://refivu.com/en/papers/bb99f5b0-1f95-4a4b-a231-31e5cda0c97b-forceldm-a-force-aware-latent-dynamics-model-for.md)
- [When Robots Outweigh Objects: How Inertia Mismatch Shapes Robot Policy Learning](https://refivu.com/en/papers/85c3c893-9ef3-435a-922f-320500f3059d-when-robots-outweigh-objects-how-inertia-mismatch-shapes.md)
- [Has GPT-6-Astra Achieved Embodied Intelligence?](https://refivu.com/en/papers/097774ed-6bdf-4e1b-809e-956c5d62a60d-has-gpt-6-astra-achieved-embodied-intelligence.md)
- [SmolWAM: A Latent World-Action Model for Robotic Manipulation on Edge Devices](https://refivu.com/en/papers/0fcff0f4-e626-4624-88df-147586408ac6-smolwam-a-latent-world-action-model-for-robotic.md)
- [Radiance Fields from Photons](https://refivu.com/en/papers/ed7d1310-158a-45ed-8fca-e4e7e9def0f5-radiance-fields-from-photons.md)
- [LiveSVG: Zero-Shot SVG Animation via Video Generation](https://refivu.com/en/papers/d392af01-fe45-4961-98d4-140d42ebd9d1-livesvg-zero-shot-svg-animation-via-video-generation.md)
- [Automated, auditable dating of the Babylonian Astronomical Diaries with language models and astronomical tools](https://refivu.com/en/papers/51aebcff-2cce-44cd-b0eb-96190a580ff4-automated-auditable-dating-of-the-babylonian-astronomical.md)
- [An actively trained neural operator for near-explicit atmospheric chemistry](https://refivu.com/en/papers/eb9dbfd4-7716-4343-a72e-4db0b3540a9c-an-actively-trained-neural-operator-for-near-explicit.md)
- [When is early stopping beneficial under label noise? A phase diagram for kernel gradient flow](https://refivu.com/en/papers/bb22b69d-e82d-4182-9e12-3e35db072d10-when-is-early-stopping-beneficial-under-label-noise.md)
- [h1: A Taste of the Bitter Lesson in Automated Theorem Proving](https://refivu.com/en/papers/f060d7fe-7433-44c7-ad28-145e5893dfd3-h1-a-taste-of-the-bitter-lesson-in.md)

## Terms in this paper

- [BC-IMP](https://refivu.com/en/terms/0b07911a5a87-bc-imp)
- [NFNet-F6](https://refivu.com/en/terms/dd36da034d76-nfnet-f6)
- [Swin-L](https://refivu.com/en/terms/8227108384f0-swin-l)
- [VQ-GAN](https://refivu.com/en/terms/a8ce97570c5f-vq-gan)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/b6495492-d71b-4904-97d1-2d044bfa800b-robocat-a-self-improving-generalist-agent-for-robotic)
