arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.06555cs.LGcs.CV
收藏

一个Transformer在大规模多模态扩散中拟合所有分布

One Transformer Fits All Distributions in Multi-Modal Diffusion at Scale

Tsinghua University(清华大学);ShengShu(生数科技);Renmin University of China(中国人民大学);Beijing Academy of Artificial Intelligence(北京智源人工智能研究院)

Fan Bao, Shen Nie, Kaiwen Xue, Chongxuan Li, Shi Pu, Yaole Wang, Gang Yue, Yue Cao, Hang Su, Jun Zhu

AI总结:

本文提出统一扩散框架UniDiffuser,通过一个transformer同时学习多模态数据的边缘、条件和联合分布,以最小修改实现图像、文本及跨模态生成,性能优于通用模型并可比肩专用模型。

摘要:

本文提出了一种统一的扩散框架(称为UniDiffuser),旨在用一个模型拟合与一组多模态数据相关的所有分布。我们的核心见解是:学习边缘分布、条件分布和联合分布的扩散模型可以统一为预测扰动数据中的噪声,其中不同模态的扰动水平(即时间步)可以不同。受这一统一视角的启发,UniDiffuser通过对原始扩散模型进行最小修改来同时学习所有分布——扰动所有模态的数据而非单一模态,输入不同模态各自的个体时间步,并预测所有模态的噪声而非单一模态的噪声。UniDiffuser由一个用于扩散模型的transformer参数化,以处理不同模态的输入类型。在大规模成对图像-文本数据上实现后,UniDiffuser能够通过设置适当的时间步来执行图像生成、文本生成、文本到图像生成、图像到文本生成以及图像-文本对生成,且无需额外开销。特别是,UniDiffuser能够在所有任务中产生感知上逼真的样本,其定量结果(例如FID和CLIP分数)不仅优于现有的通用模型,而且在代表性任务(例如文本到图像生成)中可与专用模型(例如Stable Diffusion和DALL-E 2)相媲美。

英文摘要:

This paper proposes a unified diffusion framework (dubbed UniDiffuser) to fit all distributions relevant to a set of multi-modal data in one model. Our key insight is -- learning diffusion models for marginal, conditional, and joint distributions can be unified as predicting the noise in the perturbed data, where the perturbation levels (i.e. timesteps) can be different for different modalities. Inspired by the unified view, UniDiffuser learns all distributions simultaneously with a minimal modification to the original diffusion model -- perturbs data in all modalities instead of a single modality, inputs individual timesteps in different modalities, and predicts the noise of all modalities instead of a single modality. UniDiffuser is parameterized by a transformer for diffusion models to handle input types of different modalities. Implemented on large-scale paired image-text data, UniDiffuser is able to perform image, text, text-to-image, image-to-text, and image-text pair generation by setting proper timesteps without additional overhead. In particular, UniDiffuser is able to produce perceptually realistic samples in all tasks and its quantitative results (e.g., the FID and CLIP score) are not only superior to existing general-purpose models but also comparable to the bespoken models (e.g., Stable Diffusion and DALL-E 2) in representative tasks (e.g., text-to-image generation).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑