Skip to main content
QUICK REVIEW

[论文解读] Online Sampling from Log-Concave Distributions

Holden Lee, Oren Mangoubi|arXiv (Cornell University)|Feb 21, 2019
Markov Chains and Monte Carlo MethodsMathematics参考文献 38被引用 3
一句话总结

本文提出了一种新颖的在线采样算法,用于对数凹分布,通过利用方差减少的随机梯度朗之万动力学(SGLD)与鞅退出时间分析,实现了每轮迭代中对数时间复杂度的梯度评估次数——优于以往线性依赖于T的界,即使在缺乏强凸性的情况下也能确保在ε总变差距离内收敛。

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$.

研究动机与目标

  • 解决在流式数据环境中,由累积凸函数构成的吉布斯分布的高效在线采样挑战。
  • 克服以往方法在非强凸设置下每轮需线性依赖于T次梯度评估的局限性。
  • 设计一种理论基础坚实的算法,在时间T增长时保持低总变差误差并实现高效扩展。
  • 在在线贝叶斯逻辑回归和汤普森采样等应用中实现实际部署,这些应用对快速后验更新有关键需求。

提出的方法

  • 引入一种使用固定小批量的方差减少随机梯度朗之万动力学(SGLD),以在非强凸设置下稳定采样。
  • 采用鞅退出时间论证,证明马尔可夫链在足够长的时间内保持在对数时间复杂度的半径球内,从而实现ε-TV距离内的混合。
  • 使用精心设计的方差减少方案,在不增加每次迭代计算成本的前提下保持精度。
  • 在温和假设下应用该方法:光滑性、二阶矩有界性,以及受控的模态漂移(假设3),无需强凸性假设。
  • 在每轮t中,通过梯度的预言机访问累积函数f₀,…,fₜ,以更新采样分布πₜ ∝ exp(−∑ₖ₌₀ᵗ fₖ)。
  • 通过一种新颖的分析框架证明收敛性保证,该框架利用集中不等式界定了从紧致球逃逸的时间和总变差误差。

实验结果

研究问题

  • RQ1我们能否设计一种对数凹分布的在线采样算法,使其在T上实现次线性缩放,即使在缺乏强凸性的情况下?
  • RQ2在在线设置中,仅使用对数时间复杂度的每轮梯度评估次数,如何维持低总变差误差?
  • RQ3对极小化点漂移和函数光滑性的何种条件可确保在非强凸在线采样中实现高效混合?
  • RQ4是否可能在不依赖强凸性或正则化的情况下,实现在在线贝叶斯逻辑回归中的快速收敛?
  • RQ5与标准SGLD或正则化朗之万方法相比,所提算法在收敛速度和计算成本方面表现如何?

主要发现

  • 该算法在每轮迭代中仅需O(poly(log T, 1/ε⁶))次梯度评估,即可实现相对于πₜ的ε总变差误差,相比以往O(poly(1/ε⁴))的界有所改进,这是由于对Azuma不等式的应用进行了更正。
  • 该方法每轮仅需对数时间复杂度的梯度评估次数,显著优于以往线性依赖于T的界。
  • 理论保证在温和假设下成立:光滑性、二阶矩有界性,以及受控的模态漂移,无需强凸性假设。
  • 在在线贝叶斯逻辑回归中,该算法在精度上可与专用求解器相媲美,同时保持对数时间复杂度的更新成本。
  • 该分析引入了一种新颖的鞅退出时间论证,确保马尔可夫链在足够长的时间内保持在有界区域内,从而克服了非强凸性带来的挑战。
  • 最终界缩放为poly(1/ε⁶),反映了在论文V4版本中对Azuma不等式应用的更正,从而收紧了收敛速率分析。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。