Skip to main content
QUICK REVIEW

[Paper Review] Unified Discrete Diffusion for Simultaneous Vision-Language Generation

Minghui Hu, Chuanxia Zheng|arXiv (Cornell University)|Nov 27, 2022
Multimodal Machine Learning ApplicationsComputer Science8 citations
TL;DR

This paper proposes UniD3, a unified discrete diffusion model that simultaneously performs vision-language generation and modality translation using a single architecture. By introducing a unified transition matrix and a mutual attention mechanism with fused embeddings, UniD3 models joint distributions of text and image tokens, achieving state-of-the-art performance in both unconditional image-text generation and bidirectional synthesis tasks.

ABSTRACT

The recently developed discrete diffusion models perform extraordinarily well in the text-to-image task, showing significant promise for handling the multi-modality signals. In this work, we harness these traits and present a unified multimodal generation model that can conduct both the "modality translation" and "multi-modality generation" tasks using a single model, performing text-based, image-based, and even vision-language simultaneous generation. Specifically, we unify the discrete diffusion process for multimodal signals by proposing a unified transition matrix. Moreover, we design a mutual attention module with fused embedding layer and a unified objective function to emphasise the inter-modal linkages, which are vital for multi-modality generation. Extensive experiments indicate that our proposed method can perform comparably to the state-of-the-art solutions in various generation tasks.

Motivation & Objective

  • To unify vision-language generation and modality translation into a single model, overcoming the limitations of task-specific architectures.
  • To design a unified Markov transition matrix that enables stable corruption and denoising of mixed text and image tokens in the discrete latent space.
  • To enhance cross-modal understanding through a mutual attention mechanism with fused embeddings, improving inter-modal linkage in the joint distribution.
  • To develop a unified objective function that simplifies optimization and strengthens joint modeling of multi-modal signals.
  • To demonstrate the model's capability in both unconditional generation and bi-directional synthesis (e.g., text-to-image, image-to-text) with a single framework.

Proposed method

  • Utilizes a discrete VAE (dVAE) to convert images into discrete tokens and applies Byte-Pair Encoding (BPE) to tokenize text, enabling shared latent representation across modalities.
  • Introduces a unified transition matrix that governs the diffusion process across fused text and image tokens, allowing stable corruption and denoising of mixed modalities.
  • Employs a mutual attention mechanism with a fused embedding layer to model cross-modal dependencies during the denoising process.
  • Designs a unified objective function that jointly optimizes for both text and image reconstruction, enhancing alignment and coherence.
  • Adopts a two-stage training framework: first pretraining the dVAE and BPE encoders offline, then training the unified diffusion model on the discrete latent codes.
  • Supports both conditional generation (e.g., text-guided image generation) and unconditional generation (e.g., joint image-text pair synthesis) within the same architecture.

Experimental results

Research questions

  • RQ1Can a single discrete diffusion model effectively model the joint distribution of vision and language modalities?
  • RQ2How can a unified transition matrix be designed to enable stable diffusion across mixed text and image tokens?
  • RQ3What is the impact of a mutual attention mechanism with fused embeddings on cross-modal generation quality?
  • RQ4Can the same model perform both modality translation and multi-modality generation tasks without architectural specialization?
  • RQ5How does the unified objective function compare to separate objectives in terms of training stability and generation quality?

Key findings

  • UniD3 achieves competitive image quality in text-to-image generation, matching state-of-the-art models on unconditional image generation benchmarks.
  • The model performs comparably to SOTA methods in image captioning, demonstrating strong zero-shot text generation capability from image latents.
  • Ablation studies show that removing the unified transition matrix degrades performance significantly (FID: 32.63 vs. 16.19), confirming its importance.
  • The mutual attention mechanism contributes substantially to performance, with a 5.46 FID point drop when removed (21.65 vs. 16.19).
  • The unified transition matrix improves stability and performance, with a 2.14 FID improvement when using fast sampling (Δt = 10) compared to standard sampling.
  • The model successfully supports multiple tasks—including unconditional image-text generation, text-guided image completion, and image-conditional captioning—within a single architecture.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.