Vision-Language-Action Models › Action representations
Language AI HandbookAll chapters Direct regression
A regression head can output before any output-bound mapping. Under squared error and finite second moments, its population optimum for a fixed input is the conditional mean. For equal demonstrations with scalar actions and , the mean is zero. If those actions go around opposite sides of an obstacle, the average has no reason to be feasible. Data with a single consistent action at each observed state may work well with a deterministic head.
Discrete bins
Let a scalar action be bounded on . For equal-width bins with midpoint decoding, define . Map an in-range action to and decode to . The minimum handles the upper endpoint. Ideal rounding error is at most inside the range, conditional on selecting the proper bin. For a one-meter range and 256 bins this gives about 3.91 mm per bin and 1.95 mm maximum midpoint error. Prediction, clipping, controller and coordinate errors are separate.
RT-2 treats discretized actions as text tokens and uses 256 uniform bins for its continuous dimensions. OpenVLA likewise encodes robot actions as discrete tokens, using its own normalization and tokenizer convention. A factorized head can emit one independent categorical distribution for each dimension. That cannot represent arbitrary conditional correlations. An autoregressive head can condition later tokens on earlier ones, while a joint codebook can assign one code to an entire vector. Explicitly mark which representation a specific system uses.
Continuous generative heads
A continuous generative policy can represent several likely action sequences. Diffusion Policy uses conditional denoising diffusion to generate action sequences. The paper describes a continuous action expert trained with conditional flow matching. Inference integrates a learned vector field; the paper reports ten integration steps for its benchmarked implementation. Measure end-to-end observation-to-action time under the actual deployment rather than inferring latency from the architecture label.
Interpreting a conditional mean
Let denote an expert command with a finite second moment for a fixed observation and instruction. Let its conditional mean be and let be a deterministic prediction. Expanding the squared error gives
The expectations here are conditional on the fixed input. The omitted cross term is zero because . The first term does not change with the predicted , so the conditional mean minimizes the loss when the head and action constraints allow the mean. If the learned head cannot express that optimal mapping at every input, its fitted prediction can differ from the mean. If a downstream projection changes the output, the deployed mapping differs from the unconstrained prediction optimized in this derivation.
The issue is more pronounced when the demonstrations differ because an important condition was hidden. Suppose two skilled demonstrators choose distinct safe directions around a virtual obstruction. If the policy cannot observe the condition that made each direction appropriate, the same input can be paired with two good, well-separated labels. An average could point directly toward the obstruction in this constructed case. Providing an extra route choice as conditioning information may make each conditional distribution narrower. Alternatively, a stochastic model can represent both modes. Neither choice proves that sampled commands are valid inside the actual environment: the downstream control and evaluation still need to detect invalid paths.
A robust point loss can change which representative prediction is preferred. In one dimension absolute error is minimized by a median under ordinary assumptions, while squared error is minimized by a mean. A median still returns a point or interval of optimizers, not a mechanism that deliberately samples among modes. Changing from an absolute pose to a small relative displacement may reduce variability on some tasks, but it does not repair missing state information or guarantee that demonstrated modes merge. That distinction is important when comparing “continuous” with “discrete”: command geometry and the uncertainty represented by the prediction are different properties.
A diagnostic for the tabletop predictor can compare the same set of observations using decoded command error, then compare closed-loop outcomes. One may be tempted to treat a smaller squared error as proof that one head is better. The loss averages across transitions sampled from the experts, whose states can be dominated by easy straight pushes. A deviation during approach may have a larger effect on the final outcome even if it affects relatively few training rows. Conversely, two predictors may disagree numerically near the goal, yet both complete the episode. The fixture deliberately exposes that disagreement instead of declaring one metric the definitive ranking.
Quantization error, token mistakes and clipping
For the uniform midpoint representation, an in-range target known to lie in a bin can be reconstructed to within half a bin width if the correct bin is selected. A model that predicts the neighboring bin can have a larger error. A model that predicts the far end of the range can make a large error even with fine bins. Reporting a smaller bin width says something about representation capacity, not classification accuracy. Error from selecting the wrong bin belongs to a different part of the training and inference chain.
For a sample in the interior of one bin, its midpoint can be at most away. At the included upper endpoint , the index is clamped to , and the distance to the final midpoint is also . For a target larger than , that bound no longer follows. If the target is first clipped to , the half-bin bound applies relative to the clipped target, while the total error relative to the original also includes the distance clipped away. The same logic applies at the lower endpoint. Separately recording whether clipping occurred lets a reader ask whether small errors came from predictable rounding or a command representation whose range is unsuitable for the observations.
Coordinate-wise categorical distributions can be audited in a tiny joint example. Suppose every observed good action in a particular state is either or , each with probability one half. Two independent marginal distributions that match the demonstrations assign probability one quarter to each of the four sign combinations. The two opposite-sign combinations get one half of the joint probability even though no expert action in this example used them. A conditional sequence model can draw the first sign and let its second prediction depend on the first. A joint codebook restricted to those two vectors can make the same combinations representable. A pair of independent heads used greedily has a different problem: even if sampling never happens, inconsistent tie-breaking across coordinates can select a combination that was not observed.
Using a joint vocabulary is not free. With possible bins for each of coordinates, listing every Cartesian combination would require codes. A smaller empirical codebook only lists selected joint patterns, so it loses the ability to express some commands. Its reconstruction error depends on how well prototypes cover action vectors in the relevant contexts. A coarse/fine sequence can trade vocabulary size for more decisions per command: a coarse token selects a region and a fine token selects a location within it. A hierarchy can increase capacity, but extra decoding steps and error propagation across those decisions still need measurement.
A magnitude check can distinguish geometry from modeling claims at the representation interface. The meter, -bin example above has a scalar width of meters. Two independently rounded components each with absolute error at most imply a Euclidean error at most for the ideal two-dimensional midpoint operation, since the squared Euclidean error sums the squared component errors. This bound says nothing about the position of an actual object after applying a command. Whether the environment moves the object at all depends on the control rule and state at the time of application.
Continuous sequence heads and when their latency matters
A diffusion policy iteratively refines action samples conditioned on an encoded observation. A learned conditional flow can instead specify a vector field along an inference path from a base sample to an action sample. Either construction can represent several likely commands or action sequences without replacing them with a single average. The architecture and training determine what distributions a particular model can learn, and the number and arrangement of sampling steps determine part of the inference cost. A model that learns multiple modes can still miss valid alternatives or assign load to an invalid mode. Treat model outputs as hypotheses about commands under the stated control contract.
Two inference comparisons can use the same output sequence length but different numbers of network evaluations. A recurrent or autoregressive head may produce tokens sequentially. A factorized head may return all its logits together, after which a simple midpoint decoder reconstructs the vectors. An iterative generative method may use a fixed number of repeated updates. Comparing the number of action vectors in those outputs does not determine equal end-to-end latency. Useful timings state the observation preparation cost, how the head uses the backbone representation, the decoding process, and which computations are repeated when a new observation arrives.
When the action is a sequence, one training example needs a declared alignment for the sequence start and end. A later command can refer to an observation made several policy ticks before execution if a prefix from an old plan is still in use. A benchmark that times only network computation can miss this difference. The next section measures command cadence separately and shows why the number of predicted commands, the number executed and the latency budget have to be stated together.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!