arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.05633math.OC
收藏

基于梯度下降概率插值的SAGA改进

Improving SAGA via a Probabilistic Interpolation with Gradient Descent

Adel Bibi, Alibek Sailanbayev, Bernard Ghanem, Robert Mansel Gower, Peter Richtárik

摘要:

我们开发并分析了一种新的经验风险最小化算法,这是训练监督机器学习模型的关键范例。我们的方法-SAGD-是基于SAGA和梯度下降(GD)的概率插值。特别地,在每次迭代中,我们采用概率为$q$的梯度步骤和概率为$1-q$的SAGA步骤。我们发现,令人惊讶的是,总的预期复杂性的方法(这是通过乘以迭代次数的预期数量的梯度计算在每次迭代)是最小化的一个非平凡的概率$q$。例如,对于一个良态的问题,选择$q=1/(n-1)^2$,其中$n$是数据样本的数量,给出了一个方法,其总体复杂度优于GD和SAGA的复杂度。我们进一步推广的结果的概率插值SAGA和minibatch SAGA,这使我们能够计算最佳的概率和最佳minibatch大小。虽然理论上的改进可能不大,但实际改进在我们测试的所有合成和真实数据中都是鲁棒的,并且可能是实质性的。我们的理论结果表明,对于这个最佳的minibatch大小,我们的方法实现了线性加速minibatch大小,这是关键的实际重要性,因为minibatch实现用于在实践中训练机器学习模型。此外,经验证据表明,在minibatch大小的线性加速可以实现与并行实现。

英文摘要:

We develop and analyze a new algorithm for empirical risk minimization, which is the key paradigm for training supervised machine learning models. Our method---SAGD---is based on a probabilistic interpolation of SAGA and gradient descent (GD). In particular, in each iteration we take a gradient step with probability $q$ and a SAGA step with probability $1-q$. We show that, surprisingly, the total expected complexity of the method (which is obtained by multiplying the number of iterations by the expected number of gradients computed in each iteration) is minimized for a non-trivial probability $q$. For example, for a well conditioned problem the choice $q=1/(n-1)^2$, where $n$ is the number of data samples, gives a method with an overall complexity which is better than both the complexity of GD and SAGA. We further generalize the results to a probabilistic interpolation of SAGA and minibatch SAGA, which allows us to compute both the optimal probability and the optimal minibatch size. While the theoretical improvement may not be large, the practical improvement is robustly present across all synthetic and real data we tested for, and can be substantial. Our theoretical results suggest that for this optimal minibatch size our method achieves linear speedup in minibatch size, which is of key practical importance as minibatch implementations are used to train machine learning models in practice. Moreover, empirical evidence suggest that a linear speedup in minibatch size can be attained with a parallel implementation.

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

↑