VAEVQ: Enhancing Discrete Visual Tokenization through Variational Modeling
Sicheng Yang, Xing Hu, Qiang Wu, Dawei Yang
TL;DR
VAEVQ tackles key limitations of discrete visual tokenizers by integrating a variational latent space with vector quantization. The framework combines Variational Latent Quantization (VLQ), Representation Coherence Strategy (RCS), and Distribution Consistency Regularization (DCR) to achieve smoother latent manifolds, stronger local alignment, and globally balanced codebook distributions. Empirical results on ImageNet and BraTS24 show superior reconstruction and generation quality, along with near-complete codeword utilization and robustness across domains, without relying on pretrained models. These advances enhance the practicality and expressiveness of discrete visual tokens for autoregressive and diffusion-based image generation tasks.
Abstract
Vector quantization (VQ) transforms continuous image features into discrete representations, providing compressed, tokenized inputs for generative models. However, VQ-based frameworks suffer from several issues, such as non-smooth latent spaces, weak alignment between representations before and after quantization, and poor coherence between the continuous and discrete domains. These issues lead to unstable codeword learning and underutilized codebooks, ultimately degrading the performance of both reconstruction and downstream generation tasks. To this end, we propose VAEVQ, which comprises three key components: (1) Variational Latent Quantization (VLQ), replacing the AE with a VAE for quantization to leverage its structured and smooth latent space, thereby facilitating more effective codeword activation; (2) Representation Coherence Strategy (RCS), adaptively modulating the alignment strength between pre- and post-quantization features to enhance consistency and prevent overfitting to noise; and (3) Distribution Consistency Regularization (DCR), aligning the entire codebook distribution with the continuous latent distribution to improve utilization. Extensive experiments on two benchmark datasets demonstrate that VAEVQ outperforms state-of-the-art methods.
