Skip to main content
QUICK REVIEW

[Paper Review] NÜWA: Visual Synthesis Pre-training for Neural visUal World creAtion

Chenfei Wu, Jian Liang|arXiv (Cornell University)|Nov 24, 2021
Multimodal Machine Learning ApplicationsComputer Science7 citations
TL;DR

NÜWA is a unified 3D transformer-based pre-trained model that generates and manipulates images and videos using a shared encoder-decoder architecture with 3D Nearby Attention (3DNA), achieving state-of-the-art performance on 8 visual synthesis tasks, including text-to-image and text-to-video generation, with strong zero-shot capabilities in manipulation tasks.

ABSTRACT

This paper presents a unified multimodal pre-trained model called NÜWA that can generate new or manipulate existing visual data (i.e., images and videos) for various visual synthesis tasks. To cover language, image, and video at the same time for different scenarios, a 3D transformer encoder-decoder framework is designed, which can not only deal with videos as 3D data but also adapt to texts and images as 1D and 2D data, respectively. A 3D Nearby Attention (3DNA) mechanism is also proposed to consider the nature of the visual data and reduce the computational complexity. We evaluate NÜWA on 8 downstream tasks. Compared to several strong baselines, NÜWA achieves state-of-the-art results on text-to-image generation, text-to-video generation, video prediction, etc. Furthermore, it also shows surprisingly good zero-shot capabilities on text-guided image and video manipulation tasks. Project repo is https://github.com/microsoft/NUWA.

Motivation & Objective

  • To develop a unified multimodal pre-trained model capable of handling text, images, and videos within a single framework for diverse visual synthesis tasks.
  • To address the computational inefficiency and limited generalization of existing auto-regressive visual models by introducing a 3D attention mechanism that respects spatial and temporal locality.
  • To enable zero-shot text-guided image and video manipulation by leveraging a shared, multimodal pre-trained decoder.
  • To improve visual generation quality and scalability by combining VQ-GAN-based discrete tokenization with multi-task pre-training on image and video data.
  • To unify image and video modeling under one architecture, allowing joint pre-training on both modalities to enhance semantic and structural consistency.

Proposed method

  • Design a 3D transformer encoder-decoder framework that treats text as 1D, images as 2D, and videos as 3D sequences, enabling unified processing across modalities.
  • Introduce 3D Nearby Attention (3DNA), a sparse attention mechanism that restricts self-attention to neighboring spatial and temporal tokens, reducing computation while preserving local structure.
  • Use VQ-GAN for discrete visual tokenization, replacing VQ-VAE to improve generation quality and enable efficient pre-training on high-resolution data.
  • Implement multi-task pre-training on three core tasks: text-to-image (T2I), text-to-video (T2V), and video-to-video (V2V), to jointly learn cross-modal and video-specific representations.
  • Adapt the same decoder for 8 downstream tasks—including image/video generation, completion, prediction, and text-guided manipulation—by conditioning on partial inputs or text prompts.
  • Apply a shared, adaptive encoder that processes text or visual sketches (e.g., 3D sketches) and feeds them into the shared decoder for generation or manipulation.

Experimental results

Research questions

  • RQ1Can a unified 3D transformer architecture effectively handle diverse visual synthesis tasks across text, images, and videos?
  • RQ2Does a 3D nearby attention mechanism improve generation quality and computational efficiency compared to axial or full self-attention in video and image generation?
  • RQ3To what extent can multi-task pre-training on T2I, T2V, and V2V improve zero-shot performance on text-guided image and video manipulation?
  • RQ4How does the integration of image and video data during pre-training affect downstream visual synthesis performance compared to models trained on only one modality?
  • RQ5Can a single pre-trained model generalize to zero-shot manipulation tasks without fine-tuning, given only a text prompt and a partial input?

Key findings

  • NÜWA achieves state-of-the-art FID-vid of 47.68 on the MSR-VTT dataset for text-to-video generation, outperforming baselines by a significant margin.
  • The model achieves a CLIPSIM score of 0.2439 on MSR-VTT, indicating strong semantic alignment between generated videos and text descriptions.
  • With multi-task pre-training on T2I, T2V, and V2V, NÜWA improves FID-vid by 5.3 points compared to training only on T2V, demonstrating the benefit of joint learning.
  • The 3DNA mechanism reduces computational complexity while improving visual quality, as shown by a 27.79 FID-vid and 0.6085 Detected PA on the VSPW sketch-to-video task.
  • NÜWA demonstrates strong zero-shot capabilities in text-guided video manipulation, successfully generating diver swimming to the surface, bottom, or flying upward from a single prompt.
  • Replacing either the encoder or decoder with full self-attention degrades performance, confirming that localized attention is essential for high-quality generation.

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.