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

LaDiC:在图像到文本生成任务中,扩散模型真的不如自回归同类模型吗?

LaDiC: Are Diffusion Models Really Inferior to Autoregressive Counterparts for Image-to-Text Generation?

Peking University(北京大学);Tsinghua University(清华大学);National Key Laboratory for Multimedia Information Processing(多媒体信息处理国家重点实验室)

Yuchi Wang, Shuhuai Ren, Rundong Gao, Linli Yao, Qingyan Guo, Kaikai An, Jianhong Bai, Xu Sun

AI总结:

针对扩散模型在图像字幕生成任务中表现落后于自回归模型的问题,本研究提出LaDiC架构,通过构建专用字幕潜在空间、引入正则化模块与Back&Refine技术,在MS COCO数据集上取得扩散类方法最优性能,证明扩散模型在该任务上具备与自回归模型竞争的潜力。

摘要:

扩散模型已在文本到图像生成任务中展现出卓越能力,但在图像到文本生成(具体为图像字幕生成)任务上的表现却落后于自回归(Auto-Regressive,AR)模型,这让人们对其在这类任务中的适用性产生了质疑。在本研究中,我们重新审视扩散模型,着重强调其全局上下文建模与并行解码的能力。凭借这些优势,扩散模型能够缓解AR方法固有的局限性,包括推理速度慢、误差传播以及单向约束问题。此外,我们发现此前扩散模型表现不佳的根源在于:缺乏用于图文对齐的有效潜在空间,以及连续扩散过程与离散文本数据之间存在差异。针对这些问题,我们提出了一种全新架构LaDiC,该架构采用拆分式BERT构建专门的字幕潜在空间,并集成正则化模块以处理不同长度的文本。我们的框架还包含一个用于语义级图像到文本转换的扩散器,以及一种在推理过程中增强词元交互性的Back&Refine技术。在MS COCO数据集上,LaDiC取得了基于扩散的方法中的最优性能,BLEU@4得分为38.2,CIDEr得分为126.2,在无需预训练或辅助模块的情况下展现出了出色性能。这表明它与AR模型具备强劲的竞争力,揭示了扩散模型在图像到文本生成领域此前未被发掘的潜力。

英文摘要:

Diffusion models have exhibited remarkable capabilities in text-to-image generation. However, their performance in image-to-text generation, specifically image captioning, has lagged behind Auto-Regressive (AR) models, casting doubt on their applicability for such tasks. In this work, we revisit diffusion models, highlighting their capacity for holistic context modeling and parallel decoding. With these benefits, diffusion models can alleviate the inherent limitations of AR methods, including their slow inference speed, error propagation, and unidirectional constraints. Furthermore, we identify the prior underperformance of diffusion models stemming from the absence of an effective latent space for image-text alignment, and the discrepancy between continuous diffusion processes and discrete textual data. In response, we introduce a novel architecture, LaDiC, which utilizes a split BERT to create a dedicated latent space for captions and integrates a regularization module to manage varying text lengths. Our framework also includes a diffuser for semantic image-to-text conversion and a Back&Refine technique to enhance token interactivity during inference. LaDiC achieves state-of-the-art performance for diffusion-based methods on the MS COCO dataset with 38.2 BLEU@4 and 126.2 CIDEr, demonstrating exceptional performance without pre-training or ancillary modules. This indicates strong competitiveness with AR models, revealing the previously untapped potential of diffusion models in image-to-text generation.

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

↑