↑↓ move Enter open ⌘K find from any page 256 of 256 tabs
Loading the recording…

Actions as words

A vision-language-action model (VLA) starts from a vision-language model, pretrained on images and text from the web, and fine-tunes it to output robot actions. RT-2 showed the simplest way to do that: write each action as a few tokens of the language model's vocabulary, and train the model to predict them exactly as it predicts text. Everything the model learned about objects and instructions is then available to the policy. OpenVLA (Kim et al.) is an open 7-billion-parameter VLA built this way, trained on 970k robot demonstrations from the Open X-Embodiment collection.

This page runs the OpenVLA checkpoint fine-tuned on LIBERO-Spatial, a simulated table-top suite, on the task “pick up the black bowl between the plate and the ramekin and place it on the plate”. The 7.5 B-parameter model runs in bfloat16, one action per camera frame, and finishes the task after 75 steps.

Two encoders, one image

OpenVLA's vision backbone comes from the Prismatic VLMs, which found that fusing two pretrained encoders helps: DINOv2, trained by self-supervision and good at spatial detail, and SigLIP, trained to match images with captions and good at semantics. The Two encoders, one image panel shows both reading the same 224 × 224 frame as 16 × 16 patches of 14 pixels. DINOv2 ViT-L/14 has 24 blocks of width 1,024 and adds a class token and four register tokens; SigLIP So400m/14 has 27 blocks of width 1,152. Each contributes the patch features of its second-to-last block, and the panel colours them by their first three principal components.

The Projector concatenates the two, numbers per patch, and maps them through a GELU MLP to Llama's width:

giving 256 image tokens of 4,096 numbers, one per patch.

Llama reads the scene and the instruction

The language model is Llama 2 7B: 32 layers of width 4,096, 32 heads of 128 dimensions with rotary position embeddings on queries and keys. Its input is the start token, the 256 image tokens, the 34 tokens of the prompt In: What action should the robot take to pick up the black bowl …?\nOut: and the action tokens written so far: 297 positions when the seventh is predicted. Attention is causal, so each action token reads the image, the instruction and the action tokens before it.

The Causal self-attention card shows one layer and head on a selection of positions: the strips are the token vectors going in and coming out, and the matrix is the attention weights. Where it looks maps the attention of the query that writes the selected action dimension over the 16 × 16 image grid, and Every layer splits each layer's attention, averaged over heads, between the start token, the image and the text. In the first layer much of the action queries' attention goes to the image; from the third layer on a large share goes to the start token, an attention sink common in language models, and the image's share drops to a few per cent before rising again in the middle layers.

Seven tokens become seven numbers

An action is seven numbers: the end effector's change in position and orientation and the gripper command. Each is discretised into 256 uniform bins over , where the range spans the 1st to 99th percentile of the training actions for that dimension. Llama's 32,000-token vocabulary has no spare tokens, so OpenVLA reuses its last 256, ids 31,744 to 31,999, the least used in training text, as the bins. Training is ordinary next-token cross-entropy on the seven action tokens:

At run time decoding is greedy over the whole vocabulary; at every step of this episode the top token was an action token. The Probability over the bins panel shows the model's distribution over the 256 bins for each dimension, and Token → bin → action undoes the encoding:

with the bin's centre in and , the LIBERO-Spatial statistics. The gripper's value is mapped to ±1 and flipped for LIBERO, where −1 opens.

Closed loop, one step at a time

The episode strip plays the run: 10 settling steps, then one model call per camera frame, each producing one action. Unlike the chunked policies on this explainer's other tabs, OpenVLA predicts a single step and must run its 7.5 B parameters again for the next one, which limits its control rate. Kim et al. report that OpenVLA beat the 55 B-parameter RT-2-X by 16.5 % in absolute task success across 29 tasks; its single-step, binned actions were also what later work set out to improve, with action chunks, parallel decoding and continuous action heads.

Where it came from

RT-1 trained a transformer policy on a large set of robot demonstrations; RT-2 (2023) fine-tuned web-scale VLMs to emit actions as text tokens and named the result a VLA. OpenVLA (2024) made the recipe open, with a Prismatic VLM (DINOv2 and SigLIP features into Llama 2) trained on the Open X-Embodiment data, and showed it could be fine-tuned to new setups such as LIBERO. Octo (next tab) is a smaller open policy with a diffusion head; π0 and SmolVLA keep a VLM but generate continuous action chunks with flow matching, and FAST compresses chunks into fewer tokens.

Papers

  1. OpenVLA: An Open-Source Vision-Language-Action Model Moo Jin Kim et al. · CoRL 2024 Introduces OpenVLA: a Prismatic VLM with fused DINOv2 and SigLIP features and Llama 2, trained to emit 256-bin action tokens on 970k demonstrations.
  2. RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Control Anthony Brohan et al. · CoRL 2023 Expresses robot actions as text tokens of a vision-language model and names such models VLAs; the binning OpenVLA follows.
  3. Prismatic VLMs: Investigating the Design Space of Visually-Conditioned Language Models Siddharth Karamcheti et al. · ICML 2024 The VLM design study whose fused DINOv2 + SigLIP backbone and projector OpenVLA starts from.
  4. DINOv2: Learning Robust Visual Features without Supervision Maxime Oquab et al. · arXiv 2023 Self-supervised ViT features, one of the two encoders.
  5. Sigmoid Loss for Language Image Pre-Training Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, Lucas Beyer · ICCV 2023 SigLIP, the image–text encoder whose patch features are the other half of each image token.
  6. Llama 2: Open Foundation and Fine-Tuned Chat Models Hugo Touvron et al. · arXiv 2023 The 7B language model that reads the image tokens and the instruction and writes the action tokens.
  7. LIBERO: Benchmarking Knowledge Transfer for Lifelong Robot Learning Bo Liu et al. · NeurIPS 2023 The simulated manipulation suites; this checkpoint is fine-tuned on LIBERO-Spatial and runs its first task.
  8. Open X-Embodiment: Robotic Learning Datasets and RT-X Models Open X-Embodiment Collaboration · ICRA 2023 The pooled dataset from many robots that OpenVLA is pretrained on.

See also