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

跨模态上下文学习实现多模态生成

Multi-modal Generation via Cross-Modal In-Context Learning

Mohamed bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Technology Innovation Institute(技术创新研究院)

Amandeep Kumar, Muzammal Naseer, Sanath Narayan, Rao Muhammad Anwer, Salman Khan, Hisham Cholakkal

AI总结:

提出MGCC方法,结合大语言模型与扩散模型,通过跨模态细化与上下文对象定位模块,从复杂多模态提示序列生成图像,在VIST和VisDial基准上超越现有最先进方法。

摘要:

在这项工作中,我们研究了从复杂多模态提示序列生成新颖图像的问题。现有方法在文本到图像生成方面取得了令人鼓舞的成果,但往往难以捕捉长提示中的细粒度细节,并维持提示序列内的上下文连贯性。此外,对于包含多个对象的提示序列,它们常常导致生成图像的对齐错误。为解决这一问题,我们提出了一种名为跨模态上下文学习实现多模态生成(MGCC)的方法,该方法通过结合大语言模型(LLMs)和扩散模型的综合能力,从复杂多模态提示序列中生成新颖图像。我们的MGCC包含一个新颖的跨模态细化模块,用于在LLM嵌入空间中显式学习文本与图像之间的跨模态依赖关系,以及一个上下文对象定位模块,用于专门针对包含多个对象的场景生成对象边界框。我们的MGCC展示了多种多样的多模态能力,如新颖图像生成、促进多模态对话以及文本生成。在两个基准数据集上的实验评估证明了我们方法的有效性。在具有多模态输入的视觉故事生成(VIST)数据集上,我们的MGCC取得了0.652的CLIP相似度分数,而最先进的GILL方法为0.641。同样,在具有长对话序列的视觉对话上下文(VisDial)数据集上,我们的MGCC取得了令人印象深刻的0.660的CLIP分数,大幅超越了现有最先进方法的0.645。代码:https://github.com/VIROBO-15/MGCC

英文摘要:

In this work, we study the problem of generating novel images from complex multimodal prompt sequences. While existing methods achieve promising results for text-to-image generation, they often struggle to capture fine-grained details from lengthy prompts and maintain contextual coherence within prompt sequences. Moreover, they often result in misaligned image generation for prompt sequences featuring multiple objects. To address this, we propose a Multi-modal Generation via Cross-Modal In-Context Learning (MGCC) method that generates novel images from complex multimodal prompt sequences by leveraging the combined capabilities of large language models (LLMs) and diffusion models. Our MGCC comprises a novel Cross-Modal Refinement module to explicitly learn cross-modal dependencies between the text and image in the LLM embedding space, and a contextual object grounding module to generate object bounding boxes specifically targeting scenes with multiple objects. Our MGCC demonstrates a diverse range of multimodal capabilities, like novel image generation, the facilitation of multimodal dialogue, and generation of texts. Experimental evaluations on two benchmark datasets, demonstrate the effectiveness of our method. On Visual Story Generation (VIST) dataset with multimodal inputs, our MGCC achieves a CLIP Similarity score of $0.652$ compared to SOTA GILL $0.641$. Similarly, on Visual Dialogue Context (VisDial) having lengthy dialogue sequences, our MGCC achieves an impressive CLIP score of $0.660$, largely outperforming existing SOTA method scoring $0.645$. Code: https://github.com/VIROBO-15/MGCC

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

↑