# M2Tok: Multi-head Multi-codebook Discrete Action Tokenization for Vision-Language-Action Models

Robotics.world

> Robot actions are continuous signals, so adapting a language model to control a robot requires converting action trajectories into discrete tokens. Existing tokenizers (binning, DCT+BPE, residual…

**arXiv**: 2609.18259 · Preprint · not peer-reviewed

**Published**: 2026-09-16 · revised · 2026-09-17

**Authors**: Chunpu Xu, Zhixuan Liang, Yuhao Zhang, Chi-Min Chan, Jessie Wang, Yang Xiao, Mengkang Hu, Xiaokang Yang, Yao Mu

## In plain words

Robot actions are continuous signals, so adapting a language model to control a robot requires converting action trajectories into discrete tokens. Existing tokenizers (binning, DCT+BPE, residual vector quantization) lose fine-grained motion detail — the authors call this the "discretization bottleneck" — which caps how well the downstream VLA can perform.

## AI summary

## Overview

**Research area:** Robotics — specifically discrete action tokenization for Vision-Language-Action (VLA) models that generate robot behavior through autoregressive next-token prediction.

**Technical level:** Advanced. The paper assumes familiarity with VQ-VAE, vector/residual quantization, transformer policies, and LLM-style autoregressive decoding.

**Scope (one sentence):** The paper proposes ℳ²Tok, a multi-head, multi-codebook action tokenizer, and measures whether lower action reconstruction error translates into higher task success for a VLA policy on the RoboTwin and Simpler-Env simulators plus three zero-shot real-world tasks.

## What This Paper Is About

Robot actions are continuous signals, so adapting a language model to control a robot requires converting action trajectories into discrete tokens. Existing tokenizers (binning, DCT+BPE, residual vector quantization) lose fine-grained motion detail — the authors call this the "discretization bottleneck" — which caps how well the downstream VLA can perform. The goal is a tokenizer that reconstructs action chunks with much lower error while keeping a fixed-length, LLM-friendly token interface, and then to show that this fidelity gain raises manipulation success rates.

## Key Contributions

1. **ℳ²Tok tokenizer:** a transformer-based, multi-head multi-codebook discrete action tokenizer built on a VQ-VAE framework, in which the latent action feature is split into *h* subspaces, each quantized by its own independent codebook.
2. **Combinatorial expressivity argument:** by partitioning a fixed total codebook budget into *h* codebooks, the number of distinct representable action codes grows combinatorially rather than linearly with vocabulary size.
3. **A lightweight conversion module:** instead of feeding discrete action tokens through the LLM's generic token-embedding layer, the VLA retrieves the corresponding quantized codebook embedding and projects it through an MLP into the LLM's text-embedding space, preserving the semantics each head learned.
4. **Empirical validation across simulation and hardware:** evaluation on 12 RoboTwin tasks, 4 Simpler-Env tasks, and 3 zero-shot real-world tasks, plus ablations isolating the multi-head, multi-codebook, and conversion components.

## Main Findings

- **Reconstruction fidelity:** On RoboTwin data, ℳ²Tok reaches an L1 reconstruction loss of **0.0024**, versus VQ-VLA **0.0032**, VQ-BET **0.0044**, and FAST **0.0055**.
- **RoboTwin success:** ℳ²Tok-based VLA attains an average success rate of **0.51** over 12 tasks (100 rollouts each), versus VQ-VLA **0.45**, VQ-BET **0.29**, binning **0.24**, and FAST **0.17** — described as a 13% relative margin over the strongest baseline.
- **Large per-task gains:** Move Can Pot reaches **0.58** versus VQ-VLA's **0.30**; Place Burger Fries reaches **0.64** versus VQ-VLA's **0.52**; Handover Mic reaches **0.94** versus VQ-VLA's **0.93**.
- **Simpler-Env success:** Average of **0.28** across four tasks, versus VQ-VLA **0.21** (a 33% relative margin). The largest gap is Put Eggplant in Basket at **0.33**, where VQ-VLA, VQ-BET, FAST, and binning all score **0.00** (binning scores **0.04** on that task per the table; the four-task averages are 0.03, 0.12, 0.02, 0.21). ℳ²Tok scores lower than VQ-VLA on exactly one task, Stack Green on Yellow (**0.08** vs **0.21**).
- **Ablation — multi-head is the biggest lever:** Removing the multi-head split drops the RoboTwin average from **0.51** to **0.22**; Move Pillbottle Pad and Place Mouse Pad both collapse from **0.33** and **0.10** to **0.00**.
- **Ablation — multi-codebook matters next:** Collapsing to a single shared codebook drops the average to **0.34**.
- **Ablation — conversion module helps moderately:** Removing it drops the average to **0.42**.
- **Head count:** Performance improves as *h* grows and peaks at **h = 8**, with diminishing returns beyond that; the deployed configuration uses 8 codebooks of 256 entries each (total codebook size 2048, embedding dimension 256).
- **Inference speed:** ℳ²Tok-based VLA runs at **8.2 Hz** (121.6 ms latency) on a single RTX 4090, versus **2.0 Hz** for binning (485.3 ms) — a 4.1× improvement. With the vLLM engine it reaches **56.2 Hz** (17.8 ms). FAST (23.4 Hz), VQ-BET (32.6 Hz), and VQ-VLA (12.3 Hz) are all faster than ℳ²Tok without vLLM.
- **Zero-shot real-world transfer:** Across three tasks with 20 trials each, ℳ²Tok averages **0.33** (Click Bell 11/20, Place Container Plate 7/20, Pick Diverse Bottles 2/20), versus VQ-VLA **0.28**, VQ-BET **0.15**, binning **0.10**, and FAST **0.08**. Pick Diverse Bottles is solved only by ℳ²Tok (2/20).

## Methodology in Plain English

The pipeline has two stages: train the tokenizer, then freeze it and train the policy.

**Tokenizer.** The base is a VQ-VAE. A 14-dimensional bimanual action chunk (7 DoF per arm) is first split into separate left-arm and right-arm sequences, so the tokenizer only ever sees 7-dimensional single-arm data and learns arm-agnostic motion primitives; coordination between arms is left to the high-level policy. The encoder interleaves 1D causal convolutions (for local motion detail and temporal downsampling) with transformer blocks (for longer-range context), producing a latent sequence. Rather than quantizing each latent vector with one codebook, the vector is cut into *h* segments, and each segment is matched to its nearest prototype in that segment's own codebook; the matched prototypes are concatenated back into the quantized latent. A mirrored decoder upsamples back to the action chunk. Training uses the standard VQ-VAE trio: reconstruction loss, embedding (codebook) loss, and commitment loss, weighted by λ₁, λ₂, λ₃.

The intuition for why splitting helps: if you have a fixed budget of code vectors and split it across *h* independently chosen codebooks, the number of distinct combined codes scales as a power of *h*, so the tokenizer can describe far more distinct motions without enlarging the vocabulary the VLA has to predict over.

**Policy.** The VLA is Qwen2.5-0.5B with a SigLIP image encoder (siglip-so400m-patch14-224). Images are resized to 224×224 and produce a 16×16 grid — 256 continuous image tokens per frame. Joint states are binned into 256 bins following FAST. Text uses the LLM's own tokenizer. Everything is serialized into one sequence with special boundary tokens (`t_bos/t_eos`, `s_bos/s_eos`, `i_bos/i_eos`, `la_bos/la_eos`, `ra_bos/ra_eos`) and trained with a standard negative-log-likelihood next-token objective.

**The conversion module.** Normally a predicted action token would be looked up in the LLM's embedding table. Here, each generated token indexes back into the ℳ²Tok codebooks to fetch the actual quantized vector, which an MLP projects into the LLM's embedding space. The rest of the autoregressive pipeline is unchanged, so the method keeps a pure discrete interface and inherits standard LLM tooling — notably vLLM.

**Training setup.** Tokenizer: AdamW, learning rate 5×10⁻⁵, batch size 2048×4 on four 4090 GPUs. Policy: tokenizer and SigLIP frozen, only the LLM backbone and projection MLPs updated, AdamW at 1×10⁻⁴ with cosine decay, warm-up ratio 0.03, 10 epochs on RoboTwin and 20 on Simpler-Env. Training data is 12 RoboTwin tasks with 1,600 demonstrations each (19,200 trajectories), collected with domain randomization; Simpler-Env uses the BridgeV2 dataset with the WidowX robot. Baselines (binning, FAST, VQ-BET, VQ-VLA) are all retrained on the same action data and dropped into the same VLA architecture for a fair comparison.

## Why This Matters

The paper argues that action-tokenizer fidelity is a first-order determinant of VLA performance, not a preprocessing detail — the same backbone, data, and training recipe swing from 0.22 to 0.51 average success purely on tokenizer design. It also preserves the pure discrete autoregressive interface, in contrast to work that bolts continuous diffusion heads onto transformers and must change the architecture and loss.

**Real-world applications:**

- Bimanual tabletop manipulation in kitchen-like settings — the RoboTwin suite includes tasks such as Move Can Pot, Place Container Plate, and Place Burger Fries.
- Precise grasping of irregular or cluttered objects, exemplified by Pick Diverse Bottles and Put Eggplant in Basket.
- Mobile manipulator deployment: the real-world platform is an AgileX Cobot Magic with an Aloha-style four-arm configuration, AgileX Piper arms (6 DoF plus a 1-DoF parallel gripper) and a RealSense D435 camera at 640×480 and roughly 30 Hz.
- High-frequency closed-loop control, where 56.2 Hz with vLLM clears the rate needed for most real-time manipulation tasks.

**Industry relevance:** because the method emits ordinary tokens, it plugs into existing LLM serving stacks (vLLM gave a 6.8× latency reduction here, 121.6 ms to 17.8 ms) and standard pretraining recipes, which lowers the engineering cost of adopting it in production robot-learning pipelines.

## Future Directions

- **Closing the sim-to-real gap on harder tasks.** Pick Diverse Bottles succeeded only 2/20 times in the real world despite 0.22 in simulation, so visual and dynamic domain shift remains unresolved.
- **Determining what the heads actually learn.** The paper states heads "implicitly" align with distinct action dimensions such as pose versus gripper state, but no per-head interpretability analysis is reported; verifying or enforcing that alignment is an open question.
- **Pushing past h = 8.** Performance peaks at h = 8 and degrades with further splitting, attributed to over-fragmentation of the latent space. What limits that trade-off, and whether it can be relieved, is not answered.
- **Reducing tokenizer-side latency.** The unoptimized ℳ²Tok VLA is slower per step (121.6 ms) than VQ-BET (30.7 ms) and FAST (42.7 ms); the paper relies on vLLM to recover speed, leaving room for a leaner decoding path or direct comparison against continuous-action/diffusion-head VLAs, which are discussed in related work but not evaluated here.

## Target Audience

Robotics and embodied-AI researchers working on VLA architectures and action tokenization; engineers building LLM-based robot policies who need a drop-in, discrete, serving-friendly action interface; and graduate students who already know VQ-VAE and autoregressive transformers and want a concrete case study in how representation design propagates into control performance.

## Authors’ abstract

Recent advancements have successfully adapted autoregressive language models to process multimodal signals, such as images and actions. Since raw action signals are continuous, effective tokenization is essential to map high-dimensional inputs into compact discrete tokens for autoregressive processing. However, existing discrete action tokenizers often suffer from high reconstruction loss, failing to preserve the fine-grained dynamics required for precise control. This…

[The full abstract on arXiv](https://arxiv.org/abs/2609.18259)

[Read the original paper](https://arxiv.org/abs/2609.18259)

## Related papers

- [SocialHumanoid: Towards Expressive Humanoid Behavior via One-Step Co-Speech Motion Generation](https://robotics.world/paper/socialhumanoid-towards-expressive-humanoid-behavior-via-one-step-co-2609.33311) 2026-09-27 · cs.RO · Also by Xiaokang Yang, Yao Mu
- [VT-MUSE: Multimodal Unified Sequential Visuotactile Representation Learning for Manipulation](https://robotics.world/paper/vt-muse-multimodal-unified-sequential-visuotactile-representation-2608.21290) 2026-08-21 · cs.RO · Also by Xiaokang Yang, Yao Mu
- [Enfold: Folding World Model Imagination into Predictive Representations for Ultra-Efficient Embodied Control](https://robotics.world/paper/enfold-folding-world-model-imagination-into-predictive-representations-2607.26657) 2026-07-29 · cs.RO · Also by Xiaokang Yang, Yao Mu
- [RoboMorpher: Scaling Robot Morphology Representations for Cross-Embodiment Action Prediction](https://robotics.world/paper/robomorpher-scaling-robot-morphology-representations-for-cross-2611.24816) 2026-11-18 · cs.RO · Also by Yao Mu, Zhixuan Liang
- [InternW0: A Foundational Physical World Model for Efficient Real-World Interactions](https://robotics.world/paper/internw0-a-foundational-physical-world-model-for-efficient-real-world-2609.27656) 2026-09-23 · cs.RO · Also by Yao Mu

---

Canonical: https://robotics.world/paper/m2tok-multi-head-multi-codebook-discrete-action-tokenization-for-vision-2609.18259
