Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Equivariant Similarity for Vision-Language Foundation Models

About

This study explores the concept of equivariance in vision-language foundation models (VLMs), focusing specifically on the multimodal similarity function that is not only the major training objective but also the core delivery to support downstream tasks. Unlike the existing image-text similarity objective which only categorizes matched pairs as similar and unmatched pairs as dissimilar, equivariance also requires similarity to vary faithfully according to the semantic changes. This allows VLMs to generalize better to nuanced and unseen multimodal compositions. However, modeling equivariance is challenging as the ground truth of semantic change is difficult to collect. For example, given an image-text pair about a dog, it is unclear to what extent the similarity changes when the pixel is changed from dog to cat? To this end, we propose EqSim, a regularization loss that can be efficiently calculated from any two matched training pairs and easily pluggable into existing image-text retrieval fine-tuning. Meanwhile, to further diagnose the equivariance of VLMs, we present a new challenging benchmark EqBen. Compared to the existing evaluation sets, EqBen is the first to focus on "visual-minimal change". Extensive experiments show the lack of equivariance in current VLMs and validate the effectiveness of EqSim. Code is available at https://github.com/Wangt-CN/EqBen.

Tan Wang, Kevin Lin, Linjie Li, Chung-Ching Lin, Zhengyuan Yang, Hanwang Zhang, Zicheng Liu, Lijuan Wang• 2023

Related benchmarks

TaskDatasetResultRank
Text-to-Image RetrievalFlickr30k (test)
Recall@183.56
423
Image-to-Text RetrievalFlickr30k (test)
R@196
370
Image-to-Text RetrievalMS-COCO 5K (test)
R@180.16
299
Text-to-Image RetrievalMS-COCO 5K (test)
R@162.55
223
Compositional Vision-Language ReasoningWinoground
Text Score51.49
47
Image-Text MatchingWinoground
Text Agreement Score51.49
26
Image-Text MatchingEQ-KUBRIC EQBEN
Text Score51.9
14
Image-Text MatchingEQ-SD EQBEN
Text Score90.81
14
Image-Text MatchingYouCook2 EQBEN
Text Score58.26
14
Image-Text MatchingEQ-GEBC (EQBEN)
Text Score24.2
14
Showing 10 of 15 rows

Other info

Code

Follow for update