mlsanityData to 14 Oct 2026

SoftCVI: Contrastive variational inference with self-generated soft labels

arXiv 2407.15687 ↗First posted 22 Jul 2024stat.ML cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Estimating a distribution given access to its unnormalized density is pivotal in Bayesian inference, where the posterior is generally known only up to an unknown normalizing constant. Variational inference and Markov chain Monte Carlo methods are the predominant tools for this task; however, both are often challenging to apply reliably, particularly when the posterior has complex geometry. Here, we introduce Soft Contrastive Variational Inference (SoftCVI), which allows a family of variational objectives to be derived through a contrastive estimation framework. The approach parameterizes a classifier in terms of a variational distribution, reframing the inference task as a contrastive estimation problem aiming to identify a single true posterior sample among a set of samples. Despite this framing, we do not require positive or negative samples, but rather learn by sampling the variational distribution and computing ground truth soft classification labels from the unnormalized posterior itself. The objectives have zero variance gradient when the variational approximation is exact, without the need for specialized gradient estimators. We empirically investigate the performance on a variety of Bayesian inference tasks, using both simple (e.g. normal) and expressive (normalizing flow) variational distributions. We find that SoftCVI can be used to form objectives which are stable to train and mass-covering, frequently outperforming inference with other variational approaches.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 56 of its 92 references that are in the map. First posted on arXiv 22 Jul 2024.

Builds on

56 of 92 references.

References · 56

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  4. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  5. 2016Variational Inference: A Review for Statisticianscited by 1,472
  6. 2019When Does Label Smoothing Help?cited by 988
  7. 2017Masked Autoregressive Flow for Density Estimationcited by 684
  8. 2016Improving Variational Inference with Inverse Autoregressive Flowcited by 640
  9. 2019Neural Spline Flowscited by 596
  10. 2015Importance Weighted Autoencoderscited by 456
  11. 2020Understanding the Behaviour of Contrastive Losscited by 398
  12. 2015Adversarial Autoencoderscited by 364
38 more
  1. 2013Black Box Variational Inferencecited by 319
  2. 2020Neural Additive Models: Interpretable Machine Learning with Neural Netscited by 319
  3. 2021What Are Bayesian Neural Network Posteriors Really Like?cited by 308
  4. 2015MADE: Masked Autoencoder for Distribution Estimationcited by 307
  5. 2018Sequential Neural Likelihood: Fast Likelihood-free Inference with Autoregressive Flowscited by 221
  6. 2019Automatic Posterior Transformation for Likelihood-Free Inferencecited by 219
  7. 2019Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyrocited by 191
  8. 2021Benchmarking Simulation-Based Inferencecited by 162
  9. 2018Neural Importance Samplingcited by 155
  10. 2021Equinox: neural networks in JAX via callable PyTrees and filtered transformationscited by 148
  11. 2018Validating Bayesian Inference Algorithms with Simulation-Based Calibrationcited by 124
  12. 2020Telescoping Density-Ratio Estimationcited by 108
  13. 2017Adversarial Variational Bayes: Unifying Variational Autoencoders and Generative Adversarial Networkscited by 107
  14. 2016R'enyi Divergence Variational Inferencecited by 104
  15. 2017Sticking the Landing: Simple, Lower-Variance Gradient Estimators for Variational Inferencecited by 98
  16. 2020On Contrastive Learning for Likelihood-free Inferencecited by 98
  17. 2016Likelihood-free inference by ratio estimationcited by 81
  18. 2018Tighter Variational Bounds are Not Necessarily Bettercited by 76
  19. 2019Flow Contrastive Estimation of Energy-Based Modelscited by 75
  20. 2019NeuTra-lizing Bad Geometry in Hamiltonian Monte Carlo Using Neural Transportcited by 74
  21. 2020A Contrastive Learning Approach for Training Variational Autoencoder Priorscited by 66
  22. 2019Quality of Uncertainty Quantification for Bayesian Neural Network Inferencecited by 59
  23. 2018Yes, but Did It Work?: Evaluating Variational Inferencecited by 53
  24. 2013Hamiltonian Monte Carlo for Hierarchical Modelscited by 52
  25. 2020Markovian Score Climbing: Variational Inference with KL(p||q)cited by 46
  26. 2022Robust Neural Posterior Estimation and Statistical Model Criticismcited by 46
  27. 2022Investigating the Impact of Model Misspecification in Neural Simulation-based Inferencecited by 45
  28. 2022Variational methods for simulation-based inferencecited by 43
  29. 2017Variational Inference using Implicit Distributionscited by 39
  30. 2022Ranking Info Noise Contrastive Estimation: Boosting Contrastive Learning via Ranked Positivescited by 37
  31. 2021Challenges and Opportunities in High-dimensional Variational Inferencecited by 35
  32. 2021Variational Refinement for Importance Sampling Using the Forward Kullback-Leibler Divergencecited by 29
  33. 2020f-Divergence Variational Inferencecited by 28
  34. 2021A Trust Crisis In Simulation-Based Inference? Your Posterior Approximations Can Be Unfaithfulcited by 28
  35. 2019Automatic Reparameterisation of Probabilistic Programscited by 18
  36. 2022Adaptive Soft Contrastive Learningcited by 13
  37. 2018Good Initializations of Variational Bayes for Deep Modelscited by 11
  38. 2022The Optimal Noise in Noise-Contrastive Learning Is Not What You Thinkcited by 11

50 most cited of 56 All 56 (JSON)

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.