SoftVQ-VAE: Efficient 1-Dimensional Continuous Tokenizer

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Hao, Wang, Ze, Li, Xiang, Sun, Ximeng, Chen, Fangyi, Liu, Jiang, Wang, Jindong, Raj, Bhiksha, Liu, Zicheng, Barsoum, Emad
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910876469035008
author Chen, Hao
Wang, Ze
Li, Xiang
Sun, Ximeng
Chen, Fangyi
Liu, Jiang
Wang, Jindong
Raj, Bhiksha
Liu, Zicheng
Barsoum, Emad
author_facet Chen, Hao
Wang, Ze
Li, Xiang
Sun, Ximeng
Chen, Fangyi
Liu, Jiang
Wang, Jindong
Raj, Bhiksha
Liu, Zicheng
Barsoum, Emad
contents Efficient image tokenization with high compression ratios remains a critical challenge for training generative models. We present SoftVQ-VAE, a continuous image tokenizer that leverages soft categorical posteriors to aggregate multiple codewords into each latent token, substantially increasing the representation capacity of the latent space. When applied to Transformer-based architectures, our approach compresses 256x256 and 512x512 images using as few as 32 or 64 1-dimensional tokens. Not only does SoftVQ-VAE show consistent and high-quality reconstruction, more importantly, it also achieves state-of-the-art and significantly faster image generation results across different denoising-based generative models. Remarkably, SoftVQ-VAE improves inference throughput by up to 18x for generating 256x256 images and 55x for 512x512 images while achieving competitive FID scores of 1.78 and 2.21 for SiT-XL. It also improves the training efficiency of the generative models by reducing the number of training iterations by 2.3x while maintaining comparable performance. With its fully-differentiable design and semantic-rich latent space, our experiment demonstrates that SoftVQ-VAE achieves efficient tokenization without compromising generation quality, paving the way for more efficient generative models. Code and model are released.
format Preprint
id arxiv_https___arxiv_org_abs_2412_10958
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SoftVQ-VAE: Efficient 1-Dimensional Continuous Tokenizer
Chen, Hao
Wang, Ze
Li, Xiang
Sun, Ximeng
Chen, Fangyi
Liu, Jiang
Wang, Jindong
Raj, Bhiksha
Liu, Zicheng
Barsoum, Emad
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Efficient image tokenization with high compression ratios remains a critical challenge for training generative models. We present SoftVQ-VAE, a continuous image tokenizer that leverages soft categorical posteriors to aggregate multiple codewords into each latent token, substantially increasing the representation capacity of the latent space. When applied to Transformer-based architectures, our approach compresses 256x256 and 512x512 images using as few as 32 or 64 1-dimensional tokens. Not only does SoftVQ-VAE show consistent and high-quality reconstruction, more importantly, it also achieves state-of-the-art and significantly faster image generation results across different denoising-based generative models. Remarkably, SoftVQ-VAE improves inference throughput by up to 18x for generating 256x256 images and 55x for 512x512 images while achieving competitive FID scores of 1.78 and 2.21 for SiT-XL. It also improves the training efficiency of the generative models by reducing the number of training iterations by 2.3x while maintaining comparable performance. With its fully-differentiable design and semantic-rich latent space, our experiment demonstrates that SoftVQ-VAE achieves efficient tokenization without compromising generation quality, paving the way for more efficient generative models. Code and model are released.
title SoftVQ-VAE: Efficient 1-Dimensional Continuous Tokenizer
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2412.10958