NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Long Video Tokenization via Coordinate-based Patch Reconstruction

Huiwon Jang, Sihyun Yu, Jinwoo Shin, Pieter Abbeel, Younggyo Seo

Abstract

Efficient tokenization of videos remains a challenge in training vision models that can process long videos. One promising direction is to develop a tokenizer that can encode long video clips, as it would enable the tokenizer to leverage the temporal coherence of videos better for tokenization. However, training existing tokenizers on long videos often incurs a huge training cost as they are trained to reconstruct all the frames at once. In this paper, we introduce CoordTok, a video tokenizer that learns a mapping from coordinate-based representations to the corresponding patches of input videos, inspired by recent advances in 3D generative models. In particular, CoordTok encodes a video into factorized triplane representations and reconstructs patches that correspond to randomly sampled (x,y,t) coordinates. This allows for training large tokenizer models directly on long videos without requiring excessive training resources. Our experiments show that CoordTok can drastically reduce the number of tokens for encoding long video clips. For instance, CoordTok can encode a 128-frame video with 128x128 resolution into 1280 tokens, while baselines need 6144 or 8192 tokens to achieve similar reconstruction quality. We further show that this efficient video tokenization enables memory-efficient training of a diffusion transformer that can generate 128 frames at once.

Introduction

In the field of Generative AI, tokenization is the critical process of compressing raw high-dimensional data, such as video pixels, into a compact latent format suitable for Transformer architectures. While image tokenization is highly optimized, video tokenization faces a significant "linear scaling" bottleneck. Conventional video tokenizers attempt to reconstruct every pixel of every frame simultaneously during training. This approach consumes massive amounts of VRAM, typically restricting training to short 16-frame clips.

Because these models are not exposed to long-term sequences during training, they fail to exploit temporal coherence—the inherent redundancy where much of a video's content remains consistent over time. Consequently, they produce far more tokens than necessary, making downstream tasks like video generation computationally prohibitive. CoordTok addresses this by decoupling the reconstruction cost from the video length.

Methodology: Coordinate-Based Tokenization

CoordTok (Coordinate-based patch reconstruction for video Tokenization) introduces a novel architecture that treats video reconstruction as a coordinate-based task rather than a dense volumetric one.

The CoordTok architecture consists of a Triplane Encoder that factorizes video into 2D planes and a Coordinate-Based Decoder that reconstructs specific patches by querying these planes at randomly sampled (x, y, t) coordinates.

The system consists of two primary components:

  1. Triplane Encoder: Instead of a standard 3D latent space, CoordTok encodes the video into three factorized 2D planes: $z^{xy}$ (capturing global layout), $z^{yt}$, and $z^{xt}$ (capturing motion across spatial axes over time). This triplane structure is significantly more parameter-efficient than standard 3D convolutions.
  2. Coordinate-Based Decoder: This is the core innovation. During training, the model randomly samples a small percentage (approximately 3%) of $(x, y, t)$ coordinates representing specific patches. It queries the triplanes at these coordinates using bilinear interpolation and uses a lightweight Transformer decoder to reconstruct only those specific patches.

By reconstructing a fixed number of patches regardless of the total video length, the training memory cost remains constant. This allows CoordTok to be trained directly on 128-frame videos on a single consumer GPU, such as an RTX 4090.

Experimental Results

The researchers evaluated CoordTok primarily on the UCF-101 benchmark at $128 \times 128$ resolution. The results demonstrate a significant leap in both compression efficiency and visual quality.

  • Massive Compression: CoordTok can represent a 128-frame video using just 1,280 tokens. In contrast, state-of-the-art baselines like OmniTokenizer or LARP require between 6,144 and 8,192 tokens to achieve comparable reconstruction quality—an 80% reduction in token count.
  • Superior Reconstruction Quality: On the rFVD (reconstruction Fréchet Video Distance) metric, CoordTok achieved a score of 102.9. The closest baseline with a similar token budget, OmniTokenizer-CV, trailed significantly with a score of 396.7.
  • Downstream Generation: When integrated into a Diffusion Transformer (SiT), CoordTok enabled the generation of 128-frame videos in just 9.8 seconds, compared to 116.9 seconds for the PVDM-L baseline.
Qualitative comparison of video reconstructions. CoordTok maintains higher visual fidelity and temporal consistency in complex scenes compared to PVDM and LARP baselines.

Discussion and Limitations

CoordTok proves that sparse sampling is sufficient to learn high-quality global representations of video data. By training on 128 frames, the model learns that it does not need a unique token for every temporal event, effectively mining temporal redundancy.

However, the authors note that CoordTok's performance is sensitive to video dynamics. There is a strong negative correlation (-0.87) between motion complexity and reconstruction quality. Future work may explore adaptive triplane representations or multi-keyframe strategies to better capture high-frequency motion while maintaining the efficiency of the coordinate-based approach.

Summary updated

BibTeX
@inproceedings{jang2025efficient,
  author = {Huiwon Jang and Sihyun Yu and Jinwoo Shin and Pieter Abbeel and Younggyo Seo},
  title = {{Efficient Long Video Tokenization via Coordinate-based Patch Reconstruction}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=KRW0aPt9lD},
}
Figure