Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

ProbVLM: Probabilistic Adapter for Frozen Vision-Language Models

About

Large-scale vision-language models (VLMs) like CLIP successfully find correspondences between images and text. Through the standard deterministic mapping process, an image or a text sample is mapped to a single vector in the embedding space. This is problematic: as multiple samples (images or text) can abstract the same concept in the physical world, deterministic embeddings do not reflect the inherent ambiguity in the embedding space. We propose ProbVLM, a probabilistic adapter that estimates probability distributions for the embeddings of pre-trained VLMs via inter/intra-modal alignment in a post-hoc manner without needing large-scale datasets or computing. On four challenging datasets, i.e., COCO, Flickr, CUB, and Oxford-flowers, we estimate the multi-modal embedding uncertainties for two VLMs, i.e., CLIP and BLIP, quantify the calibration of embedding uncertainties in retrieval tasks and show that ProbVLM outperforms other methods. Furthermore, we propose active learning and model selection as two real-world downstream tasks for VLMs and show that the estimated uncertainty aids both tasks. Lastly, we present a novel technique for visualizing the embedding distributions using a large-scale pre-trained latent diffusion model. Code is available at https://github.com/ExplainableML/ProbVLM.

Uddeshya Upadhyay, Shyamgopal Karthik, Massimiliano Mancini, Zeynep Akata• 2023

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-R (test)--
105
Image ClassificationFood101 (test)--
87
Out-of-Distribution DetectionDTD
AUROC46.57
36
Error detectionImageNet
AuROC50.18
35
Error detectionFlowers102
AuROC43.05
27
Error detectionFood101
AuROC52.87
27
Error detectionEuroSAT
AuROC42.72
27
Image ClassificationImageNet 1k (test)
Acc @ 90% Rej77.9
18
Uncertainty Quantification for Low-resolution Image ClassificationCIFAR-100 (test)
Rejection Accuracy @ 90%79.8
9
Uncertainty Quantification for Artistic Rendition ClassificationImageNet-R (test)
Accuracy @ 90% Rejection91.9
9
Showing 10 of 13 rows

Other info

Follow for update