RT-1: one model for seven hundred tasks
In lesson 2.3 the robot was assembled from separate parts: a language model planned, the skills and value functions were trained separately, detectors watched the scene, and each part could let the others down. The policies of Part 1 are simpler: an image goes in, an action comes out, but each of them learned a single task from dozens of demonstrations. RT-1 (Google, 2022) brings the two lines together: one network takes camera frames and the text of a command and outputs actions for more than 700 tasks. To get there, 13 robots spent 17 months collecting 130,000 demonstrations. At every step the robot's action consists of 11 numbers: seven set the arm, that is, displacements along three axes, three rotations and the gripper opening; three set the motion of the base; one selects the mode: move the arm, move the base or end the episode. Each of the 11 numbers was replaced by the index of one of 256 equal intervals, so the model picks an action the way it picks a word from a vocabulary. We'll see how a frame and a command become 48 tokens, why it's convenient to predict an action as a class, and what matters more in the data for handling new commands and new surroundings: volume or diversity.
One model and 130,000 demonstrations
In lesson 2.3 the success detector said “yes” when the cup had slipped, and the language model carried on with the plan, while the VoxPoser planner saw only its maps and knew nothing about what hadn't made it into them. A system of separate parts rests on agreements between them, and each part can let the others down. What we want is one model: pixels and words in, actions out, with no intermediate formats.
We've already met such models in this course. The policies of Part 1 map an image straight to an action, but each of them learned a single task from dozens of demonstrations, and a new task meant new demonstrations and a new network. By 2022, computer vision and language processing had moved from narrow datasets for every task to large models trained in two stages.
Pre-training is the first stage: one large model is trained on a large and diverse dataset covering many tasks, and it learns general things, such as what objects look like and how language works. Fine-tuning is the second stage: training continues from the ready weights rather than random ones, on a small dataset for the target task; sometimes it isn't needed at all, and the model handles a new task right away. A model that serves as such a common base for many tasks is called a foundation model, which is where Part 3 gets its title. RT-1 already has this pair in a small form. The network that reads the frames is pretrained on ImageNet: a set of 1.28 million photos, each labeled with one of 1,000 classes, such as cat, cup or truck. A network that learned to guess the class from a photo has learned what objects look like, and that knowledge carries over to the frames from the robot's camera; in lesson 2.1, CLIP and ResNet-50 were compared on ImageNet. Then this network trains together with the rest of the model on robot demonstrations. The authors of RT-1 (Brohan et al., Google, 2022) ask a broader question: can you train one large model on data from many robot tasks and get what other fields got, namely transfer to new tasks, objects and surroundings?
That takes data. For 17 months, 13 Everyday Robots mobile manipulators (an arm with 7 degrees of freedom, a two-finger gripper and a mobile base) collected demonstrations in a “robot classroom”: an office kitchen of counters and drawers built for data collection. The result was about 130,000 episodes (an episode is one recording of a task from start to finish: the camera frames, the command and the operator's actions at every step) and 744 instructions. Each instruction consists of a verb and one or two nouns: “pick coke can”, “move apple near sponge”, “open the top drawer”. The instructions are grouped by verb into skills:
| Skill | Instructions | Example |
|---|---|---|
| Move an object near another object | 337 | move pepsi can near rxbar blueberry |
| Pick an object from a receptacle and place it on the counter | 162 | pick green jalapeno chip bag from paper bowl and place on counter |
| Pick up an object | 130 | pick iced tea can |
| Place an object into a receptacle | 84 | place brown chip bag into white bowl |
| Place an elongated object upright | 8 | place water bottle upright |
| Knock an elongated object over | 8 | knock redbull can over |
| Open or close a drawer | 6 | open the top drawer |
| Tasks for long-horizon instructions | 9 | pull napkin out of dispenser |
| Total | 744 |
The demonstrations were recorded through teleoperation: the operator stood next to the robot and drove it with two VR controllers. The position and rotation of a controller became a gripper displacement, and the joystick turned and drove the base. The robot drove up to a station by itself and told the operator which instruction to demonstrate and how to rearrange the objects: that kept the dataset balanced across tasks and varied across scenes. Only successful episodes went into training, and the model is trained with the same behavior cloning as in lesson 1.1: training maximizes the likelihood of the operator's actions given the frames and the command.
To get a feel for the scale, do the math yourself. In RT-1, 13 robots collected 130,000 episodes over 17 months, which is about 590 episodes per robot per month. That's simply the paper's numbers divided out, not a measured operator throughput.
The number of episodes is the number of tasks times the demonstrations per task. To get the collection time, we divide the episodes by RT-1's rate of about 590 episodes per robot per month. The card with the dashed border shows RT-1's real numbers for comparison; the sliders don't change it.
One task from Part 1 on one robot takes a day. Seven hundred tasks take a whole fleet a year. And data of that size and diversity still has to be learned by something: the network has to read a frame and a command and output an action, fast enough to control the robot in real time. How is it built?
From a frame to action tokens
A transformer is good at learning many tasks from a language command, but all-to-all attention between tokens is expensive, and the robot can't wait. People perform the instructions from the dataset in 2–4 seconds, so the authors require at least three actions per second from the model, and once the camera and communication delays are taken into account, the network itself gets less than 100 ms.
So the input is compressed to a small number of tokens. A 300 × 300 frame goes through EfficientNet-B3, a convolutional network pretrained on ImageNet, and gives a 9 × 9 × 512 feature map: 81 cells with 512 channels each, that is, 81 image tokens. The command is turned into a single vector by Universal Sentence Encoder, an off-the-shelf network for encoding sentences, and that vector enters the convolutional network through FiLM layers. A FiLM layer does one simple thing to the feature map: every channel is multiplied by its own scale and gets its own shift added, and both numbers are computed from the command vector by two small layers. So the command “pick up the red cube” boosts some channels and mutes others, and the image features are extracted with the command in mind from the very start. At the start of training the scale of every channel is 1 and the shift is 0: the layer changes nothing, the network works exactly as it did after ImageNet, the pretrained weights stay intact, and the command's influence appears as training goes on. The whole part that turns the frame and the command into tokens, EfficientNet-B3 with its FiLM layers, accounts for 16M of the model's 35M parameters.
This is early fusion of language. Gato, a DeepMind model from 2022 (Reed et al., “A Generalist Agent”), does it differently: one transformer with 1.2 billion parameters is trained on 604 tasks, from Atari games and dialogue to stacking blocks with a robot, and images, text and actions go into it as a single sequence of tokens. Gato receives the command as just more tokens next to the image tokens, not inside the vision network.
Next, TokenLearner reduces the 81 tokens to 8: a small network computes attention weights over the tokens and assembles eight weighted sums from them, so only the combinations that matter for the command reach the transformer. A history of 6 frames gives 48 tokens with positional encodings, and they are read by a decoder-only transformer with 8 attention layers and 19M parameters. RT-1 has 35M parameters in total and computes one action in 15 ms: TokenLearner speeds it up 2.4×, and not recomputing the tokens of the five previous frames gives another 1.7×.
The output works differently from Part 1. An action consists of 11 numbers: 7 for the arm (displacements along x, y, z, three rotations and the gripper opening), 3 for the base (x, y and rotation), and a mode: move the arm, move the base or end the episode. Each continuous dimension is split into 256 equal bins between its bounds, and the model predicts not a number but a bin index. It outputs 11 distributions over 256 classes and is trained with cross-entropy, as in classification. All 11 tokens come out in a single pass: autoregression, where the next action token depends on the previous ones, made the model twice as slow and didn't improve the results.
Under the hood: FiLM, TokenLearner and the training objective
FiLM (feature-wise linear modulation) scales and shifts every channel of the feature map by numbers that depend on the command embedding :
The matrices and are zero at the start of training, so : the pretrained network works as before, and the command starts to affect the features as training goes on. For each of the output tokens, TokenLearner computes weights over the input tokens and takes the weighted sum:
A continuous action dimension with bounds turns into a bin index, and the training objective is the sum of cross-entropies over the 11 dimensions given the command and the last six frames:
At execution time, the most probable bin is taken for each dimension, and its center is returned as a number. To keep the action rate from drifting, the system waits a fixed 280 ms before applying an action, the largest of the observed component latencies.
The policies of Part 1 output an action as numbers, and in lesson 1.3 regression with mean squared error averaged the two detours around the kettle. Bins don't do that: a distribution over 256 classes can have two peaks, like the map from lesson 2.1. The paper also has a direct test: the same model with continuous actions and a Gaussian output completed 68% of familiar tasks instead of 97%. But bins raise a question of their own. With few bins, the bin center is far from the right point. With 256 of them, each class has few examples. How many bins do you need to both hit the object and learn from the demonstrations you have?
Action as a token
Before training a model with bins, you have to choose how many. Too few bins, and the bin center is far from the right point, so even a perfectly trained model misses. Too many, and each class has few examples, so the model doesn't manage to learn which bin is where. It's a trade-off between action resolution and the amount of data.
Let's test it on Ada's table from lesson 2.1. Three cubes of different colors and a bowl lie on a 96 × 96 pixel picture of the table. The command has the form “pick up the <color> cube”, and the action is the grasp point. First without training: lay a grid of bins per axis over the table, put the grasp point into its bin and return the bin center, as the robot does with an action token. Then we'll train a mini-RT-1. Its tokenizer works over cells of 3 × 3 pixels with FiLM conditioning on the command word. Soft selection, as in TokenLearner, keeps one token from the cells. A small fully connected network stands in for the transformer, and two heads output the x bin and the y bin. The model trains right here in the browser, in 1000 steps on 300 demonstrations, and is tested on 30 new scenes.
Ada is a home humanoid on a wheeled base; the course labs are built around her. More about her in lesson 0.1.
The table is shown from above, as in lesson 2.1: 96 × 96 pixels, three cubes and a bowl (the ring). Thin lines show the grid of bins, and the label at the top says how many bins there are per axis. The dashed ring marks the hit zone around the cube named in the command, and the cross marks the center of its bin: a green cross is a hit, a red one is a miss. Rings with a number show where the trained models aim, and the color of a ring matches the color of the model's card below the scene. The other marks are explained in the legend.
Legend: marks on the scene
Under the hood: mini-RT-1 and its simplifications
Cell of the table gives its color minus the background, , and its position . The tokenizer with FiLM conditioning on the command word , the soft selection of one token and the classification heads work like this:
The matrices and hold one pair of vectors for each of the six words and start at zero: FiLM starts as the identity, as in the paper. The weights are attention over the cells, and that's what is drawn on the table in the model's color. The head is a 2 → 48 → network with tanh that outputs logits per axis. The prediction is the most probable bin, and the action is its center. Training takes 1000 Adam steps on batches of 16 examples, and the learning rate decays from 0.03 to 0.003.
Compared with RT-1, the model is simplified: one frame instead of six, one word instead of a sentence, one token instead of eight, a fully connected network instead of a transformer, two axes instead of eleven dimensions. The cells of the empty table are identical, so the background takes part in the selection as a single cell at its average position, and the head sees only the token's position, not its features. Otherwise the model really trains on the page, and the result depends on the random seed and the number of steps: the numbers in the mission debriefs are computed from what you got.
A grid of 8 bins misses the cube no matter how well the model is trained, 256 bins on 300 demonstrations don't get learned, and an in-between number of bins works. The paper follows the same logic: 256 bins per dimension became possible with 130,000 episodes, and replacing the bins with single-peaked continuous actions dropped success on familiar tasks from 97% to 68%. Bins pay for precision with data, and they need a lot of it. But what kind of data: more episodes or more distinct tasks?
Diversity matters more than volume
Every episode costs a minute of operator and robot time, and before collecting data you have to decide what to spend them on: recording more demonstrations of the tasks you already have or adding new tasks. The RT-1 authors answered this with ablations: they trained the model on cut-down datasets. An ablation is an experiment in which one part of a system is removed to measure what is lost.
The data was cut in two ways, to separate data diversity, how many distinct tasks the dataset has, from its volume, the number of episodes. The first way keeps all the tasks but caps the episodes per task at 200, 100 or 50, which leaves 51%, 37% and 22% of the data. The second keeps almost all the data but removes the tasks with the fewest episodes, which leaves 75% of the tasks and 97% of the episodes. The models are evaluated the same way as in the paper's main table: on familiar tasks, on new instructions, with distractor objects on the table and on new backgrounds. The last three tests measure generalization, that is, success on what wasn't in training, and “generalization, overall” is their average.
There were also experiments in the other direction, adding data from elsewhere to the demonstrations. From simulation they added 518,000 episodes in which the robot picked up objects that weren't in the “robot classroom”, and the real robot started picking up those objects in 87% of attempts instead of 23%, while success on familiar tasks barely changed: 90% versus 92%. From another robot, a Kuka arm that picked objects out of a bin, they added 209,000 episodes: their actions were converted to the RT-1 format, and all the episodes were labeled with a single command, “pick anything”. After that, the Everyday Robots robot picked objects out of a similar bin in 39% of attempts instead of 22%, even though it had never been trained to, and lost only 2 percentage points on its own tasks. A model trained on the Kuka data alone didn't succeed on it even once. Ablations were also run on the model itself, removing one part at a time. Without history, with one frame instead of six, success with distractors fell from 83% to 50%. Without ImageNet pre-training, when EfficientNet starts training from random weights, success on new instructions fell from 76% to 43%: the authors attribute this to how large and diverse the ImageNet image set is. The table rows open after your bet, and below the table you'll sort these and other experiments from the paper by what they did.
In Table 7 of the paper the rows are datasets and the columns are kinds of evaluation; the cells hold the success rate in percent. The bar under a number shows its size: blue for familiar tasks, orange for the generalization tests. In parentheses is the difference from the full dataset in percentage points; red marks a drop of more than 2 points.
What helped and what didn't
Under the hood: comparison with Gato and BC-Z, model ablations and long-horizon tasks
The baselines were trained on the same RT-1 data; otherwise they would have had nothing to generalize from. Gato from the “Architecture” section cuts the image into patch tokens without regard to language and adds the text late. To run Gato on the robot, it was cut down to 37M parameters: the original 1.2 billion took 1.9 s per action. BC-Z is a ResNet convolutional network with no frame history and with continuous actions; BC-Z XL is the same network scaled up to the size of RT-1. Table 2 of the paper gives success in percent:
| Model | Familiar tasks | New instructions | Distractors | New backgrounds |
|---|---|---|---|---|
| Gato | 65 | 52 | 43 | 35 |
| BC-Z | 72 | 19 | 47 | 41 |
| BC-Z XL | 56 | 43 | 23 | 35 |
| RT-1 | 97 | 76 | 83 | 59 |
The model ablations are collected in Table 13. Without ImageNet pre-training, success on new instructions falls from 76% to 43%, and without frame history, success with distractors falls from 83% to 50%. With continuous actions, success on familiar tasks falls from 97% to 68%, and without the transformer, with EfficientNet alone, to 86%. Autoregression over the action tokens didn't help and slowed inference from 15 to 36 ms. In a real office kitchen, where the counters, lighting, objects and their places vary, RT-1 completed 70% of the tasks, Gato 30% and BC-Z 45%.
Long-horizon tasks were tested inside SayCan from lesson 2.3: the language model breaks a request like “bring me two different sodas” into steps, and RT-1 executes each step as a skill. On 15 requests averaging 9.6 steps, the plan was correct 87% of the time for all policies. In the familiar kitchen, execution succeeded 67% of the time with RT-1, 53% with BC-Z and 33% with Gato. In a new kitchen RT-1 kept 67%, BC-Z got 13% and Gato 0%. In a video accompanying the paper, a single request is broken into 50 steps.
Removing a quarter of the tasks costs as much generalization as removing half of all the episodes, and the model takes in data from simulation and from another robot without losing anything on its own tasks. The authors draw a conclusion from this that the second half of Part 3 starts from: a model should absorb diverse data, and the wider the range of tasks, objects and robots, the better it generalizes. They also name the limitations: imitation doesn't surpass the operator, new instructions are only combinations of skills and objects seen before, and the tasks don't require dexterity. What of RT-1 is still around in the systems of 2026?
What's left of RT-1
The action as a token has stayed. RT-2 (2023, lesson 3.3) outputs the same action bins as text tokens of a language model, and it no longer needs a separate head. OpenVLA (2024, lesson 3.5) splits each dimension into 256 bins, as RT-1 does, and writes them into rarely used tokens of the language model's vocabulary. FAST (2025, lesson 3.6) goes further: an action chunk is compressed with the discrete cosine transform and encoded into tokens, like text, so a second of motion takes several times fewer tokens than per-dimension bins would.
The model type itself has stayed too: a transformer policy that reads frames and a command and outputs an action. What has changed is how the input is encoded: instead of EfficientNet and a sentence embedding, models now use a pretrained vision-language model that brings knowledge about the world from the internet with it. The rate has changed too. RT-1 output one action three times per second and paid for that with model size, while the policies of 2025–2026 output action chunks dozens of control steps ahead, like ACT from lesson 1.7, and drive the robot at 50 Hz; π0 from lesson 3.6 does this by replacing bins with flow matching from lesson 1.8.
The conclusion that diversity matters more than volume shaped the next step. The Kuka data in RT-1 was the first experiment in mixing robots; a year later Open X-Embodiment (lesson 3.4) pooled data from 22 robots from dozens of labs and trained RT-1 and RT-2 on it. Before looking at those models, we need to understand how an image gets into a language model in the first place. That's what lesson 3.2 is about.
Eight common misconceptions
Lesson takeaways
- RT-1 handles 744 instructions with one model: frames and a command in, actions out. The model was trained on 130,000 demonstrations that 13 robots collected over 17 months. It succeeds in 97% of attempts on familiar tasks and in 76% on new instructions.
- The input is compressed to 48 tokens: EfficientNet-B3 with FiLM conditioning on the command gives 81 tokens per frame, TokenLearner keeps 8, and a history of six frames makes 48. They are read by an 8-layer transformer; the whole model has 35M parameters and outputs 3 actions per second.
- Action as a token: each of the 11 dimensions is split into 256 bins, and the model solves classification instead of regression. A distribution over bins can hold several peaks; single-peaked continuous actions gave 68% instead of 97%.
- The number of bins is a trade-off: too few means a coarse action and misses, too many means more classes than examples. 256 bins pay off only with a large dataset.
- Diversity matters more than volume: removing 25% of the tasks cost as much generalization as removing 49% of the episodes. The model absorbs data from simulation and from another robot without losing ground on its own tasks.
- RT-1 has limitations: imitation doesn't surpass the operator, new instructions only combine skills and objects seen before, and the model outputs one action per step at 3 Hz.
Open questions
Each of the 11 dimensions is chosen by its own argmax over 256 bins. How do you get a coherent action if the axes are chosen independently?
All 11 distributions are computed from the same transformer features, so they are coordinated through the shared context rather than by conditioning on each other. Where the distribution along an axis has two peaks, independent choice can take the x of one solution and the y of another: lesson 1.3 calls this losing the links between dimensions. The authors tried autoregression, where each next token takes the previous ones into account, as in Gato, and it didn't improve the results but made inference twice as slow. The models of the next lessons solve this differently: RT-2 outputs action tokens one after another, like text, and π0 predicts all dimensions of all actions in a chunk with one continuous generator.
Why 256 bins and not 64 or 1024, and how do you choose the number of bins for your own task?
The bins are uniform between the bounds of a dimension, so the action resolution is the range divided by the number of bins: with a gripper step of a few centimeters, 256 bins give fractions of a millimeter, and precision is limited by the data, not by the grid. The lower bound comes from the task: a bin has to be smaller than the hit tolerance, as in the lab, with 16 bins for the normal cube and 32 for the small one. The upper bound comes from the data: each class needs enough examples, otherwise neighboring bins get confused. The paper doesn't justify the number 256 separately; it's the authors' choice for 130,000 episodes, and on 300 demonstrations it doesn't work.
Paper guide
A. Brohan et al., “RT-1: Robotics Transformer for Real-World Control at Scale”, RSS 2023.
- Read closelySection 5.1 and Figure 3: image tokenization with FiLM, TokenLearner, action bins. Tables 2 and 7 and Section 6.5: the comparison with Gato and BC-Z and the data ablations that show diversity matters more than volume.
- Safe to skipAppendix C.3 on model selection through simulation with RetinaGAN, and the instruction lists in Appendix D.1.
- Question to keep in mindGato and Decision Transformer use autoregression over action tokens. Why did it give nothing in RT-1, and what would change if the 11 dimensions were strongly linked to each other?
Resources
- RT-1 project pageVideos: 744 instructions, new kitchens, long-horizon tasks with SayCan
- RT-1 codeAn open implementation of the model in TensorFlow
- E. Perez et al., “FiLM: Visual Reasoning with a General Conditioning Layer”, AAAI 2018The conditioning layer through which the command enters the convolutional network
- M. Ryoo et al., “TokenLearner: What Can 8 Learned Tokens Do for Images and Videos?”, NeurIPS 2021Soft token selection that compresses 81 tokens to 8
RT-1 carries out more than 700 tasks from a frame and a command. But it knows exactly what was in its 130 thousand demonstrations: an object or a word that wasn't there doesn't exist for it. Large language models know about the world, but they read only text.
Lesson 3.2 · Vision-language models: how to give a language model an image