Residual Ordered Action Tokenization

Kai Zhao, Zhixing Yang, Qihua Wu, Yaying Lei, Pudu He, Haoran Jiang, Enquan Yang, Wubang Yuan, DengPing Fan, Dan ZengarXiv 2026

TL;DR

Robots powered by vision-language-action (VLA) models often predict movements as discrete "action tokens," much like large language models predict words. Existing ordered tokenizers let robots stop generating tokens early and still act, but they lose fine motor details because each position relies on a single coarse quantization step. Residual Ordered Action Tokenization (ROAT) fixes this by pairing each coarse base token with a calibrated "residual" correction token—recovering fine-grained control and boosting average simulation success rates by 9.5 percentage points without enlarging the token vocabulary.

What Problem Does This Paper Address?

Autoregressive VLA models treat robot control like language generation: they translate continuous robot trajectories into discrete tokens and predict them one by one. Standard tokenizers (such as per-dimension binning or frequency-domain compression) force the policy to generate the entire token sequence before decoding a single movement.

Ordered Action Tokenization (OAT) solved this rigidity by packing the most essential trajectory information into earlier tokens. This enables anytime inference: you can truncate generation early under a tight compute budget and still decode a complete, albeit rough, action chunk. However, OAT encodes each latent position using a single Finite Scalar Quantization (FSQ) code from a fixed vocabulary. That is a bit like describing a precise coordinate using only a coarse grid—you inevitably lose fine action details. Simply making the vocabulary bigger to reduce this error backfires, as it inflates the policy's output head and makes next-token prediction much harder.

Figure 1. Schematic comparison of trajectory reconstruction. (a) Bin decodes sequentially by timestep; (b) OAT decodes full trajectories from base codes u𝑖; (c) ROAT pairs base and residual codes into ˆb𝑖, recovering fine trajectory details with fewer tokens.

Methods

ROAT keeps the vocabulary size fixed ($V = 1000$) and instead adds a second quantization stage to capture the residual—the leftover error between the continuous latent vector and its coarse base token. Doing this naively breaks in two ways, which ROAT solves with two core designs:

  • Affine Residual Quantization: Raw residuals span a much narrower dynamic range than the original latent vectors. Feeding them directly into the shared FSQ grid causes them to collapse onto a few central levels, wasting capacity. ROAT resolves this by applying a learnable affine transformation (a diagonal scaling matrix $\mathbf{S}$ and shift vector $\mathbf{t}$) to stretch and center the residuals onto the shared grid before quantization, then applies the exact inverse transform afterward. This calibration adds only $2d_b$ scalar parameters—negligible overhead.
  • Interleaved Pair Modeling: If a model predicts all base tokens first and all residual tokens second, stopping early leaves base tokens without their corresponding corrections. ROAT instead treats each (base, residual) pair as an indivisible unit. During tokenizer pretraining, it masks prefixes over complete pairs. During policy training and inference, it serializes tokens in an interleaved order ($y^{(u)}_1, y^{(c)}_1, y^{(u)}_2, y^{(c)}_2, \dots$), ensuring that early termination always yields complete, refined pairs and allowing later base predictions to condition on earlier corrections.
Figure 3. Affine Residual Quantization. (a) Each latent b𝑖is quantized to a base vector u𝑖∈V, while its residual r𝑖= b𝑖−u𝑖is calibrated by (S, t), quantized to q𝑖∈V, and mapped back to c𝑖via the inverse transform. (b) FSQ rounds each bounded scalar to a discrete level, pairing each quantized vector u𝑖with a discrete token 𝑦𝑖. (c) Adding u𝑖and c𝑖yields the refined latent ˆb𝑖= u𝑖+ c𝑖.

Datasets

The authors evaluate ROAT across four simulation benchmarks (spanning 4D and 7D action spaces) and two real-world manipulation tasks:

  • LIBERO: 500 human demonstration trajectories from the LIBERO-10 suite for long-horizon manipulation.
  • RoboMimic: 900 trajectories from the Multi-Human (MH) datasets for Lift, Can, and Square.
  • MetaWorld: 200 scripted expert trajectories for box-close, coffee-pull, disassemble, and stick-pull.
  • MimicGen: 600 trajectories from stack_d0, coffee_d0, and mug_cleanup_d0 in the Core dataset.
  • Real-World Hardware: 100 teleoperated demonstrations each for Cube Stacking and Pen Placement on an SO-101 follower arm.

Key Insights and Ideas

  • Calibration prevents code collapse: Removing the learnable affine transform drops ROAT's closed-loop success rates right back down to OAT's level, proving that rescaling narrow residuals is essential for utilizing the shared quantization grid.
  • Interleaving beats stagewise generation: Predicting base and residual tokens in an interleaved order outperforms predicting all base tokens first by 7.2 percentage points on LIBERO-10, because later predictions can directly condition on earlier refined latents.
  • Two stages hit the sweet spot: Moving from 1 stage (OAT) to 2 stages (ROAT) cuts reconstruction MSE nearly in half on LIBERO-10 (0.00209 to 0.00118) and jumps success by 9.8 points. Adding a 3rd stage increases the token budget by 50% (to 24 tokens) for only marginal gains.
  • Systematic latent refinement: In latent space, residual refinement moves 99.84% of sampled vectors closer to their continuous encoder targets, reducing latent MSE by 78.8%.

Key Results

  • Simulation Success: With 8 latent positions (ROAT-8), ROAT improves average closed-loop success rates by 9.5 percentage points over OAT-8 across all four benchmarks (65.0% vs. 55.2% on LIBERO; 70.4% vs. 64.4% on RoboMimic; 43.7% vs. 39.7% on MetaWorld; 50.1% vs. 31.9% on MimicGen).
  • Matched Token Budget: At 16 tokens per action chunk, ROAT-8 outperforms OAT-16 across all four benchmarks while requiring fewer tokenizer reconstruction GFLOPs (0.3778 vs. 0.4139 for 7D actions).
  • Real-World Transfer: Evaluated over 20 trials per task on an SO-101 arm, ROAT-8 achieves 75% on Cube Stacking (vs. 70% for OAT-8) and 80% on Pen Placement (vs. 65% for OAT-8), outperforming OAT at every prefix length $k \in \{1, 2, 4, 8\}$.

Limitations and Future Work

Currently, ROAT applies a fixed two-stage residual structure uniformly across all latent positions, regardless of whether a robot's movement is simple or complex. In future work, the authors plan to explore adaptive token allocation based on motion complexity and richer coding schemes under limited token budgets.

Summary updated

BibTeX
@misc{zhao2026residual,
  author = {Kai Zhao and Zhixing Yang and Qihua Wu and Yaying Lei and Pudu He and Haoran Jiang and Enquan Yang and Wubang Yuan and DengPing Fan and Dan Zeng},
  title = {{Residual Ordered Action Tokenization}},
  year = {2026},
  eprint = {2612.00919},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.00919},
}
Figure