arXiv is now an independent nonprofit! Learn more
License: arXiv.org perpetual non-exclusive license
arXiv:2601.16210v2 [cs.CV] 23 Feb 2026
\setabstractlogo

[9mm]assets/logos/plan-logo-full.pdf

[Uncaptioned image] PyraTok: Language-Aligned Pyramidal Tokenizer for Video Understanding and Generation

Onkar Susladkar\blacklozenge  Tushar Prakash\clubsuit  Adheesh Juvekar\blacklozenge  Kiet A. Nguyen\blacklozenge Dong-Hwan Jang\blacklozenge  Inderjit S Dhillon\varheartsuit\varheartsuit\spadesuit  Ismini Lourentzou\blacklozenge Affiliation: \blacklozengeUniversity of Illinois Urbana-Champaign  \clubsuitIndependent Researcher  \varheartsuit\varheartsuitUTAustin  \spadesuitGoogle
Abstract

Discrete video VAEs underpin modern text-to-video generation and video understanding systems, yet existing tokenizers typically learn visual codebooks at a single scale with limited vocabularies and shallow language supervision, leading to poor cross-modal alignment and zero-shot transfer. We introduce PyraTok, a language-aligned pyramidal tokenizer that learns semantically structured discrete latents across multiple spatiotemporal resolutions. PyraTok builds on a pretrained video VAE and a novel Language aligned Pyramidal Quantization (LaPQ) module that discretizes encoder features at several depths using a shared large binary codebook, yielding compact yet expressive video token sequences. To tightly couple visual tokens with language, PyraTok jointly optimizes multi-scale text-guided quantization and a global autoregressive objective over the token hierarchy. Across ten benchmarks, PyraTok delivers state-of-the-art (SOTA) video reconstruction, consistently improves text-to-video quality, and sets new SOTA zero-shot performance on video segmentation, temporal action localization, and video understanding, scaling robustly to up to 4K/8K resolutions.

https://plan-lab.github.io/pyratok

1 Introduction

In recent years, multimodal video generation has gained significant attention [23, 27, 39]. Text-to-video models such as VideoGPT [65], CogVideoX [67], and OmniGen2 [60] are particularly prominent. Most of these models are built on latent diffusion frameworks [4, 8], which generate videos in a compact latent space rather than directly modeling high-dimensional pixel distributions, improving efficiency and reducing computational cost. Variational Autoencoders (VAEs) are central to this setup. In particular, discrete VAEs [52, 10] have proven especially effective, as their learned codebooks quantize the latent space into discrete tokens, enabling scalable and high-quality video synthesis.

Although discrete VAEs offer strong compression and generation capabilities, their codebooks are typically learned solely from visual data [52, 70]. This limits performance on downstream tasks such as text-to-video generation or video understanding, due to the semantic gap between textual input and visual representation. Bridging this gap during downstream training increases convergence time and resource demands. Recent works have integrated text supervision directly within VAE architectures [37, 71, 13, 28, 46].

However, despite these advances, current methods have few major limitations: (1) They largely capture semantics at a single scale, i.e., only after obtaining latent representations from the encoder, which limits their ability to leverage the hierarchical nature of VAEs that model features from low-level spatial details to high-level semantics [51, 45], leaving potential for more fine-grained text-video alignment. (2) They typically employ small codebooks (4K–8K tokens), which are sufficient for basic visual patterns but limit the representational capacity of both visual and textual modalities [70]. These smaller codebooks hinder effective cross-modal alignment and constrain the expressiveness of text-conditioned video generation models. (3) Shallow, single-site text alignment causes semantic drift. Most existing methods inject language either globally through sequence-level contrastive objectives [13, 28] or locally via token-level codebook distillation [71], during codebook learning only. As a result, the learned representations exhibit semantic drift and temporal inconsistency, where local visual tokens fail to remain aligned with global textual intent.

To address the aforementioned limitations, we introduce PyraTok, a video tokenizer that leverages a novel Language aligned Pyramidal Quantization (LaPQ) to hierarchically encode coarse-to-fine video features using an expressive codebook of large vocabulary. To bridge visual and text semantics, we introduce a dual semantic alignment strategy that jointly aligns text and video representations via multi-scale quantization and autoregressive refinement. Empirically, PyraTok achieves SoTA performance across video generation and various video understanding tasks. PyraTok surpasses the best prior VAE baseline by +5.75 mAP on temporal action localization, +2.82 on videoQA, and up to +9.16 on video classification. Notably, PyraTok is the first VAE to reach SoTA zero-shot video semantic segmentation, outperforming zero-shot and unsupervised methods by up to +10 and +7.0 mAP, respectively. Fig. 1 illustrates PyraTok’s interpretable text-guided cross-modal attention.

Contributions: In summary, our contributions are:

  • We introduce PyraTok, a multi-scale semantically aligned Video VAE that couples spatiotemporal quantization with dual semantic alignment, enabling coarse-to-fine understanding and efficient video generation.

  • PyraTok leverages LaPQ, a novel language-aligned pyramidal quantization framework, designed to hierarchically encode multi-scale video representations through lateral encoder connections at each stage. Our design enables efficient use of a large \sim48K token vocabulary, with up to 95% codebook utilization.

  • We propose a dual semantic alignment strategy that injects text-conditioned priors at every LaPQ level (local alignment) and refines them with an autoregressive objective over the sequence of quantized tokens (global alignment). This jointly enforces token-level grounding and sequence-level (temporal and relational) coherence, preventing semantic drift across scales and time.

  • We further introduce a hierarchical semantic codebook loss that ties a shared binary codebook to text embeddings and preserves semantic consistency across pyramid levels through stage-wise KL regularization.

PyraTok achieves SoTA reconstruction fidelity and downstream performance across 10 diverse video benchmarks, scaling to 4K and 8K resolutions. For example, PyraTok is, to our knowledge, the first discrete quantized VAE to demonstrate zero-shot text-guided video segmentation, with up to 2×\times improvement in mAP on OVIS over strong baselines.

2 Related Work

Visual Quantized VAEs for Video. VAEs have become a cornerstone in video generation [23, 27, 41] and downstream tasks such as text-to-video [61, 67, 72] and video understanding [56, 29, 3], enabling efficient sampling and scalable generation by learning compact latent spaces. A key advance is discrete latent VAEs, introduced in VQ-VAE [52]. Unlike continuous VAEs, which map inputs to Gaussian spaces, VQ-VAEs tokenize features into a learnable codebook. This yields structured, non-redundant representations suitable for sequence modeling and scalable training. VQ-GAN [10] adds adversarial training to reduce blur, while ViT-VQGAN [68] replaces CNNs with Vision Transformers [9] for long-range modeling.

These models have been adapted to video through spatiotemporal extensions. VideoGPT [65] introduces a 3D VQ-VAE by replacing 2D CNNs with 3D convolutions to maintain temporal coherence. MAGVITv2 [70, 33] further improves fidelity via Lookup-Free Quantization (LFQ), enabling substantially larger codebooks with efficient training. More recent tokenizers extend this direction. For instance, OmniTokenizer [57] unifies image–video tokenization via a spatial–temporal decoupled design, LARP [55] introduces an autoregressive-friendly latent prior, and 3D-MBQ-VAE [44] improves efficiency and temporal consistency with mobile inverted blocks and full-frame masking. However, these approaches remain limited in capturing fine-grained spatial details because quantization is performed at a fixed spatial scale.

Text Quantization in VAEs. While vanilla VQ-VAEs effectively compress visual information, they inherently lack cross-modal alignment, limiting their applicability to tasks requiring semantic consistency, such as text-to-video generation and VideoQA. Early methods like Frozen [50] attempted alignment using frozen language models but required large paired datasets. To address this, several image generation methods such as TokLIP [28], LG-VQ [13], and TokenFlow [37] have proposed unified quantization strategies that embed visual data into language-informed spaces in VAEs.

Refer to caption
Figure 1: PyraTok attention maps illustrating fine-grained cross-modal alignment. Highlighted regions indicate language-guided semantic localization (e.g., Nike shoes, bikes).

Despite significant progress in image generation, only a few methods extend such strategies to video VAEs. For example, VideoVAE+ [63] integrates captions into the quantization stage using frozen BERT embeddings to align spatiotemporal latents with language semantics. SweetTok [46] introduces a motion-aware language codebook with decoupled spatial-temporal tokenization for compact, semantically rich video representations. However, these models typically align semantics at a single resolution, overlooking the hierarchical, coarse-to-fine structure of visual understanding. In contrast, we propose PyraTok, a language-enhanced video VAE for video generation and understanding, that introduces multi-scale semantic alignment within discrete latent spaces, enabling joint reasoning over both global context and fine-grained details.

Refer to caption
Figure 2: Overview of the proposed PyraTok architecture. Masked video frames are encoded and quantized at multiple scales via Language-aligned Pyramidal Quantization (LaPQ) blocks guided by text embeddings. The resulting multi-scale discrete tokens are aligned through a vision-language model for semantic consistency, enabling high-fidelity and text-aware video reconstruction.

3 Method

3.1 Problem Definition

Given an input video 𝐗C×T×H×W\mathbf{X}\in\mathbb{R}^{C\times T\times H\times W} with TT frames, H×WH\times W spatial resolution, and CC channels. The goal is to learn a compact latent representation that preserves both spatiotemporal fidelity and semantic correspondence with conditioning text embedding 𝐞𝐭\mathbf{e_{t}}. The input video is masked (𝐗~\tilde{\mathbf{X}}) and encoded by n\mathcal{E}n to produce latent features 𝐙=n(𝐗~)\mathbf{Z}\!=\!\mathcal{E}n(\tilde{\mathbf{X}}), where 𝐙T×H×W×d\mathbf{Z}\in\mathbb{R}^{T^{\prime}\times H^{\prime}\times W^{\prime}\times d} and T=T/f+1T^{\prime}\!=\!T/f+1, H=H/2fH^{\prime}\!=\!H/2f, W=W/2fW^{\prime}\!=\!W/2f denote compressed temporal and spatial dimensions with compression factor ff with dd dimensions. Encoded features are discretized through a text-conditioned quantization process 𝐪=𝒬(𝐙,𝐞𝐭)\mathbf{q}\!=\!\mathcal{Q}(\mathbf{Z},\mathbf{e_{t}}), and the decoder reconstructs the video as 𝐗^=𝒟e(𝐪)\hat{\mathbf{X}}\!=\!\mathcal{D}e(\mathbf{q}). This yields a text-guided video autoencoding objective that learns compact representations for efficient downstream generative modeling.

3.2 PyraTok Architecture

3.2.1 Language-aligned Pyramidal Quantization

Videos exhibit rich structure across multiple spatial and temporal scales, but single-scale quantization methods [52, 10] tend to overfit global patterns or miss fine-grained details. While larger codebooks can improve generation quality [69], they introduce prohibitive memory and compute costs. To address this, we introduce Language-aligned Pyramidal Quantization (LaPQ), a novel framework that discretizes features at multiple encoder depths via lateral connections, capturing global semantics from deeper layers and local details from shallower ones without high-dimensional codebooks.

In addition, LaPQ aligns both the quantization assignments and codewords with text embeddings, ensuring that each discrete token is informative of the associated language description. This language alignment is essential for text-conditioned video generation and zero-shot video understanding, as it produces a discrete video token space that is natively compatible with multimodal models.

Formally, the encoder n\mathcal{E}n processes a masked input video through LL hierarchical stages to extract multi-scale spatiotemporal representations 𝐅(l)=n(𝐅(l1))\mathbf{F}^{(l)}\!=\!\mathcal{E}n(\mathbf{F}^{(l-1)}), with 𝐅(0)=𝐗~\mathbf{F}^{(0)}\!=\!\tilde{\mathbf{X}}, where 𝐅(l)Cl×Tl×Hl×Wl\mathbf{F}^{(l)}\in\mathbb{R}^{C_{l}\times T_{l}\times H_{l}\times W_{l}} denotes the feature map at the lthl^{\text{th}} stage of the encoder, with progressive downsampling along spatial and temporal dimensions. To capture both fine and coarse spatiotemporal details, we quantize 𝐙\mathbf{Z} in a pyramidal manner across encoder depths. Specifically, at each stage ll, we introduce a Quantization Block 𝒬l\mathcal{Q}_{l} that receives the current encoder feature 𝐅(l)\mathbf{F}^{(l)}, the previous quantized representation 𝐪(l1)\mathbf{q}^{(l-1)}, and the query text embedding 𝐞𝐭\mathbf{e_{t}} for semantic alignment, producing a new semantically aligned quantized representation 𝐪(l)\mathbf{q}^{(l)} at stage ll:

𝐪(l)=𝒬l(𝐪(l1),𝐅(l),𝐞𝐭)\mathbf{q}^{(l)}=\mathcal{Q}_{l}(\mathbf{q}^{(l-1)},\mathbf{F}^{(l)},\mathbf{e_{t}}) (1)

This hierarchical process enables progressive semantic alignment across LL stages. Fig. 2 illustrates the whole architecture of PyraTok. The internal architecture of 𝒬\mathcal{Q} is detailed in the following subsection.

3.2.2 Dual Semantic Alignment

We propose a novel alignment strategy to ensure that quantized video tokens remain both locally faithful to visual structure and globally consistent with textual semantics.

❶ Multi-scale Semantic Alignment in Quantization Blocks (local): In each Quantization Block 𝒬l\mathcal{Q}_{l} of LaPQ, semantic discretization is performed at a specific encoder depth by integrating visual and text information, capturing semantics across multiple scales. Given encoder features 𝐅(l)\mathbf{F}^{(l)}, we incorporate lateral connections to retain spatial and temporal locality. Semantic context is introduced by attending to the text embedding 𝐞𝐭\mathbf{e_{t}}, extracted from a pretrained VLM, via multi-head self-attention, enabling language-guided modulation of visual features. The attended visual–text features are subsequently fused through projection layers, yielding modality-aligned representations suitable for quantization.

To discretize these representations efficiently, we adopt Lookup-Free Quantization (LFQ) [70], which replaces the conventional learned codebook 𝐂K×d\mathbf{C}\!\in\!\mathbb{R}^{K\times d} with compact binary codewords 𝐂v={1,1}log2K\mathbf{C}_{v}\!=\!\{-1,1\}^{\log_{2}K}. This eliminates high-dimensional embedding lookups and significantly reduces memory overhead, enabling efficient scaling to a large vocabulary. The binary codebook 𝐂v\mathbf{C}_{v} is shared across all 𝒬l\mathcal{Q}_{l} quantization blocks, ensuring consistency across pyramid levels while minimizing parameter growth. The codebook is used only during training to compute alignment losses and guide structure. During inference, quantization operates without lookups, preserving the efficiency of LFQ. To jointly optimize quantization and semantic alignment, we introduce a hierarchical semantic codebook loss:

codebook=l=1L[𝐪(l)sg(𝐂v)2 vision-commitment+𝔼[𝐪(l)log𝐪(l)]entropy regularization+DKL(𝐪(l)𝐪(l1))hierarchical consistency+𝔼𝐪i𝐪(l)[DKL(𝐪isg(𝐞𝐭))]text-conditioned alignment+𝔼𝐜𝐂vDKL(𝐜sg(𝐞𝐭))text–codebook alignment].\begin{aligned} \mathcal{L}_{\text{codebook}}\!=\!\sum_{l=1}^{L}\Bigg[\underbrace{\left\|\mathbf{q}^{(l)}-\text{sg}(\mathbf{C}_{v})\right\|^{2}}_{\text{ vision-commitment}}+\underbrace{\mathbb{E}\!\left[-\mathbf{q}^{(l)}\log\mathbf{q}^{(l)}\right]}_{\text{entropy regularization}}\\ +\underbrace{\mathrm{D_{KL}}\!\left(\mathbf{q}^{(l)}\,\|\,\mathbf{q}^{(l-1)}\right)}_{\text{hierarchical consistency}}+\underbrace{\mathbb{E}_{\mathbf{q}_{i}\in\mathbf{q}^{(l)}}\left[\mathrm{D_{KL}}\!\left(\mathbf{q}_{i}\,\|\,\text{sg}(\mathbf{e_{t}})\right)\right]}_{\text{text-conditioned alignment}}\\ +\underbrace{\mathbb{E}_{\mathbf{c}\in\mathbf{C}_{v}}\mathrm{D_{KL}}\!\left(\mathbf{c}\,\|\,\text{sg}(\mathbf{e_{t}})\right)}_{\text{text\textendash codebook alignment}}\Bigg].\end{aligned}

(2)

Here, sg()\text{sg}(\cdot) denotes the stop-gradient operator. The first term encourages vision-commitment by pulling 𝐪(l)\mathbf{q}^{(l)} toward the binary code vectors 𝐂v\mathbf{C}_{v}, while entropy regularization sharpens the assignments toward near one-hot distributions. The hierarchical KL term enforces hierarchical consistency across quantization levels. The remaining KL terms introduce semantic structure through text-conditioned alignment of assignments and text–codebook alignment of the LFQ codebook. Together, these terms enable stable multi-scale quantization with strong cross-modal coherence. Fig. 3 illustrates this refinement, with deeper stages producing clearer semantic structure. For example, in the first row, later stages reveal more distinct separation of road lanes, vehicles, and background elements.

Refer to caption
Figure 3: PCA projections of quantized tokens from each LaPQ’s stage. Columns (q(1)q^{(1)}q(4)q^{(4)}) show hierarchical outputs capturing progressively refined and semantically aligned regions.

❷ Autoregressive Semantic Alignment (global): To enforce global semantic consistency between language and discrete latents, we introduce an autoregressive alignment objective over the quantized token sequence. Given a text query tt, we obtain its embedding 𝐞𝐭=VLM(t)\mathbf{e_{t}}=\text{VLM}(t) and extract discrete tokens from each quantization block using the shared codebook 𝐂v\mathbf{C}_{v}. Tokens from all levels are concatenated with separator tokens Q-SEP\langle\text{Q-SEP}\rangle to retain hierarchical structure, and a start-of-image token SOI\langle\text{SOI}\rangle is prepended after the text. The resulting sequence is fed into the VLM decoder, which autoregressively predicts each visual token conditioned on the text and preceding tokens: AR=l=1Llogp(𝐪(l)𝐪(<l),𝐞𝐭)\mathcal{L}_{\text{AR}}\!=\!-\sum_{l=1}^{L}\log p(\mathbf{q}^{(l)}\mid\mathbf{q}^{(<l)},\mathbf{e_{t}}). By making visual tokens predictable from the text prefix, this objective encourages the shared codebook to encode globally consistent, language-aligned semantics. The separator tokens retain hierarchical structure while enabling unified sequential modeling, improving both reconstruction quality and latent-space controllability.

Table 1: Reconstruction quality comparison. Latency measured on 25 frames (256×\times256) using a single V100 GPU. Best highlighted with bold and second-best underlined.
Methods Params Latency WebVid-10M COCO-Val
(ms) PSNR (\uparrow) SSIM (\uparrow) LPIPS (\downarrow) PSNR (\uparrow) SSIM (\uparrow) LPIPS (\downarrow)
CogVideoX [67] 288M 712 29.92 0.811 0.141 30.11 0.833 0.111
3D-MBQ-VAE [44] 317M 650 33.00 0.848 0.092 32.11 0.858 0.108
WAN 2.2 [53] 222M 449 32.94 0.841 0.101 33.43 0.861 0.103
OmniTokenizer [57] 82M 444 32.03 0.812 0.152 32.09 0.845 0.141
LARP [55] 183M 689 33.03 0.851 0.091 34.26 0.853 0.089
TokenFlow [37] 176M 600 28.21 0.799 0.189 30.11 0.811 0.177
VideoVae+ [63] 192M 555 29.17 0.812 0.201 31.45 0.832 0.162
TexTok [71] 173M 661 27.42 0.831 0.222 29.29 0.841 0.181
LG-VQ [13] 168M 598 30.23 0.807 0.173 31.32 0.836 0.152
TokLIP [28] 207M 604 31.28 0.837 0.152 33.42 0.849 0.105
SweetTok [46] 128M 432 32.32 0.842 0.137 32.78 0.847 0.123
PyraTok (Ours) 192M 492 35.72 0.879 0.066 36.05 0.885 0.071

3.2.3 Pretrained VAE Encoder and LoRA

PyraTok leverages a pretrained video VAE, keeping both encoder n\mathcal{E}n and decoder 𝒟e\mathcal{D}e frozen to preserve high-fidelity reconstruction and focus learning on multi-scale semantic alignment. To enable efficient adaptation to high-resolution inputs, we insert LoRA modules [15] into encoder blocks, enabling lightweight feature modulation without modifying pretrained weights. Text-conditioned supervision can cause latent drift from the pretrained visual manifold. To stabilize adaptation, we add a drift-regularization term that anchors adapted features to a frozen large-scale reference encoder En{En}: drift=DKL(n(𝐗~)||En(𝐗~))\mathcal{L}_{\text{drift}}\!=\!\mathrm{D_{KL}}\left(\mathcal{E}n(\tilde{\mathbf{X}})\middle|\middle|{En}(\tilde{\mathbf{X}})\right), This stabilizes training by preserving alignment with the original visual prior while allowing semantically guided updates.

3.2.4 Total Objective and Regularization.

PyraTok is trained with a composite loss balancing reconstruction quality, semantic alignment, and quantization consistency λreconrecon+λcodebookcodebook+λARAR+λdriftdrift\lambda_{\text{recon}}\mathcal{L}_{\text{recon}}\!+\!\lambda_{\text{codebook}}\mathcal{L}_{\text{codebook}}\!+\!\lambda_{\text{AR}}\mathcal{L}_{\text{AR}}\!+\!\lambda_{\text{drift}}\mathcal{L}_{\text{drift}}, where λrecon\lambda_{\text{recon}}, λcodebook\lambda_{\text{codebook}}, λAR\lambda_{\text{AR}}, and λdrift\lambda_{\text{drift}} coefficients. The reconstruction loss combines pixel-level and perceptual terms, recon=SSIM+L1+LPIPS\mathcal{L}_{\text{recon}}\!=\!\mathcal{L}_{\text{SSIM}}+\mathcal{L}_{\text{L1}}+\mathcal{L}_{\text{LPIPS}}, while codebook\mathcal{L}_{\text{codebook}} enforces multi-scale semantic alignment, drift\mathcal{L}_{\text{drift}} ensures that low-rank adapters do not drift using alignment, and AR\mathcal{L}_{\text{AR}} promotes autoregressive alignment with the query text.

4 Experiments

We comprehensively evaluate PyraTok on frame reconstruction, text-o-video generation, and a diverse set of multimodal understanding tasks, including zero-shot segmentation, temporal action localization, general video understanding, and text-to-video generation. Evaluations are conducted across 10 real-world benchmarks, such as WebVid-10M [2], YouTube-VIS 2021 [66], MVBench [25], etc.

PyraTok is trained on a large-scale subset of Droplet-10M [73] comprising HD videos, augmented with additional HD samples from OpenVid-1M [35] and ultra-high-resolution (4K/8K) videos with reconstructed captions from UltraVideo [64]. Additional implementation and experimental setup details are provided in the supplementary material.

Refer to caption
Figure 4: Frame reconstruction qualitative comparison. PyraTok generates sharper details, clearer textures, and better spatial structure than baselines, demonstrating better fidelity and semantic consistency.
Refer to caption
Figure 5: t-SNE visualization showing PyraTok with more distinct, well-separated clusters, indicating improved semantic organization.

4.1 Video Generation Tasks

Frame Reconstruction. As shown in Table 1, PyraTok achieves the best frame reconstruction quality on both WebVid-10M [2] and COCO-Val [31], surpassing all prior semantic and non-semantic video VAEs. Compared to SweetTok [46] and TokLIP [28], which also incorporate semantic alignment, PyraTok achieves 10.51% and 14.19% higher PSNR, and 51.62% and 56.57% lower LPIPS, respectively. SweetTok decouples spatial and temporal tokens but processes them independently, hindering global semantic consistency, while TokLIP enriches visual tokens with CLIP-level [38] semantics but lacks temporal modeling. PyraTok overcomes both limitations by combining fine-grained, text-guided quantization at each LaPQ level with a global autoregressive prior that enforces temporal coherence. Furthermore, SoTA non-semantic VAEs such as 3D-MBQ-VAE [44], CogVideoX [67], and LARP [55] are also outperformed, highlighting PyraTok ’s ability to capture text semantics while maintaining high fidelity.

These trends are clearly reflected in the qualitative results. As shown in Fig. 4, PyraTok reconstructs legible text in the street scene, crisp leaf textures in the ramen and plant examples, and fine facial structures on the polar bear, whereas all baselines exhibit noticeable blurring or distortion. The t-SNE visualization in Fig. 5 further reveals that PyraTok’s latent space forms compact, well-separated clusters corresponding to coherent semantic categories, evidencing effective multi-scale semantic organization.

Table 2: T2V performance on WebVid-10M. Incorporating PyraTok () consistently improves perceptual quality and semantic alignment compared to base models without it ().
Base Model Type FVD (\downarrow) / TC (\uparrow)
PyraTok PyraTok
MotionAura [44] Discrete Diffusion 374 / 204 365 / 246
Open MAGVITv2 [33] AutoRegressive 433 / 191 411 / 214
Omnigenv2 [60] AutoRegressive 398 / 185 377 / 208

Text-2-Video (T2V) Generation. Table 2 and Fig. 6 show that substituting the native VAEs in MotionAura [44], MAGVITv2 [70, 33], and OmniGenV2 [60] with PyraTok consistently improves perceptual fidelity, texture sharpness, and text–video semantic alignment. Quantitatively, PyraTok reduces FVD by 9–22 points and increases TC by 20–27 points across all backbones. Qualitatively (shown in Fig. 6), PyraTok recovers details such as clearer facial structure, and more coherent structure like robotic hand geometry in the OmniGenV2 example.

Refer to caption
Figure 6: T2V generation across various backbones. Integrating PyraTok enhances detail, sharpness, and spatial consistency.

4.2 Video Understanding Tasks

Video Segmentation. As shown in Table 3, PyraTok demonstrates strong zero-shot performance on YouTube-VIS 2021 [66] and OVIS [36]. Compared to the zero-shot SoTA OmniTokenizer [28], which lacks explicit text-semantic supervision, PyraTok achieves 68.8% and 30.2% relative improvements in mAP and Jaccard on YouTube-VIS 2021, and remarkable gains of 217.9% and 48.6% on OVIS, respectively. These results underscore the effectiveness of our semantically aligned video representation in enabling robust zero-shot generalization. To the best of our knowledge, PyraTok is the first demonstration of zero-shot video semantic segmentation using a language-aligned discrete VAE.

Table 3: Video semantic segmentation results on YouTube-VIS 2021 and OVIS. Best highlighted with bold and second-best underlined. supervised, unsupervised, zero-shot methods.
Method Training YouTube-VIS 2021 OVIS
mAP (\uparrow) Jaccard (\uparrow) mAP (\uparrow) Jaccard (\uparrow)
CLIP-VIS [76] 44.2 76.31 18.6 60.09
VideoCutLER [58] 17.1 62.23
UVIS [16] 17.5 63.11 3.5 36.71
VideoVae+ [63] 12.33 51.21 2.8 29.91
LARP [55] 10.52 49.37 1.7 28.45
OmniTokenizer [57] 14.54 51.12 2.8 33.27
PyraTok (Ours) 24.54 66.56 8.9 49.44
Refer to caption
Figure 7: Zero-shot segmentation results showing PyraTok’s precise text-guided segmentation of multiple objects in complex scenes.

Compared to unsupervised baselines like VideoCutLER [58] and UVIS [16], which suffer from motion ambiguity and inconsistent grouping, PyraTok’s multi-scale text-conditioned quantization achieves coherent segmentation with enhanced spatial–temporal consistency. Qualitative results in Fig. 7 further validate these findings. PyraTok accurately segments complex multi-object scenes (e.g., players, soccer ball, and field) with precise boundaries and strong semantic correspondence between textual and visual cues.

Table 4: Video action localization under the 50% Seen / 50% Unseen setup. Best highlighted with bold and second-best underlined. supervised and zero-shot methods.
Method Training VAE THUMOS14 ActivityNet v1.3
Avg. mAP (\uparrow) Avg. mAP (\uparrow)
STALE [34] 22.2 20.5
DeTAL [26] 24.1 22.4
STOV-TAL [18] 48.8 29.6
STOV-TAL [18] 31.5 28.0
VideoVae+ [63] 23.12 21.37
OmniTokenizer [57] 23.47 22.48
SweetTok [46] 25.32 24.53
LARP [55] 27.42 25.53
PyraTok (Ours) 33.17 29.11

Video Action Localization. As shown in Table 4, PyraTok achieves the best zero-shot performance on THUMOS14 and ActivityNet, outperforming the previous zero-shot SoTA LARP [55] by +5.75 mAP and +3.58 mAP, respectively. Although LARP and SweetTok [46] incorporate semantics, their alignment remains limited. For instance, SweetTok separates spatial and temporal streams, and LARP lacks explicit text-conditioned supervision. In contrast, PyraTok combines multi-scale text-guided quantization with a global autoregressive prior, enabling fine-grained temporal reasoning and stronger cross-modal consistency.

These advantages are evident in Fig. 8, where PyraTok more accurately localizes the baseball bat swing action than others. This design also allows PyraTok to surpass supervised approaches such as STALE and DeTAL [26], highlighting the strength of semantically aligned discrete latents for action localization.

Refer to caption
Figure 8: Video action localization results. PyraTok aligns action boundaries more accurately.
Table 5: Accuracy (%) on general video understanding and video classification. Best highlighted with bold and second-best underlined.
Method VAE MVBench Kinetics
Overall 400 600 700
InternVL3-78B [75] 79.2
Qwen2.5-72B [1] 71.3
InternVL3-38B [75] 76.0
Qwen2.5VL-7B [1] 67.2
Qwen2.5VL-3B [1] 67.0
InternVL [75] 69.1 68.9 60.6
InternVideo2 [59] 73.1 72.8 64.9
VideoPrism-g [74] 76.4
SigLIP2-g-opt[49] 69.8 67.0 61.8
PEcoreG [5] 76.9 76.1 69.1
VILA-U [62] 81.21
VideoVae+ [63] 63.32 61.27 55.55
OmniTokenizer [57] 79.44 65.03 62.75 58.71
SweetTok [46] 67.54 65.01 61.45
LARP [55] 83.21 69.27 68.52 66.89
PyraTok (Ours) 86.03 78.43 77.11 74.08

General Video Understanding and Classification. As shown in Table 5, PyraTok achieves SoTA performance on both the MVBench [25] and Kinetics benchmarks [22]. Specifically, our model attains an overall accuracy of 86.03% across diverse video understanding tasks on MVBench. Furthermore, it demonstrates substantial improvements of 13.22%, 12.54%, and 10.75% over LARP [55] on the Kinetics-400, -600, and -700 benchmarks, respectively. PyraTok surpass prior VAE-based and large-scale non-VAE foundation models, including InternVL3-78B [75], Qwen2.5-VL-7B [1], and VideoPrism-g [74]. This performance gain stems from PyraTok’s multi-scale text-guided quantization, which offers stronger semantic grounding and temporal coherence. By contrast, although SweetTok [46] and LARP [55] incorporate semantic cues, their limited text–video alignment constrains temporal reasoning. Within VAE-based methods, PyraTok further outperforms VILA-U [62], OmniTokenizer [57], and VideoVAE+ [63], demonstrating the effectiveness of language-conditioned quantized representations. The consistent gains across understanding and classification tasks highlight PyraTok’s capability as a unified, semantically grounded video representation model with robust zero-shot generalization.

Figure 9: Effect of codebook size on reconstruction quality.

4.3 Ablations

Fig. 9 and Table 6 present ablations on key PyraTok components, including codebook size, loss configuration, the presence of pyramidal and recurrent quantization modules, the number of quantization blocks, and variations in the multimodal encoder or pretrained video VAE.

Codebook Size. As shown in Fig. 9, increasing codebook size and dimensionality consistently improves reconstruction and perceptual quality. Larger and higher-dimensional codebooks provide a richer latent space, enabling finer feature representation and reducing quantization error. However, performance gains saturate beyond 80K vocab size, suggesting a trade-off between model capacity and efficiency.

Component Ablation. Removing LaPQ leads to the largest degradation across all metrics, highlighting the importance of hierarchical language-aligned quantization. Excluding text guidance noticeably weakens semantic grounding, reducing both fidelity and perceptual quality. Dropping the pyramidal-Q design similarly harms performance, confirming the effectiveness of multi-scale quantization.

Quantization-Blocks. Performance improves consistently as the number of 𝒬\mathcal{Q} blocks increases, with four blocks yielding the best results. This shows that deeper quantization hierarchies enhance semantic representation and reconstruction fidelity by capturing both coarse and fine visual details.

Table 6: Ablations on PyraTok components.
COCO-Val WebVid-10M
PSNR / SSIM / LPIPS PSNR / SSIM / LPIPS
1. Component Ablation
w/o LaPQ 31.41 / 0.831 / 0.101 31.47 / 0.799 / 0.118
w/o Text Guidance 33.43 / 0.861 / 0.081 36.02 / 0.833 / 0.082
w/o Pyramidal-Q 34.02 / 0.859 / 0.082 34.02 / 0.839 / 0.094
2. Quantization(𝒬\mathcal{Q})-Blocks Ablation
2 Blocks 33.21 / 0.821 / 0.092 33.98 / 0.844 / 0.101
3 Blocks 34.78 / 0.862 / 0.089 35.14 / 0.867 / 0.085
4 Blocks (Default) 35.72 / 0.879 / 0.066 36.05 / 0.885 / 0.071
3. Loss Function Ablation
w/o drift\mathcal{L}_{\text{drift}} 33.48 / 0.839 / 0.082 34.52 / 0.853 / 0.081
w/o AR\mathcal{L}_{\text{AR}} 33.42 / 0.842 / 0.079 34.01 / 0.844 / 0.079
w/o drift\mathcal{L}_{\text{drift}} & AR\mathcal{L}_{\text{AR}} 32.17 / 0.832 / 0.093 32.32 / 0.831 / 0.092
4. Codebook Loss Ablation
w/o vision-commitment\mathcal{L}_{\text{vision-commitment}} 32.88 / 0.819 / 0.097 33.45 / 0.839 / 0.101
w/o text-cond. alignment\mathcal{L}_{\text{text-cond. alignment}} 33.27 / 0.822 / 0.092 34.12 / 0.855 / 0.091
w/o text-codebook alignment\mathcal{L}_{\text{text-codebook alignment}} 34.11 / 0.849 / 0.087 34.78 / 0.872 / 0.083
5. Multi-Modal Models
Qwen-2.5 VL [1] (Default) 35.72 / 0.879 / 0.066 36.05 / 0.885 / 0.071
LLaMA-3 8B [12] 35.62 / 0.871 / 0.069 35.34 / 0.878 / 0.079
Gemma-3 4B [47] 35.29 / 0.865 / 0.069 35.92 / 0.882 / 0.078
6. Pretrained VAEs
3D-MBQ-VAE [44] 35.01 / 0.869 / 0.069 35.33 / 0.878 / 0.075
CogVideoX-VAE [67] 34.92 / 0.861 / 0.069 35.12 / 0.873 / 0.080
SVD-VAE [4] 34.18 / 0.859 / 0.074 34.78 / 0.865 / 0.083
Mochi-VAE [48] 34.95 / 0.864 / 0.071 35.06 / 0.873 / 0.076
PyraTok 36.05 / 0.885 / 0.071 35.72 / 0.879 / 0.066

Loss Functions. Excluding drift\mathcal{L}_{\text{drift}} or AR\mathcal{L}_{\text{AR}} weakens semantic coherence and structure preservation, while removing both leads to the largest performance drop. This confirms that feature-level alignment and variance regularization jointly stabilize semantic learning and reconstruction.

Codebook Loss. Without vision-commitment, assignments become unstable, whereas without text-conditioned alignment, semantic guidance weakens. Removing text–codebook alignment disrupts global semantic structure, producing the largest degradation. This demonstrates all three terms are crucial for stable and semantically coherent quantization.

Multimodal Models. Using different vision-language encoders demonstrates the generality of PyraTok. Qwen2.5-VL achieves the best overall performance, while LLaMA-3 and Gemma-3 variants maintain competitive results.

Pretrained VAEs. Substituting the pretrained backbone shows that PyraTok maintains consistent improvements across encoders. The Wan 2.2 VAE [53] (default) delivers the best results, but strong performance with 3DMBQ-VAE, CogVideoX, and Mochi-VAE confirms the robustness and transferability of the proposed semantic quantization design.

5 Conclusion

We introduce PyraTok, a language-aligned pyramidal video tokenizer that performs multi-scale vector quantization with a shared large binary codebook. Our dual semantic alignment couples text-conditioned, per-level quantization with a global autoregressive objective, producing semantically consistent discrete latents. PyraTok delivers state-of-the-art 4K/8K reconstruction and strong zero-shot transfer on video segmentation, temporal action localization, VideoQA, and video classification. Compatibility studies show consistent gains across vision–language encoders and diverse VAE backbones. Ablations confirm the necessity of the pyramidal path and RVQ, the benefit of four quantization blocks, and the contributions of the autoregressive and drift terms, as well as codebook alignment losses. These results establish PyraTok as a practical, general-purpose tokenizer for modern video–language systems.

References

  • [1] S. Bai, K. Chen, X. Liu, J. Wang, W. Ge, S. Song, K. Dang, P. Wang, S. Wang, J. Tang, et al. (2025) Qwen2.5-VL technical report. arXiv:2502.13923. Cited by: §B.2, §B.4, Appendix D, §4.2, Table 5, Table 5, Table 5, Table 6.
  • [2] M. Bain, A. Nagrani, G. Varol, and A. Zisserman (2021) Frozen in time: a joint video and image encoder for end-to-end retrieval. In International Conference on Computer Vision (ICCV), Cited by: §C.3, §E.2, §4.1, §4.
  • [3] G. Bertasius, H. Wang, and L. Torresani (2021) Is space-time attention all you need for video understanding?. In International Conference on Machine Learning (ICML), Cited by: §2.
  • [4] A. Blattmann, T. Dockhorn, S. Kulal, D. Mendelevitch, M. Kilian, D. Lorenz, Y. Levi, Z. English, V. Voleti, A. Letts, et al. (2023) Stable video diffusion: scaling latent video diffusion models to large datasets. arXiv preprint arXiv:2311.15127. Cited by: §1, Table 6.
  • [5] D. Bolya, P. Huang, P. Sun, J. H. Cho, A. Madotto, C. Wei, T. Ma, J. Zhi, J. Rajasegaran, H. Rasheed, et al. (2025) Perception encoder: the best visual embeddings are not at the output of the network. arXiv preprint arXiv:2504.13181. Cited by: Table 5.
  • [6] B. Bross, Y. Wang, Y. Ye, S. Liu, J. Chen, G. J. Sullivan, and J. Ohm (2021) Overview of the versatile video coding (vvc) standard and its applications. IEEE Transactions on Circuits and Systems for Video Technology (TCSVT). Cited by: Table 7, §C.1.
  • [7] F. Caba Heilbron, V. Escorcia, B. Ghanem, and J. Carlos Niebles (2015) ActivityNet: a large-scale video benchmark for human activity understanding. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §C.5, §E.2.
  • [8] H. Chen, M. Xia, Y. He, Y. Zhang, X. Cun, S. Yang, J. Xing, Y. Liu, Q. Chen, X. Wang, et al. (2023) VideoCrafter1: open diffusion models for high-quality video generation. arXiv preprint arXiv:2310.19512. Cited by: §1.
  • [9] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, et al. (2021) An image is worth 16x16 words: transformers for image recognition at scale. International Conference on Learning Representations (ICLR). Cited by: §2.
  • [10] P. Esser, R. Rombach, and B. Ommer (2021) Taming transformers for high-resolution image synthesis. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §1, §2, §3.2.1.
  • [11] S. Ge, T. Hayes, H. Yang, X. Yin, G. Pang, D. Jacobs, J. Huang, and D. Parikh (2022) Long video generation with time-agnostic VQGAN and time-sensitive transformer. In European Conference on Computer Vision (ECCV), Cited by: Table 8.
  • [12] A. Grattafiori, A. Dubey, A. Jauhri, A. Pandey, A. Kadian, A. Al-Dahle, A. Letman, A. Mathur, A. Schelten, A. Vaughan, et al. (2024) The llama 3 herd of models. arXiv preprint arXiv:2407.21783. Cited by: Table 6.
  • [13] L. Guotao, B. Zhang, Y. Wang, Y. Ye, X. Li, and L. Chuyao (2024) LG-VQ: language-guided codebook learning. Advances in Neural Information Processing Systems (NeurIPS). Cited by: §1, §1, §2, Table 1.
  • [14] K. He, X. Chen, S. Xie, Y. Li, P. Dollár, and R. Girshick (2022) Masked autoencoders are scalable vision learners. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: Appendix D.
  • [15] E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, W. Chen, et al. (2022) LoRA: low-rank adaptation of large language models.. International Conference on Learning Representations (ICLR). Cited by: Appendix D, §3.2.3.
  • [16] S. Huang, S. Suri, K. Gupta, S. S. Rambhatla, S. Lim, and A. Shrivastava (2024) UVIS: unsupervised video instance segmentation. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §4.2, Table 3.
  • [17] Hugging Face (2025) Text generation inference documentation. Note: https://huggingface.co/docs/text-generation-inference/en/indexAccessed: 2025-09-15 Cited by: §B.2.
  • [18] J. Hyun, S. H. Han, H. Kang, J. Lee, and S. J. Kim (2025) Exploring scalability of self-training for open-vocabulary temporal action localization. In IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), Cited by: Table 4, Table 4.
  • [19] H. Idrees, A. R. Zamir, Y. Jiang, A. Gorban, I. Laptev, R. Sukthankar, and M. Shah (2017) The thumos challenge on action recognition for videos “in the wild”. Computer Vision and Image Understanding. Cited by: §C.5, §E.2.
  • [20] E. Jang, S. Gu, and B. Poole (2017) Categorical reparametrization with gumble-softmax. In International Conference on Learning Representations (ICLR), Cited by: §C.3, Table 9.
  • [21] Y. Jin, Z. Sun, K. Xu, L. Chen, H. Jiang, Q. Huang, C. Song, Y. Liu, D. Zhang, Y. Song, et al. (2024) Video-LaVIT: unified video-language pre-training with decoupled visual-motional tokenization. In International Conference on Machine Learning (ICML), Cited by: Table 8.
  • [22] W. Kay, J. Carreira, K. Simonyan, B. Zhang, C. Hillier, S. Vijayanarasimhan, F. Viola, T. Green, T. Back, P. Natsev, et al. (2017) The kinetics human action video dataset. arXiv preprint arXiv:1705.06950. Cited by: §E.2, §4.2.
  • [23] D. Kondratyuk, L. Yu, X. Gu, J. Lezama, J. Huang, G. Schindler, R. Hornung, V. Birodkar, J. Yan, M. Chiu, et al. (2023) VideoPoet: a large language model for zero-shot video generation. International Conference on Machine Learning (ICML). Cited by: §1, §2.
  • [24] D. Lee, C. Kim, S. Kim, M. Cho, and W. Han (2022) Autoregressive image generation using residual quantization. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §C.3, Table 9, Table 9.
  • [25] K. Li, Y. Wang, Y. He, Y. Li, Y. Wang, Y. Liu, Z. Wang, J. Xu, G. Chen, P. Luo, et al. (2024) MVBench: a comprehensive multi-modal video understanding benchmark. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §E.2, §4.2, §4.
  • [26] Z. Li, Y. Zhong, R. Song, T. Li, L. Ma, and W. Zhang (2024) DeTAL: open-vocabulary temporal action localization with decoupled networks. IEEE Trans. Pattern Anal. Mach. Intell. (TPAMI). Cited by: §4.2, Table 4.
  • [27] B. Lin, Y. Ge, X. Cheng, Z. Li, B. Zhu, S. Wang, X. He, Y. Ye, S. Yuan, L. Chen, et al. (2024) Open-Sora Plan: open-source large video generation model. arXiv:2412.00131. Cited by: §1, §2.
  • [28] H. Lin, T. Wang, Y. Ge, Y. Ge, Z. Lu, Y. Wei, Q. Zhang, Z. Sun, and Y. Shan (2025) TokLIP: marry visual tokens to clip for multimodal comprehension and generation. arXiv:2505.05422. Cited by: §1, §1, §2, Table 1, §4.1, §4.2.
  • [29] J. Lin, C. Gan, and S. Han (2019) TSM: temporal shift module for efficient video understanding. In International Conference on Computer Vision (ICCV), Cited by: §2.
  • [30] J. Lin, J. Tang, H. Tang, S. Yang, W. Chen, W. Wang, G. Xiao, X. Dang, C. Gan, and S. Han (2024) AWQ: activation-aware weight quantization for on-device llm compression and acceleration. Proceedings of Machine Learning and Systems. Cited by: Appendix D.
  • [31] T. Lin, M. Maire, S. Belongie, J. Hays, P. Perona, D. Ramanan, P. Dollár, and C. L. Zitnick (2014) Microsoft COCO: common objects in context. In European Conference on Computer Vision (ECCV), Cited by: §C.3, §E.2, §4.1.
  • [32] I. Loshchilov and F. Hutter (2019) Decoupled weight decay regularization. International Conference on Learning Representations (ICLR). Cited by: Appendix D.
  • [33] Z. Luo, F. Shi, Y. Ge, Y. Yang, L. Wang, and Y. Shan (2024) Open-MAGVIT2: an open-source project toward democratizing auto-regressive visual generation. arXiv preprint arXiv:2409.04410. Cited by: §B.6, §2, §4.1, Table 2.
  • [34] S. Nag, X. Zhu, Y. Song, and T. Xiang (2022) Zero-shot temporal action detection via vision-language prompting. In European Conference on Computer Vision (ECCV), Cited by: Table 4.
  • [35] K. Nan, R. Xie, P. Zhou, T. Fan, Z. Yang, Z. Chen, X. Li, J. Yang, and Y. Tai (2025) OpenVid-1m: a large-scale high-quality dataset for text-to-video generation. In International Conference on Learning Representations (ICLR), Cited by: §B.6, §E.1, §E.2, §4.
  • [36] J. Qi, Y. Gao, Y. Hu, X. Wang, X. Liu, X. Bai, S. Belongie, A. Yuille, P. H. Torr, and S. Bai (2022) Occluded video instance segmentation: a benchmark. International Journal on Computer Vision (IJCV). Cited by: §E.2, §4.2.
  • [37] L. Qu, H. Zhang, Y. Liu, X. Wang, Y. Jiang, Y. Gao, H. Ye, D. K. Du, Z. Yuan, and X. Wu (2025) TokenFlow: unified image tokenizer for multimodal understanding and generation. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §B.5, §1, §2, Table 1.
  • [38] A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, et al. (2021) Learning transferable visual models from natural language supervision. In International Conference on Machine Learning (ICML), Cited by: §4.1.
  • [39] L. Ruan, Y. Ma, H. Yang, H. He, B. Liu, J. Fu, N. J. Yuan, Q. Jin, and B. Guo (2023) MM-Diffusion: learning multi-modal diffusion models for joint audio and video generation. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §1.
  • [40] O. Siméoni, H. V. Vo, M. Seitzer, F. Baldassarre, M. Oquab, C. Jose, V. Khalidov, M. Szafraniec, S. Yi, M. Ramamonjisoa, et al. (2025) DINOv3. arXiv preprint arXiv:2508.10104. Cited by: Appendix D, Appendix D.
  • [41] U. Singer, A. Polyak, T. Hayes, X. Yin, J. An, S. Zhang, Q. Hu, H. Yang, O. Ashual, O. Gafni, et al. (2023) Make-A-Video: text-to-video generation without text-video data. arXiv:2209.14792. Cited by: §2.
  • [42] K. Soomro, A. R. Zamir, and M. Shah (2012) UCF101: a dataset of 101 human actions classes from videos in the wild. arXiv preprint arXiv:1212.0402. Cited by: §C.2, §E.2.
  • [43] G. J. Sullivan, J. Ohm, W. Han, and T. Wiegand (2012) Overview of the high efficiency video coding (HEVC) standard. IEEE Transactions on Circuits and Systems for Video Technology (TCSVT). Cited by: Table 7, §C.1.
  • [44] O. K. Susladkar, J. S. Gupta, C. Sehgal, S. Mittal, and R. Singhal (2025) MotionAura: generating high-quality and motion consistent videos using discrete diffusion. In International Conference on Learning Representations (ICLR), Cited by: Figure 27, Figure 27, §B.5, §B.6, Table 7, §2, Table 1, §4.1, §4.1, Table 2, Table 6.
  • [45] Y. Takida, Y. Ikemiya, T. Shibuya, K. Shimada, W. Choi, C. Lai, N. Murata, T. Uesaka, K. Uchida, W. Liao, et al. (2024) HQ-VAE: hierarchical discrete representation learning with variational bayes. Transactions on Machine Learning Research (TMLR). Cited by: §1.
  • [46] Z. Tan, B. Xue, J. Jia, J. Wang, W. Ye, S. Shi, M. Sun, W. Wu, Q. Chen, and P. Jiang (2025) Sweettok: semantic-aware spatial-temporal tokenizer for compact video discretization. In International Conference on Computer Vision (ICCV), Cited by: §B.3, §B.5, Table 8, §1, §2, Table 1, §4.1, §4.2, §4.2, Table 4, Table 5.
  • [47] G. Team, A. Kamath, J. Ferret, S. Pathak, N. Vieillard, R. Merhej, S. Perrin, T. Matejovicova, A. Ramé, M. Rivière, et al. (2025) Gemma 3 technical report. arXiv:2503.19786. Cited by: Table 6.
  • [48] G. Team (2024) Mochi 1. Note: https://github.com/genmoai/modelsAccessed: 2025-09-15 Cited by: Table 6.
  • [49] M. Tschannen, A. Gritsenko, X. Wang, M. F. Naeem, I. Alabdulmohsin, N. Parthasarathy, T. Evans, L. Beyer, Y. Xia, B. Mustafa, et al. (2025) SigLIP 2: multilingual vision-language encoders with improved semantic understanding, localization, and dense features. arXiv:2502.14786. Cited by: Table 5.
  • [50] M. Tsimpoukelli, J. L. Menick, S. Cabi, S. Eslami, O. Vinyals, and F. Hill (2021) Multimodal few-shot learning with frozen language models. Advances in Neural Information Processing Systems (NeurIPS). Cited by: §2.
  • [51] A. Vahdat and J. Kautz (2020) NVAE: a deep hierarchical variational autoencoder. Advances in Neural Information Processing Systems (NeurIPS). Cited by: §1.
  • [52] A. van den Oord, O. Vinyals, and K. Kavukcuoglu (2017) Neural discrete representation learning. In Advances in Neural Information Processing Systems (NeurIPS), Cited by: §C.3, Table 9, §1, §1, §2, §3.2.1.
  • [53] T. Wan, A. Wang, B. Ai, B. Wen, C. Mao, C. Xie, D. Chen, F. Yu, H. Zhao, J. Yang, et al. (2025) Wan: open and advanced large-scale video generative models. arXiv:2503.20314. Cited by: Appendix D, Table 1, §4.3.
  • [54] H. Wang, W. Gan, S. Hu, J. Y. Lin, L. Jin, L. Song, P. Wang, I. Katsavounidis, A. Aaron, and C. J. Kuo (2016) MCL-JCV: a jnd-based h. 264/avc video quality assessment dataset. In IEEE International Conference on Image Processing (ICIP), Cited by: §C.1, §E.2.
  • [55] H. Wang, S. Suri, Y. Ren, H. Chen, and A. Shrivastava (2025) LARP: tokenizing videos with a learned autoregressive generative prior. In International Conference on Learning Representations (ICLR), Cited by: §B.1, §B.3, §B.5, Table 8, Table 8, §2, Table 1, §4.1, §4.2, §4.2, Table 3, Table 4, Table 5.
  • [56] J. Wang, D. Chen, C. Luo, B. He, L. Yuan, Z. Wu, and Y. Jiang (2024) OmniViD: a generative framework for universal video understanding. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §2.
  • [57] J. Wang, Y. Jiang, Z. Yuan, B. Peng, Z. Wu, and Y. Jiang (2024) OmniTokenizer: a joint image-video tokenizer for visual generation. Advances in Neural Information Processing Systems (NeurIPS). Cited by: §B.1, §B.5, Table 8, §2, Table 1, §4.2, Table 3, Table 4, Table 5.
  • [58] X. Wang, I. Misra, Z. Zeng, R. Girdhar, and T. Darrell (2024) VideoCutLER: surprisingly simple unsupervised video instance segmentation. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §4.2, Table 3.
  • [59] Y. Wang, K. Li, X. Li, J. Yu, Y. He, G. Chen, B. Pei, R. Zheng, Z. Wang, Y. Shi, et al. (2024) InternVideo2: scaling foundation models for multimodal video understanding. In European Conference on Computer Vision (ECCV), Cited by: Table 5.
  • [60] C. Wu, P. Zheng, R. Yan, S. Xiao, X. Luo, Y. Wang, W. Li, X. Jiang, Y. Liu, J. Zhou, et al. (2025) OmniGen2: exploration to advanced multimodal generation. arXiv:2506.18871. Cited by: Figure 26, Figure 26, §B.6, §1, §4.1, Table 2.
  • [61] J. Z. Wu, Y. Ge, X. Wang, S. W. Lei, Y. Gu, Y. Shi, W. Hsu, Y. Shan, X. Qie, and M. Z. Shou (2023) Tune-A-Video: one-shot tuning of image diffusion models for text-to-video generation. In International Conference on Computer Vision (ICCV), Cited by: §2.
  • [62] Y. Wu, Z. Zhang, J. Chen, H. Tang, D. Li, Y. Fang, L. Zhu, E. Xie, H. Yin, L. Yi, et al. (2025) VILA-U: a unified foundation model integrat-ing visual understanding and generation. In International Conference on Learning Representations (ICLR), Cited by: §4.2, Table 5.
  • [63] Y. Xing, Y. Fei, Y. He, J. Chen, J. Xie, X. Chi, and Q. Chen (2024) Large motion video autoencoding with cross-modal video vae. arXiv:2412.17805. Cited by: §B.1, §B.3, §B.5, §2, Table 1, §4.2, Table 3, Table 4, Table 5.
  • [64] Z. Xue, J. Zhang, T. Hu, H. He, Y. Chen, Y. Cai, Y. Wang, C. Wang, Y. Liu, X. Li, et al. (2025) UltraVideo: high-quality uhd video dataset with comprehensive captions. arXiv preprint arXiv:2506.13691. Cited by: §E.1, §4.
  • [65] W. Yan, Y. Zhang, P. Abbeel, and A. Srinivas (2021) VideoGPT: video generation using vq-vae and transformers. arXiv:2104.10157. Cited by: §1, §2.
  • [66] L. Yang, Y. Fan, Y. Fu, and N. Xu (2021) The 3rd large-scale video object segmentation challenge-video instance segmentation track. In IEEE Conf. on Computer Vision and Pattern Recognition Workshops (CVPRW), Cited by: §E.2, §4.2, §4.
  • [67] Z. Yang, J. Teng, W. Zheng, M. Ding, S. Huang, J. Xu, Y. Yang, W. Hong, X. Zhang, G. Feng, et al. (2025) CogVideoX: text-to-video diffusion models with an expert transformer. In International Conference on Learning Representations (ICLR), Cited by: Table 8, §1, §2, Table 1, §4.1, Table 6.
  • [68] J. Yu, X. Li, J. Y. Koh, H. Zhang, R. Pang, J. Qin, A. Ku, Y. Xu, J. Baldridge, and Y. Wu (2022) Vector-quantized image modeling with improved VQGAN. In International Conference on Machine Learning (ICML), Cited by: §2.
  • [69] L. Yu, Y. Cheng, K. Sohn, J. Lezama, H. Zhang, H. Chang, A. G. Hauptmann, M. Yang, Y. Hao, I. Essa, et al. (2023) MAGVIT: masked generative video transformer. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: Table 7, Table 8, Table 8, §3.2.1.
  • [70] L. Yu, J. Lezama, N. B. Gundavarapu, L. Versari, K. Sohn, D. Minnen, Y. Cheng, V. Birodkar, A. Gupta, X. Gu, et al. (2024) Language model beats diffusion–tokenizer is key to visual generation. International Conference on Learning Representations (ICLR). Cited by: Figure 25, Figure 25, §B.6, Table 7, §C.3, Table 8, Table 8, Table 9, §1, §1, §2, §3.2.2, §4.1.
  • [71] K. Zha, L. Yu, A. Fathi, D. A. Ross, C. Schmid, D. Katabi, and X. Gu (2025) Language-guided image tokenization for generation. In IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Cited by: §1, §1, Table 1.
  • [72] D. J. Zhang, J. Z. Wu, J. Liu, R. Zhao, L. Ran, Y. Gu, D. Gao, and M. Z. Shou (2025) Show-1: marrying pixel and latent diffusion models for text-to-video generation. International Journal on Computer Vision (IJCV). Cited by: §2.
  • [73] R. Zhang, G. Du, X. Li, Q. Jia, L. Jin, L. Liu, J. Wang, C. Xu, Z. Guo, Y. Zhao, et al. (2025) DropletVideo: a dataset and approach to explore integral spatio-temporal consistent video generation. In International Conference on Computer Vision (ICCV), Cited by: §E.1, §4.
  • [74] L. Zhao, N. B. Gundavarapu, L. Yuan, H. Zhou, S. Yan, J. J. Sun, L. Friedman, R. Qian, T. Weyand, Y. Zhao, et al. (2024) VideoPrism: a foundational visual encoder for video understanding. In International Conference on Machine Learning (ICML), Cited by: §4.2, Table 5.
  • [75] J. Zhu, W. Wang, Z. Chen, Z. Liu, S. Ye, L. Gu, H. Tian, Y. Duan, W. Su, J. Shao, et al. (2025) InternVL3: exploring advanced training and test-time recipes for open-source multimodal models. arXiv preprint arXiv:2504.10479. Cited by: §4.2, Table 5, Table 5, Table 5.
  • [76] W. Zhu, J. Cao, J. Xie, S. Yang, and Y. Pang (2024) CLIP-VIS: adapting clip for open-vocabulary video instance segmentation. IEEE Transactions on Circuits and Systems for Video Technology (TCSVT). Cited by: Table 3.

Appendix A Theoretical Analysis of Language-aligned Pyramidal Quantization

We analyze the behavior of the Language-aligned Pyramidal Quantization (LaPQ) objective and the conditions under which the model avoids posterior collapse. Let θ\theta denote all trainable parameters. LaPQ is composed of smooth losses (reconstruction, codebook, autoregressive, and drift), each of which is an expectation over the training distribution 𝒟\mathcal{D} of video–text pairs (𝐗,t)(\mathbf{X},t), i.e., θ=𝔼(𝐗,t)𝒟[(θ,𝐗,t)].\mathcal{L}_{\theta}\!=\!\mathbb{E}_{(\mathbf{X},t)\sim\mathcal{D}}\big[\ell(\theta;\mathbf{X},t)\big]. All LaPQ modules (LoRA layers, AR head, LFQ quantizers, etc.) use differentiable operations, so θ\mathcal{L}_{\theta} is a smooth, lower-bounded deep-network objective.

Why LaPQ Mitigates Posterior Collapse. At LaPQ level ll, let 𝐪(l)=𝒬l(𝐪(l1),𝐅(l),𝐞𝐭)\mathbf{q}^{(l)}\!=\!\mathcal{Q}_{l}(\mathbf{q}^{(l-1)},\mathbf{F}^{(l)},\mathbf{e_{t}}) be the (soft) assignment distribution, where 𝐅(l)\mathbf{F}^{(l)} are encoder features and 𝐞𝐭\mathbf{e_{t}} is the text embedding extracted from the text tt. LaPQ at level ll is collapsed if there exists a fixed distribution 𝐪¯(l)\bar{\mathbf{q}}^{(l)} s.t. 𝐪(l)𝐪¯(l) for all (𝐗,t)𝒟.\mathbf{q}^{(l)}\!\equiv\!\bar{\mathbf{q}}^{(l)}\text{ for all }(\mathbf{X},t)\sim\mathcal{D}. A fully collapsed LaPQ posterior satisfies this for all levels l=1,,Ll=1,\dots,L. Assume the following conditions:

  1. 1.

    Data non-degeneracy: The data distribution 𝒟\mathcal{D} is non-degenerate, i.e., there exist (𝐗,t)(\mathbf{X},t) and (𝐗,t)(\mathbf{X}^{\prime},t^{\prime}) s.t. the corresponding optimal reconstruction outputs under reconstruction loss recon\mathcal{L}_{\mathrm{recon}} differ.

  2. 2.

    Decoder injectivity: For any two distinct latent code sequences 𝐪𝐪\mathbf{q}\neq\mathbf{q}^{\prime}, the decoder produces distinct reconstructions 𝒟e(𝐪)𝒟e(𝐪)\mathcal{D}e(\mathbf{q})\neq\mathcal{D}e(\mathbf{q}^{\prime}).

  3. 3.

    Model expressiveness: For any measurable mapping (𝐗,t)𝐪(1:L)(\mathbf{X},t)\mapsto\mathbf{q}^{(1:L)}, realizable via encoder features 𝐅(l)\mathbf{F}^{(l)} and text embedding 𝐞𝐭\mathbf{e_{t}}, there exists a parameter θ\theta that realizes it to arbitrary precision.

Proposition 1 (Non-optimality of Collapsed LaPQ Posteriors).

Any fully collapsed LaPQ posterior 𝐪(l)𝐪¯(l)\mathbf{q}^{(l)}\equiv\bar{\mathbf{q}}^{(l)} cannot minimize the LaPQ objective.

Proof.

Consider any parameter vector θc\theta_{\mathrm{c}} that yields a fully collapsed posterior. Then, by definition, every quantizer output distribution 𝐪(l)\mathbf{q}^{(l)} is constant across inputs, hence the decoder input (the discrete code sequence 𝐪c\mathbf{q}_{c}) is also constant. Hence, all reconstructions are equal to 𝐗^c=𝒟e(𝐪c)\hat{\mathbf{X}}_{\mathrm{c}}=\mathcal{D}e(\mathbf{q}_{\mathrm{c}}). Then, the reconstruction loss recon(θc)\mathcal{L}_{\mathrm{recon}}(\theta_{\mathrm{c}}) is the expected reconstruction loss under a constant prediction, i.e., recon(θc)=𝔼(𝐗,t)𝒟[recon(𝐗^c,𝐗)]\mathcal{L}_{\text{recon}}(\theta_{\mathrm{c}})=\mathbb{E}_{(\mathbf{X},t)\sim\mathcal{D}}\big[\ell_{\text{recon}}(\hat{\mathbf{X}}_{\mathrm{c}},\mathbf{X})\big]. By the non-degeneracy of 𝒟\mathcal{D} and standard properties of L1L_{1}/SSIM/LPIPS reconstructions, there exists a non-constant mapping 𝐗𝐗^(𝐗)\mathbf{X}\mapsto\hat{\mathbf{X}}(\mathbf{X}) that achieves strictly lower expected reconstruction error than any constant prediction. Using the model expressiveness assumption, we can approximate such a mapping with some parameter vector θnc\theta_{\mathrm{nc}} that yields non-collapsed assignments 𝐪(l)\mathbf{q}^{(l)} and reconstructions 𝐗^(𝐗)\hat{\mathbf{X}}(\mathbf{X}). Therefore recon(θnc)<recon(θc).\mathcal{L}_{\text{recon}}(\theta_{\mathrm{nc}})<\mathcal{L}_{\text{recon}}(\theta_{\mathrm{c}}). We now inspect the remaining terms in the objective.

(i) Hierarchical KL and entropy terms. For a fully collapsed posterior, the hierarchical KL terms DKL(𝐪(l)𝐪(l1))\mathrm{D_{KL}}(\mathbf{q}^{(l)}\|\mathbf{q}^{(l-1)}) vanish only if all levels share exactly the same constant distribution; otherwise, they incur a positive penalty. Moreover, the entropy term 𝔼[𝐪(l)log𝐪(l)]\mathbb{E}\!\left[-\mathbf{q}^{(l)}\log\mathbf{q}^{(l)}\right] is minimized by near one-hot distributions. A fully collapsed solution that is both constant and sharply peaked is incompatible with representing the variability in 𝐗\mathbf{X} and induces suboptimal hierarchical penalties.

(ii) Text-conditioned and AR terms. For a collapsed posterior, assignments 𝐪(l)\mathbf{q}^{(l)} are independent of the text embedding 𝐞𝐭\mathbf{e_{t}}, i.e., if 𝐪(l)\mathbf{q}^{(l)} is constant, it cannot match varying text embeddings. Consequently, the text-conditioned KL terms DKL(𝐪isg(𝐞𝐭))\mathrm{D_{KL}}\!\left(\mathbf{q}_{i}\,\|\,\text{sg}(\mathbf{e_{t}})\right) for 𝐪i𝐪(l)\mathbf{q}_{i}\in\mathbf{q}^{(l)} and the global text–codebook alignment terms cannot be minimized across distinct texts. Similarly, the autoregressive loss AR\mathcal{L}_{\mathrm{AR}} cannot exploit visual or textual information because the discrete tokens do not depend on (𝐗,t)(\mathbf{X},t). By contrast, a non-collapsed posterior can strictly reduce both.

Combining all pieces, (θnc)<(θc)\mathcal{L}(\theta_{\mathrm{nc}})<\mathcal{L}(\theta_{\mathrm{c}}) since recon\mathcal{L}_{\mathrm{recon}} is strictly lower and the remaining terms can be made no worse, and typically strictly better, by making assignments depend on (𝐗,t)(\mathbf{X},t) while respecting regularizers. Thus θc\theta_{\mathrm{c}} cannot be a global minimizer of \mathcal{L}.

Proposition 1 states that any fully collapsed LaPQ posterior is suboptimal under the proposed objective, provided natural structural assumptions on the data and model capacity. Therefore, gradient-based training of LaPQ is driven toward stationary points that preserve dependent discrete representations, thereby mitigating posterior collapse and encouraging high-utilization codebooks.

Refer to caption
Figure 10: Zero-shot semantic segmentation comparison across various scenes. Results illustrate PyraTok’s ability to recover fine object boundaries, preserve small structures, and produce semantically coherent segmentations across diverse domains. Details in B.1.
Refer to caption
Figure 11: Zero-shot semantic segmentation examples produced by PyraTok using only text prompts. Each column shows an input image, the corresponding segmentation mask predicted by PyraTok, and the set of text labels used. Results span diverse object types, demonstrating PyraTok’s ability to segment both rare and common entities without task-specific training. Details in B.1.
Refer to caption
Figure 12: Qualitative comparison of video understanding across two challenging temporal-reasoning questions. For each example, we show representative frames from the input video and the corresponding answers produced by different models. Baselines typically provide generic or partially plausible descriptions that miss key causal events. In contrast, PyraTok produces precise, temporally grounded explanations that correctly capture fine-grained interactions, entity tracking, and scene dynamics. These examples demonstrate PyraTok’s ability to support detailed video comprehension and causal reasoning from short video sequences. Discussion in B.2.
Refer to caption
Figure 13: Qualitative comparison of video reasoning ability across models. Models describe major actions in two dynamic scenes (a motorcycle escape from dinosaurs and a surprise beach proposal). PyraTok delivers the most precise and context-aware answers across both scenarios. Discussion in B.2.
Refer to caption
Figure 14: Qualitative comparison of video understanding on two transformation- and action-level reasoning tasks. Baseline methods provide generic or underspecified descriptions (e.g., stating that the robot “comes from the fire truck”), often missing key causal events, responsible agents, and transformation mechanics. In contrast, PyraTok produces precise, temporally grounded explanations that correctly identify object transformations, causal triggers, and scene dynamics, such as the fire truck’s parts reassembling into the robot or the person in black firing the missile that destroys the aircraft. Discussion in B.2.
Refer to caption
Figure 15: Action localization results comparing PyraTok with several baselines. For each prompt, the top row shows sampled video frames, followed by temporal action segments for the ground truth and predictions from each method. PyraTok produces action intervals that align more closely with the ground-truth boundaries, demonstrating improved temporal precision and robustness across diverse actions. Details in B.3.
Refer to caption
Figure 16: Additional action localization comparisons across diverse scenarios. Each example shows sampled frames followed by ground-truth action intervals and model predictions. PyraTok consistently yields temporally aligned and coherent action segments, reducing fragmentation and improving boundary accuracy compared to prior baselines. Details in B.3.
Refer to caption
Figure 17: Text-to-video qualitative comparison, showing a representative frame from each generated clip across diverse prompt categories, including photorealistic landscapes, detailed food scenes, night-market environments, and stylized concept art. Although only a single frame per video is shown, the green boxes highlight fine-grained details faithfully produced by PyraTok, such as the correct depiction of “two half eggs” in the ramen scene and realistic motion blur on pedestrians in the night-market prompt, illustrating PyraTok’s ability to accurately interpret and render subtle textual attributes in T2V generation. Discussion in B.4.
Refer to caption
Figure 18: Text-to-video generation comparisons, showing a representative frame from each generated clip across a diverse set of prompts, including interior scenes, food close-ups, sci-fi concept art, and wildlife action. PyraTok consistently captures fine-grained details, accurate lighting, textures, object geometry, and scene composition, demonstrating strong prompt alignment and high-fidelity generation across varied visual domains. Discussion in B.4.
Refer to caption
Figure 19: Text-to-video generation results at 4K resolution using PyraTok, shown as representative frames from two distinct prompts. The first example depicts a futuristic neon-lit city captured by a flying drone, where PyraTok maintains crisp details, stable long-exposure lighting, and smooth camera motion. The second example illustrates a foggy forest at dawn featuring “a lone traveler wearing a cap.” Even though the person occupies only a tiny fraction of the scene, PyraTok accurately renders fine-grained details, such as the cap on the traveler’s head, demonstrating strong text-alignment and high-resolution consistency in large-scale, wide-angle video generation. Discussion in B.4.
Refer to caption
Figure 20: Qualitative comparison of single-frame reconstruction across diverse scenes, including underwater environments, fantasy landscapes, product renders, food close-ups, urban views, interview settings, night scenes, wildlife, mountain vistas, and natural textures. Each row shows outputs from one method for the same input frame, with red boxes highlighting fine details, such as small objects, textures, reflections, and thin structures, used to compare reconstruction fidelity, sharpness, and color consistency. PyraTok preserves fine details reliably and delivers consistent, high-quality reconstructions across all scene types. Discussion in B.5.
Refer to caption
Figure 21: Qualitative comparison of video reconstruction methods on a fast-moving dinosaur sequence containing dense foliage, small background animals, and detailed facial motions. Each row shows outputs from one method on the same frames. Red boxes highlight challenging regions such as vegetation, moving creatures, and fine facial details, where differences in sharpness, temporal coherence, and motion fidelity are most apparent. Discussion in B.5.
Refer to caption
Figure 22: Qualitative comparison of PyraTok with other video reconstruction methods on a dynamic café scene containing multiple people, complex indoor lighting, and detailed textures. Each row shows outputs from one method on the same frames. The scene highlights challenges such as preserving facial details, clothing patterns, reflections, and background structures, allowing visual comparison of reconstruction sharpness and temporal consistency. Details in B.5.
Refer to caption
Figure 23: Qualitative comparison of PyraTok with other video reconstruction methods on an indoor interview scene featuring expressive hand motions, detailed facial appearance, and complex background textures, revealing differences in preserving facial clarity, hand motion coherence, and fine background details such as books, fabrics, and stone textures. Details in B.5.
Refer to caption
Figure 24: Qualitative comparison of PyraTok with other video reconstruction methods on a workshop scene involving fast arm movements, reflective machinery, and detailed background clutter, highlighting differences in preserving motion clarity, fine textures on tools and equipment, and the stability of subtle visual details under rapid motion. Details in B.5.
Refer to caption
Figure 25: Comparison of video reconstruction quality when replacing the default MAGVIT-V2 [70] VAE with our PyraTok VAE. Each pair of rows shows frames generated by the original MAGVIT-V2 (top) and the enhanced MAGVIT-V2 + PyraTok configuration (bottom). Across diverse scenes, including arcade environments with complex lighting, close-up dough preparation, and detailed cooking sequences, PyraTok improves visual sharpness, color consistency, and fine-detail preservation, demonstrating its effectiveness as a drop-in VAE replacement for higher-quality video generation. Discussion in B.6.
Refer to caption
Figure 26: Comparison of video generation quality when replacing the default VAE of OmniGen-V2 [60] with our PyraTok VAE. For each scene, the top row shows frames produced by the original OmniGen-V2, while the bottom row shows frames from OmniGen-V2 + PyraTok. PyraTok improves texture sharpness, color fidelity, and fine-detail preservation, demonstrating its effectiveness as a universal, high-quality VAE substitute for diverse video generation pipelines. Discussion in B.6.
Refer to caption
Figure 27: Comparison of video generation quality when substituting the default VAE in MotionAura [44] with our PyraTok VAE. For each example, the top row shows frames produced by the original MotionAura, while the bottom row shows results from MotionAura + PyraTok. Across kitchen scenes, outdoor human activity, and close-up liquid motion, PyraTok enhances sharpness, preserves fine textures, and improves temporal consistency—demonstrating its effectiveness as a high-quality VAE replacement for improving realism and detail in MotionAura-generated videos. Discussion in B.6.

Appendix B Additional Results

B.1 Zero-shot Video Segmentation

Given an input video and a natural language text tt, we leverage the language-aligned discrete representation produced by PyraTok to obtain zero-shot, text-guided spatio-temporal masks. Specifically, we first pass the video through the frozen PyraTok encoder and its Language-aligned Pyramidal Quantization (LaPQ) hierarchy and extract the quantized features from the last quantization block, denoted by 𝐪(L)T×H×W×d\mathbf{q}^{(L)}\in\mathbb{R}^{T^{\prime}\times H^{\prime}\times W^{\prime}\times d}, which capture high-level, text-aligned semantics at a compressed spatio-temporal resolution. We then decompose the input text into a set of semantic units (typically content words or short phrases), {w1,,wK}\{w_{1},\dots,w_{K}\}, and obtain a language embedding 𝐞wk\mathbf{e}_{w_{k}} for each unit using the same vision–language model employed during PyraTok training. For every semantic unit wkw_{k}, we compute a similarity score between 𝐞wk\mathbf{e}_{w_{k}} and each token in 𝐪(L)\mathbf{q}^{(L)} (e.g., via cosine similarity in the shared embedding space), yielding a token-level relevance map 𝐒wktok(t,h,w)\mathbf{S}_{w_{k}}^{\text{tok}}(t^{\prime},h^{\prime},w^{\prime}). This relevance map is then upsampled to the original video resolution, following the encoder downsampling pattern (or via decoder-aligned projection), to produce a dense per-pixel score volume 𝐒wk(x,y,t)\mathbf{S}_{w_{k}}(x,y,t) for each semantic unit. We treat these volumes as unary potentials in a fully connected 3D Conditional Random Field (CRF) defined over the spatio-temporal lattice (x,y,t)(x,y,t), with pairwise terms encouraging spatial smoothness aligned to image edges and temporal consistency across adjacent frames. Running mean-field inference in this 3D-CRF refines the raw scores into a binary segmentation mask 𝐌wk(x,y,t){0,1}\mathbf{M}_{w_{k}}(x,y,t)\in\{0,1\} that assigns each pixel in each frame to semantic unit wkw_{k}. Repeating this procedure iteratively over all semantic units in the prompt yields a set of word-level, zero-shot, text-guided segmentation masks that are both spatially precise and temporally coherent across the video.

We compare our language-guided tokenizer with OmniTokenizer [57], LARP [55], and VideoVAE+ [63], on diverse scenes in Fig. 10 and novel-category examples in Fig. 11. Existing tokenizers often yield coarse, blob-like masks with strong label confusion: OmniTokenizer and LARP tend to over-smooth object boundaries and merge adjacent instances (e.g., bus and road, trees and background), while VideoVAE+ frequently misses thin structures such as bike frames, surfboards, and traffic signs, or hallucinates spurious regions in uniform areas. These methods also struggle with rare or fine-grained concepts, leading to incomplete segmentation of small objects (e.g., cat ears, surfboard tips) and inconsistent labeling across the image. In contrast, PyraTok produces masks that are both sharper and more semantically aligned with the ground truth, accurately separating foreground from background and preserving thin structures. Fig. 11 further demonstrates strong zero-shot generalization: PyraTok cleanly segments unseen categories such as millennium falcon, tordelli, golden retriever, Pikachu, and axolotl, and simultaneously grounds multiple text queries (e.g., “golden retriever / puppy / grass field / vegetation”) in the correct regions, highlighting that our language-aligned tokens carry richer semantic information than prior VAE-based tokenizers.

B.2 Video Question Answering

For all question answering results, we adopt Qwen2.5-VL-3B [1] as the default vision–language (VLM) backbone to generate open-ended answers from our video representations. Given an input clip, we first encode the video with our proposed PyraTok VAE and extract the discrete representations from all quantization blocks. These multi-scale features are projected into the language embedding space and prepended to the question tokens, yielding a unified conditioning sequence for the autoregressive decoder. The Qwen2.5-VL-3B model then performs conditional text generation to produce the final answer. All VQA inferences are executed using the Text Generation Inference (TGI) pipeline from HuggingFace [17], which provides a stable and reproducible deployment for our qualitative analysis.

Furthermore, across Fig. 12 to Fig. 14, we compare PyraTok against Qwen2.5-3B, VideoVAE+, OmniTokenizer, and LARP on diverse video scenarios, including action sequences (helicopter crash, motorcycle chase, aircraft destruction), transformation events (monster emergence, firetruck-to-robot), and emotional interactions (a surprise proposal). The lower-capacity baselines (Qwen2.5-3B and VideoVAE+) often produce vague or partially incorrect explanations, while OmniTokenizer and LARP capture events more reliably but still miss finer details. PyraTok consistently provides the most accurate, complete, and context-aware interpretations across all scenarios, demonstrating stronger temporal reasoning, causal understanding, and fine-grained visual grounding compared to competing models.

B.3 Action Localization

We tackle temporal action localization in long, untrimmed videos by directly operating in the discrete latent space of PyraTok. Given a video of NN RGB frames and a textual description of the target action, we first encode every frame with our pyramidal tokenizer. Empirically, we observe that 𝐪(1)\mathbf{q}^{(1)} offers the best trade-off between semantic expressiveness and temporal resolution: it preserves subtle motion cues (e.g., arm swing before an arrow release, the instant of impact in a punch, see Fig. 15) that are strongly smoothed out in deeper levels. We therefore use q(1)q^{(1)} as our frame-level features. For each frame tt, we spatially pool the tokens 𝐪t(1)\mathbf{q}^{(1)}_{t} (mean-pooling over space) to obtain a compact frame descriptor 𝐯td\mathbf{v}_{t}\in\mathbb{R}^{d}. The textual query is encoded by the same language backbone used for PyraTok’s cross-modal training, producing a normalized embedding 𝐳d\mathbf{z}\in\mathbb{R}^{d}. We compute cosine similarity scores st=𝐯t,𝐳s_{t}\!=\!\langle\mathbf{v}_{t},\mathbf{z}\rangle for all frames, which yield a dense text–video alignment signal over time.

To robustly localize an action interval, we evaluate similarities in a sliding-window fashion. The video is partitioned into overlapping chunks (t,t+K1)(t,t+K-1) of length K=25K{=}25 frames (with stride 1 in all experiments). For each chunk we aggregate the frame scores, St=1Ki=tt+K1siS_{t}\!=\!\frac{1}{K}\sum_{i=t}^{t+K-1}s_{i}, resulting in a 1D confidence trajectory {St}t=1NK+1\{S_{t}\}_{t=1}^{N-K+1} that reflects how strongly the query is grounded in each temporal neighborhood. We then decode this trajectory into contiguous segments using a longest-connected-sequence algorithm: (i) we threshold StS_{t} at a fixed confidence τ\tau to obtain a binary sequence; (ii) identify all maximally connected high-confidence segments; and (iii) select the segment with the highest average score as the predicted action interval. For multi-action queries, we iteratively remove the selected interval and repeat, merging overlapping segments when necessary. The resulting segments define our temporal action predictions.

Fig. 15 and Fig. 16 visualize localized action segments for different tokenizers on several challenging examples. For each text query, the ground-truth (GT) segment is shown in blue, and the predictions obtained from VideoVAE [63],+, SweetTok [46], LARP [55], and PyraTok are displayed as colored bars beneath. The baselines consistently exhibit temporally diffuse and fragmented activations: their similarity signals tend to fire on visually similar but semantically off-target frames, producing multiple short segments or systematically shifted intervals. For instance, in Fig. 15, in the clip “A girl shoots an arrow”, both VideoVAE + and SweetTok activate broadly over the whole sequence and fail to concentrate probability on the actual release moment, while LARP on several disjoint intervals before and after the shot. In contrast, PyraTok yields a single, compact segment that tightly aligns with the GT span around the arrow release. A similar pattern appears for text query “A person fires a shotgun”, where baseline tokenizers localize earlier or later segments, whereas PyraTok localizes correctly.

The advantages of our fine-grained features are even more evident for actions with multiple sub-events. In Fig. 15 example “An MMA fighter knocks down his opponent with a punch to the face” and “…with a kick to the face”, the motion unfolds rapidly and is preceded by visually similar feints. VideoVAE + and SweetTok tend to spread confidence over the entire exchange, leading to overly long or misaligned segments, while LARP often localizes only part of the motion (e.g., the wind-up but not the impact). PyraTok, by contrast, localizes a concise window centered around the decisive contact, closely matching the GT. In Fig. 16, for “A person performs two overhead presses”, PyraTok produces two high-confidence video segments that track both overhead press repetitions, whereas baselines either miss the second repetition or merge the two into one coarse interval. For complex, extended actions such as “A man and a woman engage in sword fighting” and “Three missiles are launched from a desert”, baseline tokenizers again show scattered activations, localizing short segments around high-motion frames or transient explosions, and resulting in under-coverage of the GT. In contrast, PyraTok yields more accurate localization.

B.4 Text-2-Video Generation

To assess the usefulness of our tokens for generative modeling, we couple PyraTok with a conditional video decoder built on Qwen-2.5VL [1]. Concretely, we treat the text encoder of Qwen-2.5VL as a frozen condition network and fine-tune its video decoder to autoregressively predict PyraTok codes. Given a textual prompt, we first encode the prompt into language features, which are injected into a transformer-based decoder that models the joint distribution over all spatio–temporal tokens from our four quantizers. The decoder predicts the next token conditioned on the text and all previously generated tokens, until a full sequence of discrete video codes is obtained. These codes are then passed through the PyraTok VAE decoder to synthesize the final video. Thanks to PyraTok’s compact yet expressive representation, this pipeline can generate videos at 20 FPS with resolutions up to 4K.

Fig. 17 and Fig. 18 show qualitative comparisons on text-to-video generation where we keep the Qwen-2.5VL decoder architecture fixed and only swap the underlying tokenizer. OmniTokenizer and LARP tend to under-utilize fine-grained textual cues, often missing localized attributes such as the “two egg halves” in the ramen bowl or the “motion blur on pedestrians” in the neon street scene, and producing over-smoothed or distorted structures in complex compositions like the tree city and Mars spaceport. SweetTok better preserves global layout but still struggles with high-frequency details and subtle style descriptors (e.g., HDR interior lighting, crisp spray around the polar bear), leading to muted textures and inconsistent object shapes.

In contrast, PyraTok yields samples that more faithfully reflect both global scene descriptions and fine-grained phrases in the prompts. The additional objects specified in the text appear at the correct locations, motion-related cues are rendered more plausibly, and material and lighting properties (glossy chocolate surface, bioluminescent foliage, cinematic city glow) are captured with higher fidelity. Fig. 19 further illustrates 4K text-to-video generation for a 3-second clip, where PyraTok renders fine-grained details and maintains sharp structures, demonstrating that our multi-scale quantization supports high-resolution, text-aligned video synthesis.

B.5 High-resolution Frame Reconstruction

We further evaluate PyraTok on 4K frame reconstruction in Fig. 20. At this resolution, prior tokenizers struggle to preserve fine structures and high-frequency textures. VideoVAE+ [63] produces strong over-smoothing: the coral branches, tree leaves, and fur on the buffalo become noticeably blurred, and small objects such as distant boats and fire lamps nearly vanish in the zoomed-in crops. OmniTokenizer [57] improves sharpness but introduces ringing and aliasing along high-contrast boundaries (e.g., the product watch edges and mountain silhouettes), and often exhibits color bleeding in specular regions. SweetTok [46] and LARP [55] retain more detail yet still suffer from blocky artifacts on repetitive textures (grass, foliage, brick walls) and inconsistent reconstruction of tiny highlights, such as reflections on the watch bezel and lights on the night harbor. In contrast, our PyraTok reconstructions remain consistently crisp and coherent. Objects across all scenes—from coral polyps and reef fish to product shots and distant architectural details—retain sharp contours and clean textures without haloing. Fine-grained elements such as fur strands, leaf veins, and small fruits are faithfully preserved, demonstrating that our pyramidal tokenization scales effectively to ultra-high resolutions while avoiding the blurring and aliasing present in prior methods.

In qualitative video reconstruction comparisons (Figs. 2124), existing tokenizers show consistent limitations across diverse scenes. TokenFlow [37] and SweetTok often oversmooth high-frequency content, causing foliage, clothing textures, and facial details to blur, and small or thin structures to distort or disappear; they also introduce blocky artifacts under large motion. LARP better preserves local contrast but frequently produces ringing around boundaries and unstable illumination, leading to flickering highlights and shadows. MotionAura [44] improves temporal smoothness yet still suffers from identity drift in talking-head sequences and ghosting around fast movements, reducing perceptual realism. Moreover, as previous methods were trained on low-resolution data, their high-resolution reconstructions exhibit temporal artifacts such as frame stuttering. In contrast, our 4K-trained PyraTok preserves high-frequency detail and temporal coherence, producing smooth and stable video.

Table 7: Video compression at 0.034 bitrate.
Methods PSNR (\uparrow) SSIM (\uparrow) LPIPS (\downarrow)
HEVC [43] 30.10 0.943 0.199
VCC [6] 32.65 0.966 0.153
MAGVIT [69] 23.70 0.846 0.144
MAGVIT-v2 [70] 26.18 0.894 0.104
3D-MBQ-VAE [44] 29.09 0.922 0.089
PyraTok (Ours) 29.82 0.942 0.068

B.6 Adapting Pretrained T2V Priors with PyraTok

We further study whether PyraTok can serve as a drop-in tokenizer for existing text-to-video priors. To this end, we replace the original VAE/tokenizer in three pretrained models, i.e., Open source version of MAGVIT-V2 [33, 70] and OmniGenV2 [60] (autoregressive priors) and MotionAura [44] (discrete diffusion prior), and fine-tune only the prior on 10k clips from OpenVid-1M [35] so that it models PyraTok codes. Under identical prompts and sampling hyper-parameters, and across all architectures, using the native tokenizer leads to typical failure modes: colors and exposure drift over time, geometry “breathes” (e.g., wobbling backgrounds and object contours), high-frequency details such as dough surface texture or water droplets quickly collapse into smooth blobs, and object semantics are weakly preserved (e.g., inconsistent shape of the claw-machine robot or citrus slices). After swapping in PyraTok, the same priors produce videos that are both more semantically aligned with the prompts and markedly more temporally consistent.

In Figure 25, MAGVITv2+PyraTok maintains stable neon lighting in the arcade, preserves the dough’s volume and hand pose across frames, and keeps the boiling dumplings sharp with coherent bubble motion. In Figure 26, OmniGenV2+PyraTok yields crisp tree trunks and facial details with reduced frame-to-frame jitter, while the splashing juice exhibits smoother, physically plausible trajectories.

Similarly, MotionAura+PyraTok in Figure 27 suppresses diffusion-induced flicker in backgrounds. These improvements indicate that PyraTok’s multi-scale discrete representation reduces quantization artifacts and exposes a more structured latent space, making it easier for both autoregressive and diffusion priors to model long-range spatio-temporal dependencies and maintain object identity over time, even with minimal fine-tuning data.

Appendix C Ablations and Additional Analyses

C.1 Video Compression

As reported in Table 7, PyraTok attains the lowest LPIPS and competitive PSNR/SSIM on MCL-JCV [54] at a bitrate of 0.034, surpassing traditional codecs like HEVC [43] and VCC [6] in perceptual fidelity (LPIPS) by preserving fine texture and temporal coherence through semantically guided quantization.

Table 8: Class-guided video generation.
Tokenizer Type #Tokens #Params (Gen.) gFVD (\downarrow)
MAGVIT [69] AR 1024 306M 265
MAGVIT-V2 [70] AR 1280 307M 109
MAGVIT [69] MLLM 1024 306M 76
MAGVIT-V2 [70] MLLM 1280 307M 58
LARP-L [55] AR 1024 632M 57
CogVideoX [67] AR 6800 9.4B 626
TATS [11] AR 4096 321M 332
Video-LaVIT [21] AR 512 7B 280
OmniTok [57] AR 5120 650M 191
LARP-L [55] AR 1024 632M 99
SweetTok [46] AR 1280 1.9B 65
PyraTok (Ours) AR 1024 2.3B 51
Table 9: Ablation study of different quantization techniques in PyraTok. Each method is specified by its quantization type, codebook vocabulary size, and embedding dimensionality.
Quantization Vocab Dim COCO-Val WebVid-10M Inf. Time
PSNR (\uparrow) SSIM (\uparrow) LPIPS (\downarrow) PSNR (\uparrow) SSIM (\uparrow) LPIPS (\downarrow)
VQ [52] 4096 256 31.45 0.825 0.093 32.91 0.838 0.092 409
GVQ [20] 4096 256 32.25 0.836 0.089 33.34 0.842 0.089 438
LFQ [70] 32800 16 34.22 0.842 0.084 33.92 0.855 0.085 419
RVQ [24] 8000 512 33.92 0.849 0.078 34.22 0.865 0.079 489
LaPQ 8000 512 34.45 0.855 0.073 34.98 0.871 0.076 503
RVQ [24] 32800 16 34.78 0.869 0.076 35.27 0.879 0.074 488
LaPQ (Ours) 48000 16 35.72 0.879 0.066 36.05 0.885 0.071 492

C.2 Video Generation

We evaluate our tokenizer and generator on class-guided video generation using the UCF-101 [42] dataset. Given a target action class, the model is conditioned on the class label and asked to synthesize a short video clip from scratch. This setting measures not only low-level visual fidelity (appearance, motion smoothness) but also whether the generated sequence is semantically consistent with the requested action category.

We compare PyraTok against a broad set of video generative models that rely on different tokenizers and generator architectures, including MAGVIT/MAGVIT-V2, LARP-L, CogVideo, TATS, Video-LaVIT, OmniTok, and SweetTok. For all methods, we report the generative Fréchet Video Distance (gFVD), where lower values indicate better alignment with the distribution of real videos. As shown in Table 8, our method achieves the lowest gFVD on UCF-101, improving upon the strongest prior tokenizer by a substantial margin. These results indicate that our representation is better suited for high-quality, temporally coherent video synthesis, and that scaling the generator on top of our tokens directly translates into stronger video generation performance.

C.3 Ablation on VQ Techniques

Table 9 presents an ablation of the quantization module in PyraTok, where each row corresponds to a different way of discretizing the encoder features, specified by its quantization type, vocabulary size, and embedding dimensionality. The simple single-codebook baseline VQ [52] (4096 / 256), with vocal size of 4096 and a dimension of 256, yields the weakest reconstruction quality on both COCO [31] and WebVid [2], confirming that a single global codebook is insufficient to capture the variability of natural image–video data. Introducing a group structure in GVQ [20] (4096 / 256) slightly improves PSNR and SSIM, and reduces LPIPS; however, the gains are modest because each group still operates with a relatively small shared codebook. The lookup-free single-block variant, LFQ [70] (32800 / 16), increases the effective vocabulary while reducing the per-code dimension, resulting in a clear improvement in PSNR and SSIM, and a lower LPIPS, indicating that finer local code assignment is beneficial.

Residual quantization with a higher-dimensional code space, RVQ [24] (8000 / 512), further reduces distortion over vanilla VQ, and replacing the residual codebook with our latent product quantizer, LaPQ (8000 / 512), yields another consistent improvement, showing that decomposing the latent channels into product codebooks makes better use of the same vocabulary size. When we combine residual modeling with LFQ-style factorization, RVQ (32800 / 16) achieves even better performance, but our full LaPQ (Ours, 48000 / 16) achieves the best performance across all metrics on both validation sets, with the highest PSNR/SSIM and lowest LPIPS, while incurring only a small increase in inference time compared to simpler schemes. Overall, results demonstrate that LaPQ’s combination of lookup-free factorization and product–residual coding provides a significantly more expressive and distortion-resilient discrete representation than standard VQ, GVQ, LFQ, or RVQ under comparable computational budgets.

C.4 Codebook Utilization vs. Resolution

We further analyze how the effectiveness of our tokenizer scales with input resolution by measuring the percentage of active codewords at different spatial resolutions (see Fig. 28). As the resolution increases from 240240p to 43204320p, codebook utilization rises monotonically from 55.23%55.23\% to 97.12%97.12\%, indicating that higher-resolution inputs naturally excite a richer subset of the learned vocabulary rather than collapsing to a small set of frequently used tokens. In particular, utilization already exceeds 79%79\% at 10801080p and surpasses 90%90\% in the 44K regime (21602160p and 43204320p), suggesting that the proposed pyramidal design can effectively exploit the larger spatial support to express more diverse and fine-grained semantics. This trend confirms that our discrete latent space remains expressive and well-populated as we scale to high-resolution video, which is critical for both faithful reconstruction and downstream video-language understanding tasks.

Figure 28: Codebook utilization as a function of input resolution. Higher resolutions activate a larger fraction of the vocabulary, indicating that PyraTok effectively exploits the increased spatial support to encode more diverse semantics.

C.5 Ablation on Losses for Video Understanding

We ablate each component of the training objective on three video understanding benchmarks: THUMOS14 [19] and ActivityNet v1.3 [7] for temporal action localization, and MVBench for video question answering (Table 10). With the full objective, PyraTok achieves 33.17/29.1133.17/29.11 Avg. mAP on THUMOS14/ActivityNet and 86.0386.03 mAP on MVBench. Removing the drift regularizer drift\mathcal{L}_{\text{drift}}, which anchors the adapted encoder to the pretrained VAE manifold, degrades performance by 1.90/1.491.90/1.49 mAP on THUMOS14/ActivityNet and by 2.712.71 points on MVBench, indicating that maintaining a stable latent space is important for robust transfer across both localization and QA.

The autoregressive alignment loss AR\mathcal{L}_{\text{AR}} has a different effect: dropping it leads to a relatively small drop on temporal localization (0.72/1.130.72/1.13 mAP), but causes a pronounced 6.586.58-point decline on MVBench. This suggests that sequence-level token modeling is especially critical for high-level video reasoning, where the model must integrate information over longer temporal horizons. When we remove both the DINO-guided visual loss and the autoregressive loss (dino+AR\mathcal{L}_{\text{dino}}+\mathcal{L}_{\text{AR}}), performance drops most severely on TAL (by 3.883.88 and 2.332.33 mAP on THUMOS14 and ActivityNet, respectively) and by 4.464.46 points on MVBench, highlighting the complementarity between discriminative visual supervision and global token prediction.

Table 10: Ablation on loss functions.
THUMOS14 ActivityNet MVBench
dift\mathcal{L}_{\text{dift}} 31.27 27.62 83.32
AR\mathcal{L}_{\text{AR}} 32.45 27.98 79.45
dino\mathcal{L}_{\text{dino}} & AR\mathcal{L}_{\text{AR}} 29.29 26.78 81.57
text-cond. alignment\mathcal{L}_{\text{text-cond.\ alignment}} 30.22 27.55 83.56
vision_commitment\mathcal{L}_{\text{vision\_commitment}} 32.67 28.21 84.23
text-codebook alignment\mathcal{L}_{\text{text-codebook\ alignment}} 31.11 27.07 83.91
All losses 33.17 29.11 86.03

We further study the codebook-related objectives, as described in Equation 2. Ablating the text-conditioned alignment term text-cond.\mathcal{L}_{\text{text-cond.}} reduces performance by 2.95/1.562.95/1.56 mAP on THUMOS14/ActivityNet and by 2.472.47 points on MVBench, while removing the text–codebook alignment text-codebook\mathcal{L}_{\text{text-codebook}} yields a similar degradation (2.06/2.042.06/2.04 mAP and 2.122.12 points). These results confirm that both local token–text alignment and global codeword–text alignment are necessary to maintain semantically structured latents that generalize well across detection and QA tasks. In contrast, dropping the vision-comment loss vision_commitment\mathcal{L}_{\text{vision\_commitment}} produces the smallest degradation (at most 0.50/0.900.50/0.90 mAP on THUMOS14/ActivityNet and 1.801.80 points on MVBench), suggesting that, for downstream understanding, the semantic shaping of the codebook is more critical than the pure vision commitment penalty. Overall, the complete loss formulation is consistently superior, validating our multi-part objective for unified video understanding.

Appendix D Implementation Details

PyraTok is implemented using the pretrained Wan 2.2L [53] video VAE as the backbone to ensure high-fidelity visual reconstruction. We initialize the encoder with pretrained WAN-2.2 weights, while the LaPQ module and decoder are randomly initialized. Both the encoder and decoder of Wan 2.2L are kept frozen to preserve the pretrained visual quality. To encourage the model to capture long-range temporal dependencies and motion continuity, we temporally mask 30% of frames and apply cosine-based spatial masking on each frame following [14].

To enable efficient adaptation to our multi-scale semantic learning objective without full fine-tuning, we incorporate LoRA adapters [15] with rank 16 and alpha 32 into all encoder blocks. These adapters provide lightweight parameterization while preserving the representational capacity of the backbone. For text conditioning, we employ the Qwen2.5-VL (3B) [1], referred as pretrained VLM in main paper, to extract semantically rich textual embeddings that guide both the quantization and the multimodal semantic alignment. Loss weights are set to λrecon=2.5\lambda_{\text{recon}}{=}2.5, λcodebook=2.5\lambda_{\text{codebook}}{=}2.5, λAR=1.5\lambda_{\text{AR}}{=}1.5, and λdrift=0.6\lambda_{\text{drift}}{=}0.6. To reduce memory footprint and accelerate training, we apply VAE tiling for latent-space tokenization and quantize the alignment VLM to AWQ INT-4 [30]. In PyraTok, En(\cdot) refers to the frozen DINOv3 [40] encoder, which serves as a strong pretrained visual encoder. It is used to provide stable, high-quality visual features that anchor adaptation and prevent drift from the pretrained visual manifold.

All baselines are trained under identical dataset settings to ensure fair comparison. The average prompt length during training is \sim60 tokens. Training is conducted in three progressive stages, each designed to incrementally strengthen multimodal alignment and visual–temporal consistency.

Stage 1 — Self-Supervised Pretraining. In the first stage, we perform self-supervised pretraining focused on language alignment. Input spatial resolutions vary from 512×512512\times 512 up to 2048×20482048\times 2048, and we train across multiple aspect ratios, including 1:11{:}1, 4:34{:}3, 3:23{:}2, 16:916{:}9, and 2:12{:}1. For temporal modeling, the number of frames ranges from 16+116{+}1 to 96+196{+}1, where the additional frame denotes the conditioning key frame. This stage establishes robust cross-modal grounding and spatial-temporal coherence.

Stage 2 — Text–Visual Token Alignment. The second stage incorporates text–visual token alignment through the pretrained Qwen-2.5-VL (3B) backbone. We maintain the same spatial and temporal configurations as Stage 1 for training stability. This stage refines the alignment between linguistic tokens and visual embeddings, enhancing the semantic consistency of multimodal representations.

Stage 3 — Full-Scale Fine-Tuning. In the final stage, the model is exposed to multi-resolution and multi–aspect-ratio inputs, ranging from 128×128128\times 128 to 4096×40964096\times 4096, covering the same aspect ratios (1:11{:}1, 4:34{:}3, 3:23{:}2, 16:916{:}9, 2:12{:}1). The number of frames is kept consistent with previous stages. Due to increased resolution and GPU memory demands, the batch size is reduced from 4 \rightarrow 2 per GPU. This stage optimizes the model with both alignment loss and a frame-level retention loss computed using DINOv3 [40], ensuring long-range temporal retention and fine-grained visual correspondence.

All training stages are optimized using AdamW [32] with an initial learning rate of 1×1051\times 10^{-5} and a cosine annealing scheduler. Gradient accumulation steps are kept constant across stages. We train on a cluster of 128×\timesNVIDIA A100 (80 GB) GPUs. The total number of optimization steps is 30K for Stage 1, 60K for Stage 2, and 180K for Stage 3.

Refer to caption
Figure 29: Reconstruction loss over 200K training steps. The best PSNR configuration (VQ-Blocks: 4) converges at a loss of 0.12, while other ablation variants stabilize above 0.25.

Appendix E Datasets

To comprehensively train, validate, and evaluate PyraTok, we employ a diverse collection of large-scale video–text datasets spanning various resolutions, domains, and task-specific settings.

E.1 Training Datasets

Droplet-10M [73] (Subset). We curate a subset of the Droplet-10M dataset, consisting of approximately 4–5 million HD videos (720p). This subset serves as the foundation for pretraining, providing broad coverage of human activities, natural scenes, and diverse motion patterns, and a dense caption distribution and consistent temporal dynamics, crucial for learning fine-grained video–text alignment. To ensure data quality and maintain high spatial fidelity, only videos at 720p or higher resolution are retained.

OpenVid-1M [35] (300K Subset). We supplement training with 300K high-quality video–caption pairs sampled from OpenVid-1M. Only HD videos are selected to maintain visual consistency. This subset contributes to expanding linguistic diversity and contextual variation, improving open-domain caption understanding and cross-modal reasoning.

UltraVideo [64] (40K with Reconstructed Captions). To enrich representation at extreme resolutions, we incorporate 40K ultra–high-definition videos (4K and 8K) from the UltraVideo dataset. Since many of these videos lack high-quality textual descriptions, we generate captions using a multimodal LLM pipeline. This enables the model to learn from high-fidelity visual data and supports scalability to higher-resolution downstream applications.

E.2 Testing and Validation Datasets

OpenVid-1M [35] (Test Split). We employ 100K samples from the OpenVid-1M test split for evaluating generalization to unseen open-domain video–text pairs. This ensures consistency with the distribution of the training data while validating model generalization under identical data conditions.

WebVid-10M [2] (Validation) and COCO [31] (Validation). For generative evaluation, we follow the WebVid-10M and COCO-Val validation protocols. For class-guided video generation, we further evaluate on the UCF-101 [42] dataset.

MCL-JCV [54] (Compression Validation). To assess the effectiveness of our video compression and reconstruction, we employ the MCL-JCV benchmark. This dataset provides a controlled setup for evaluating perceptual quality and rate–distortion tradeoffs under varying compression levels.

To evaluate generalization beyond supervised training, we test the model under zero-shot conditions across diverse downstream video understanding tasks. For zero-shot action localization, we evaluate on ActivityNet [7] and THUMOS14 [19], which contain diverse and complex activities. For zero-shot video segmentation, we benchmark on YouTube-VIS 2021 [66] and OVIS [36]. Both datasets present challenging dynamic scenes with multiple interacting objects and frequent occlusions. For video classification, we utilize Kinetics [22], while for VideoQA, we adopt MVBench [25], a comprehensive multi-task benchmark covering spatiotemporal reasoning, action understanding, and commonsense interpretation.