ContextBLIP: Doubly Contextual Alignment for Contrastive Image Retrieval from Linguistically Complex Descriptions

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Lin, Honglin, Li, Siyu, Nan, Guoshun, Tang, Chaoyue, Wang, Xueting, Xu, Jingxin, Yankai, Rong, Zhou, Zhili, Gao, Yutong, Cui, Qimei, Tao, Xiaofeng
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914815822266368
author Lin, Honglin
Li, Siyu
Nan, Guoshun
Tang, Chaoyue
Wang, Xueting
Xu, Jingxin
Yankai, Rong
Zhou, Zhili
Gao, Yutong
Cui, Qimei
Tao, Xiaofeng
author_facet Lin, Honglin
Li, Siyu
Nan, Guoshun
Tang, Chaoyue
Wang, Xueting
Xu, Jingxin
Yankai, Rong
Zhou, Zhili
Gao, Yutong
Cui, Qimei
Tao, Xiaofeng
contents Image retrieval from contextual descriptions (IRCD) aims to identify an image within a set of minimally contrastive candidates based on linguistically complex text. Despite the success of VLMs, they still significantly lag behind human performance in IRCD. The main challenges lie in aligning key contextual cues in two modalities, where these subtle cues are concealed in tiny areas of multiple contrastive images and within the complex linguistics of textual descriptions. This motivates us to propose ContextBLIP, a simple yet effective method that relies on a doubly contextual alignment scheme for challenging IRCD. Specifically, 1) our model comprises a multi-scale adapter, a matching loss, and a text-guided masking loss. The adapter learns to capture fine-grained visual cues. The two losses enable iterative supervision for the adapter, gradually highlighting the focal patches of a single image to the key textual cues. We term such a way as intra-contextual alignment. 2) Then, ContextBLIP further employs an inter-context encoder to learn dependencies among candidates, facilitating alignment between the text to multiple images. We term this step as inter-contextual alignment. Consequently, the nuanced cues concealed in each modality can be effectively aligned. Experiments on two benchmarks show the superiority of our method. We observe that ContextBLIP can yield comparable results with GPT-4V, despite involving about 7,500 times fewer parameters.
format Preprint
id arxiv_https___arxiv_org_abs_2405_19226
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ContextBLIP: Doubly Contextual Alignment for Contrastive Image Retrieval from Linguistically Complex Descriptions
Lin, Honglin
Li, Siyu
Nan, Guoshun
Tang, Chaoyue
Wang, Xueting
Xu, Jingxin
Yankai, Rong
Zhou, Zhili
Gao, Yutong
Cui, Qimei
Tao, Xiaofeng
Computer Vision and Pattern Recognition
Multimedia
Image retrieval from contextual descriptions (IRCD) aims to identify an image within a set of minimally contrastive candidates based on linguistically complex text. Despite the success of VLMs, they still significantly lag behind human performance in IRCD. The main challenges lie in aligning key contextual cues in two modalities, where these subtle cues are concealed in tiny areas of multiple contrastive images and within the complex linguistics of textual descriptions. This motivates us to propose ContextBLIP, a simple yet effective method that relies on a doubly contextual alignment scheme for challenging IRCD. Specifically, 1) our model comprises a multi-scale adapter, a matching loss, and a text-guided masking loss. The adapter learns to capture fine-grained visual cues. The two losses enable iterative supervision for the adapter, gradually highlighting the focal patches of a single image to the key textual cues. We term such a way as intra-contextual alignment. 2) Then, ContextBLIP further employs an inter-context encoder to learn dependencies among candidates, facilitating alignment between the text to multiple images. We term this step as inter-contextual alignment. Consequently, the nuanced cues concealed in each modality can be effectively aligned. Experiments on two benchmarks show the superiority of our method. We observe that ContextBLIP can yield comparable results with GPT-4V, despite involving about 7,500 times fewer parameters.
title ContextBLIP: Doubly Contextual Alignment for Contrastive Image Retrieval from Linguistically Complex Descriptions
topic Computer Vision and Pattern Recognition
Multimedia
url https://arxiv.org/abs/2405.19226