atlas

Research map / Vision-language and multimodal / CLIP and zero-shot

Visual-Text Cross Alignment: Refining the Similarity Score in Vision-Language Models

ICML 2024 · Vision-language and multimodal › CLIP and zero-shot · approach: Open-vocabulary alignment from VLMs · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes weighted visual-text cross alignment (WCA), which randomly crops local patches of an image, cross-aligns them with LLM-generated class descriptions in CLIP space, and aggregates the similarity matrix with cosine-based weights for training-free zero-shot classification.

Problem

Zero-shot VLM classification with LLM-generated fine-grained descriptions aligns descriptions with the whole image, but finer descriptions often match local image regions better, lowering global similarity.

Approach

Replace global image-description averaging with a weighted cross-alignment over random image crops and LLM descriptions, where weights are the softmax of cosine similarities of each crop to the whole image and of each description to the base class prompt, so that informative patches and relevant descriptions dominate the score; no training or extra models are needed.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply WCA weighted visual-text cross alignmentCLIP ViT-B/32 zero-shot classification · ImageNetaccuracy: 64.37 -> 66.84Helped
apply WCA weighted visual-text cross alignmentCLIP ViT-B/32 zero-shot classification · CUBaccuracy: +4.17Helped
apply WCA weighted visual-text cross alignmentCLIP ViT-B/32 zero-shot classification · Oxford Petsaccuracy: +2.51Helped
apply WCA weighted visual-text cross alignmentCLIP ViT-B/32 zero-shot classification · DTDaccuracy: +1.89Helped
apply WCA weighted visual-text cross alignmentCLIP ViT-B/32 zero-shot classification · Food101accuracy: +2.20Helped
apply WCA weighted visual-text cross alignmentCLIP ViT-B/32 zero-shot classification · Place365accuracy: +0.76Helped
add patch weights to localized crops and LLM descriptions (ablation)WCA without patch or text weights · ImageNettop-1 accuracy: 65.51 -> 66.66Helped
add text weights to localized crops and LLM descriptions (ablation)WCA without patch or text weights · ImageNettop-1 accuracy: 65.51 -> 66.66Helped
add patch weights to localized crops (ablation)localized crops without weights or LLM descriptions · ImageNettop-1 accuracy: 64.76 -> 65.44Helped
add text weights to LLM descriptions (ablation)LLM descriptions without weights · ImageNettop-1 accuracy: 64.36 -> 64.77Helped
replace WCA weighted aggregation with max aggregation (ablation)WCA · ImageNetaccuracy: 66.84 -> 57.53Hurt
replace WCA weighted aggregation with mean aggregation (ablation)WCA · ImageNetaccuracy: 66.84 -> 65.51Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet CUB Oxford Pets DTD Food101 Place365 ImageNet-V2 ImageNet-R ImageNet-Sketch ImageNet-A LLM-generated class descriptions (CuPL files)

Benchmarks: ImageNet CUB Oxford Pets DTD Food101 Place365 ImageNet-V2 ImageNet-R ImageNet-Sketch ImageNet-A Flowers102 EuroSAT

Metrics: top-1 accuracy

Baselines: CLIP CLIP-E CLIP-D CuPL Waffle CoOp CoCoOp UPT ProGrad KgCoOp MaPLe TPT

Builds on: CLIP Visual-Text Alignment via LLMs (CuPL/CLIP-D) test-time prompt tuning

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy