mlsanityData to 7 Oct 2026

Fast and Correct Gradient-Based Optimisation for Probabilistic Programming via Smoothing

arXiv 2301.03415 ↗First posted 9 Jan 2023cs.PL cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

We study the foundations of variational inference, which frames posterior inference as an optimisation problem, for probabilistic programming. The dominant approach for optimisation in practice is stochastic gradient descent. In particular, a variant using the so-called reparameterisation gradient estimator exhibits fast convergence in a traditional statistics setting. Unfortunately, discontinuities, which are readily expressible in programming languages, can compromise the correctness of this approach. We consider a simple (higher-order, probabilistic) programming language with conditionals, and we endow our language with both a measurable and a smoothed (approximate) value semantics. We present type systems which establish technical pre-conditions. Thus we can prove stochastic gradient descent with the reparameterisation gradient estimator to be correct when applied to the smoothed problem. Besides, we can solve the original problem up to any error tolerance by choosing an accuracy coefficient suitably. Empirically we demonstrate that our approach has a similar convergence as a key competitor, but is simpler, faster, and attains orders of magnitude reduction in work-normalised variance.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 19 of its 43 references that are in the map. First posted on arXiv 9 Jan 2023.

Builds on

19 of 43 references.

References · 19

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2013Auto-Encoding Variational Bayescited by 3,980
  3. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  4. 2016Variational Inference: A Review for Statisticianscited by 1,466
  5. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
  6. 2018Pyro: Deep Universal Probabilistic Programmingcited by 379
  7. 2013Black Box Variational Inferencecited by 317
  8. 2017Advances in Variational Inferencecited by 236
  9. 2014Neural Variational Inference and Learning in Belief Networkscited by 116
  10. 2013Automated Variational Inference in Probabilistic Programmingcited by 31
  11. 2017A Convenient Category for Higher-Order Probability Theorycited by 14
  12. 2015A Lambda-Calculus Foundation for Universal Probabilistic Programmingcited by 12
7 more
  1. 2016Semantics for probabilistic programming: higher-order functions, continuous distributions, and soft constraintscited by 12
  2. 2018Reparameterization Gradient for Non-differentiable Modelscited by 11
  3. 2019Towards Verified Stochastic Variational Inference for Probabilistic Programscited by 6
  4. 2020Densities of Almost Surely Terminating Probabilistic Programs are Differentiable Almost Everywherecited by 6
  5. 2018A Domain Theory for Statistical Probabilistic Programmingcited by 4
  6. 2019Semantics of higher-order probabilistic programs with conditioningcited by 4
  7. 2017Multilevel Monte Carlo Method for Statistical Model Checking of Hybrid Systemscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 1.

2 papers.