Skip to main content
QUICK REVIEW

[Paper Review] NUWA-Infinity: Autoregressive over Autoregressive Generation for Infinite Visual Synthesis

Chenfei Wu, Jian Liang|arXiv (Cornell University)|Jul 20, 2022
Generative Adversarial Networks and Image SynthesisComputer Science25 citations
TL;DR

NUWA-Infinity introduces an autoregressive over autoregressive framework with Nearby Context Pool and Arbitrary Direction Controller to generate arbitrarily-sized high-resolution images and long-duration videos, enabling infinite visual synthesis with improved consistency and efficiency.

ABSTRACT

In this paper, we present NUWA-Infinity, a generative model for infinite visual synthesis, which is defined as the task of generating arbitrarily-sized high-resolution images or long-duration videos. An autoregressive over autoregressive generation mechanism is proposed to deal with this variable-size generation task, where a global patch-level autoregressive model considers the dependencies between patches, and a local token-level autoregressive model considers dependencies between visual tokens within each patch. A Nearby Context Pool (NCP) is introduced to cache-related patches already generated as the context for the current patch being generated, which can significantly save computation costs without sacrificing patch-level dependency modeling. An Arbitrary Direction Controller (ADC) is used to decide suitable generation orders for different visual synthesis tasks and learn order-aware positional embeddings. Compared to DALL-E, Imagen and Parti, NUWA-Infinity can generate high-resolution images with arbitrary sizes and support long-duration video generation additionally. Compared to NUWA, which also covers images and videos, NUWA-Infinity has superior visual synthesis capabilities in terms of resolution and variable-size generation. The GitHub link is https://github.com/microsoft/NUWA. The homepage link is https://nuwa-infinity.microsoft.com.

Motivation & Objective

  • Motivate and enable generation of arbitrarily-sized high-resolution images and long-duration videos.
  • Propose an autoregressive over autoregressive generation mechanism that models patch-level and token-level dependencies.
  • Introduce efficiency and ordering mechanisms (Nearby Context Pool and Arbitrary Direction Controller) to handle variable sizes and long sequences.
  • Evaluate on HD visual synthesis tasks including unconditional image generation, text-to-image, text-to-video, image animation, and image outpainting.
  • Show improvements over fixed-size generation approaches and prior autoregressive models in both quality and scalability.

Proposed method

  • A global patch-level autoregressive model captures dependencies between patches.
  • A local token-level autoregressive model captures dependencies within each patch.
  • A pre-trained VQGAN decoder reconstructs each patch from a sequence of visual tokens.
  • Nearby Context Pool caches recently generated patches to provide context with linear-complexity scaling.
  • Arbitrary Direction Controller selects patch generation orders and assigns order-aware dynamic positional embeddings.
  • Training uses random patch order from four basic orders and a cross-entropy loss on predicted tokens.

Experimental results

Research questions

  • RQ1Can NUWA-Infinity generate arbitrarily-sized high-resolution images and long videos while maintaining content coherence?
  • RQ2How do patch-level and token-level autoregressive dependencies interact to produce consistent results across scales?
  • RQ3Do Nearby Context Pool and Arbitrary Direction Controller improve efficiency and quality for infinite visual synthesis compared to prior methods?
  • RQ4How does NUWA-Infinity perform on high-definition tasks such as unconditional image generation, image outpainting, image animation, text-to-image, and text-to-video?

Key findings

  • NUWA-Infinity can generate extremely high-resolution images (e.g., up to 38912×2048) by tiling patches and leveraging NCP for efficiency.
  • The model maintains local detail and global consistency through its two-level autoregressive structure.
  • NUWA-Infinity outperforms baseline autoregressive and Mask-Predict-style methods on text-to-image HD tasks in Block-FID, CLIP-SIM, and IS on LHQC.
  • NUWA-Infinity supports long-duration video generation and achieves competitive or superior quality (lower FVD) on video tasks such as LHQ-V.
  • The ADC enables flexible generation orders including image outpainting, and dynamic positional embeddings to maintain order-aware context.
  • Pixel-Guided VQGAN improves temporal consistency for video outputs.

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.