[Paper Review] MoVQ: Modulating Quantized Vectors for High-Fidelity Image Generation
MoVQ proposes a modulated VQGAN framework that enhances high-fidelity image generation by introducing spatially conditional normalization to inject spatially variant information into quantized vectors, reducing repeated artifacts. It further improves representation with multichannel latent codes and leverages MaskGIT for fast prior modeling, achieving state-of-the-art FID scores (1.05 on ImageNet, 2.26 on FFHQ) without increased computational cost.
Although two-stage Vector Quantized (VQ) generative models allow for synthesizing high-fidelity and high-resolution images, their quantization operator encodes similar patches within an image into the same index, resulting in a repeated artifact for similar adjacent regions using existing decoder architectures. To address this issue, we propose to incorporate the spatially conditional normalization to modulate the quantized vectors so as to insert spatially variant information to the embedded index maps, encouraging the decoder to generate more photorealistic images. Moreover, we use multichannel quantization to increase the recombination capability of the discrete codes without increasing the cost of model and codebook. Additionally, to generate discrete tokens at the second stage, we adopt a Masked Generative Image Transformer (MaskGIT) to learn an underlying prior distribution in the compressed latent space, which is much faster than the conventional autoregressive model. Experiments on two benchmark datasets demonstrate that our proposed modulated VQGAN is able to greatly improve the reconstructed image quality as well as provide high-fidelity image generation.
Motivation & Objective
- To address repeated artifact patterns in VQ-based image generation caused by quantization collapsing similar patches into the same code.
- To enhance image reconstruction and generation quality without increasing model complexity or computational cost.
- To improve codebook utilization and representation capacity via multichannel latent vectors in the discrete space.
- To accelerate second-stage prior modeling using MaskGIT for efficient autoregressive generation in the compressed latent space.
Proposed method
- Introduces spatially conditional normalization that modulates decoder activations using quantized vectors, injecting spatially variant context.
- Employs multichannel representation to increase recombination capability of discrete codes while keeping codebook size fixed.
- Uses Fourier features as initial spatial embeddings for the normalization module, significantly outperforming positional or learned constants.
- Adopts MaskGIT to model the prior distribution over discrete tokens in the latent space, enabling faster, confidence-based token prediction.
- Retains the VQGAN encoder-decoder architecture but enhances it with modulated normalization and multichannel latent maps.
- Leverages a shared codebook across channels to maintain efficiency while improving representation fidelity.
Experimental results
Research questions
- RQ1Can spatially conditional normalization reduce repeated artifacts in VQ-based image generation by injecting spatially variant information into discrete codes?
- RQ2Does multichannel latent representation improve image reconstruction and generation quality without increasing model complexity?
- RQ3Can Fourier-based spatial embeddings outperform positional or learned constant embeddings in the normalization module?
- RQ4How does MoVQ compare to state-of-the-art VQ-based models in terms of FID and reconstruction quality under the same compression ratio?
- RQ5Can MaskGIT effectively accelerate prior modeling in the discrete latent space while maintaining high-fidelity generation?
Key findings
- MoVQ achieves a Fréchet Inception Distance (FID) of 1.05 on ImageNet and 2.26 on FFHQ, significantly outperforming baseline VQGAN and state-of-the-art models.
- The use of Fourier features in spatially conditional normalization yields the best performance, reducing FID by over 1.5 points compared to positional embeddings.
- With only 1024 codebook entries, MoVQ achieves superior results compared to larger codebooks in standard VQGAN, indicating improved codebook efficiency.
- Multichannel representation with four channels reduces FID from 11.4 to 10.6, demonstrating enhanced representation capacity.
- The model maintains high reconstruction quality and generates diverse, high-fidelity images, even with small codebooks.
- Codebook usage improves significantly in MoVQ, suggesting better utilization of discrete codes compared to standard VQ-based models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.