OpenTexA LaTeX paper editor built by a researcher, for researchersA LaTeX editor for researchersopentex.ai →
Paper π0: A Vision-Language-Action Flow Model for General Robot Control arXiv:2410.24164

π0

Learning directions instead of actions

VLA Architecture Series, Part 3 of 4, November 2026

There is an obstacle in front of a cup. The robot can go around it on the left or on the right. If the demonstration data contains each path half the time, what should the model output?

OFT in Part 2 computes actions directly from the current observation. π0 starts from random numbers and revises them several times to produce actions. This part looks at why it does that, and at how the action expert responsible for this process connects to the VLM.

1Structure: VLM and Action Expert

π0 uses two transformers. A VLM of about 3B parameters, initialized from PaliGemma, processes images and language, and an action expert of about 300M parameters, trained from scratch, processes the robot state and action candidates. Together they come to 3.3B.

Images
Language
↓
PaliGemma VLM weightsabout 3B, pretrained initialization
↕ Tokens from the two sets of weights meet in self-attention
Action expert weightsabout 300M, trained from scratch
↑
Robot state
Noisy actions + time τ
↓ Linear projection of the action token outputs
Velocity \(v_\theta\)\(H \times\) action dimension, here \(H=50\)
Figure 1. Each input is processed by its own weights, but the tokens from both sides interact through attention inside the transformer. This is not a design that takes a single VLM output and uses it as a condition.

Some terminology first. "Action head" is a general term for whatever part handles action output, while "action expert" refers to a separate neural network that, as in π0, processes action tokens with its own weights. The action expert is a trainable transformer, not a classical robot controller. If the VLM deals with "which cup to pick up," the action expert deals with "how to move in order to pick up that cup."

The noisy actions pass through an MLP together with the time τ and become tokens. \(\phi\) is a sinusoidal encoding of τ.

$$\text{embed}(a^\tau,\tau)=W_3\cdot\text{swish}\!\left(W_2\cdot\text{concat}(W_1\cdot a^\tau,\ \phi(\tau))\right)$$

2Flow Matching Is Also Regression

It is easy to think of flow matching as abandoning regression. But flow matching is also a regression problem of predicting numbers. What changes is the target of the regression.

Say the correct action is 0.8 and the sampled noise is -0.2. OFT learns to predict 0.8 directly from the observation. π0 takes a point on the straight line connecting the noise and the correct action, and learns to predict which direction to move from that point and how far.

$$A^\tau=\tau A+(1-\tau)\epsilon,\qquad \epsilon\sim\mathcal N(0,I)$$ $$u(A^\tau\mid A)=A-\epsilon$$ $$\mathcal L(\theta)=\mathbb E\,\big\|v_\theta(A^\tau,o_t)-u(A^\tau\mid A)\big\|^2$$

In π0's notation, \(\tau=0\) is noise and \(\tau=1\) is data. In the example above, the correct direction is \(0.8-(-0.2)=1.0\). During training the correct action is available, so the direction can be computed, but at inference there is no correct action. So the model moves a small step from the current position in the direction it predicts, then predicts again from there.

$$A^{\tau+\delta}=A^\tau+\delta\, v_\theta(A^\tau,o_t),\qquad \delta=0.1$$
τ00.250.50.751
Value (example: four steps at velocity 1.0)-0.200.050.300.550.80

This is the simplest case, one-dimensional with a constant direction. The real velocity field varies with the current position, time, and observation. π0 integrates with 10 steps of forward Euler.

The derivation and figures are written up separately in the flow matching post on this blog. Here, only the conclusion needs to be remembered.

OFT regresses the final action values, and π0 regresses the velocity field that changes the actions.

The distribution used to sample the time τ also involves a choice. Instead of a uniform distribution, π0 uses \(p(\tau)=\text{Beta}(\frac{s-\tau}{s};1.5,1)\), \(s=0.999\). The paper's reasoning is this: the small-τ region, where the model has to predict the mean action from the observation alone, is the hardest problem, so that region is sampled more often. Values of τ greater than s are not sampled.

3Why Start from Noise at All

Back to the opening question. Direct regression with mean squared error risks averaging the left and right paths, and that average could be right in the middle of the obstacle. (As seen in Part 2, OFT's L1 leans toward the median, but the problem of split modes remains.)

Flow matching models a conditional distribution. With a different starting noise, the result can take the left path or the right path. Revising several times is not magic in itself. The key is that a distribution is learned, and the repeated integration is the computational procedure for drawing samples from that distribution.

In terms of ordering, it also differs from OpenVLA. OpenVLA generates tokens one after another, while π0 lays out the entire future action sequence at once as position-wise tokens and refines the whole thing several times.

OFT (L1 regression)π0 (flow matching)
TargetThe action values themselvesThe direction from noise to action
Inference1 forward pass1 VLM pass + 10 action expert passes
Nature of the outputDeterministicVaries with the initial noise
StrengthFast and simpleCan represent multiple action patterns

That raises a question. How many situations in picking up a cup really call for multiple action paths? If the optimal action is mostly determined as a single one, the repeated computation may be wasteful. There are cases, like the LIBERO results in Part 2, where L1 and diffusion came out similar, so this is still an open question.

4Masking and Caching

An attention mask is the rule that determines which tokens can see the information of which other tokens. π0 divides the tokens into three blocks. Within a block, tokens can see each other. Later blocks can see earlier ones, but earlier blocks cannot see later ones.

Asking why this mask exists brings out the difference from OpenVLA. The causal mask in Part 1 prevents the model from seeing target tokens ahead of time, because future actions are used as targets for training but must not be shown as inputs for making a prediction. π0 is different. Action tokens can all see each other. The main role of the mask here is to keep the image and language tokens from seeing the noisy actions, which keep changing.

This is what makes caching possible. The results of the earlier blocks stay the same as τ changes, so if the keys and values are stored, they do not need to be recomputed during the 10 integration steps. The robot state has its own block for the same reason, so that its KV can be cached.

Stage (RTX 4090, 3 cameras)Time
Image encoder14 ms
Observation forward pass32 ms
10 action forward passes (flow integration)27 ms
Total (onboard)73 ms

Table I of the paper. With remote inference, 13 ms of network latency is added, for a total of 86 ms.

Running the action expert 10 times takes only 27ms. The VLM runs only once, the action expert is small, and there is a cache on top of that. This is why "computing several times" in flow matching does not directly mean "10 times slower."

5Data and Execution

Another distinguishing feature of π0 is large-scale multi-robot pretraining.

ItemValue
In-house data903 million timesteps (106 million single-arm, 797 million dual-arm)
Composition7 robot configurations, 68 tasks, over 10,000 hours in total
Share of public data9.1% of the mixture (OXE, Bridge v2, DROID)
Per-robot weighting\(n^{0.43}\) for a task-robot combination with \(n\) samples
Dimension matchingStates and actions zero-padded to the largest dimension, 18
Training length700,000 steps

Robots with different action dimensions are padded to 18 dimensions and trained in a single model. For robots with fewer than 3 cameras, the missing slots are masked.

On the execution side, \(H=50\) actions are predicted, but not all of them are used. A 20Hz robot executes 16 (0.8 seconds) and a 50Hz robot executes 25 (0.5 seconds) open-loop, then runs inference again. Temporal ensembling, which overlaps and averages predicted chunks, actually lowered performance in the paper.

6Results

The main evaluation numbers in the π0 paper are presented in figures rather than tables, so only the paper's conclusions are relayed here.

Numeric comparisons are in the table in Part 2. In the OFT paper, π0 averaged 94.2% on LIBERO and scored 93.33% on the ALOHA Scoop X task. It should also be kept in mind that these comparisons are not made under fully identical conditions.

7Limitations and the Next Part

Could a model keep flow matching and be made much smaller? SmolVLA in Part 4 is that attempt. It redesigns the VLM, the action expert, and the way the two are connected, all together.

References

  1. Black et al. π0: A Vision-Language-Action Flow Model for General Robot Control. arXiv:2410.24164, 2024.
  2. Lipman et al. Flow Matching for Generative Modeling. arXiv:2210.02747, 2022.
  3. Beyer et al. PaliGemma: A versatile 3B VLM. arXiv:2407.07726, 2024.