Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

MGVQ: Could VQ-VAE Beat VAE? A Generalizable Tokenizer with Multi-group Quantization

About

Vector Quantized Variational Autoencoders (VQ-VAEs) are fundamental models that compress continuous visual data into discrete tokens. Existing methods have tried to improve the quantization strategy for better reconstruction quality, however, there still exists a large gap between VQ-VAEs and VAEs. To narrow this gap, we propose MGVQ, a novel method to augment the representation capability of discrete codebooks, facilitating easier optimization for codebooks and minimizing information loss, thereby enhancing reconstruction quality. Specifically, we propose to retain the latent dimension to preserve encoded features and incorporate a set of sub-codebooks for quantization. Furthermore, we construct comprehensive zero-shot benchmarks featuring resolutions of 512p and 2k to evaluate the reconstruction performance of existing methods rigorously. MGVQ achieves the state-of-the-art performance on both ImageNet and 8 zero-shot benchmarks across all VQ-VAEs. Notably, compared with SD-VAE, we outperform them on ImageNet significantly, with rFID 0.49 v.s. 0.91, and achieve superior PSNR on all zero-shot benchmarks. These results highlight the superiority of MGVQ in reconstruction and pave the way for preserving fidelity in HD image processing tasks. Code will be publicly available at https://github.com/MKJia/MGVQ.

Mingkai Jia, Wei Yin, Xiaotao Hu, Jiaxin Guo, Xiaoyang Guo, Qian Zhang, Xiao-Xiao Long, Ping Tan• 2025

Related benchmarks

TaskDatasetResultRank
Image ReconstructionImageNet 256x256
rFID0.27
93
Image ReconstructionCelebA--
27
Image ReconstructionTextOCR
rFID2.3
6
Image ReconstructionVFHQ
rFID3.42
6
Image ReconstructionDAVIS
rFID9.52
6
Image ReconstructionSpring
rFID22.3
6
Image ReconstructionENeRF
rFID5.83
6
Image ReconstructionUHDBench zero-shot 2k resolution (2560x1440)
rFID1.59
6
Image ReconstructionDAVIS zero-shot 2k resolution (2560x1440)
rFID2.77
6
Class-to-image generationImageNet 256p 1k (val)
gFID3.02
4
Showing 10 of 10 rows

Other info

Code

Follow for update