mlsanityData to 7 Oct 2026

Finetuning CLIP to Reason about Pairwise Differences

arXiv 2409.09721 ↗First posted 15 Sep 2024cs.LG cs.CVcited by 6

On the map: LLM reasoning → Multimodal reasoning

also in 1 more
Abstract (arXiv)

Vision-language models (VLMs) such as CLIP are trained via contrastive learning between text and image pairs, resulting in aligned image and text embeddings that are useful for many downstream tasks. A notable drawback of CLIP, however, is that the resulting embedding space seems to lack some of the structure of its purely text-based alternatives. For instance, while text embeddings have long been noted to satisfy analogies in embedding space using vector arithmetic, CLIP has no such property. In this paper, we propose an approach to natively train CLIP in a contrastive manner to reason about differences in embedding space. We finetune CLIP so that text descriptions of differences between images correspond to their difference in image embedding space, using synthetically generated data with large language models on image-caption paired datasets. We first demonstrate that our approach yields significantly improved capabilities in ranking images by a certain attribute (e.g., elephants are larger than cats), which is useful in retrieval or constructing attribute-based classifiers, and improved zeroshot classification performance on many downstream image classification tasks. In addition, our approach enables a new mechanism for inference that we refer to as comparative prompting, where we leverage prior knowledge of text descriptions of differences between classes of interest, achieving even larger performance gains in classification. Finally, we illustrate that the resulting embeddings obey a larger degree of geometric properties in embedding space, such as in text-to-image generation.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Multimodal reasoning, one of 17 directions in LLM reasoning. Builds on 60 of its 72 references that are in the map. First posted on arXiv 15 Sep 2024.

Builds on

60 of 72 references.

Closest ancestors · 1

Same direction, newest first

  1. 2023Understanding prompt engineering may not require rethinking generalization6 Oct

Other references · 59

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  7. 2023Visual Instruction Tuningcited by 7,792
  8. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  9. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  10. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
  11. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  12. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
38 more
  1. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  2. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  3. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
  4. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  5. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  6. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
  7. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  8. 2019Natural Adversarial Examplescited by 1,401
  9. 2021Grounded Language-Image Pre-trainingcited by 1,147
  10. 2022eDiff-I: Text-to-Image Diffusion Models with an Ensemble of Expert Denoiserscited by 921
  11. 2021Robust fine-tuning of zero-shot modelscited by 785
  12. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  13. 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 695
  14. 2023DataComp: In search of the next generation of multimodal datasetscited by 635
  15. 2022Compositional Visual Generation with Composable Diffusion Modelscited by 619
  16. 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 603
  17. 2021ClipCap: CLIP Prefix for Image Captioningcited by 557
  18. 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 553
  19. 2017Zero-Shot Learning -- A Comprehensive Evaluation of the Good, the Bad and the Uglycited by 536
  20. 2022Visual Classification via Description from Large Language Modelscited by 331
  21. 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discoverycited by 329
  22. 2022PromptSource: An Integrated Development Environment and Repository for Natural Language Promptscited by 288
  23. 2019Visual Entailment: A Novel Task for Fine-Grained Image Understandingcited by 250
  24. 2022Can language models learn from explanations in context?cited by 248
  25. 2023Improving CLIP Training with Language Rewritescited by 216
  26. 2016Learning Deep Representations of Fine-grained Visual Descriptionscited by 182
  27. 2022Finetune like you pretrain: Improved finetuning of zero-shot vision modelscited by 149
  28. 2022CyCLIP: Cyclic Contrastive Language-Image Pretrainingcited by 127
  29. 2018Learning to Describe Differences Between Pairs of Similar Imagescited by 114
  30. 2022Does CLIP Bind Concepts? Probing Compositionality in Large Image Modelscited by 101
  31. 2022Teaching Structured Vision&Language Concepts to Vision&Language Modelscited by 71
  32. 2022A CLIP-Hitchhiker's Guide to Long Video Retrievalcited by 57
  33. 2022Image Difference Captioning with Pre-training and Contrastive Learningcited by 39
  34. 2021Tell me why! Explanations support learning relational and causal structurecited by 36
  35. 2023Going Beyond Nouns With Vision & Language Models Using Synthetic Datacited by 33
  36. 2020e-SNLI-VE: Corrected Visual-Textual Entailment with Natural Language Explanationscited by 30
  37. 2020Towards Interpretable Natural Language Understanding with Explanations as Latent Variablescited by 30
  38. 2022On Guiding Visual Attention with Language Specificationcited by 30

50 most cited of 59 All 59 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 5; 2026: 1.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2021VT-CLIP: Enhancing Vision-Language Models with Visual-guided Texts
  2. 2025HQ-CLIP: Leveraging Large Vision-Language Models to Create High-Quality Image-Text Datasets and CLIP Models
  3. 2025Contrastive vision-language learning with paraphrasing and negation
  4. 2024Modeling Caption Diversity in Contrastive Vision-Language Pretraining
  5. 2026LiteEmbed: Adapting CLIP to Rare Classes
  6. 2025FG-CLIP: Fine-Grained Visual and Textual Alignment
  7. 2025VITRIX-CLIPIN: Enhancing Fine-Grained Visual Understanding in CLIP via Instruction Editing Data and Long Captions
  8. 2025CLIP Under the Microscope: A Fine-Grained Analysis of Multi-Object Representation