Abstract
Conditional image generation remains a challenging one-to-many problem, often hindered by domain mismatches between conditions and images, as well as exposure bias in auto-regressive modeling. We present the Integrated Quantization Variational Auto-Encoder (IQ-VAE), a framework that collaboratively quantizes multi-domain features in a shared latent space. By employing a Gromov-Wasserstein distance-based regularizer and a reliability-based Gumbel sampling strategy, IQ-VAE effectively aligns disparate modalities and reduces error accumulation during inference. Our results across diverse benchmarks, including ADE20k and CelebA-HQ, demonstrate superior fidelity and diversity compared to existing state-of-the-art methods.
Introduction
Conditional image generation—the process of creating realistic images from inputs such as segmentation maps, text, or audio—is fundamentally a "one-to-many" problem. A single text prompt or sketch can correspond to an infinite variety of valid visual outputs. Current state-of-the-art methods face two major hurdles in addressing this complexity:
- Domain Mismatch: Previous auto-regressive models, such as VQ-GAN, typically quantize the condition (e.g., a sketch) and the result (the image) independently. This approach ignores the natural correlations between the two domains, often leading to less coherent results.
- Exposure Bias: These models are generally trained using "teacher forcing," where the model is provided with ground-truth tokens for every step of the sequence. However, at inference time, the model must rely on its own previous (and potentially erroneous) predictions. This mismatch leads to rapid error accumulation and degraded image quality.
Methodology
The proposed Integrated Quantization Variational Auto-Encoder (IQ-VAE) introduces three core innovations to bridge the gap between different data domains and stabilize the generation process.
Integrated Quantization
Instead of treating the condition and the image as separate silos, IQ-VAE quantizes features from multiple domains collaboratively. By utilizing a shared latent space, the model ensures that the discrete codebook represents the relationship between the condition and the image directly, rather than just the pixel-level statistics of the image.
Structural Alignment via Gromov-Wasserstein Distance
Comparing disparate modalities, such as audio and pixels, is difficult because their latent spaces are fundamentally incomparable. To solve this, the authors utilize a variational regularizer based on the Gromov-Wasserstein (GW) distance. Rather than penalizing the distance between specific points, the GW distance penalizes differences in the internal structure (intra-domain variations) of each distribution. If two points are "close" in the text domain, the model learns to ensure their corresponding representations are "close" in the image domain. A "Sliced" version of the GW distance is implemented to maintain computational efficiency.
Reliable Gumbel Sampling
To mitigate exposure bias, the authors introduce a dual-pass training strategy. During the second pass of auto-regression, the model mixes its own predicted tokens with "gold" ground-truth tokens. This process uses reliability-based scheduling, where predicted tokens are only sampled when the model exhibits high confidence. The Gumbel-Softmax trick is employed to ensure the sampling process remains differentiable, allowing the model to learn how to recover from its own mistakes during training.
Experimental Evaluation
The IQ-VAE framework was benchmarked across a wide variety of tasks, including semantic segmentation to image (ADE20k, COCO-Stuff), edge maps to faces (CelebA-HQ), keypoints to person images (DeepFashion), text-to-image (CUB-200), and audio-to-image (Sub-URMP).
Key Results
IQ-VAE consistently outperformed state-of-the-art models like SPADE, VQ-GAN (Taming Transformer), and BicycleGAN:
- Fidelity: On the ADE20k dataset, IQ-VAE achieved an FID of 29.77, a significant improvement over VQ-GAN’s 35.50.
- Diversity: The model maintained high LPIPS scores, indicating that it successfully generates a diverse range of high-quality variations rather than converging on a single "safe" average image.
- User Preference: Crowdsourced studies indicated a strong user preference for IQ-VAE across all primary datasets compared to competing architectures.
Discussion and Insights
The success of IQ-VAE highlights the importance of structure over points. By focusing on how data is distributed within a domain rather than where specific points lie, the model learns a more robust mapping across modalities. Furthermore, treating uncertainty as a feature through Gumbel sampling acts as a form of data augmentation, making the generation process significantly more stable.
Conclusion and Future Work
IQ-VAE provides a powerful framework for high-fidelity conditional image synthesis by integrating quantization and addressing the inherent biases of auto-regressive modeling. While the model sets new benchmarks for quality and diversity, inference speed remains a primary bottleneck. Because the model predicts tokens sequentially, it is inherently slower than "one-shot" models like GANs or certain Diffusion architectures. Future research will focus on accelerating the auto-regressive sampling process to move toward real-time applications, while remaining mindful of the ethical implications regarding the creation of synthetic media.
Summary updated