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

DiffDis:赋予生成式扩散模型跨模态判别能力

DiffDis: Empowering Generative Diffusion Model with Cross-Modal Discrimination Capability

Sun Yat-sen University(中山大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Runhui Huang, Jianhua Han, Guansong Lu, Xiaodan Liang, Yihan Zeng, Wei Zhang, Hang Xu

AI总结:

提出 DiffDis 框架,通过扩散过程统一跨模态生成与判别预训练,并以双流架构融合多尺度图像信息,在图像生成和零样本图文分类上均优于单任务模型。

摘要:

近来,大规模扩散模型(例如 Stable diffusion 和 DallE2)在图像合成方面表现出显著成果。另一方面,大规模跨模态预训练模型(例如 CLIP、ALIGN 和 FILIP)通过学习对齐视觉与语言嵌入,能够胜任各种下游任务。本文探索对生成与判别进行联合建模的可能性。具体而言,我们提出 DiffDis,在扩散过程下将跨模态生成式与判别式预训练统一到单一框架中。DiffDis 首先把图文判别问题表述为:以图像为条件,对来自文本编码器的文本嵌入进行生成式扩散的过程。随后,我们提出一种新颖的双流网络架构,该架构将带噪文本嵌入与来自不同尺度的潜在图像知识相融合,用于图文判别学习。此外,在多模态模型中,生成任务与判别任务能够高效共享图像分支网络结构。得益于基于扩散的统一训练,DiffDis 在一个架构中同时获得了更好的生成能力和跨模态语义对齐能力。实验结果表明,DiffDis 在图像生成和图文判别任务上均优于单任务模型,例如在 12 个数据集上的零样本分类平均准确率提升 1.65%,零样本图像合成的 FID 改善 2.42。

英文摘要:

Recently, large-scale diffusion models, e.g., Stable diffusion and DallE2, have shown remarkable results on image synthesis. On the other hand, large-scale cross-modal pre-trained models (e.g., CLIP, ALIGN, and FILIP) are competent for various downstream tasks by learning to align vision and language embeddings. In this paper, we explore the possibility of jointly modeling generation and discrimination. Specifically, we propose DiffDis to unify the cross-modal generative and discriminative pretraining into one single framework under the diffusion process. DiffDis first formulates the image-text discriminative problem as a generative diffusion process of the text embedding from the text encoder conditioned on the image. Then, we propose a novel dual-stream network architecture, which fuses the noisy text embedding with the knowledge of latent images from different scales for image-text discriminative learning. Moreover, the generative and discriminative tasks can efficiently share the image-branch network structure in the multi-modality model. Benefiting from diffusion-based unified training, DiffDis achieves both better generation ability and cross-modal semantic alignment in one architecture. Experimental results show that DiffDis outperforms single-task models on both the image generation and the image-text discriminative tasks, e.g., 1.65% improvement on average accuracy of zero-shot classification over 12 datasets and 2.42 improvement on FID of zero-shot image synthesis.

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

↑