English

Least squares variational inference

Computation 2025-09-24 v3

Abstract

Variational inference consists in finding the best approximation of a target distribution within a certain family, where `best' means (typically) smallest Kullback-Leiber divergence. We show that, when the approximation family is exponential, the best approximation is the solution of a fixed-point equation. We introduce LSVI (Least-Squares Variational Inference), a Monte Carlo variant of the corresponding fixed-point recursion, where each iteration boils down to ordinary least squares regression and does not require computing gradients. We show that LSVI is equivalent to stochastic mirror descent; we use this insight to derive convergence guarantees. We introduce various ideas to improve LSVI further when the approximation family is Gaussian, leading to a O(d3)O(d^3) complexity in the dimension dd of the target in the full-covariance case, and a O(d)O(d) complexity in the mean-field case. We show that LSVI outperforms state-of-the-art methods in a range of examples, while remaining gradient-free, that is, it does not require computing gradients.

Keywords

Cite

@article{arxiv.2502.18475,
  title  = {Least squares variational inference},
  author = {Yvann Le Fay and Nicolas Chopin and Simon Barthelmé},
  journal= {arXiv preprint arXiv:2502.18475},
  year   = {2025}
}

Comments

NeurIPS 2025, 41 pages, 8 figures

R2 v1 2026-06-28T21:57:43.134Z