TensorX
返回文献探索

Paper · arXiv 2401.09865

Improving fine-grained understanding in image-text pre-training

Ioana Bica, Anastasija Ilić, Matthias Bauer, Goker Erdogan, Matko Bošnjak, Christos Kaplanis, Alexey A. Gritsenko, Matthias Minderer, Charles Blundell, Razvan Pascanu, Jovana Mitrović

19 upvotesJanuary 18, 2024arXiv 预印本
AI 摘要

SPARC pretrains fine-grained multimodal representations using sparse contrastive alignment, improving both global and local information in vision-language models and enhancing performance on classification and region-level tasks.

SPARCfine-grained multimodal representationsimage-text pairsimage patcheslanguage tokenssparse similarity metricvision embeddingfine-grained sequence-wise losscontrastive lossglobal image embeddingstext embeddingsfaithfulnesscaptioning

Abstract

We introduce SPARse Fine-grained Contrastive Alignment (SPARC), a simple method for pretraining more fine-grained multimodal representations from image-text pairs. Given that multiple image patches often correspond to single words, we propose to learn a grouping of image patches for every token in the caption. To achieve this, we use a sparse similarity metric between image patches and language tokens and compute for each token a language-grouped vision embedding as the weighted average of patches. The token and language-grouped vision embeddings are then contrasted through a fine-grained sequence-wise loss that only depends on individual samples and does not require other batch samples as negatives. This enables more detailed information to be learned in a computationally inexpensive manner. SPARC combines this fine-grained loss with a contrastive loss between global image and text embeddings to learn representations that simultaneously encode global and local information. We thoroughly evaluate our proposed method and show improved performance over competing approaches both on image-level tasks relying on coarse-grained information, e.g. classification, as well as region-level tasks relying on fine-grained information, e.g. retrieval, object detection, and segmentation. Moreover, SPARC improves model faithfulness and captioning in foundational vision-language models.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Improving fine-grained understanding in image-text pre-training | TensorX