Introduction
An autoregressive vision-language-action model (VLA) produces actions the way a language model produces text: one discrete code per forward step of its backbone. With action chunking the policy predicts a whole block of future actions at once and executes its first actions open-loop before it is queried again. Everything about the model, its training recipe, the data and the chunking protocol is fixed in this task; what is open is the tokenizer, the map from a continuous chunk to a string of codes and back, together with an optional mask over the codes the policy may emit at each position. The question is which tokenizer makes the trained VLA control the robot best.
The difficulty is that the tokenizer is judged through a learner. A tokenizer that reconstructs chunks perfectly can still be a poor training target. The field has pulled in several directions. Per-dimension uniform binning of every action [1], which our starter implements, is exact up to the bin width but long, and neighbouring codes are so redundant that the model can learn to copy. FAST compresses the chunk over time with a discrete cosine transform before quantising it [2]. Vector-quantised and learned neural tokenizers instead learn a codebook for the chunk [3, 4, 5]. B-spline control points give another compact parameterisation [6], ordered tokens impose an order on the codes [7, 8], and a systematic study asks which properties make a tokenizer good for VLA training at all [9].
Two facts about this protocol shaped our design. First, only the first actions of a decoded chunk are ever executed, so precision spent on the tail of the chunk is precision the robot never uses. Second, autoregressive decoding commits to the earliest codes first, so the codes that decide the executed actions should come first in the string, and an error in a late code should not disturb the early actions.
Method
We call our tokenizer FL-DCT: a prefix-foveated, segment-local DCT scalar tokenizer. It has no learned parameters beyond quantile bins fitted in closed form.
Segment-local transform
An action is numbers: six continuous end-effector deltas , , and a binary gripper command . We cut the chunk into segments of consecutive actions (falling back to , or , when is not divisible by 4). Inside segment , each continuous dimension is transformed by the orthonormal DCT-II matrix ,
Coefficient is the segment's (scaled) mean, its trend, its curvature. The transform is local: a code describes only the four actions of its own segment, so a wrong code late in the string cannot move the executed actions, unlike a transform over the whole chunk, where every coefficient touches every time step.
Foveation by the execution horizon
Segment starts at action and keeps the first coefficients,
so segments that intersect the executed prefix are coded at the highest temporal resolution, the next actions more coarsely, and the far tail by its mean alone. The remaining coefficients are set to zero at decoding. is read from the task interface, not from a per-setting table, so the same rule produces the allocation for every chunk length and execution horizon.
def _n_coeffs(self, s: int, K: int) -> int:
# Foveation by execution horizon: segments that intersect the executed
# prefix keep the most DCT coefficients, the next K actions keep fewer,
# the far tail keeps only the segment mean, because only the first K
# actions of a decoded chunk run before the policy is queried again.
a = s * self.w
if a < K:
return min(self.w, self.C_EXEC)
if a < 2 * K:
return min(self.w, self.C_MID)
return min(self.w, self.C_TAIL)
def _make_mask(self, position: int) -> np.ndarray:
V = self.spec.vocab_size
mask = np.zeros(V + 1, dtype=bool)
if position < self.length:
kind = self.layout[position][0]
r = self.grip_range if kind == 0 else self.N_BINS
mask[: min(r, V)] = True
else:
mask[-1] = True
return maskQuantisation and the gripper
Every retained coefficient is scalar-quantised. For each pair we fit one set of bins, shared across segments: the edges are the empirical quantiles of over the training chunks (with the outer edges at and duplicate interior edges merged), and each bin decodes to the median of the training values that fall in it. We use bins, where is the vocabulary size. Quantile bins spend resolution where coefficients actually occur, rather than uniformly across the range as the starter's bins do. For a large training set the fit subsamples deterministically, to at most 200,000 chunks and 2,000,000 values per coefficient.
@staticmethod
def _fit_bins(vals: np.ndarray, b: int):
qs = np.linspace(0.0, 1.0, b + 1)
edges = np.quantile(vals, qs)
interior = np.unique(edges[1:-1])
edges = np.concatenate([[-np.inf], interior, [np.inf]]).astype(np.float32)
nb = len(edges) - 1
idx = np.clip(np.searchsorted(edges, vals, side="right") - 1, 0, nb - 1)
order = np.argsort(idx, kind="stable")
sidx, sx = idx[order], vals[order]
bounds = np.searchsorted(sidx, np.arange(nb + 1))
centers = np.zeros(nb, dtype=np.float32)
for i in range(nb):
part = sx[bounds[i]: bounds[i + 1]]
centers[i] = np.median(part) if part.size else 0.0
return edges, centersThe gripper is not transformed. Its four bits in segment , , form a single pattern token,
16 patterns for , which reconstructs the gripper exactly, including a switch in the middle of a segment.
Layout, length and decoding
The string is emitted segment by segment, so the codes that decide the executed actions are emitted first. Each segment begins with its gripper pattern and continues coefficient-major, all six dimensions of coefficient 0, then of coefficient 1, and so on. The length is fixed,
against codes for per-step binning. The mask enforces this layout: at a gripper position only the 16 pattern codes are allowed, at a coefficient position only the bin indices, and the end of the string only after position .
W = 4 # segment length in actions
N_BINS = 512 # scalar-quantization bins per coefficient
C_EXEC = 3 # DCT coefficients kept for segments intersecting [0, K)
C_MID = 2 # ... for segments intersecting [K, 2K)
C_TAIL = 1 # ... for later segments
def __init__(self, spec: TokenizerSpec) -> None:
super().__init__(spec)
self.N_BINS = min(int(type(self).N_BINS), int(spec.vocab_size)) # instance copy: survives pickling
H, A, K = spec.horizon, spec.action_dim, spec.execute_horizon
self.n_cont = A - 1
w = self.W if H % self.W == 0 else (2 if H % 2 == 0 else 1)
self.w = int(w)
self.n_seg = H // self.w
self.coeffs = [self._n_coeffs(s, K) for s in range(self.n_seg)]
self.cmax = max(self.coeffs)
self.mat = _dct_matrix(self.w)
# layout: per segment [gripper pattern] + [coeff 0 (all dims), coeff 1, ...]
self.layout = [] # (kind, seg, coeff, dim); kind 0=gripper, 1=continuous
for s in range(self.n_seg):
self.layout.append((0, s, 0, 0))
for c in range(self.coeffs[s]):
for d in range(self.n_cont):
self.layout.append((1, s, c, d))
self.length = len(self.layout)Decoding has to accept any code string, not only a well-formed one. Missing positions are filled with defaults (for a coefficient, the bin whose centre is nearest the training median of that coefficient; for the gripper, the all-ones pattern), out-of-range codes are clipped, and the inverse transform is because is orthonormal. The continuous output is clipped to .
def decode(self, codes: np.ndarray) -> np.ndarray:
H, A = self.spec.horizon, self.spec.action_dim
got = np.asarray(codes, dtype=np.int64).reshape(-1)
full = self.defaults.copy()
n = min(got.shape[0], self.length)
if n > 0:
full[:n] = got[:n]
D = np.zeros((self.n_seg, self.w, self.n_cont), dtype=np.float32)
gcodes = np.full(self.n_seg, self.grip_range - 1, dtype=np.int64)
for j, (kind, s, c, d) in enumerate(self.layout):
if kind == 0:
gcodes[s] = int(np.clip(full[j], 0, self.grip_range - 1))
else:
D[s, c, d] = self.centers[c, d, int(np.clip(full[j], 0, self.N_BINS - 1))]
seg = np.einsum("ct,scd->std", self.mat, D) # inverse DCT (orthonormal)
out = np.zeros((H, A), dtype=np.float32)
out[:, : self.n_cont] = np.clip(seg.reshape(H, self.n_cont), -1.0, 1.0)
pw = (1 << np.arange(self.w - 1, -1, -1, dtype=np.int64))
bits = ((gcodes[:, None] // pw[None, :]) % 2).astype(np.float32)
out[:, self.n_cont] = bits.reshape(H)
return out def encode(self, chunk: np.ndarray) -> np.ndarray:
x = np.asarray(chunk, dtype=np.float32).reshape(self.spec.horizon, self.spec.action_dim)
seg = x[:, : self.n_cont].reshape(self.n_seg, self.w, self.n_cont)
D = np.einsum("ct,std->scd", self.mat, seg) # (S, w, D)
g = (x[:, self.n_cont] > 0.5).astype(np.int64).reshape(self.n_seg, self.w)
pw = (1 << np.arange(self.w - 1, -1, -1, dtype=np.int64))
gc = (g * pw[None, :]).sum(axis=1)
codes = np.empty(self.length, dtype=np.int64)
# quantize per (coeff, dim) across segments in one searchsorted call
codes_q = {}
for c in range(self.cmax):
for d in range(self.n_cont):
codes_q[(c, d)] = np.clip(
np.searchsorted(self.edges[c, d], D[:, c, d], side="right") - 1,
0, self.N_BINS - 1)
for j, (kind, s, c, d) in enumerate(self.layout):
codes[j] = gc[s] if kind == 0 else codes_q[(c, d)][s]
return np.clip(codes, 0, self.spec.vocab_size - 1)Results
| Method | ① | ② | ③ |
|---|---|---|---|
| Success rate ↑ | Success rate ↑ | Success rate ↑ | |
| Muse Wonder Full | 0.778 | 0.689 | 0.300 |
| Per-dimension uniform binning | 0.570 | 0.228 | 0.217 |
| VQ-BeT | 0.906 | 0.733 | 0.378 |
| FAST | 0.889 | 0.850 | 0.411 |
| FAST+ | 0.880 | 0.833 | 0.372 |
| BEAST | 0.633 | 0.772 | 0.289 |
| OAT, original configuration | 0.836 | 0.806 | 0.394 |
| ActionCodec | 0.797 | 0.589 | 0.356 |
| OAT | 0.853 | 0.861 | 0.367 |
| FASTerVQ | 0.819 | 0.850 | 0.383 |
| VQ-VLA | 0.842 | 0.811 | 0.283 |
- ① MiniVLA (Qwen2.5-0.5B Prismatic) on LIBERO-90 · chunk horizon 8, all 8 executed
- ② Same policy recipe · chunk horizon 32, first 16 executed
- ③ Horizon-8 policy under LIBERO-plus mixed perturbations
FL-DCT improves on the per-dimension binning it starts from on every setting: a success rate of 0.778 against 0.570 on MiniVLA (Qwen2.5-0.5B Prismatic) on LIBERO-90, 0.689 against 0.228 on Same policy recipe, and 0.300 against 0.217 on Horizon-8 policy under LIBERO-plus mixed perturbations.
Against the rest of the published tokenizers it is not competitive. On MiniVLA (Qwen2.5-0.5B Prismatic) on LIBERO-90 it is ahead only of the B-spline tokenizer (0.633) besides the starter, and well short of the strongest baseline, Residual VQ [3] at 0.906. On Same policy recipe it is ahead only of ActionCodec (0.589) besides the starter, against 0.861 for OAT [8]. On Horizon-8 policy under LIBERO-plus mixed perturbations it is ahead of the B-spline tokenizer (0.289) and of VQ-VLA (0.283) besides the starter, and below the other seven, the best being FAST [2] at 0.411.
The comparison that matters most for our design is with FAST, the published tokenizer closest to it, which also quantises DCT coefficients of the chunk over time. FAST reaches 0.889, 0.850 and 0.411 on the three settings, ahead of FL-DCT on each. Our results therefore do not support the specific choices that separate FL-DCT from FAST (segment-local transforms, foveation by the execution horizon, quantile bins and a fixed-length code string in place of a transform over the whole chunk with variable-length compressed codes). We cannot say from these numbers which of those choices costs the most.
How we got here
We began from the data rather than from a design. In the demonstration actions we downloaded, the deltas were extremely smooth (lag-1 autocorrelation 0.989, falling to 0.683 at lag 8, in our own measurement), a few low-frequency DCT coefficients carried almost all of the energy, and the gripper changed on about 1.2% of steps, so that 96.5% of four-step gripper patterns were constant. Temporal redundancy was the central fact, and a time-local transform plus a lossless gripper pattern followed from it.
- Offline reconstruction metrics could not choose. We first compared candidate tokenizers on reconstruction error of the executed prefix, code stability under small perturbations and code entropy. Segment-local DCT beat a DCT over the whole chunk and a PCA of the chunk at equal length on the executed prefix, but reconstruction cannot measure how learnable the codes are.
- A cheap learnability probe was misleading. A small transformer decoder trained on frozen vision features to predict the codes ranked plain uniform binning best (a prediction error of 0.183 against about 0.19 for our variants, all within about 7%), and ranked anchor-plus-difference coding above the DCT. We treated these rankings as unreliable and built a local replica instead: full fine-tuning of the same base VLM on a small subset of tasks, at low image resolution and for a few thousand steps, followed by closed-loop rollouts in simulation and an open-loop action error on held-out frames.
- A data bug invalidated our first round. The training images of our replica turned out to be vertically flipped relative to the simulator's frames. We stopped those evaluations, fixed the data and reran the round.
- Real training reversed the probe. After 4,000 steps, the segment-local DCT was the only variant with any closed-loop successes (10%, against 0% for uniform binning, anchor-plus-difference and an anchored DCT hybrid), and it also had the lowest open-loop action error (0.1684, against 0.1710, 0.1708 and 0.1849). The anchor-and-difference transforms were dropped.
- Other directions we abandoned. A learned per-segment PCA rotation was worse per token than the DCT in reconstruction. Block-parallel decoding was worse than plain autoregression (open-loop error 0.1733 against 0.1662 for its autoregressive twin). Reusing the backbone's digit tokens to give the codes a pretrained numeric structure was set aside when we found only ten single-digit tokens.
- A collapse that was our own bug. A 512-bin variant appeared to collapse; the cause was that the bin count, set as a class attribute, did not survive pickling in our experiment scripts. We fixed the scripts and hardened the tokenizer by copying the bin count onto the instance.
- Open-loop error and closed-loop success disagreed on the coefficient count. At a short execution horizon, open-loop error preferred two coefficients on executed segments over three, while at a longer one it preferred three, so we briefly installed a rule that kept three only for long execution horizons; with longer training the short-horizon preference for two grew (0.0986 against 0.1323 after 10,000 steps). Closed-loop success then went the other way: in our development rollouts three coefficients reached 46% and 42% on two replications with fresh initial states, against 36% and 40% for two. We trusted success, since it is what the task measures, and set three coefficients on executed segments for every execution horizon. On a second development configuration, the same ordering held (36% against 32%).
- The bin count depended on training length. At 4,000 steps bins coarser than 256 gave lower open-loop error, 128 bins best (128 bins 0.1600, 64 bins 0.1636, 256 bins 0.1662); at 10,000 steps the ranking reversed and 512 bins was best in open-loop error. We switched the submission to 128 bins, back to 256, and finally to 512 when a 512-bin, three-coefficient model reached 48% in closed loop, betting that the real training runs longer than ours. A replication made after that decision gave 34%, so pooled over both replications the 512-bin model was not ahead of the 256-bin one (46% and 42%); we kept 512 and recorded that the order of these two is uncertain.
The development numbers above are our own measurements in the replica, recorded in our notes and messages during the run; the replica differs from the task's training and evaluation in scale, and we estimated the noise of our closed-loop rollouts at about seven points.
Limitations
- Below most published tokenizers. FL-DCT beats only the starter's binning and one or two other baselines per setting, and it is clearly behind FAST on every setting although both quantise DCT coefficients over time. Our contribution is an improvement over per-dimension binning, not over the state of the art.
- The development loop did not predict the outcome. Every design choice was settled in a small replica: few tasks, low-resolution images, short training and noisy closed-loop estimates. The coefficient count rests on rollouts that contradicted the open-loop metric, and the final bin count on a single rollout that its replication did not confirm. Apart from the starter's binning, the replica never compared our tokenizer with the published ones, so it could not show where FL-DCT would stand against them.
- No compression beyond the transform. The string has a fixed length that grows linearly with , and nothing like entropy coding removes the redundancy left between neighbouring segments' coefficients. A long chunk still produces a long string.
- Shared bins fitted on all segments. The bins for coefficient are fitted on that coefficient over every segment, including tail segments that never emit it, so their resolution is not matched to the segments that use them.
- Hand-set schedule. The tiers of three, two and one coefficients and the boundaries at and are design constants, tuned on one or two development configurations rather than derived; on an execution horizon shorter than a segment, the whole first segment is coded at the finest tier anyway.
References
- Moo Jin Kim, Karl Pertsch, Siddharth Karamcheti et al. (2024). OpenVLA: An Open-Source Vision-Language-Action Model. CoRL.
- Karl Pertsch, Kyle Stachowicz, Brian Ichter et al. (2025). FAST: Efficient Action Tokenization for Vision-Language-Action Models.
- Seungjae Lee, Yibin Wang, Haritheja Etukuru et al. (2024). Behavior Generation with Latent Actions. ICML.
- Yating Wang, Haoyi Zhu, Mingyu Liu et al. (2025). VQ-VLA: Improving Vision-Language-Action Models via Scaling Vector-Quantized Action Tokenizers. ICCV.
- Yicheng Liu, Shiduo Zhang, Zibin Dong et al. (2025). FASTer: Toward Efficient Autoregressive Vision Language Action Modeling via Neural Action Tokenization.
- Hongyi Zhou, Weiran Liao, Xi Huang et al. (2025). BEAST: Efficient Tokenization of B-Splines Encoded Action Sequences for Imitation Learning. NeurIPS.
- Chaoqi Liu, Xiaoshen Han, Jiawei Gao et al. (2026). OAT: Ordered Action Tokenization.
- Chaoqi Liu, Yue Zhao, Haonan Chen et al. (2026). Ordered Action Tokens for Visuomotor Policy Learning.
- Zibin Dong, Yicheng Liu, Shiduo Zhang et al. (2026). ActionCodec: What Makes for Good Action Tokenizers. CoRL.