DreamLIP: Language-Image Pre-training with Long Captions

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zheng, Kecheng, Zhang, Yifei, Wu, Wei, Lu, Fan, Ma, Shuailei, Jin, Xin, Chen, Wei, Shen, Yujun
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909149554540544
author Zheng, Kecheng
Zhang, Yifei
Wu, Wei
Lu, Fan
Ma, Shuailei
Jin, Xin
Chen, Wei
Shen, Yujun
author_facet Zheng, Kecheng
Zhang, Yifei
Wu, Wei
Lu, Fan
Ma, Shuailei
Jin, Xin
Chen, Wei
Shen, Yujun
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2403_17007
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DreamLIP: Language-Image Pre-training with Long Captions
Zheng, Kecheng
Zhang, Yifei
Wu, Wei
Lu, Fan
Ma, Shuailei
Jin, Xin
Chen, Wei
Shen, Yujun
Computer Vision and Pattern Recognition
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.
title DreamLIP: Language-Image Pre-training with Long Captions
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.17007