TL;DR
Octo is a robot policy: one transformer that reads camera images and a task description, such as a language instruction or a goal image, and outputs the robot's next actions. It was pretrained on 800k robot demonstrations from the Open X-Embodiment collection, and its checkpoints, finetuning scripts and pretraining code were all released. The main claim is that a new robot with new sensors or a new action space can start from this pretrained model and finetune on about 100 demonstrations, instead of training a policy from scratch.
Builds on: Transformer, Diffusion Model, Transfer Learning, Behavior Cloning · Leads to: OpenVLA: An Open-Source Vision-Language-Action Model, π0: A Vision-Language-Action Flow Model for General Robot Control (later generalist robot policies)
Why it mattered
The paper says Octo is the first generalist robot manipulation policy that can be effectively finetuned to new observations and action spaces, and the first one fully open-source, including the training pipeline, checkpoints and data. It was pretrained on 800k robot trajectories, while RT-1-X and RT-2-X were trained on a more restricted subset of about 350K episodes. Its two released checkpoints, Octo-Small (27M parameters) and Octo-Base (93M parameters), let a lab start from a pretrained policy instead of training one from scratch. The paper reports a finetune of the Base model on a single NVIDIA A5000 with 24 GB of memory taking about 5 hours, so adapting the model is within reach of a small group with one GPU. The paper also documents its dataset mixture and design ablations, and describes itself as a simple launchpad for researchers.
The problem
Robot learning usually trains one policy for one robot and one task. Each new task needs its own demonstrations, and the resulting policy generalizes narrowly. Pooling data from many robots looks like the fix, but the robots differ in almost everything: camera placement, number of cameras, whether there is a wrist camera, whether the arm is controlled by end-effector deltas or joint positions, and whether the task is given in language or by a goal picture. A policy that hard-codes one of these choices cannot take the others as input.
Octo's authors had two requirements. The policy has to accept different sets of inputs and outputs without being rebuilt. And adding a new input or output has to cost little: a few hours on a small budget, with about 100 demonstrations. The model in the paper is built around these two requirements.
How it works
Here is the pipeline in the order it runs for one control step. The numbers in the list are the paper's real sizes; the walkthrough below uses toy sizes in brackets so you can follow the counting.
flowchart LR A[Language instruction] --> T5[Pretrained T5-base encoder] B[Third-person and wrist images] --> CNN[Shallow CNN and 16x16 patches] T5 --> SEQ[Token sequence with position embeddings] CNN --> SEQ R[Learned readout tokens] --> SEQ SEQ --> TR[Transformer backbone, one forward pass] TR --> E[Readout embedding e] E --> DIF[Diffusion action head, K denoising steps] DIF --> ACT[Chunk of future actions]
- Tokenize the task. The instruction goes through a pretrained T5-base encoder, which turns it into 16 language embedding tokens. [Toy: a 2-word instruction becomes 2 tokens.]
- Tokenize the observation. Each camera image goes through a shallow convolution stack and is cut into 16 by 16 pixel patches, each flattened into one token. The paper's counts are 256 tokens for the third-person camera and 64 for the wrist camera. Those come from images 256 and 128 pixels on a side: 16 × 16 = 256 and 8 × 8 = 64. [Toy: a 32 by 32 image gives 2 × 2 = 4 tokens.]
- Add position information. Each token gets a learned position embedding, so the transformer knows which patch and which time step it came from. The paper uses two frames of observation history. [Toy: 2 language tokens and 4 image tokens get 6 position vectors.]
- Mask the attention. Observation tokens may attend only to earlier or same-time observations and to the task tokens. Tokens for a missing input are masked out completely, so a dataset with no language labels still trains. Readout tokens are appended at the end: they read everything before them, but no other token reads them. [Toy: the readout token is a compact summary, like the [CLS] token in BERT.]
- Run the backbone once. One forward pass of the transformer gives an embedding e for each readout token. This is the only expensive step per action.
- Denoise an action chunk. The action head starts from Gaussian noise and removes it in K = 20 small steps, each conditioned on e and the step index. The result is a chunk of several future actions. [Toy: one chunk of 4 actions.]
- Execute part of the chunk. During training the paper predicts chunks of 64 actions; in the bimanual finetuning run it executes 12 of them before replanning. [Toy: execute 2 of the 4 actions, then run steps 1 to 7 again.]
The walkthrough shows where new inputs go. A new camera adds new patches to step 2 and new position vectors to step 3, while the transformer in step 5 is unchanged except for the attention pattern that now includes the new tokens.
The math
Step 2 in symbols: the tokens
For an image with side length s, and a patch of side p, the number of patches is (s / p)². The paper's counts imply side lengths s = 256 for the third-person camera and s = 128 for the wrist camera at p = 16: 16² = 256 and 8² = 64. The language tokens come from the T5-base model, 111M parameters, and the paper uses 16 of them per instruction.
Step 4 in symbols: the attention mask
Write the token blocks as (task), (observations at time ), and (readout tokens at time ). The mask allows an observation token at time to attend to and to , and it forbids a readout token from being attended to by any observation or task token. So information flows into the readout tokens, but nothing flows back out of them.
Step 6 in symbols: the denoising update
The head starts from , a sample of Gaussian noise, and applies the paper's update for :
In words: is a learned network that predicts the noise in the current sample , given the readout embedding and the step index . Subtracting times that prediction moves the sample toward a clean action. The constants , and come from a cosine noise schedule. The paper trains with the standard DDPM objective: add noise to a dataset action, then train the network to predict that noise, so the denoising reverses the corruption.
Worked check of one update. Suppose , , the predicted noise is and the injected noise is zero. Then . A sample at moves to . Real steps use the schedule's values of , and ; the arithmetic is the same.
Step 5 in symbols: why the readout embedding is enough
Because the transformer runs once, all K denoising steps use the same e. The denoiser therefore needs only the summary e and the step index, not the whole token sequence again. This is why the paper can use a 20-step diffusion head without making each action expensive.
Results
The paper reports four kinds of result. These are the numbers from its tables and text.
Zero-shot control. Across the zero-shot tasks, the paper reports an average success rate 29% higher for Octo than for RT-1-X (35M parameters), using the released checkpoint. On the WidowX and RT-1 Robot setups, Octo performs similarly to RT-2-X, which has 55 billion parameters. On the WidowX robot, goal-image conditioning gave a success rate 25% higher than language conditioning; RT-1-X and RT-2-X accept only language.
Finetuning to new domains (Table I, 20 trials per task, about 100 demonstrations each). Octo averages 72%. A ResNet+Transformer policy trained from scratch averages 20%, and a policy with pretrained VC-1 visual features averages 15%. The text says Octo outperforms the next best baseline by 52%. The averages differ by 52 points (72 − 20), so the figure reads as a percentage-point gap, not a relative gain (72 is 3.6 times 20).
Design ablations (Table II, WidowX, 40 trials). The full Octo-Small model scores 83%. Replacing the transformer-first design with a ResNet-50 encoder drops it to 70%. Training on the 11-dataset RT-X mix gives 60%; a single robot's data gives 43%. Replacing the diffusion head with an MSE head gives 35%; discretized actions give 18%.
Generalization (Table VII, WidowX). In-distribution tasks average 85%, novel objects 80%, and novel environments 40%. A novel skill, flipping a cup on its side, gets 10% and a block placement 0%, averaging 5%.
Limits the paper names. Only 27% of the pretraining data has a wrist camera, and only 56% has language annotations. The authors attribute the weak wrist-camera use and the gap between language and goal conditioning to these data shares. Because the data are optimal demonstrations, the model learns by imitation; learning from suboptimal or online data is left to future work.
Reading guide
- Introduction and Related Work (Sections I and II). Read these for the claim: pretraining on many robots, plus flexible inputs, plus finetuning. The idea of a "generalist robot policy" is in the Behavior Cloning and Transfer Learning lessons.
- Section III-A, Architecture. Needs Transformer, Vision Transformer (ViT) (patches as tokens), Positional Encoding and Language Model. Use Exploring the Limits of Transfer Learning (T5) for the T5 encoder.
- Section III-B, Training data. The mixture is a weighting problem; read with Fine-Tuning for the idea of training on a mixed corpus.
- Section III-C, Training objective. Needs Diffusion Model and Cosine Noise Schedule. The idea of predicting a chunk of actions is Action Chunking; the wider diffusion-policy idea is in Diffusion Policy: Visuomotor Policy Learning via Action Diffusion.
- Section III-D and Appendix D, Training details. Needs AdamW Optimizer, Learning Rate and Gradient Norm Clipping. The hindsight goal relabeling in III-D is Hindsight Experience Replay.
- Section IV, Experiments. Read the tables with the from-scratch baseline in mind: it trains a ResNet+Transformer policy on the target data alone, the usual alternative to finetuning.
- Appendix E. Short list of things that did and did not help; a good place to see how design choices were tested one at a time.
Check yourself
QuestionOcto's camera tokenizer cuts an image into 16 by 16 pixel patches. If a third-person image is 256 pixels on each side, how many tokens does it produce?Show answer
The image is 256 pixels wide, so there are 256 / 16 = 16 patches along each side. The count is 16 × 16 = 256 tokens. This matches the paper's count for the third-person camera.
QuestionIn Table I, Octo averages 72% and the from-scratch baseline averages 20%. What is the gap in percentage points, and what is the gap in Table II between the full model (83%) and the discretized-action ablation (18%)?Show answer
The first gap is 72 − 20 = 52 percentage points. The second gap is 83 − 18 = 65 percentage points, so the discretized-action ablation is far behind the full model.
QuestionWhy does Octo run the transformer only once per action, while the diffusion head runs 20 steps?Show answer
The transformer is the large part of the model. Running it once per action gives one embedding e that summarizes the observation and task. The 20 denoising steps use only the small head and the same e, so the expensive computation is not repeated 20 times. The paper states that only one forward pass of the backbone is performed per action prediction.
QuestionA lab wants to add a force-torque sensor to Octo for a peg-insertion task. Which parts of the pretrained model can it keep, and which must it add?Show answer
It keeps the pretrained transformer weights, which the paper says is the point of the block-wise design. It adds a tokenizer for the force-torque input and new position embeddings for its tokens, and it may add a new action head if the action space changes. The paper finetunes the full model with the same recipe after those additions.
QuestionOcto averages 85% on in-distribution WidowX tasks but 5% on the novel-skill tasks in Table VII. What does the paper say about the gap, and what does the table not show?Show answer
The paper's caption says Octo struggles to generalize to skills not seen in the WidowX embodiment, and it names no further cause. The table reports success rates only, so it does not explain why the skills fail. It also covers only Octo-Small, so it cannot say whether a larger model would close the gap.
Sources
- Octo Model Team et al., Octo: An Open-Source Generalist Robot Policy, arXiv:2405.12213 (2024). https://arxiv.org/abs/2405.12213
- Project page with checkpoints and code: https://octo-models.github.io