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

Diffscaler: 增强扩散Transformer的生成能力

Diffscaler: Enhancing the Generative Prowess of Diffusion Transformers

Johns Hopkins University(约翰斯·霍普金斯大学);Stanford University(斯坦福大学)

Nithin Gopalakrishnan Nair, Jeya Maria Jose Valanarasu, Vishal M. Patel

AI总结:

针对扩散Transformer跨数据集生成能力拓展不足的问题,提出高效缩放策略DiffScaler,通过训练少量任务特定参数实现单模型多任务适配,性能接近全量微调且优于CNN类扩散模型。

摘要:

近年来,扩散Transformer(Diffusion Transformer)凭借在文本生成图像、文本生成视频模型中的优异表现获得广泛关注,凸显了将Transformer作为扩散模型骨干网络的必要性。在通用视觉任务中,基于Transformer的模型比基于CNN的模型展现出更强的泛化能力,但现有文献对基于Transformer的扩散骨干网络的能力、以及将其生成能力拓展到其他数据集的研究仍较为欠缺。本文聚焦于让单个预训练扩散Transformer模型实现跨多数据集的快速适配,仅用一个模型即可完成多样的生成任务。为此,我们提出DiffScaler——一种高效的扩散模型缩放策略,通过训练极少量参数来适配不同任务。具体而言,我们在每一层学习任务特定的变换,既具备利用预训练模型已学习子空间的能力,也能学习预训练数据集中可能不存在的额外任务特定子空间。由于这些参数相互独立,搭载这些任务特定参数的单个扩散模型可同时执行多项任务。此外我们发现,在小数据集上进行微调时,基于Transformer的扩散模型表现显著优于基于CNN的扩散模型方法。我们在四个无条件图像生成数据集上开展实验,结果表明,采用所提方法的单个预训练模型,仅需极少量参数调优,即可分别适配完成这些条件与无条件生成任务,性能接近为对应任务全量微调整个扩散模型的效果。

英文摘要:

Recently, diffusion transformers have gained wide attention with its excellent performance in text-to-image and text-to-vidoe models, emphasizing the need for transformers as backbone for diffusion models. Transformer-based models have shown better generalization capability compared to CNN-based models for general vision tasks. However, much less has been explored in the existing literature regarding the capabilities of transformer-based diffusion backbones and expanding their generative prowess to other datasets. This paper focuses on enabling a single pre-trained diffusion transformer model to scale across multiple datasets swiftly, allowing for the completion of diverse generative tasks using just one model. To this end, we propose DiffScaler, an efficient scaling strategy for diffusion models where we train a minimal amount of parameters to adapt to different tasks. In particular, we learn task-specific transformations at each layer by incorporating the ability to utilize the learned subspaces of the pre-trained model, as well as the ability to learn additional task-specific subspaces, which may be absent in the pre-training dataset. As these parameters are independent, a single diffusion model with these task-specific parameters can be used to perform multiple tasks simultaneously. Moreover, we find that transformer-based diffusion models significantly outperform CNN-based diffusion models methods while performing fine-tuning over smaller datasets. We perform experiments on four unconditional image generation datasets. We show that using our proposed method, a single pre-trained model can scale up to perform these conditional and unconditional tasks, respectively, with minimal parameter tuning while performing as close as fine-tuning an entire diffusion model for that particular task.

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

↑