Skip to main content
QUICK REVIEW

[Paper Review] Show-o: One Single Transformer to Unify Multimodal Understanding and Generation

Jinheng Xie, Weijia Mao|arXiv (Cornell University)|Aug 22, 2024
Speech and dialogue systemsComputer Science3 citations
TL;DR

Show-o proposes a unified transformer architecture that integrates autoregressive modeling for text and discrete denoising diffusion for images within a single model, enabling end-to-end multimodal understanding and generation. It achieves performance on par or superior to specialized models across vision-language tasks while reducing sampling steps by ~20x compared to autoregressive methods.

ABSTRACT

We present a unified transformer, i.e., Show-o, that unifies multimodal understanding and generation. Unlike fully autoregressive models, Show-o unifies autoregressive and (discrete) diffusion modeling to adaptively handle inputs and outputs of various and mixed modalities. The unified model flexibly supports a wide range of vision-language tasks including visual question-answering, text-to-image generation, text-guided inpainting/extrapolation, and mixed-modality generation. Across various benchmarks, it demonstrates comparable or superior performance to existing individual models with an equivalent or larger number of parameters tailored for understanding or generation. This significantly highlights its potential as a next-generation foundation model. Code and models are released at https://github.com/showlab/Show-o.

Motivation & Objective

  • To unify multimodal understanding and generation into a single, unified transformer architecture.
  • To address the challenge of combining autoregressive and diffusion-based modeling for mixed modalities (text and images) within one model.
  • To eliminate the need for separate models or additional encoders by integrating conditional text encoding directly into the unified architecture.
  • To enable zero-shot generalization across diverse multimodal tasks such as VQA, text-to-image generation, and inpainting without fine-tuning.
  • To investigate the impact of discrete vs. continuous image representations on multimodal reasoning performance.

Proposed method

  • Show-o uses a pre-trained large language model (LLM) backbone to handle autoregressive text generation and reasoning.
  • It employs discrete denoising diffusion to model image tokens, replacing continuous pixel-level denoising with learned discrete representations from a vision tokenizer.
  • A unified prompting strategy encodes mixed modality inputs (text and image tokens) into a single sequence for joint processing.
  • Conditional text information is directly embedded into the model’s cross-attention layers, eliminating the need for an external text encoder.
  • The model is jointly pre-trained on diverse multimodal data using a unified objective that supports both understanding and generation tasks.
  • Sampling is accelerated via discrete diffusion, requiring only 16 steps for 256×256 image generation, compared to 256 steps in autoregressive baselines.

Experimental results

Research questions

  • RQ1Can a single transformer model effectively unify autoregressive and diffusion-based modeling for multimodal understanding and generation?
  • RQ2How does joint pre-training on both understanding and generation tasks improve cross-modal alignment and reasoning?
  • RQ3What is the performance impact of using discrete image tokens versus continuous features in a unified multimodal transformer?
  • RQ4Can the unified model generalize zero-shot to diverse downstream tasks like text-to-image generation, inpainting, and video keyframe generation?
  • RQ5How does classifier-free guidance and sampling step count affect image quality and prompt adherence in the unified diffusion setting?

Key findings

  • Show-o achieves state-of-the-art or comparable performance to specialized models on multimodal understanding benchmarks such as MME (1182.7), VQAv2 (71.9), and POPE (84.5), despite being a unified model.
  • The model reduces sampling steps to 16 for 256×256 image generation, representing a ~20x speedup compared to autoregressive models requiring 256 steps.
  • Discrete denoising diffusion enables high-quality text-to-image generation with improved detail and prompt consistency, especially at higher classifier-free guidance scales (e.g., t=1.75).
  • Unified pre-training significantly improves multimodal understanding, with a 15.5% relative gain in MME score when using MAGVIT-v2 discrete tokens compared to non-unified pre-training.
  • The model generalizes zero-shot to tasks like text-guided inpainting, extrapolation, and interleaved video keyframe generation without fine-tuning.
  • Failure cases reveal limitations in text recognition and object counting, primarily due to data scarcity in training data for such specific linguistic patterns.

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.