OneVAE: Joint Discrete and Continuous Optimization Helps Discrete Video VAE Train Better

Yupeng Zhou, Zhen Li, Ziheng Ouyang, Yuming Chen, Ruoyi Du, Daquan Zhou, Bin Fu, Yihao Liu, Peng Gao, Ming-Ming Cheng, Qibin HouarXiv 2025 · DOI

Introduction

Generative AI for video currently relies on two distinct visual representation paradigms: continuous and discrete. Continuous representations, typically used by diffusion models, offer high-fidelity reconstruction and stable training. Conversely, discrete representations transform video into "visual tokens" compatible with the autoregressive logic of Large Language Models (LLMs). However, training discrete video Variational Autoencoders (VAEs) is notoriously difficult, often plagued by "codebook collapse," slow convergence, and inferior reconstruction quality compared to their continuous counterparts.

OneVAE addresses this performance gap by unifying discrete and continuous video VAEs into a single framework. By leveraging pre-trained continuous VAE priors and a joint optimization strategy, OneVAE achieves a 5x training speedup and significantly higher reconstruction quality (up to 1dB PSNR improvement) over traditional discrete-only tokenizers.

OneVAE unifies continuous and discrete VAEs, providing superior reconstruction quality compared to baselines like CV-VAE and Cosmos.

Methodology

The OneVAE framework introduces several architectural and procedural innovations designed to bridge the gap between continuous and discrete latent spaces.

Tree-Structured Progressive Training

Rather than training from scratch, OneVAE employs a tree-structured progressive training approach. It begins with a pre-trained continuous VAE and gradually transitions the model toward discrete representations and higher compression ratios. This allows the discrete model to inherit essential visual priors—such as shape, texture, and motion—from the more stable continuous training phase.

Finite Scalar Quantization (FSQ)

The authors utilize Finite Scalar Quantization (FSQ) instead of traditional Vector Quantization (VQ). FSQ uses a fixed mapping and rounding operation, making it mathematically closer to a continuous function. This characteristic facilitates a smoother transition during the progressive training phase from continuous to discrete latents.

Joint Discrete-Continuous Optimization

A core innovation is the "dual-path" training strategy. During training, the model randomly selects either a continuous or discrete encoding path for each batch. This joint optimization forces the encoder to learn a robust latent space capable of satisfying both requirements, preventing the discrete path from becoming unstable.

Architectural Enhancements

To capture fine-grained details, OneVAE uses Multi-Token Quantization, where feature channels are split into sub-vectors and quantized independently. Additionally, to combat the degradation often seen in the initial frames of causal VAEs, the model implements First-Frame Enhancement, using a lower compression ratio for the first frame to act as a high-quality anchor for subsequent temporal reconstruction.

Overview of OneVAE innovations: (a) Progressive Training, (b) Multi-Token Quantization, (c) First Frame Enhancement, and (d) Unified Dual Path Training.

Experimental Results

OneVAE was trained on the WebVid-10M dataset and evaluated on Panda-70M. The results demonstrate significant improvements across multiple dimensions:

  • Efficiency: OneVAE converges 5x faster than discrete VAEs trained from scratch.
  • Reconstruction Quality: The model achieves a 1dB improvement in PSNR over state-of-the-art discrete tokenizers. Benchmarks against NVIDIA’s Cosmos Tokenizer, OmniTokenizer, and Emu-3 show superior performance in SSIM, LPIPS, and FVD metrics.
  • Qualitative Fidelity: Visual evaluations reveal sharper text and more realistic facial features, avoiding the "muddy" artifacts common in high-compression video tokenization.

Conclusion

OneVAE demonstrates that the divide between continuous and discrete video representations is unnecessary. By treating them as complementary tasks within a unified framework, OneVAE not only accelerates training but also sets a new standard for discrete video reconstruction. Future work will explore the integration of OneVAE into large-scale Video-LLMs and further scaling of the decoder architecture.

Summary updated

BibTeX
@misc{zhou2025onevae,
  author = {Yupeng Zhou and Zhen Li and Ziheng Ouyang and Yuming Chen and Ruoyi Du and Daquan Zhou and Bin Fu and Yihao Liu and Peng Gao and Ming-Ming Cheng and Qibin Hou},
  title = {{OneVAE: Joint Discrete and Continuous Optimization Helps Discrete Video VAE Train Better}},
  year = {2025},
  eprint = {2508.09857},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.09857},
}
Figure