Lune

ICML2023Top-tier venue

Probabilistic Contrastive Learning Recovers the Correct Aleatoric Uncertainty of Ambiguous Inputs

Michael Kirchhof, Enkelejda Kasneci, Seong Joon Oh

Abstract

Contrastively trained encoders have recently been proven to invert the data-generating process: they encode each input, e.g., an image, into the true latent vector that generated the image (Zimmermann et al., 2021). However, real-world observations often have inherent ambiguities. For instance, images may be blurred or only show a 2D view of a 3D object, so multiple latents could have generated them. This makes the true posterior for the latent vector probabilistic with heteroscedastic uncertainty. In this setup, we extend the common InfoNCE objective and encoders to predict latent distributions instead of points. We prove that these distributions recover the correct posteriors of the data-generating process, including its level of aleatoric uncertainty, up to a rotation of the latent space. In addition to providing calibrated uncertainty estimates, these posteriors allow the computation of credible intervals in image retrieval. They comprise images with the same latent as a given query, subject to its uncertainty. Code is available at https://github.com/mkirchhof/Probabilistic_Contrastive_Learning

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere cites A Simple Framework for Contrastive Learning of Visual Representations
  • ProbMED: A Probabilistic Framework for Medical Multimodal Binding cites A Simple Framework for Contrastive Learning of Visual Representations
  • ProbMED: A Probabilistic Framework for Medical Multimodal Binding cites ProbVLM: Probabilistic Adapter for Frozen Vison-Language Models
  • ProbMED: A Probabilistic Framework for Medical Multimodal Binding cites Improved Probabilistic Image-Text Representations
  • ProbVLM: Probabilistic Adapter for Frozen Vison-Language Models cites Probabilistic Face Embeddings
  • Supervised Contrastive Learning cites Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
  • Supervised Contrastive Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Improved Probabilistic Image-Text Representations cites Probabilistic Face Embeddings
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. Improved Probabilistic Image-Text RepresentationsSanghyuk ChunICLR 2024 · 48 citations
  2. ProbVLM: Probabilistic Adapter for Frozen Vison-Language ModelsUddeshya Upadhyay, Shyamgopal Karthik, Massimiliano Mancini, Zeynep AkataICCV 2023 · 41 citations
  3. ProbMED: A Probabilistic Framework for Medical Multimodal BindingYuan Gao, Sangwook Kim, Jianzhong You, Chris McIntoshICCV 2025 · 3 citations
  4. Fine-grained Uncertainty Decomposition in Large Language Models: A Spectral ApproachNassim Walha, Sebastian G. Gruber, Thomas Decker, Yinchong Yang et al.AAAI 2026 · 2 citations
  5. On the Generalization of Representation Uncertainty in Earth ObservationSpyros Kondylatos, Nikolaos-Ioannis Bountos, Dimitrios Michail, Xiao Xiang Zhu et al.ICCV 2025 · 1 citation

Builds on14

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna et al.NeurIPS 2020 · 7,049 citations
  3. Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 citations
  4. Human Uncertainty Makes Classification More RobustJoshua C. Peterson, Ruairidh M. Battleday, Thomas L. Griffiths, Olga RussakovskyICCV 2019 · 362 citations
  5. Probabilistic Face EmbeddingsYichun Shi, Anil K. JainICCV 2019 · 362 citations

Related papers

  1. Towards Robust Uncertainty Calibration for Composed Image RetrievalYifan Wang, Wuliang Huang, Yufan Wen, Shunning Liu et al.NeurIPS 2025
  2. Semantic uncertainty intervals for disentangled latent spacesSwami Sankaranarayanan, Anastasios Angelopoulos, Stephen Bates, Yaniv Romano et al.NeurIPS 2022 · 27 citations
  3. The Loss Is Not Enough: Sampling Conditions and Inductive Bias in Contrastive Representation LearningJustinas Zaliaduonis, Patrick Putzky, Till Richter, Sergios GatidisICML 2026
  4. Conformalized Credal Set PredictorsAlireza Javanmardi, David Stutz, Eyke HüllermeierNeurIPS 2024 · 28 citations
  5. Bayesian Metric Learning for Uncertainty Quantification in Image RetrievalFrederik Warburg, Marco Miani, Silas Brack, Søren HaubergNeurIPS 2023 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines