SGD for Variational Inference: Tackling Unbounded Variance via Preconditioning and Dynamic Batching

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Labarrière, Hippolyte, Molinari, Cesare, Villa, Silvia, Rosasco, Lorenzo
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917472148389888
author Labarrière, Hippolyte
Molinari, Cesare
Villa, Silvia
Rosasco, Lorenzo
author_facet Labarrière, Hippolyte
Molinari, Cesare
Villa, Silvia
Rosasco, Lorenzo
contents Black-Box Variational Inference (BBVI) typically relies on Stochastic Gradient Descent (SGD) to optimize the Evidence Lower Bound (ELBO). However, the stochastic gradients in BBVI inherently exhibit unbounded variance, violating standard assumptions and instead satisfying the weaker Blum-Gladyshev (BG) condition, where variance grows quadratically with distance from the optimum. In this paper, we bridge the gap between stochastic optimization theory and the practical instances of BBVI. Focusing on the broad elliptic location-scale family of parameterized distributions, we offer two main contributions. First, we prove the existence of an ELBO solution, a foundational property usually assumed a priori in the literature. Second, we establish comprehensive convergence guarantees spanning finite-time and asymptotic regimes for Minibatch Projected SGD (PSGD) equipped with dynamic batching and preconditioning under the BG condition. Our theoretical framework demonstrates that dynamic batching combined with preconditioning systematically enables rigorous guarantees even in complex settings. We illustrate our theoretical findings with numerical results, highlighting the efficacy of our approach for modern inference tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2605_07531
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SGD for Variational Inference: Tackling Unbounded Variance via Preconditioning and Dynamic Batching
Labarrière, Hippolyte
Molinari, Cesare
Villa, Silvia
Rosasco, Lorenzo
Machine Learning
Optimization and Control
Black-Box Variational Inference (BBVI) typically relies on Stochastic Gradient Descent (SGD) to optimize the Evidence Lower Bound (ELBO). However, the stochastic gradients in BBVI inherently exhibit unbounded variance, violating standard assumptions and instead satisfying the weaker Blum-Gladyshev (BG) condition, where variance grows quadratically with distance from the optimum. In this paper, we bridge the gap between stochastic optimization theory and the practical instances of BBVI. Focusing on the broad elliptic location-scale family of parameterized distributions, we offer two main contributions. First, we prove the existence of an ELBO solution, a foundational property usually assumed a priori in the literature. Second, we establish comprehensive convergence guarantees spanning finite-time and asymptotic regimes for Minibatch Projected SGD (PSGD) equipped with dynamic batching and preconditioning under the BG condition. Our theoretical framework demonstrates that dynamic batching combined with preconditioning systematically enables rigorous guarantees even in complex settings. We illustrate our theoretical findings with numerical results, highlighting the efficacy of our approach for modern inference tasks.
title SGD for Variational Inference: Tackling Unbounded Variance via Preconditioning and Dynamic Batching
topic Machine Learning
Optimization and Control
url https://arxiv.org/abs/2605.07531