ByteDance's EVATok Cuts Video AI Token Costs by 26% Without Losing Quality
A four stage framework from HKU and ByteDance lets video tokenizers assign token budgets per clip, cutting sequence length by 24 percent while beating fixed length baselines.
ProTakeaways
- EVATok predicts a per-video token budget so autoregressive video models spend tokens where information density is highest.
- Four stage pipeline: proxy tokenizer, dataset curation, lightweight ViT-S router, then final adaptive tokenizer trained on router outputs.
- Novel proxy reward metric turns optimal assignment selection into a tractable classification task with quality-cost weights.
- Sets state of the art on UCF-101 class-to-video with gFVD 48 and 26.2% fewer tokens than LARP.
- Router hits only 11% top-1 accuracy but 96% proxy reward percentile, showing optimal budget prediction is forgiving.
- Tested only on 16 by 128 by 128 clips; longer videos and text-to-video remain future work per the project page.
Autoregressive video models pay for every token they generate. Each frame block gets compressed into a discrete sequence, and the length of that sequence drives both reconstruction quality and the compute bill for the downstream transformer. The trouble is that most video tokenizers hand out the same number of tokens to every clip and every temporal block, whether the frames show a static wall or a somersault. A new paper from the University of Hong Kong and ByteDance Seed, EVATok, tries to fix that mismatch by letting a small router decide, per video, how many tokens each temporal block actually deserves.
The fixed budget problem
Most existing visual tokenizers produce fixed-length sequences regardless of input content complexity, and that uniform allocation is especially wasteful for video. Information density varies both across clips and within a clip over time. A shot of tree branches barely moving in the wind carries far less new information per block than a person doing a backflip, yet a standard tokenizer spends the same budget on both.
Prior adaptive tokenizers like ElasticTok and AdapTok tried to address this with heuristic tricks. ElasticTok uses threshold-based search while AdapTok uses Integer Linear Programming within video minibatches under fixed average budget constraints. Both approaches leave the core question unanswered: what is the actually optimal token budget for this particular video, given a preference between quality and cost?
Defining what optimal means
The authors introduce a metric they call the proxy reward. For a candidate assignment a (a tuple like (k1, k2, k3, k4) specifying tokens per temporal block), the reward balances reconstruction quality against total token length, weighted by user-defined preferences w_q and w_l. The optimal assignment for a clip is simply the one that maximizes this reward.
To estimate the reward without a fully trained final tokenizer, EVATok trains a proxy tokenizer that can reconstruct videos under any assignment drawn from the candidate set. The candidate length of each temporal block is in {512, 256, 128, 64, 32}, so the number of all candidate assignments is 625 for a 16 frame clip split into four blocks. The proxy tokenizer lets the team brute force search across those 625 options and pick the winner for each training video.
Four stages, one router
The full pipeline unfolds in four stages:
- Train a proxy tokenizer to reconstruct videos under randomly sampled assignments, using a Q Former style 1D tokenizer.
- Curate a dataset of (video, optimal assignment) pairs by searching the max proxy reward across candidates on 100k WebVid clips.
- Train a lightweight router, a 19.9M parameter ViT-S, to classify each video into one of the candidate assignments in a single forward pass.
- Train the final adaptive tokenizer from scratch, using the router's predictions to decide the token layout for each clip during both training and inference.

Training the final tokenizer from scratch rather than reusing the proxy matters. The proxy tokenizer is trained to encode videos across all possible assignments, yet during inference only a few assignments might be used per video, and closing that training-inference gap is where much of the final quality gain comes from.
Architecture choices
The tokenizer itself uses a Q Former encoder-decoder with vector quantization. Input videos are spatio-temporally patchified into 3D embeddings, then a 1D query sequence of the length specified by the router is initialized from pooled features of each temporal block. Causal attention masks keep block t from peeking at block t+1.
The team deliberately avoids the popular tail-token-dropping trick, where a tokenizer produces a long sequence and later drops the tail. Their argument: dropped tokens still cost compute during encoding, and tail queries never know whether they will be kept, which muddies what they should learn to represent. EVATok instead fixes the token count up front from the router's decision.
Training uses a video representation alignment loss against V-JEPA2-L features, plus a VideoMAE-based semantic discriminator. Together these push the tokenizer toward reconstructions that look right to a semantic encoder even when raw pixel metrics like PSNR dip slightly.
The numbers
On the WebVid validation set, the router-guided final tokenizer hits an rFVD of 9.2 while using 721 tokens on average, a 29.6% saving against the uniform 1024 token baseline. On UCF-101 the picture is cleaner still: the router variant beats the uniform baseline on both reconstruction and downstream generation with roughly a quarter fewer tokens.
The system level comparison against prior work is where the argument lands. EVATok establishes a new state-of-the-art on UCF-101 class-to-video generation with a gFVD of 48 and 26.2% fewer tokens than the previous SOTA method, LARP. On K600 frame prediction it also comes out ahead, saving 15.8% of generated tokens against AdapTok and LARP at comparable model sizes.

What the router actually learns
Peeking at the router's decisions is where the paper gets interesting. The router typically assigns more tokens to the initial temporal block, allowing the reconstruction of subsequent frames to benefit from more precise information encoded for the initial block. Later blocks that mostly repeat previous frames get the minimum budget, while blocks with heavy motion get bumped up.
One curious result: the router's raw top-1 accuracy is not great. On WebVid validation it lands around 11.7 percent, and on unseen UCF-101 it drops to 5.8 percent. But the proxy reward percentile of its predictions is above 96 percent on both datasets. In other words, the router rarely picks the single best assignment, but the ones it picks are almost always near the top. Optimal assignment prediction turns out to be forgiving.
What it is not good for yet
The experiments are limited to 16 by 128 by 128 video clips, which is well below what industry text-to-video systems produce. The exhaustive search over m^T assignments also becomes intractable for longer clips. The authors sketch an autoregressive workaround that would reduce complexity to roughly O(T^2), but that is future work.
Interestingly, when the same recipe is ported to image tokenization on ImageNet, the reconstruction gains largely vanish. Images just do not have the temporal redundancy that makes adaptive budgeting a win. Downstream AR generation still benefits from adaptive length sequences, but the reconstruction FID gets worse rather than better.
Why this matters
The real contribution here is less any single benchmark number and more the formulation. By defining a scalar proxy reward and framing optimal budget selection as a classification problem a small router can solve, EVATok turns a heuristic corner of tokenizer design into something learnable and per sample. That opens the door to VAEs and diffusion backbones that also consume adaptive length sequences, and to longer videos where fixed budgets become prohibitively expensive. The project page hosts examples and additional qualitative results, though code and weights are not yet publicly released at the time of the paper posting.