← Action tokenization

Overview

One simple swap

Method

Codebook-Aligned Prediction

1

Multi-level action tokenizers

An action tokenizer maps a continuous action chunk to a sequence of discrete tokens \(c_1,\ldots,c_L\), one per quantization level.

A multi-level tokenizer encodes an action chunk into latents z1 to z4 and tokens c1 to c4, with parallel (VQ, FSQ) or sequential (RVQ, NRVQ) quantization.
2

Tokenizer–policy mismatch

A standard autoregressive policy typically uses a single head (SH), with one categorical classifier shared across quantization levels.

MH outperforms SH in eleven of the twelve level-specific comparisons

Success rate (%), Table I, level-specific (-L) tokenizers.

3

Codebook-aligned prediction

CAP reuses tokenizer code vectors as class prototypes in the policy classifier and scores output representations by their distance to these prototypes.

VQ, RVQreuse the learned code vectors\(V_l[k]=v_{l,k}\)
NRVQuse the normalized directions\(V_l[k]=\bar v_{l,k}\)
FSQenumerate the grid points, map through the decoder-side projection\(V_l[k]=\Pi_l^{\mathrm{out}}(\phi^{-1}(k))\)
Standard: the policy predicts token indices with a standard classifier.
CAP: the policy output is compared with the tokenizer's codes; distances become the token logits.
Token logits \( \eta_{l,k}=-\tau_l\,\bigl\lVert P_l(h_l)-V_l[k]\bigr\rVert_2^2,\qquad p(c_l=k\mid c_{<l},o)=\operatorname{softmax}(\eta_{l,\cdot})_k \) We learn an affine down-projection \(P_l\) and a positive logit scale \(\tau_l\). Tokens whose codebook latent representations \(V_l[k]\) are closer to the projected policy output are assigned higher probability.
4

CAP yields more benign errors

Click any code. Each arrow is the action that code decodes to. Schematic

Results

Simulation Results

CAP − baseline, per task and tokenizer (pp)

Click a cell to watch its rollout.

Success rate per tokenizer (Table I)

Notes

Simulation rollouts

Paired rollouts: baseline vs. CAP

Each pair uses the same tokenizer and the same evaluation episode index; only the prediction heads differ. Both clips play on one shared timeline.

0:00 / 0:00

Analysis

Error and mechanism analyses

Error analysis

CAP does not improve the token prediction accuracy; instead, it is more robust to token prediction errors and observation perturbations, yielding more benign errors in action space.

Mechanism analysis

CAP's gains are not explained by head parameterization alone, but are driven by action-aware codebook structure and improved policy backbone representations.

RoboMimic, eight quantizers. Details in the paper.

Real robot

Real-World Evaluation

Success rate (%), 30 trials per task