atlas

Research map / Vision-language and multimodal / Cross-modal learning

Leveraging Cross-Modal Neighbor Representation for Improved CLIP Classification

CVPR 2024 · Vision-language and multimodal › Cross-modal learning · approach: Unimodal-to-multimodal representation transfer · 14 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 CODER, a training-free cross-modal neighbor representation for CLIP images built from image-to-text cosine similarities over LLM-generated texts, used in a two-stage zero-shot classifier and a Tip-Adapter variant for few-shot classification.

Problem

CLIP image encoder features are used directly for intra-modal tasks such as few-shot classification, which misaligns with CLIP's image-text contrastive pre-training and can yield poor image-image distance relations.

Approach

Represent each image by its cosine similarities to a dense set of LLM-generated texts (CODER), treating texts as neighbors in CLIP space; an Auto Text Generator (ChatGPT prompts plus WordNet) produces class-name, attribute, analogous-class, synonym and one-to-one texts without training or image data.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace CLIP image features with CODER and rerank with one-to-one specific CODERCLIP zero-shot classification (ViT-B/32) · ImageNetaccuracy: 62.96 -> 66.86Helped
rerank preliminary predictions using one-to-one specific CODERCODER zero-shot classification (ViT-B/32) · Places365; Food101; Caltech101; Oxford Pets; ImageNetV2accuracy: 40.37 -> 40.27; 84.72 -> 85.50; 91.24 -> 91.42; 88.47 -> 89.26; 56.75 -> 56.42Mixed
add attribute-based texts to class name-based texts (ablation)CODER zero-shot classification (CLIP ViT-B/32) · Caltech101; Oxford Pets; Describable Textures; EuroSATaccuracy: 79.90 -> 89.80; 81.63 -> 85.91; 41.28 -> 45.27; 44.89 -> 46.57Helped
add analogous class-based texts (ablation)CODER zero-shot classification (CLIP ViT-B/32) · Caltech101; Oxford Pets; Describable Textures; EuroSATaccuracy: 89.80 -> 91.01; 85.91 -> 88.55; 45.27 -> 48.73; 46.57 -> 52.77Helped
add analogous class-based texts (ablation)CODER few-shot classification (CLIP ResNet-50, 16-shot) · Caltech101; Describable Textures; EuroSATaccuracy: 90.47 -> 90.99; 63.06 -> 64.18; 65.36 -> 67.11Helped
add analogous class-based texts (ablation)CODER few-shot classification (CLIP ResNet-50, 16-shot) · Oxford Petsaccuracy: 90.3 -> 90.26Hurt
increase diversity and number of neighbor texts (ablation)CODER · zero-shot and few-shot image classificationaccuracyHelped
use CODER instead of original CLIP image features for support-set similarityCODER-Adapter · 11 few-shot image classification datasetsaccuracyHelped
use CODER-Adapter with a small text setCODER-Adapter · EuroSAT few-shot classificationaccuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet CUB200 EuroSAT Describable Textures Places365 Food101 Caltech101 Oxford Pets ImageNetV2 SUN397 Cars Flowers102

Benchmarks: ImageNet CUB200 EuroSAT Describable Textures Places365 Food101 Caltech101 Oxford Pets ImageNetV2 SUN397 Cars Flowers102

Metrics: accuracy

Baselines: Vanilla CLIP VCD Tip-Adapter TIP-X

Builds on: CLIP Tip-Adapter VCD CUPL

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