arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.00832cs.LGcs.NEmath.OC
收藏

梯度下降、随机优化及其他故事

Gradient Descent, Stochastic Optimization, and Other Tales

Jun Lu

AI总结:

本文以自包含教程形式揭示梯度下降与随机优化背后的数学原理,帮助读者理解这些算法的原理、适用时机与方式。

摘要:

本文的目标是揭穿并驱散黑箱优化器和随机优化器背后的神秘色彩,旨在为这些技术如何以及为何有效建立坚实的基础。本文通过从简单直觉出发推导这些策略背后的数学原理,将这一知识加以凝练。本教程不回避讨论梯度下降和随机优化方法的形式化与非形式化两个方面。通过这样做,它希望让读者更深入地理解这些技术,以及应用这些算法的时机、方式和原因。梯度下降是最流行的优化算法之一,也是迄今为止优化机器学习任务最常用的方法。其随机版本近年来受到关注,在优化深度神经网络方面尤其如此。在深度神经网络中,采用单个样本或一批样本所跟随的梯度来节省计算资源并逃离鞍点。1951年,Robbins和Monro发表了《一种随机逼近方法》,这是关于随机优化的最早现代论述之一,该方法利用新的一批样本来估计局部梯度。如今,随机优化已成为机器学习中的核心技术,这在很大程度上得益于在拟合神经网络中反向传播算法的发展。本文的唯一目的是对梯度下降和随机优化中的概念与数学工具提供一个自包含的介绍。

英文摘要:

The goal of this paper is to debunk and dispel the magic behind black-box optimizers and stochastic optimizers. It aims to build a solid foundation on how and why the techniques work. This manuscript crystallizes this knowledge by deriving from simple intuitions, the mathematics behind the strategies. This tutorial doesn't shy away from addressing both the formal and informal aspects of gradient descent and stochastic optimization methods. By doing so, it hopes to provide readers with a deeper understanding of these techniques as well as the when, the how and the why of applying these algorithms. Gradient descent is one of the most popular algorithms to perform optimization and by far the most common way to optimize machine learning tasks. Its stochastic version receives attention in recent years, and this is particularly true for optimizing deep neural networks. In deep neural networks, the gradient followed by a single sample or a batch of samples is employed to save computational resources and escape from saddle points. In 1951, Robbins and Monro published \textit{A stochastic approximation method}, one of the first modern treatments on stochastic optimization that estimates local gradients with a new batch of samples. And now, stochastic optimization has become a core technology in machine learning, largely due to the development of the back propagation algorithm in fitting a neural network. The sole aim of this article is to give a self-contained introduction to concepts and mathematical tools in gradient descent and stochastic optimization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑