Skip to main content
QUICK 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 Science被引用 25
一句话总结

NUWA-Infinity 引入一个自回归上的自回归框架,具备 Nearby Context Pool 和 Arbitrary Direction Controller,以生成任意尺寸的高分辨率图像和长时序视频,实现具有更好的一致性与效率的无限视觉合成。

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.

研究动机与目标

  • 激发并实现生成任意尺寸的高分辨率图像和长时长视频。
  • 提出一种自回归上的自回归生成机制,建模块级(patch-level)与标记级(token-level)依赖。
  • 引入效率与排序机制(Nearby Context Pool 和 ArbitraryDirection Controller),以处理可变尺寸和长序列。
  • 在高清视觉合成任务上进行评估,包括无条件图像生成、文本到图像、文本到视频、图像动画和图像外绘。
  • 在质量和可扩展性方面,显示出对固定大小生成方法和先前自回归模型的改进。

提出的方法

  • 一个全局的块级自回归模型捕捉块之间的依赖关系。
  • 一个局部的标记级自回归模型捕捉每个块内的依赖关系。
  • 一个预训练的 VQGAN 解码器从一序列视觉标记重建每个块。
  • Nearby Context Pool 缓存最近生成的块以提供上下文,具线性复杂度扩展。
  • Arbitrary Direction Controller 选择块的生成顺序并分配顺序感知的动态位置嵌入。
  • 训练使用来自四个基本顺序的随机块顺序以及对预测标记的交叉熵损失。

实验结果

研究问题

  • RQ1NUWA-Infinity 能否在保持内容连贯性的前提下生成任意尺寸的高分辨率图像和长视频?
  • RQ2块级和标记级自回归依赖如何交互以在不同尺度上产生一致的结果?
  • RQ3Nearby Context Pool 和 Arbitrary Direction Controller 相较于现有方法,是否提高了无限视觉合成的效率和质量?
  • RQ4NUWA-Infinity 在高清任务(如无条件图像生成、图像外绘、图像动画、文本到图像、文本到视频)上的表现如何?

主要发现

  • NUWA-Infinity 可以通过拼接块并利用 NCP 提高效率,生成极高分辨率的图像(例如高达 38912×2048)。
  • 模型通过两级自回归结构维持局部细节与全局一致性。
  • 在 LHQC 的文本到图像高清任务上,NUWA-Infinity 在 Block-FID、CLIP-SIM 与 IS 指标上优于基线自回归和 Mask-Predict 风格方法。
  • NUWA-Infinity 支持长时序视频生成,在如 LHQ-V 的视频任务中实现具有竞争力或优越的质量(FVD 更低)。
  • ADC 使生成顺序更加灵活,包括图像外绘,并具有动态位置嵌入以维持顺序感知的上下文。
  • Pixel-Guided VQGAN 提高了视频输出的时间一致性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。