paper-with-me

홈 › Papers

Low-Precision Stochastic Gradient Langevin Dynamics

2022-06-20 · Ruqi Zhang, Andrew Gordon Wilson, Christopher De Sa

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.

📄 PDF Abstract BibTeX arXiv:2206.09909

Code (1)

ruqizhang/low-precision-sgld 공식 구현 pytorch

Tasks

Deep LearningQuantization

Methods 이 논문이 사용한 방법론

SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…

Similar Papers 제목 키워드 기반

Improved Convergence Rate of Stochastic Gradient Langevin Dynamics with Variance Reduction and its Application to Optimization

2022-03-30 · Yuri Kinoshita, Taiji Suzuki

The stochastic gradient Langevin Dynamics is one of the most fundamental algorithms to solve sampling problems and non-convex optimization appearing in several machine learning applications. Especially, its variance redu…

Global Convergence of Langevin Dynamics Based Algorithms for Nonconvex Optimization

2017-07-20 · NeurIPS 2018 12 · Pan Xu, Jinghui Chen, Difan Zou, Quanquan Gu

We present a unified framework to analyze the global convergence of Langevin dynamics based algorithms for nonconvex finite-sum optimization with $n$ component functions. At the core of our analysis is a direct analysis …

Variance Reduction in Stochastic Gradient Langevin Dynamics

2016-12-01 · NeurIPS 2016 12 · Kumar Avinava Dubey, Sashank J. Reddi, Sinead A. Williamson, Barnabas Poczos 외

Stochastic gradient-based Monte Carlo methods such as stochastic gradient Langevin dynamics are useful tools for posterior inference on large scale datasets in many machine learning applications. These methods scale to l…

BIG-bench Machine Learning

Federated Stochastic Gradient Langevin Dynamics

2020-04-23 · Khaoula El Mekkaoui, Diego Mesquita, Paul Blomstedt, Samuel Kaski

Stochastic gradient MCMC methods, such as stochastic gradient Langevin dynamics (SGLD), employ fast but noisy gradient estimates to enable large-scale posterior sampling. Although we can easily extend SGLD to distributed…

Federated LearningMetric Learning

Non-Convex Optimization via Non-Reversible Stochastic Gradient Langevin Dynamics

2020-04-06 · Yuanhan Hu, Xiaoyu Wang, Xuefeng Gao, Mert Gurbuzbalaban 외

Stochastic Gradient Langevin Dynamics (SGLD) is a powerful algorithm for optimizing a non-convex objective, where a controlled and properly scaled Gaussian noise is added to the stochastic gradients to steer the iterates…

Stochastic Optimization