Two Vision-Language-Action (VLA) policies can share the exact same vision-language backbone and still behave completely differently on a physical arm. The deciding component is the action head: whether it emits discrete text-like tokens one step at a time, regresses a continuous action chunk via a Conditional Variational Autoencoder (CVAE), or integrates a conditional flow-matching vector field from Gaussian noise. This comparison contrasts those three designs by training objective, quantization error, control-rate regime, inference latency, and chunk-boundary smoothing code. For the broader pipeline across vision encoders and language backbones, see how VLA models turn images and instructions into joint commands.
Verified Paper Specifications Across the 3 Action Heads
Comparing headline success rates across papers is misleading because embodiments and cameras differ. The table below aligns each action-head family on verified architectural parameters, chunk sizes, inference passes, and reported runtime metrics from primary literature.
| Criterion | Discrete Tokens (RT-2, OpenVLA) | CVAE Action Chunking (ACT) | Flow-Matching Chunks (π0, SmolVLA) |
|---|---|---|---|
| Primary papers | RT-2, OpenVLA | ACT / ALOHA | π0, SmolVLA |
| Model scale | RT-2: 12B / 55B OpenVLA: Prismatic 7B | ResNet-18 + Transformer CVAE (~80M) | π0: PaliGemma 3B + ~300M expert SmolVLA: SmolVLM-2 + ~100M (~450M total) |
| Action output | 256 bins per dimension (1 step) | Continuous joint chunk | Continuous chunk () |
| Training loss | Token cross-entropy | Chunk L1 + | Conditional flow-matching MSE () |
| Inference passes | Autoregressive per DoF (e.g., 7 tokens) | Single forward pass (z = 0) | 10 forward Euler steps () |
| Reported rate & latency | RT-2 55B: 1–3 Hz (5B ~5 Hz) OpenVLA 7B: ~6 Hz ( bfloat16, RTX 4090) | ALOHA 50 Hz loop ~10 ms inference (RTX 2080 Ti) | π0: up to 50 Hz, 73 ms onboard (RTX 4090) SmolVLA: ~2x faster completion with async |
| Quantization error | Present () | None (continuous floats) | None (continuous floats) |
| Multimodality | Categorical per-dimension distribution | Moderate (z = 0 deterministic readout) | High (continuous Gaussian noise sampling) |
As a reference baseline for generative chunking, Diffusion Policy uses observation horizon , prediction horizon , and execution horizon with 10 DDIM steps at roughly 10 Hz (~100 ms latency). Its multimodal denoising mechanics are covered in how Diffusion Policy handles visuomotor control.
Training Objectives, Quantization Error, and Multimodality
Discrete Action Tokens: 256-Bin Cross-Entropy
RT-2 and OpenVLA map each continuous action dimension into 256 bins and optimize standard autoregressive next-token prediction:
To prevent outlier spikes from stretching bin widths, OpenVLA spaces 256 uniform bins between the 1st and 99th training quantiles and overwrites the 256 least-used tokens in the Llama tokenizer. Leaving the VLM untouched preserves web knowledge transfer, but worst-case discretization error stays fixed at . Over a tight delta range of , one bin is ~; over a full absolute joint span, one bin widens to ~ (computed from ). Decoding 7 tokens sequentially per tick also limits baseline 7B OpenVLA to ~6 Hz on an RTX 4090.
CVAE Action Chunking: L1 Loss Over Horizon
ACT eliminates single-step compounding error by predicting future joint targets simultaneously with a Transformer CVAE:
In the ALOHA ablations at 50 Hz, extending to (2 seconds) sharply raised bimanual success rates by shrinking the effective horizon by . Dropping the encoder and fixing at test time delivers ~10 ms latency on an RTX 2080 Ti, though deterministic readout cannot sample strongly separated multimodal paths as flexibly as generative heads.
Conditional Flow Matching: Integrating Continuous Vector Fields
π0 and SmolVLA encode visual-language context once into a VLM KV cache, then train a compact action expert (~300M in π0, ~100M in SmolVLA) to regress a conditional velocity field transporting noise linearly toward the continuous action chunk :
At runtime, 10 forward Euler steps () run exclusively through the lightweight action expert while reusing cached VLM states. π0 generates 50-step chunks in 73 ms onboard an RTX 4090 (86 ms offboard), enabling up to 50 Hz continuous control with full multimodal expressiveness.
Control-Rate Regimes and Inference Time Budgets
Closed-loop stability depends on comparing inference latency against the execution time budget , where is the number of steps played before replanning:
- 5–10 Hz autoregressive regime: With , closing a 50 Hz loop requires finishing under 20 ms. Baseline 7B OpenVLA runs around 6 Hz (~167 ms in
bfloat16on an RTX 4090), restricting it to low-frequency tabletop control unless paired with chunked parallel decoding. - 30–50 Hz chunked regime: Executing of π0’s chunk at 50 Hz yields a 500 ms budget. Its 73 ms onboard pass uses under 15% of that window (derived directly from the paper’s 73 ms latency, 50 Hz loop, and chunk), leaving comfortable headroom for perception and safety checks.
Estimate VRAM and precision tradeoffs (BF16, INT8, INT4) for your own GPU before deployment using the VLA VRAM and Latency Calculator.
Smoothing Chunk Boundaries: Temporal Ensembling and Async Execution
Switching abruptly between consecutive chunks causes velocity spikes at chunk seams. Three mechanisms prevent boundary jitter:
- Exponential temporal ensembling: ACT queries the policy every step and averages overlapping predictions for step with , ordered oldest () to newest (
m = 0.01default). Best suited to fast ~10 ms heads. - Receding-horizon execution: Diffusion Policy executes of steps before replanning, avoiding cross-mode averaging in multimodal tasks.
- Asynchronous server-client chunking: SmolVLA decouples inference via LeRobot’s
PolicyServerandRobotClient, prefetching the next chunk once remaining actions fall belowchunk_size_thresholdand blending overlaps withaggregate_fn_name—cutting task completion time by roughly 2x versus synchronous waiting.
Below is a Python 3.10+ (NumPy 1.26+) implementation of ACT exponential temporal ensembling over a sliding chunk buffer:
from collections import deque
import numpy as np
class TemporalEnsembler:
"""Exponential temporal ensembling from ACT (arXiv:2304.13705): w_i = exp(-m * i)."""
def __init__(self, chunk_size: int, action_dim: int, temporal_ensemble_coeff: float = 0.01):
self.chunk_size = chunk_size
self.action_dim = action_dim
self.m = temporal_ensemble_coeff
self._buffer: deque[tuple[int, np.ndarray]] = deque(maxlen=chunk_size)
def push_chunk(self, t_now: int, chunk: np.ndarray) -> None:
if chunk.shape != (self.chunk_size, self.action_dim):
raise ValueError(f"Expected {(self.chunk_size, self.action_dim)}, got {chunk.shape}")
self._buffer.append((t_now, chunk.astype(np.float64)))
def get_action(self, t_now: int) -> np.ndarray:
candidates = [
chunk[t_now - t_pred]
for t_pred, chunk in self._buffer
if 0 <= t_now - t_pred < self.chunk_size
]
if not candidates:
raise RuntimeError(f"No valid chunk for step {t_now}")
stacked = np.stack(candidates, axis=0)
weights = np.exp(-self.m * np.arange(len(candidates), dtype=np.float64))
weights /= weights.sum()
return np.sum(stacked * weights[:, None], axis=0)
For multimodal tasks with distinct alternative paths, disable cross-chunk averaging and rely on receding-horizon replanning or asynchronous seam blending instead. Also verify the index direction in candidates: in the ACT formulation, denotes the oldest overlapping prediction in the buffer, so a small positive decay such as m = 0.01 keeps prior trajectory continuity slightly favored over noisy single-frame fluctuations. When tracking moving targets or reacting to abrupt contact shifts, reversing the decay order to weight newer chunks higher—or switching to a shorter execution horizon n_action_steps—trades away a small amount of smoothness for noticeably faster disturbance recovery.
Similarly, if an engineering team must stay within a discrete-token VLM codebase like OpenVLA, note that the bottleneck is autoregressive single-step decoding rather than the VLM backbone itself. Pairing the same vision-language representation with parallel chunk decoding or frequency-domain action tokenizers narrows the control-rate gap, though continuous flow-matching action experts remain the cleanest route whenever sub-millimeter precision and 30–50 Hz closed-loop rates are mandatory.
Matching an Action Head to Hardware and Task Constraints
Pair your demonstration-budget analysis from choosing between ACT, Diffusion Policy, and SmolVLA by demo count with four action-head selection checks:
- Control frequency above 20 Hz: High-rate bimanual or contact-rich tasks rule out single-step token decoding; select ACT (
chunk_size=100) or flow-matching VLAs (π0, SmolVLA,chunk_size=50). - Open-vocabulary language generalization: Fixed single-skill stations train faster with ~80M ACT or Diffusion Policy; multi-task language prompts require a VLM backbone.
- Quantization tolerance: Tight end-effector delta control tolerates 256-bin discretization, whereas wide absolute joint commands or tight peg insertion require continuous heads.
- Onboard GPU envelope: A 450M SmolVLA runs smoothly on a single consumer GPU with async execution, while 3.3B π0 and 7B OpenVLA carry significant weight and KV-cache footprints—verify exact GPU headroom in the VLA VRAM and Latency Calculator before training.