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

DreamLIP:使用长描述的语言-图像预训练

DreamLIP: Language-Image Pre-training with Long Captions

State Key Lab of CAD&CG, Zhejiang University(浙江大学CAD&CG国家重点实验室);Ant Group(蚂蚁集团);Shanghai Jiao Tong University(上海交通大学);University of Science and Technology of China(中国科学技术大学);Eastern Institute of Technology(东方理工学院);Northeastern University(东北大学)

Kecheng Zheng, Yifei Zhang, Wei Wu, Fan Lu, Shuailei Ma, Xin Jin, Wei Chen, Yujun Shen

AI总结:

针对长描述缺失影响预训练的问题,提出DreamLIP,利用MLLM生成3000万图像长描述,通过动态采样子描述构建正样本对并引入分组损失匹配局部图像块,在多项下游任务中展现出优越的细粒度表示能力。

摘要:

语言-图像预训练在很大程度上依赖于文本描述其配对图像的精确度和详尽程度。然而在实践中,图像的内容可能非常丰富,以至于要很好地描述它们需要长描述(例如,包含10个句子),而现有数据集中通常缺少这类描述。因此,目前尚无明确证据表明语言-图像预训练是否能以及如何从长描述中受益。为了弄清这一点,我们首先使用预训练的多模态大语言模型(MLLM)对3000万张图像重新生成了详细的描述,然后在对比学习框架下研究这些描述的使用。我们观察到,长描述中的每个句子都极有可能只是部分地描述图像(例如,一个物体)。受此启发,我们提出从文本标签中动态采样子描述以构建多个正样本对,并引入一种分组损失,以自监督的方式将每个子描述的嵌入与其对应的局部图像块进行匹配。在广泛的下游任务上的实验结果证明了我们称为DreamLIP的方法相对于以往替代方案的一致优越性,突显了其细粒度的表示能力。值得注意的是,在图像-文本检索和语义分割任务上,我们使用3000万图像-文本对训练的模型取得了与使用4亿对数据训练的CLIP相当甚至更好的性能。项目页面位于https://zyf0619sjtu.github.io/dream-lip。

英文摘要:

Language-image pre-training largely relies on how precisely and thoroughly a text describes its paired image. In practice, however, the contents of an image can be so rich that well describing them requires lengthy captions (e.g., with 10 sentences), which are usually missing in existing datasets. Consequently, there are currently no clear evidences on whether and how language-image pre-training could benefit from long captions. To figure this out, we first re-caption 30M images with detailed descriptions using a pre-trained Multi-modality Large Language Model (MLLM), and then study the usage of the resulting captions under a contrastive learning framework. We observe that, each sentence within a long caption is very likely to describe the image partially (e.g., an object). Motivated by this, we propose to dynamically sample sub-captions from the text label to construct multiple positive pairs, and introduce a grouping loss to match the embeddings of each sub-caption with its corresponding local image patches in a self-supervised manner. Experimental results on a wide rage of downstream tasks demonstrate the consistent superiority of our method, termed DreamLIP, over previous alternatives, highlighting its fine-grained representational capacity. It is noteworthy that, on the tasks of image-text retrieval and semantic segmentation, our model trained with 30M image-text pairs achieves on par or even better performance than CLIP trained with 400M pairs. Project page is available at https://zyf0619sjtu.github.io/dream-lip.

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

↑