CLIP-like Model as a Foundational Density Ratio Estimator
Not on the map. Why?
Abstract (arXiv)
Density ratio estimation is a core concept in statistical machine learning because it provides a unified mechanism for tasks such as importance weighting, divergence estimation, and likelihood-free inference, but its potential in vision and language models has not been fully explored. Modern vision-language encoders such as CLIP and SigLIP are trained with contrastive objectives that implicitly optimize log density ratios between joint and marginal image-text distributions, which implicitly learn similarity scores proportional to log density ratios. However, prior work has largely focused on their embedding utility, and the density-ratio structure induced by contrastive learning has not been systematically examined or exploited in multimodal applications. To address this gap, we reinterpret CLIP-style models as pretrained and general-purpose density ratio estimators and show that this perspective enables new algorithmic capabilities. We present a unified explanation of how contrastive objectives estimate density ratios and propose two practical applications: Importance Weight Learning and KL divergence estimation. Our Importance Weight Learning method requires only a single additional prompt and improves F1 scores by up to 7 points. We further show that CLIP-based density ratios support estimation of KL divergences that quantify how conditioning on an image or text alters the distribution of the other modality. Through qualitative examples and an N-gram analysis of captions, we find that these divergences capture semantic diversity and mode structure in multimodal data. Leveraging this property, we introduce a simple KL-guided data curation method that achieves performance competitive with LAION2B filtering.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 15 of its 39 references that are in the map. First posted on arXiv 28 Jun 2025.
Builds on
15 of 39 references.
References · 15
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2023Visual Instruction Tuningcited by 7,869
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2023BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelscited by 6,137
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,109
- 2016Improved Techniques for Training GANscited by 2,970
- 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,424
- 2021Conceptual 12M: Pushing Web-Scale Image-Text Pre-Training To Recognize Long-Tail Visual Conceptscited by 1,216
- 2023DataComp: In search of the next generation of multimodal datasetscited by 644
- 2024The Double-Ellipsoid Geometry of CLIPcited by 42
3 more
- 2022Norm of Word Embedding Encodes Information Gaincited by 21
- 2025Whitened CLIP as a Likelihood Surrogate of Images and Captionscited by 16
- 2025On the Importance of Embedding Norms in Self-Supervised Learningcited by 9
Built on by
Not cited yet.