Open-MAGVIT2: An Open-Source Project Toward Democratizing Auto-regressive Visual Generation

Zhuoyan Luo, Fengyuan Shi, Yixiao Ge, Yujiu Yang, Limin Wang +1 more
9/6/2024
cs.CVcs.AI

No official code found. Best implementation: TencentARC/SEED-Voken (1,021 stars, Apache-2.0, last commit 2025-11-25).

Abstract

The Open-MAGVIT2 project produces an open-source replication of Google's MAGVIT-v2 tokenizer, a tokenizer with a super-large codebook (i.e., $2^{18}$ codes), and achieves the state-of-the-art reconstruction performance on ImageNet and UCF benchmarks. We also provide a tokenizer pre-trained on large-scale data, significantly outperforming Cosmos on zero-shot benchmarks (1.93 vs. 0.78 rFID on ImageNet original resolution). Furthermore, we explore its application in plain auto-regressive models to validate scalability properties, producing a family of auto-regressive image generation models ranging from 300M to 1.5B. To assist auto-regressive models in predicting with a super-large vocabulary, we factorize it into two sub-vocabulary of different sizes by asymmetric token factorization, and further introduce ``next sub-token prediction'' to enhance sub-token interaction for better generation quality. We release all models and codes to foster innovation and creativity in the field of auto-regressive visual generation.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

SEED-Voken: A Series of Powerful Visual Tokenizers

1,02148Shell, PythonJun 12, 202411 months agoApache-2.0

Similar Papers

Cite this paper

@article{luo2024openmagvit,
  title  = {Open-MAGVIT2: An Open-Source Project Toward Democratizing Auto-regressive Visual Generation},
  author = {Zhuoyan Luo and Fengyuan Shi and Yixiao Ge and Yujiu Yang and Limin Wang and Ying Shan},
  year   = {2024},
  eprint = {2409.04410},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.04410v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.04410.svg)](https://codeofpaper.com/paper/2409.04410)

Discussion