A small generalist policy
Octo (Octo Model Team, 2024) is an open transformer policy pretrained on 800k robot trajectories from the Open X-Embodiment collection, meant as a starting point that can be fine-tuned to a new robot, camera or action space in hours. Instead of starting from a web-scale language model, as OpenVLA does, it is a transformer trained from scratch on robot data, with a frozen language encoder for instructions and a small diffusion model that turns the transformer's output into actions.
This page runs Octo-Small 1.5, 27 M parameters: 12 layers of width 384, 6 heads of 64 dimensions and an MLP of width 1,536. It is run open loop on a validation episode of BridgeData V2, “put bowl on plate cardboard fence”: at each of the episode's steps Octo predicts actions from the last two camera frames, and the page compares them with what the robot actually did.
Tokenizers
Everything Octo reads becomes a token of width 384. The Image tokenizer stacks the frame with a goal image, all zeros here because the task is given in language, into 6 channels, and runs them through four 3 × 3 stride-2 convolution stages with GroupNorm and ReLU, a 1 × 1 convolution and a projection, giving 256 tokens per frame, each with a learned position for its place and timestep. A few convolutions before cutting the image into tokens, rather than a single large patch embedding, is a design Xiao et al. found to train more stably.
The Language tokenizer is a frozen T5-base encoder: the instruction's 16 tokens (padding included) come out 768 wide and are projected to 384. Octo-Small 1.5 has no tokenizer for the robot's joint state, so Proprioception is not an input; a policy reading only images has to infer where its arm is from what it sees.
The block mask and readout tokens
The sequence for two frames holds 562 tokens: 16 instruction tokens, then for each frame 256 image tokens, the 16 instruction tokens again and one readout token. The transformer attends under the Block mask:
where every token may read the instruction and the tokens of its own and earlier frames, and only a readout may read a readout. So readouts never change what the other tokens compute. They play the role of BERT's class token: a summary slot the action head reads from, which means new heads or new kinds of readout can be added in fine-tuning without disturbing the pretrained tokens. Readout t reads maps one layer and head's attention from the current readout over the image tokens of both frames, and the transformer card shows the attention matrix on a selection of tokens, masked cells marked.
A diffusion head on the readout
The Diffusion head is a small residual MLP. Conditioned on readout 's 384 numbers and the diffusion step , it predicts the noise in a chunk of 4 actions × 7 numbers (the end effector's change in position and rotation and the gripper), and sampling runs 20 DDPM steps from pure noise, as in Diffusion Policy:
The Chunk x grid shows the 4 × 7 chunk at the selected step of the loop, the noise schedule below it, and the Denoising the chunk strip plays it from to . A diffusion head can represent several distinct ways of acting where a regression head would average them; Octo's ablations found it better than a mean-squared-error head and than discretised actions.
Predicted vs recorded undoes the normalisation with BridgeData's per-dimension mean and standard deviation and sets the four predicted actions beside the recorded ones. In open loop the policy never sees the consequences of its own actions, so the comparison measures how well it imitates the dataset's operator, not whether it would complete the task.
Where it came from
Octo continues the line of large robot policies trained on pooled data: RT-1 trained one transformer on a large set of demonstrations from a fleet of robots, the Open X-Embodiment collaboration pooled datasets from many kinds of robot, and BridgeData V2 is one of the datasets in that pool. Octo's contributions were the open release, the readout-token design that makes adding inputs and heads easy, and the diffusion action head. OpenVLA (previous tab) traded that small, flexible model for a large VLM; π0, SmolVLA and GR00T combine a VLM with a continuous generative action head, much as Octo combines a transformer with a diffusion head.
Papers
- Octo: An Open-Source Generalist Robot Policy Introduces Octo: tokenizers per input, a block-masked transformer with readout tokens and a diffusion action head, pretrained on 800k trajectories.
- Open X-Embodiment: Robotic Learning Datasets and RT-X Models The pooled multi-robot dataset Octo is pretrained on.
- BridgeData V2: A Dataset for Robot Learning at Scale The table-top manipulation dataset whose validation episode this page replays.
- Diffusion Policy: Visuomotor Policy Learning via Action Diffusion Denoising action sequences conditioned on observations, the approach Octo's action head takes.
- Denoising Diffusion Probabilistic Models The noise-prediction objective and sampling step the head runs 20 times per chunk.
- Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer T5, whose frozen base encoder turns the instruction into tokens.
- Early Convolutions Help Transformers See Better A small convolutional stem in place of a single patch embedding, as in Octo's image tokenizer.