Papers › ProbVLM: Probabilistic Adapter for Frozen Vision-Language Models

ProbVLM: Probabilistic Adapter for Frozen Vision-Language Models

1 Jul 2023ICCV 2023 1arXiv:2307.00398archive 2025-07-28

Uddeshya Upadhyay, Shyamgopal Karthik, Massimiliano Mancini, Zeynep Akata

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2307.00398")

Code

Syntology Ran 3 of 15 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 3 ran · our draft was wrong.

By repository: official repository: 15 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

explainableml/probvlm officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 3 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
12unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from explainableml/probvlm. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

basic_clean explainableml/probvlm/src/clip/simple_tokenizer.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 98f385d847636a3e · report
get_pairs explainableml/probvlm/src/clip/simple_tokenizer.py official repository ran · our draft was wrong MIT (permissive) · d919ae32e5e4e616 · report
whitespace_clean explainableml/probvlm/src/clip/simple_tokenizer.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 9542161e9640b858 · report
build_model explainableml/probvlm/src/clip/model.py official repository unverified MIT (permissive) · 259eff225d89cc48 · report
caption_transform explainableml/probvlm/src/ds/_transforms.py official repository unverified MIT (permissive) · aee2e1c6decd89e9 · report
eval_ProbVLM explainableml/probvlm/src/train_probVLM.py official repository unverified MIT (permissive) · a37694f28caa41e1 · report
eval_ProbVLM_HF explainableml/probvlm/src/train_probVLM.py official repository unverified MIT (permissive) · 9c748a328db870d6 · report
get_pred_ranks explainableml/probvlm/src/utils.py official repository unverified MIT (permissive) · d621259cb2503f6f · report
get_recall explainableml/probvlm/src/utils.py official repository unverified MIT (permissive) · 9e65d0d94b1c84fe · report
get_recall_COCOFLICKR explainableml/probvlm/src/utils.py official repository unverified MIT (permissive) · cdb3b6f67b14988a · report
image_to_caption_collate_fn explainableml/probvlm/src/ds/_dataloader.py official repository unverified MIT (permissive) · 9e22cc211ad25fe0 · report
imagenet_transform explainableml/probvlm/src/ds/_transforms.py official repository unverified MIT (permissive) · d245fdedffda5d4f · report
imagenet_transform_fn explainableml/probvlm/src/ds/_dataloader.py official repository unverified MIT (permissive) · 071ac72cc5321a2e · report
load explainableml/probvlm/src/clip/clip.py official repository unverified MIT (permissive) · 9da6e7e7a1c0f8f6 · report
tokenize explainableml/probvlm/src/ds/_transforms.py official repository unverified MIT (permissive) · 841979de2ba28e2f · report

Tasks

Active LearningModel SelectionRetrieval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AdapterBLIPCLIPDiffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections