EVATok: Adaptive Length Video Tokenization for Efficient Visual Autoregressive Generation

Tianwei Xiong, Jun Hao Liew, Zilong Huang, Zhijie Lin, Jiashi Feng, Xihui Liu

TL;DR

EVATok introduces a content-adaptive video tokenization framework that dynamically allocates token budgets based on the complexity of different video segments. By predicting optimal token lengths using a lightweight router, it achieves state-of-the-art video reconstruction and generation quality while reducing token usage by over 24% compared to traditional fixed-length baselines.

What Problem Does This Paper Address?

Autoregressive (AR) video generative models have shown immense promise, but they are computationally expensive. These models operate on sequences of discrete visual tokens generated by a video tokenizer. Traditional tokenizers allocate a uniform, fixed number of tokens to every temporal block across all videos.

This "one-size-fits-all" approach is highly inefficient. A static shot of a calm ocean wastes tokens on redundant information, while a fast-paced, complex action scene is starved of the token budget it needs to maintain fidelity. Prior attempts at adaptive tokenization relied on heuristic threshold searches or dropping "tail tokens" during inference, which often introduces a training-inference gap and adds computational overhead. EVATok aims to solve this by directly predicting and applying the optimal token budget for each video segment.

Methods

The authors propose EVATok (Efficient Video Adaptive Tokenizer), which operates via a novel four-stage framework:

  1. Stage 1: Proxy Tokenizer Training: The authors train a Q-Former-style 1D variable-length tokenizer capable of reconstructing videos under randomly sampled token assignments.
  2. Stage 2: Dataset Curation via Proxy Reward: To find the optimal token allocation, they define a proxy reward metric that mathematically balances reconstruction quality (LPIPS) against token length cost. They brute-force search all candidate assignments on a dataset to find the allocation that maximizes this reward, creating a curated dataset of (video, optimal assignment) pairs.
  3. Stage 3: Router Training: Using the curated dataset, they train a lightweight Vision Transformer (ViT-S) "router" to predict the optimal token assignment for any given video in a single, fast classification pass.
  4. Stage 4: Final Tokenizer Training: Finally, they train the actual adaptive video tokenizer from scratch, conditioned only on the assignments predicted by the router. This eliminates the training-inference gap.
Figure 2. Four-stage framework for adaptive video tokenizer training. Stage 1 trains a proxy tokenizer to reconstruct videos under all candidate assignments. Stage 2 applies the proxy tokenizer to compute proxy rewards for all candidate assignments across videos from a dataset. It identifies the assignments with maximum proxy rewards to curate a classification dataset of videos and their optimal assignments. Stage 3 trains a router on the curated dataset to predict the optimal assignments for videos. Stage 4 trains the final tokenizer from scratch, with the router determining the assignment for each input video during training.

To further boost quality, the final tokenizer incorporates an advanced training recipe: representation alignment with a pre-trained semantic video encoder (V-JEPA2) and a semantic discriminator based on VideoMAE to minimize blurriness and temporal flickering.

Figure 3. Architecture of 1D variable-length video tokenizer for EVATok. The input video is spatio-temporally patchified into 3D embeddings. According to a given assignment a, 1D variable- length query embeddings are initialized from these 3D embed- dings. After Q-Former encoding and quantization, 1D discrete tokens are produced. Finally, 3D queries are initialized to recon- struct the video frames from the 1D tokens.

Datasets

The framework was trained and evaluated using several standard video benchmarks:

  • WebVid-10M: A subset of 100k video clips was used for router training and validation.
  • UCF-101: Used to evaluate video reconstruction and downstream class-to-video generation.
  • Kinetics-600 (K600): Used to evaluate video frame prediction performance.

Key Insights and Ideas

  • Intuitive Token Allocation: EVATok naturally aligns with human intuition. It allocates fewer tokens to static or repetitive segments and hoards tokens for highly dynamic or visually intricate scenes.
  • Eliminating the Training-Inference Gap: Instead of training a model on all possible token lengths and only using a few during inference (which degrades performance), Stage 4 ensures the final tokenizer is optimized precisely for the realistic workloads predicted by the router.
  • Perceptual vs. Pixel Fidelity: The integration of the VideoMAE discriminator creates a fascinating trade-off: while pixel-level metrics like PSNR drop slightly, the visual quality significantly improves, exhibiting much less blurriness and temporal flickering, which reflects as a massive gain in Fréchet Video Distance (FVD).
Figure 1. EVATok highlights. Top: EVATok achieves superior video reconstruction and downstream generation quality with sig- nificant savings in token usage. Bottom: EVATok assigns tokens in an intuitive way. Clips with dynamic motion or complex layout will be encoded with more tokens, while clips that are repetitive or simple will be assigned fewer tokens.

Key Results

EVATok demonstrates substantial improvements in both efficiency and generation quality:

  • Token Savings: Achieves at least a 24.4% reduction in token usage for video reconstruction and a 27.7% reduction for downstream autoregressive generation on UCF-101 compared to fixed-length baselines.
  • State-of-the-Art Generation: On the UCF-101 class-to-video generation task, EVATok establishes a new SOTA with a generation FVD (gFVD) of 48, outperforming the previous best method (LARP) while using significantly fewer tokens.
  • Frame Prediction Efficiency: On Kinetics-600 frame prediction, EVATok achieves the top gFVD score while saving 15.8% of generated tokens compared to competitive baselines.

Limitations and Future Work

The primary limitation acknowledged by the authors is that EVATok was validated predominantly on short, 16-frame video clips. While the causal attention masks theoretically allow it to scale, future work is required to test its efficiency and stability on longer-duration videos where temporal redundancy is even more pronounced.

Summary updated

BibTeX
@inproceedings{xiong2026evatok,
  author = {Tianwei Xiong and Jun Hao Liew and Zilong Huang and Zhijie Lin and Jiashi Feng and Xihui Liu},
  title = {{EVATok: Adaptive Length Video Tokenization for Efficient Visual Autoregressive Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=tJN1GogTmR},
}
Figure