Search

Search papers and lessons

RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Control

Anthony Brohan, Noah Brown, Justice Carbajal et al. · 2023

RT-2 writes robot actions as text tokens and co-fine-tunes a large vision-language model on robot trajectories and web data, so one network controls a robot and keeps web knowledge.

On this page

  • Colour = topic mix
  • Calculus
  • Probability
  • Neural network basics
  • Linear algebra
  • Architectures
  • Learning basics
  • Sign in to see your progress

TL;DR

Robot policies have seen only robot data, which is small and narrow. RT-2 asks whether a vision-language model (VLM) trained on web images and text can become the robot policy itself. Its trick is to write each robot action as a string of numbers, so the action is just more text for the model to output. The model is co-fine-tuned on robot demonstrations and the original web data. The result generalizes to new objects and new instructions, and it can follow commands like "move the apple to 3" that never appear in the robot data. The largest model has 55B parameters and runs at 1 to 3 Hz.

Where you'll see it: the paper that named the vision-language-action (VLA) model family, a web-pretrained VLM that directly outputs motor commands.

The problem

Robot data is expensive to collect. The authors compare it with the web: the strongest language and vision-language models are trained on billions of tokens and images, which they judge unlikely to be matched by robot data soon. Existing ways to use language models in robotics mostly sit at the planning level. A language model turns a command into primitive steps such as "pick" and "place", and separate low-level controllers carry them out. Those controllers never benefit from the semantic knowledge in the large model. The paper's question is whether a large pre-trained VLM can be integrated directly into low-level control, to improve generalization and give rise to semantic reasoning.

Key idea

RT-2 makes actions a language. Once the 6-DoF end-effector motion, the gripper and a termination flag are written as integers, a VLM that already produces text can produce them too. The robot's camera image and the instruction go in, and an action string comes out. The output is decoded back to motor commands and executed closed loop.

flowchart LR
    A[Camera image and instruction] --> B[VLM backbone]
    W[Web image and text data] --> C[Co-fine-tuning]
    B --> C
    R[Robot trajectories with instructions] --> C
    C --> D[Action as integer string]
    D --> E[De-tokenize to motor commands]
    E --> F[Closed-loop control]

Because nothing new is added to the architecture, the model keeps everything the VLM learned on the web, and robot training changes only how it responds. The authors call the family vision-language-action (VLA) models and describe the approach as simple and general. The contribution is less a new network than a recipe for making a VLM act.

The method

Action tokens

The action space is 6-DoF positional and rotational displacement of the end effector, the gripper extension, and a discrete termination command the policy emits to say the episode is done. Each continuous dimension is split into 256 uniform bins. The robot action is therefore 8 integers, which are concatenated into one string with spaces. The paper notes that the VLM tokenizer must supply 256 usable tokens for these bins, and that the choice differs between models.

For PaLI-X, integers up to 1000 each have a unique token, so each bin maps to an integer token. For PaLM-E, which lacks a convenient number vocabulary, the authors overwrite the 256 least frequently used tokens with the bins. The paper calls this a form of symbol tuning.

Example
Binning one action dimension (illustrative range)

Suppose a dimension ranges over [−1,1][-1, 1] and is split into 256 equal bins, each of width 2/256≈0.00782/256 \approx 0.0078. The paper does not give the range it uses, so treat these numbers as an illustration of the mechanism.

  1. The value x=0.5x = 0.5 falls at position (0.5+1)/(2/256)=192(0.5 + 1) / (2/256) = 192 bins from the bottom.
  2. Taking the bin index as 192 gives the integer token for that dimension.
  3. Decoding reverses the map: bin 192 corresponds to a value near 0.50.5, within half a bin width, which is about 0.0040.004.

The quantization error is therefore at most about half a bin, which is small relative to the motion the robot makes.

Co-fine-tuning

The input is a visual question in the standard VQA format, "Q: what action should the robot take to [task]? A:", and the target is the action string. The objective is the next-token prediction loss, which the paper says corresponds to the behaviour cloning loss in robot learning. See Behavior Cloning for that loss.

The key technical detail is that the robot data is not used alone. The paper says co-fine-tuning, which mixes web vision-language data with the robot data in each batch, produces more generalizable policies than fine-tuning on robot data only. The sampling weight on the robot dataset is raised so that robot examples make up a meaningful share of each batch. The authors argue that the policy keeps the abstract visual concepts from the web while it learns low-level actions.

Output constraint: a normal VLM may output any token. RT-2 is constrained so that, when prompted with a robot task, it can only sample valid action tokens, while still being free to write natural language on ordinary VQA tasks.

Training settings the paper gives: the 55B model uses learning rate 1e-3, batch size 2048 and 80K gradient steps. The 5B model uses the same learning rate and batch size with 270K steps. The PaLM-E-based 12B model uses learning rate 4e-4, batch 512 and 1M steps. The robot data is the RT-1 dataset, collected with 13 robots over 17 months in an office kitchen. Each trajectory has a verb-and-noun instruction such as "pick 7up can".

Real-time inference

A 55B model cannot run on a desktop or on-robot GPU at control rates. The authors serve the model from a multi-TPU cloud and query it over the network, which also lets one service drive several robots. The paper reports 1 to 3 Hz for the 55B model and about 5 Hz for the 5B model. That is slow for dexterous control, and the paper says so in its limitations.

Results

The paper evaluates on about 6,000 trials with a 7-DoF mobile manipulator. The baselines are RT-1 (35M parameters), VC-1 and R3M (pre-trained visual representations with an RT-1 backbone), and MOO (a VLM that adds a semantic map channel to RT-1). All baselines use the same robot data.

Seen tasks and generalization. Table 6 of the paper reports success rates. On seen tasks, RT-2-PaLI-X-55B scores 91 and RT-2-PaLM-E-12B scores 93, against 92 for RT-1. On unseen objects, backgrounds and environments, the 55B model's unseen average is 62, and the paper says both RT-2 models perform similarly on average. RT-1 averages 32, MOO 35, VC-1 10 and R3M 12. The text describes this as roughly 2x over RT-1 and MOO, and roughly 6x over the representation-based baselines. The gain is concentrated in generalization, not in the seen tasks, which the authors read as evidence that the value of the approach lies in transferring visual and semantic concepts from web data.

Emergent capabilities. The authors group new instructions into symbol understanding, reasoning and person recognition. Examples include "move apple to 3" for symbol understanding, "move the apple to cup with same color" for visual reasoning, and "move the coke can to the person with glasses" for recognition. Table 7 gives RT-2-PaLI-X-55B an average of 60, against 17 for RT-1 and 11 for VC-1. The text says the best model achieves more than 3x the average success rate of RT-1. The PaLM-E-based model does better on math, which the authors attribute to its different pre-training mixture.

Model size and training. Table 8 compares a 5B and a 55B PaLI-X model under three regimes. From scratch, the 5B model averages 9. Fine-tuning on robot data gives 42 at 5B and 52 at 55B. Co-fine-tuning gives 44 at 5B and 63 at 55B. The paper reads this as showing that larger models generalize better and that keeping web data in training stops the model forgetting what it learned. One inconsistency in the paper itself: Table 6 gives the 55B model an unseen average of 62, while Table 8 gives the same configuration 63, and the text does not explain the difference.

Chain of thought. The authors fine-tune an RT-2-PaLM-E variant for a few hundred gradient steps, adding a natural-language "Plan" before each action string. An example is "Instruction: I'm hungry. Plan: pick rxbar chocolate. Action: ..." The paper reports that this lets the robot answer more complicated commands, and presents it as initial evidence rather than a measured result. The Figure 9 rollouts are qualitative.

Why it mattered

The paper's claims are that co-fine-tuning a VLM on robot actions gives a single model that generalizes across objects, scenes and instructions, and that the model inherits capabilities from web pre-training, such as symbol understanding and rudimentary reasoning. It also claims that the 55B model is, by more than an order of magnitude, the largest ever used for direct closed-loop robot control, in the authors' words "to the best of our knowledge". The results support those claims inside the authors' evaluation. This lesson does not claim anything about the paper's influence on later work.

The paper is clear about its limits. The robot does not acquire new motions from web data: "the model's physical skills are still limited to the distribution of skills seen in the robot data". The authors expect that new skills would need new collection methods, such as video of humans. Real-time inference is a bottleneck for high-frequency control, and the authors suggest quantization and distillation. They also note that few VLMs are available whose fine-tuning can produce a VLA, and they hope that open models and proprietary fine-tuning APIs will widen access.

Reading guide

Read the paper in this order. Prerequisites are listed where they first matter.

  1. Section 1 and 2 (introduction, related work). Needs Vision-Language Model for what a VLM is, and CLIP for the representation-learning kind of VLM the paper contrasts with its generative one. The related-work argument against planning-only use of language models is clearer with Language Model in mind.
  2. Section 3.1 (pre-trained VLMs). Needs Vision Transformer (ViT) for the image encoders in PaLI-X and PaLM-E, and Transformer for the backbones.
  3. Section 3.2 (robot-action fine-tuning). Needs Fine-Tuning for co-fine-tuning, and Behavior Cloning for the loss that the paper says the next-token objective corresponds to. The output constraint is simple once tokenization is clear.
  4. Section 3.3 and Section 4.1 (inference, generalization). Needs no new prerequisite beyond the above. Table 6 is the main quantitative result.
  5. Section 4.4 (chain of thought). Needs Chain-of-Thought Prompting, since the paper explicitly draws on that technique.

Check yourself

QuestionThe 55B model runs at 1 to 3 Hz. Why does the paper run it in a cloud service rather than on the robot, and what does the rate imply about the tasks it can do?Show answer

A 55B model is too large to run on a desktop or an on-robot GPU at the needed speed, so the authors serve it from a multi-TPU cloud and query it over the network. At 1 to 3 Hz, the policy updates only a few times per second, which suits slow, deliberate tasks but makes high-frequency dexterous control hard. The paper names real-time inference as a limitation and suggests quantization or distillation as remedies.

QuestionUsing the illustrative binning in the worked example, what does a value of 0.0 map to on a [−1,1][-1, 1] range with 256 bins, and how large can the decoding error be?Show answer

The bin position is (0+1)/(2/256)=128(0 + 1) / (2/256) = 128, so the token is bin 128. Decoding returns a value near the bin centre, within half a bin width, which is about 0.004. The error from quantizing one dimension to 256 bins is therefore at most about 0.004 on that range.

QuestionTable 8 shows that co-fine-tuning beats plain fine-tuning at both sizes. Why does the paper think keeping the web data in training helps?Show answer

The paper argues that including the original web data during fine-tuning stops the model from forgetting concepts it learned during VLM training. Without it, training on robot actions alone can overwrite the visual and semantic knowledge that lets the model generalize to new objects and instructions. Table 8 gives 44 against 42 at 5B and 63 against 52 at 55B for co-fine-tuning against fine-tuning.

QuestionIn the chain-of-thought variant, the model writes a plan before the action string. What does the paper claim this enables, and what evidence does it give?Show answer

The paper claims the plan gives the model a place to reason in language before committing to actions, which lets it answer more complicated commands. The evidence is qualitative: rollouts in Figure 9 and Appendix I, presented as initial evidence. The paper does not give a quantitative comparison for this variant, so the claim should be read as a demonstration rather than a measured effect.

Sources

Read the full paper

Anthony Brohan, Noah Brown, Justice Carbajal et al., 2023. arXiv:2307.15818