Modern video generation frameworks based on Latent Diffusion Models suffer from inefficiencies in tokenization due to the Frame-Proportional Information Assumption. Existing tokenizers provide fixed temporal compression rates, causing the computational cost of the diffusion model to scale linearly with the frame rate. The paper proposes the Duration-Proportional Information Assumption: the upper bound on the information capacity of a video is proportional to the duration rather than the number of frames. Based on this insight, the paper introduces VFRTok, a Transformer-based video tokenizer, that enables variable frame rate encoding and decoding through asymmetric frame rate training between the encoder and decoder. Furthermore, the paper proposes Partial Rotary Position Embeddings (RoPE) to decouple position and content modeling, which groups correlated patches into unified tokens. The Partial RoPE effectively improves content-awareness, enhancing the video generation capability. Benefiting from the compact and continuous spatio-temporal representation, VFRTok achieves competitive reconstruction quality and state-of-the-art generation fidelity while using only 1/8 tokens compared to existing tokenizers. The code and weights are released at: https://github.com/KwaiVGI/VFRTok.
Figures & tables
Figure 1
Figure 3: VFRTok adopts a query-based ViT architecture. VFRTok models variable-length patch tokens with fixed-length latent tokens, to support the encoding and decoding of variable frame rate videos. VFRTok further introduces Partial RoPE, which applies RoPE to a subset of attention heads to decouple positional information from content modeling.
Figure 4: Asymmetric frame rate training strategy between encoder and decoder. We construct paired high and low frame rate videos to learn continuous spatio-temporal representations.
Figure 5: Visualization of the region affected by a single token. The heat map is an overlay of 100 samples, showing the 1st, 5th, 9th, and 13th frames for each method. The reference lines are drawn in the grid-based approaches to indicate the spatial position of the token within the grid.
Figure 6: The latent-to-patch attention map from different Transformer layers reveals the interference of position prior on content modeling. Each row represents the intensity of information flow across patch tokens, and rows correspond to different samples.
Method
#Tokens
#Dim.
K600
UCF101
PSNR ↑
SSIM ↑
LPIPS ↓
rFVD ↓
PSNR ↑
SSIM ↑
LPIPS ↓
rFVD ↓
Omni [ 33 ]
4096
8
29.35
0.9143
0.0573
5.14
28.95
0.9239
0.0505
10.21
Cosmos-L [ 1 ]
4096
16
33.34
0.9284
0.0546
3.28
33.42
0.9372
0.0439
5.55
Cosmos-M [ 1 ]
2048
16
31.66
0.9068
0.0710
6.77
31.70
0.9177
0.0575
13.67
Cosmos-S [ 1 ]
512
16
28.46
0.8445
0.1209
70.26
28.26
0.8577
0.1046
104.51
LTX [ 11 ]
128
128
32.04
0.9100
0.0582
22.11
32.02
0.9202
0.0508
35.32
Table 1: Comparison of reconstruction performance across multiple datasets for different tokenizers. Gray highlights indicate cases where VFRTok is superior or comparable.
Figure 7
Figure 8: Qualitative results for video generation with CFG on the UCF101 dataset.
Table 9
Figure 9: VFRTok decouples positional encoding and content modeling through Partial RoPE. The Position heads share similar patterns across samples (rows) indicating reduced sensitivity to content. The content heads attend to distinct patches in different samples (zoom in for details).
Methods
Symmetric Reconstruction (PSNR)
Asymmetric Reconstruction (PSNR)
30fps
60fps
120fps
30→60 fps
30→120 fps
60→120 fps
Symm
25.92
24.71
23.89
22.36
21.60
23.33
Ours
25.87 ↓ 0.05
24.53 ↓ 0.18
23.95 ↑ 0.03
24.05 ↑ 1.69
23.56 ↑ 1.96
23.90 ↑ 0.66
Table 5: Symmetric and asymmetric reconstruction performance on Adobe240fps dataset. Symm represents a variation of VFRTok which is trained on the symmetric reconstruction task.
Figure 10: Results of video frame interpolation from 12 FPS to 30, 60, and 120 FPS. The original 12 FPS frame positions are indicated by triangle markers.
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Configuration
Value
image resolution
256 × 256
enc/dec hidden dimension
768
enc/dec #position heads
6
enc/dec #content heads
6
enc/dec #layers
12
enc/dec patch size
4 × 8 × 8
Appendix
Table 6: Training configuration of VFRTok.
Configuration
Value
hidden dimension
1152
#heads
16
#layer
28
patch size
1
positional embedding
APE
optimizer
AdamW
Appendix
Table 7: Training and inference configuration of LightningDiT-XL.
12→24(2×)
30→60(2×)
12→48(4×)
30→120(4×)
15→120(8×)
PSNR
SSIM
PSNR
SSIM
PSNR
SSIM
PSNR
SSIM
PSNR
SSIM
FLAVR
26.05
0.7852
34.22
0.9529
22.17
0.6435
27.59
0.8372
21.70
0.6135
Ours
22.93
0.6724
24.06
0.7324
22.08
0.6433
23.68
0.7215
19.58
0.5279
Appendix
Table 8: Quantitative results for video interpolation.
Latent video generators are trained on clips of a few seconds, and much of this limit lies in their tokenizers, which spend as many tokens on a static frame as on a moving one and need future frames that do not exist during generation. We introduce DeltaRAE, a causal representation autoencoder for video. Its derivative tokenization encodes periodic anchor frames in full and all remaining frames with a few tokens each, and its causal encoder and decoder read a frozen pretrained image encoder. On UCF-101 and Kinetics-600, a standard diffusion transformer trained on DeltaRAE latents is competitive with state-of-the-art video tokenizers. DeltaRAE halves the tokenizer GFLOPs on 16-frame clips relative to keeping the same number of patch tokens for every frame, and it represents a minute of video with 18.8x fewer tokens. The tokenizer trains end to end on one-minute videos, and in video prediction a generator on its latents produces a full minute of video. The same generator collapses within 15 seconds in most videos when the tokenizer has the same token budget but no pretrained encoder.
Visual tokenizers map high-dimensional raw pixels into a compressed representation for downstream modeling. Beyond compression, tokenizers dictate what information is preserved and how it is organized. A de facto standard approach to video tokenization is to represent a video as a spatiotemporal 3D grid of tokens, each capturing the corresponding local information in the original signal. This requires the downstream model that consumes the tokens, e.g., a text-to-video model, to learn to predict all low-level details "pixel-by-pixel" irrespective of the video's inherent complexity, leading to high learning complexity. We present VideoFlexTok, which represents videos with a variable-length sequence of tokens structured in a coarse-to-fine manner -- where the first tokens (emergently) capture abstract information, such as semantics and motion, and later tokens add fine-grained details. The generative flow decoder enables realistic video reconstructions from any token count. This representation structure allows adapting the token count according to downstream needs and encoding videos longer than the baselines with the same budget. We evaluate VideoFlexTok on class- and text-to-video generative tasks and show that it leads to more efficient training compared to 3D grid tokens, e.g., achieving comparable generation quality (gFVD and ViCLIP Score) with a 5x smaller model (1.1B vs 5.2B). Finally, we demonstrate how VideoFlexTok can enable long video generation without prohibitive computational cost by training a text-to-video model on 10-second 81-frame videos with only 672 tokens, 8x fewer than a comparable 3D grid tokenizer.
Andrei Atanov, Jesse Allardice, Roman Bachmann +6
Apple · Swiss Federal Institute of Technology Lausanne (EPFL)
We introduce TrackTok, an efficient video tokenization framework that produces object-aligned tokens, i.e., tokens that consistently encode the same semantic object across time, even as it moves, deforms, or undergoes partial occlusion. Conventional patch-based or existing holistic tokenizers produce token identities often tied to fixed image locations. In contrast, our approach learns temporally persistent object-aligned representations that bind visual features across frames into stable semantic units. This enables substantially more compact, continuous latent video representations, reducing the number of tokens required for downstream generative modeling with state-of-the-art flow models, while preserving the semantic structure needed for high-quality synthesis. Our tokenizer offers a favorable quality-efficiency trade-off. TrackTok achieves comparable class-conditional generative FVD on UCF-101 dataset at 8 times fewer latent tokens and better latency, and outperforms existing 1D tokenization baselines on frame prediction task on Kinetics-600 across low token budgets. These results suggest that object-aligned and temporally persistent tokenization is a promising direction for scalable video generation, where reducing latent token counts is critical for efficient modeling. Our code for this work is available at github.com/phamleyennhi/tracktok.
Nhi Pham, Christopher Wewer, Bernt Schiele +2
Max Planck Institute for Informatics, Saarland Informatics Campus, Germany · Saarland University, Saarland Informatics Campus, Germany