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.