While low-precision optimization has been widely used to accelerate deep learning, low-precision sampling remains largely unexplored. As a consequence, sampling is simply infeasible in many large-scale scenarios, despite providing remarkable benefits to generalization and uncertainty estimation for neural networks. In this paper, we provide the first study of low-precision Stochastic Gradient Langevin Dynamics (SGLD), showing that its costs can be significantly reduced without sacrificing performance, due to its intrinsic ability to handle system noise. We prove that the convergence of low-precision SGLD with full-precision gradient accumulators is less affected by the quantization error than its SGD counterpart in the strongly convex setting. To further enable low-precision gradient accumulators, we develop a new quantization function for SGLD that preserves the variance in each update step. We demonstrate that low-precision SGLD achieves comparable performance to full-precision SGLD with only 8 bits on a variety of deep learning tasks.
Convergence of mean-field Langevin dynamics: Time and space discretization, stochastic gradient, and variance reduction
University of Tokyo(东京大学);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能项目中心);University of Toronto(多伦多大学);Vector Institute for Artificial Intelligence(矢量人工智能研究所);Kyushu Institute of Technology(九州工业大学)
Dimension-free convergence rates for gradient Langevin dynamics in RKHS
CREST, ENSAE, IP Paris(巴黎理工学院国立统计与经济管理学院经济与统计研究中心);The University of Tokyo(东京大学);INRIA, Université Paris-Saclay(巴黎萨克雷大学法国国家信息与自动化研究所);Riken AIP(理化学研究所先进智能项目中心)
Fractional Underdamped Langevin Dynamics: Retargeting SGD with Momentum under Heavy-Tailed Gradient Noise
LTCI, Télécom Paris, Institut Polytechnique de Paris(巴黎理工学院巴黎电信学院LTCI实验室);Department of Statistics, University of Oxford(牛津大学统计系);Department of Mathematics, Florida State University(佛罗里达州立大学数学系);Department of Management Science and Information Systems, Rutgers Business School(罗格斯大学商学院管理科学与信息系统系)
带动量的随机梯度下降(SGDm)是深度学习中最流行的优化算法之一。虽然有丰富的SGDm理论用于凸问题,但该理论在深度学习的背景下发展得相当少,其中问题是非凸的,并且梯度噪声可能表现出重尾行为,正如最近的研究所观察到的那样。在这项研究中,我们考虑了一个\emph{continuous-time}变形的SGDm,称为欠阻尼朗之万动力学(ULD),并研究其渐近性质下的重尾扰动。支持最近的研究从统计物理,我们认为在理论上和经验上,这种扰动的重尾可以导致偏见,即使当步长很小,在这个意义上说,\emph{the optima of stationary distribution}的动态可能不匹配\emph{the optima of the cost function to be optimized}。作为补救措施,我们开发了一个新的框架,我们将其命名为\emph{fractional} ULD(FULD),并证明FULD针对所谓的吉布斯分布,其最优值与原始成本的最优值完全匹配。我们观察到,FULD的欧拉离散化与\emph{natural gradient}方法和\emph{gradient clipping}具有值得注意的算法相似性,为理解它们在深度学习中的作用带来了新的视角。我们支持我们的理论与合成模型和神经网络上进行的实验。
Taming neural networks with TUSLA: Non-convex learning via adaptive stochastic gradient Langevin algorithms
Alfréd Rényi Institute of Mathematics(阿尔弗雷德·雷尼数学研究所);The University of Edinburgh(爱丁堡大学);The Alan Turing Institute(艾伦·图灵研究所);National Technical University of Athens(雅典国立技术大学)
Error estimates between SGD with momentum and underdamped Langevin diffusion
Laboratoire de Mathematiques Blaise Pascal, CNRS-UMR 6620, Universite Clermont-Auvergne(克莱蒙奥弗涅大学);University of Macau(澳门大学);UM Zhuhai Research Institute(澳门大学珠海研究院);School of Mathematical Sciences, Peking University(北京大学数学科学学院);Beijing International Center for Mathematical Research (BICMR), Peking University(北京大学北京国际数学研究中心)
Application of Langevin Dynamics to Advance the Quantum Natural Gradient Optimization Algorithm
National Science Center "Kharkiv Institute of Physics and Technology"(国家科学中心"基尔基亚物理与技术研究所");V.N. Karazin Kharkiv National University(V.N. 卡拉津基尔基亚国立大学);Università della Svizzera italiana(瑞士意大利大学)
UNIST InnoCORE AI-Space Solar Initiative, Ulsan National Institute of Science and Technology (UNIST), Ulsan, 44919, Republic of Korea(UNIST InnoCORE AI-Space Solar Initiative,乌山国立科学与技术研究所(UNIST),乌山,44919,韩国);Artificial Intelligence Graduate School, Ulsan National Institute of Science and Technology (UNIST), Ulsan, 44919, Republic of Korea(人工智能研究生院,乌山国立科学与技术研究所(UNIST),乌山,44919,韩国);Department of Industrial Engineering, Ulsan National Institute of Science and Technology (UNIST), Ulsan, 44919, Republic of Korea(工业工程系,乌山国立科学与技术研究所(UNIST),乌山,44919,韩国);School of Mathematics, University of Edinburgh, Edinburgh, United Kingdom(爱丁堡大学数学学院,爱丁堡,英国);Department of Mathematics, National Technical University of Athens, Athens, Greece(雅典国家技术大学数学系,雅典,希腊);Archimedes, Athena Research and Innovation Centre, Marousi, Greece(Archimedes,雅典研究与创新中心,Marousi,希腊)
Ergodicity of the underdamped mean-field Langevin dynamics
Université Paris-Saclay(巴黎萨克雷大学);Université Paris-Dauphine, PSL(巴黎多芬大学,PSL大学);The Chinese University of Hong Kong(香港中文大学);Vienna University of Technology(维也纳工业大学)
Global Convergence of Stochastic Gradient Hamiltonian Monte Carlo for Non-Convex Stochastic Optimization: Non-Asymptotic Performance Bounds and Momentum-Based Acceleration
The Chinese University of Hong Kong(香港中文大学);Rutgers University(罗格斯大学);Florida State University(佛罗里达州立大学)
随机梯度Hamilton Monte Carlo(SGHMC)是一种动量随机梯度算法,在随机梯度中加入受控的、适当缩放的高斯噪声,使迭代过程趋于全局极小值。许多工作报告了其在解决随机非凸优化问题的实践中的经验成功,特别是它已被观察到优于过阻尼Langevin蒙特卡罗方法,如随机梯度Langevin动力学(SGLD)在许多应用中。虽然SGHMC的渐近整体收敛性质是众所周知的,其有限时间性能还没有得到很好的理解。在这项工作中,我们研究了两个变种的SGHMC的基础上两个替代离散的欠阻尼朗之万扩散。我们提供了有限时间性能界的整体收敛的SGHMC解决显式常数随机非凸优化问题的变种。我们的研究结果导致人口和经验风险最小化问题的非渐近保证。对于一个固定的目标精度水平,对一类非凸问题,我们得到的复杂性界SGHMC可以比SGLD更紧。这些结果表明,在全局非凸优化的背景下,动量加速是可能的。
University of Cambridge(剑桥大学);ETH Zürich(苏黎世联邦理工学院)
随机梯度马尔可夫链蒙特卡罗算法是一种常用的近似推理抽样方法,但它们通常存在偏差。我们发现,这些方法的许多最新版本(例如Chen et al.(2014))无法使用Metropolis-Hastings拒绝抽样进行校正,因为它们的接受概率始终为零。我们可以通过使用具有可实现的向后轨迹的采样器来解决这个问题,例如服从引导蒙特卡罗(Horowitz,1991),它概括了随机梯度朗之万动力学(Welling和Teh,2011)和哈密顿蒙特卡罗。我们表明,这个采样器可以使用随机梯度,产生非零的接受概率,甚至可以跨多个步骤计算。
Discrete Langevin Sampler via Wasserstein Gradient Flow
Georgia Tech(佐治亚理工学院);Google Research(谷歌研究院);University of Alberta(阿尔伯塔大学)
已知连续空间的基于梯度的MCMC采样器,例如朗之万蒙特卡罗(LMC),可以导出为梯度流的粒子版本,其最小化Wasserstein流形上的KL发散。这种采样器的优越效率激发了最近几次尝试将LMC推广到离散空间。然而,朗之万动力学的一个完整的原则性扩展到离散空间尚未实现,由于缺乏定义良好的梯度在样本空间。在这项工作中,我们展示了如何Wasserstein梯度流可以自然地推广到离散空间。鉴于所提出的配方,我们演示了如何离散模拟朗之万动力学可以随后开发。有了这个新的理解,我们揭示了最近的基于梯度的采样器在离散空间中可以通过选择特定的离散化作为特殊情况。更重要的是,该框架还允许推导新的算法,其中之一,\textit{Discrete Langevin Monte Carlo}(DLMC),是通过一个因式分解的估计的过渡矩阵。DLMC方法允许一个方便的并行实现和时间均匀采样,实现更大的跳跃距离。我们证明了DLMC在各种二进制和分类分布上的优势。
On Stationary-Point Hitting Time and Ergodicity of Stochastic Gradient Langevin Dynamics
New York University(纽约大学);Institute for Advanced Study(高等研究院);National University of Singapore(新加坡国立大学)
随机梯度朗之万动力学(SGLD)是随机最优化中的一个基本算法。Zhang等人最近的工作。[2017]提出了一阶和二阶平稳点的SGLD命中时间的分析。Zhang et al. [2017]中的证明是一个通过界定Cheeger常数的两阶段过程,这是相当复杂的,并导致松散的界限。本文利用随机微分方程的直觉,直接分析了SGLD到达一阶和二阶平稳点的击中时间。我们的分析很简单。它只依赖于基本的线性代数和概率论工具。与Zhang等人[2017]相比,我们的直接分析也导致了更严格的界限,并显示了命中时间对不同因素的显式依赖性,包括维数,平滑度,噪声强度和步长效应。在适当的条件下,我们证明了SGLD到一阶稳定点的击中时间可以是维数无关的。此外,我们应用我们的分析研究机器学习中的几个重要的在线估计问题,包括线性回归,矩阵分解,和在线PCA。