HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Equivariant Similarity for Vision-Language Foundation Models

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

Equivariant Similarity for Vision-Language Foundation Models

Abstract

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.

Code Repositories

wangt-cn/eqben
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
visual-reasoning-on-winogroundMETER (finetuned, Flickr30k)
Group Score: 14.75
Image Score: 20.75
Text Score: 43.5
visual-reasoning-on-winogroundMETER
Group Score: 12.00
Image Score: 15.75
Text Score: 39.25
visual-reasoning-on-winogroundMETER (EqSim)
Group Score: 18.75
Image Score: 22.75
Text Score: 45.0
visual-reasoning-on-winogroundFIBER
Group Score: 22.25
Image Score: 25.75
Text Score: 46.25
visual-reasoning-on-winogroundFIBER (finetuned, Flickr30k)
Group Score: 23.00
Image Score: 26.50
Text Score: 51.25
visual-reasoning-on-winogroundFIBER (EqSim)
Group Score: 27.5
Image Score: 32.00
Text Score: 51.5

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp