Skip to main content
QUICK REVIEW

[Paper Review] Online Sampling from Log-Concave Distributions

Holden Lee, Oren Mangoubi|arXiv (Cornell University)|Feb 21, 2019
Markov Chains and Monte Carlo MethodsMathematics38 references3 citations
TL;DR

This paper presents a novel online sampling algorithm for log-concave distributions that achieves poly-logarithmic gradient evaluations per epoch—improving upon prior linear-in-T bounds—by leveraging a variance-reduced stochastic gradient Langevin dynamics with a martingale exit time analysis to ensure convergence within ε total variation distance despite lack of strong convexity.

ABSTRACT

Given a sequence of convex functions $f_0, f_1, \ldots, f_T$, we study the problem of sampling from the Gibbs distribution $π_t \propto e^{-\sum_{k=0}^tf_k}$ for each epoch $t$ in an online manner. Interest in this problem derives from applications in machine learning, Bayesian statistics, and optimization where, rather than obtaining all the observations at once, one constantly acquires new data, and must continuously update the distribution. Our main result is an algorithm that generates roughly independent samples from $π_t$ for every epoch $t$ and, under mild assumptions, makes $\mathrm{polylog}(T)$ gradient evaluations per epoch. All previous results imply a bound on the number of gradient or function evaluations which is at least linear in $T$. Motivated by real-world applications, we assume that functions are smooth, their associated distributions have a bounded second moment, and their minimizer drifts in a bounded manner, but do not assume they are strongly convex. In particular, our assumptions hold for online Bayesian logistic regression, when the data satisfy natural regularity properties, giving a sampling algorithm with updates that are poly-logarithmic in $T$. In simulations, our algorithm achieves accuracy comparable to an algorithm specialized to logistic regression. Key to our algorithm is a novel stochastic gradient Langevin dynamics Markov chain with a carefully designed variance reduction step and constant batch size. Technically, lack of strong convexity is a significant barrier to analysis and, here, our main contribution is a martingale exit time argument that shows our Markov chain remains in a ball of radius roughly poly-logarithmic in $T$ for enough time to reach within $\varepsilon$ of $π_t$.

Motivation & Objective

  • Address the challenge of efficient online sampling from Gibbs distributions formed by cumulative convex functions in streaming data settings.
  • Overcome the limitation of prior methods requiring linear-in-T gradient evaluations per epoch, especially in non-strongly convex settings.
  • Develop a theoretically grounded algorithm that maintains low total variation error while scaling efficiently with time T.
  • Enable practical deployment in applications like online Bayesian logistic regression and Thompson sampling where fast posterior updates are critical.

Proposed method

  • Introduce a variance-reduced stochastic gradient Langevin dynamics (SGLD) with a constant batch size to stabilize sampling in non-strongly convex settings.
  • Employ a martingale exit time argument to prove that the Markov chain remains within a poly-logarithmic radius ball long enough to mix within ε-TV distance.
  • Use a carefully designed variance reduction scheme that maintains accuracy without increasing computational cost per iteration.
  • Apply the algorithm under mild assumptions: smoothness, bounded second moments, and controlled mode drift (Assumption 3), without requiring strong convexity.
  • Leverage oracle access to gradients of cumulative functions f₀,…,fₜ at each epoch t to update the sampling distribution πₜ ∝ exp(−∑ₖ₌₀ᵗ fₖ).
  • Prove convergence guarantees via a novel analysis framework that bounds escape time from a compact ball and total variation error using concentration inequalities.

Experimental results

Research questions

  • RQ1Can we design an online sampling algorithm for log-concave distributions that scales sublinearly in T, even without strong convexity?
  • RQ2How can we maintain low total variation error with only poly-logarithmic gradient evaluations per epoch in an online setting?
  • RQ3What conditions on the drift of minimizers and smoothness of functions ensure efficient mixing in non-strongly convex online sampling?
  • RQ4Is it possible to achieve fast convergence in online Bayesian logistic regression without relying on strong convexity or regularization?
  • RQ5How does the proposed algorithm compare to standard SGLD or regularized Langevin methods in terms of convergence rate and computational cost?

Key findings

  • The algorithm achieves ε-total variation error in sampling from πₜ with O(poly(log T, 1/ε⁶)) gradient evaluations per epoch, improving from prior O(poly(1/ε⁴)) bounds due to a corrected application of Azuma’s inequality.
  • The method requires only poly-logarithmic gradient evaluations per epoch, significantly improving over previous linear-in-T bounds.
  • Theoretical guarantees hold under mild assumptions: smoothness, bounded second moments, and controlled mode drift, without assuming strong convexity.
  • For online Bayesian logistic regression, the algorithm achieves comparable accuracy to specialized solvers while maintaining poly-logarithmic update cost.
  • The analysis introduces a novel martingale exit time argument that ensures the Markov chain remains in a bounded region long enough to mix, overcoming the challenge of non-strong convexity.
  • The final bound scales as poly(1/ε⁶), reflecting a correction in the application of Azuma’s inequality in the V4 version of the paper, which tightened the convergence rate analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.