Learning Adaptive and Temporally Causal Video Tokenization in a 1D Latent Space
Yan Li, Changyao Tian, Renqiu Xia, Ning Liao, Weiwei Guo, Junchi Yan, Hongsheng Li, Jifeng Dai, Hao Li, Xue Yang
TL;DR
AdapTok tackles efficient video modeling by introducing a temporally causal, 1D latent space tokenizer with adaptive token budgeting. It combines a 3D patch-based input, a block-causal Transformer encoder/decoder with tail-drop, and a block-causal scorer coupled with IPAL to allocate tokens under a global budget. The approach yields superior reconstruction (lower $FVD$) and stronger video generation on UCF-101 and Kinetics-600, while offering a Pareto-optimal trade-off between token usage and quality. These results enable scalable, token-efficient generative video modeling without requiring additional image data, with potential for broader deployment in streaming and resource-constrained settings.
Abstract
We propose AdapTok, an adaptive temporal causal video tokenizer that can flexibly allocate tokens for different frames based on video content. AdapTok is equipped with a block-wise masking strategy that randomly drops tail tokens of each block during training, and a block causal scorer to predict the reconstruction quality of video frames using different numbers of tokens. During inference, an adaptive token allocation strategy based on integer linear programming is further proposed to adjust token usage given predicted scores. Such design allows for sample-wise, content-aware, and temporally dynamic token allocation under a controllable overall budget. Extensive experiments for video reconstruction and generation on UCF-101 and Kinetics-600 demonstrate the effectiveness of our approach. Without additional image data, AdapTok consistently improves reconstruction quality and generation performance under different token budgets, allowing for more scalable and token-efficient generative video modeling.
