TL;DR
SemanTok is a flexible video tokenizer that prioritizes semantic information by front-loading it into the earliest tokens of a sequence. By supervising token prefixes with frozen DINOv2 features, the authors enable efficient video generation where a 201M parameter model can outperform models over three times its size in semantic consistency and visual fidelity.
What Problem Does This Paper Address?
Modern video generation typically relies on a two-stage pipeline: a tokenizer that compresses video into discrete latent tokens, and an autoregressive (AR) model that predicts these tokens. Standard tokenizers use a fixed spatiotemporal grid, which is computationally inefficient because simple and complex scenes receive the same "budget."
Flexible-length tokenizers (like the recent VideoFlexTok) allow for variable token budgets per frame, enabling a "coarse-to-fine" approach. However, these models often suffer from semantic misalignment at low token budgets. The decoder often relies on noised input latents to recover the "gist" of a scene rather than the tokens themselves. This makes it difficult for small AR models to "settle" on what a video should contain before spending compute on fine details.
Methods
SemanTok builds upon the VideoFlexTok architecture but introduces semantic supervision to ensure that early tokens carry the most critical information.
- Semantic Input: The encoder doesn't just see VAE patches; it also receives concatenated frozen DINOv2 patch features. A zero-initialized projection of the DINO class token is also added to the first "register" token.
- Semantic Reconstruction Heads: The core innovation is the addition of two lightweight heads—a Dense DINO Head and a Class DINO Head. These heads are trained to reconstruct the teacher's DINO features using only the retained token prefix.
- Nested Dropout: During training, the model randomly samples a token budget $k$. Because the semantic heads must work for any $k$, the model is forced to pack the most important semantic information into the very first tokens.
Datasets
The authors evaluated SemanTok across two primary benchmarks:
- Kinetics-600: Used for class-conditioned video generation (e.g., generating a video of someone doing "yoga").
- uCO3D: Used for text-to-video generation of objects. This dataset was specifically split into In-Distribution (ID) and Out-of-Distribution (OOD) categories to test how well the tokenizer generalizes to object classes never seen during training.
Key Insights and Ideas
- Semantics-First Ordering: By supervising prefixes with DINO features (which are known for robust semantic representations), SemanTok creates a "semantic code." The first few tokens fix what is in the clip, while later tokens refine how it looks.
- Predictability is Efficiency: Semantic tokens are actually easier for AR models to predict. The authors found that at a budget of $k=16$, SemanTok requires roughly 32% fewer bits per token to predict than the baseline.
- The "Realization Gap": SemanTok narrows the gap between reconstruction (decoding ground-truth tokens) and generation (decoding AR-predicted tokens). Because the tokens are more "predictable" and semantically grounded, the AR model makes fewer catastrophic errors that lead to visual artifacts.
Key Results
- Model Scaling: A 201M parameter SemanTok AR model matches or beats a 679M VideoFlexTok model (3.4× larger) in terms of video fidelity (gFVD) and semantic alignment.
- Semantic Alignment: On Kinetics-600, SemanTok improved class accuracy by 25–61% over the baseline, with the most significant gains seen in smaller AR models.
- OOD Generalization: SemanTok maintains its lead even on unseen object classes. In OOD tests on uCO3D, it raised generated class accuracy by 29% over VideoFlexTok.
- Robustness to Noise: SemanTok achieves higher semantic alignment even when generating from pure noise, suggesting the tokens themselves carry a much stronger signal than previous methods.
Limitations and Future Work
- The $k=1$ Floor: While SemanTok excels at low budgets, it still struggles at the extreme limit of one token per frame. At this level, the budget is too small to satisfy flow matching, decoder alignment, and semantic supervision simultaneously.
- Reconstruction Trade-off: Because the model prioritizes semantic alignment, it may slightly struggle to reconstruct exact color or fine appearance details at very low token budgets compared to models optimized purely for pixel-perfect reconstruction.
- Future Directions: The authors suggest exploring "video-native" or language-aligned teachers to further organize early prefixes and using these semantic tokens as compact states for action-conditioned world models.
Summary updated