Skip to main content
QUICK REVIEW

[论文解读] Improving SAGA via a Probabilistic Interpolation with Gradient Descent

Adel Bibi, Alibek Sailanbayev|arXiv (Cornell University)|Jun 14, 2018
Stochastic Gradient Optimization TechniquesComputer Science参考文献 36被引用 4
一句话总结

该论文提出SAGD,一种新颖的算法,通过概率插值在SAGA与梯度下降(GD)之间进行插值,其中每次迭代以概率 $ q $ 执行GD,以概率 $ 1-q $ 执行SAGA。令人惊讶的是,总期望复杂度在非平凡的 $ q $ 处取得最小值,从而在性能上优于SAGA与GD,尤其在条件良好的问题中表现更优,同时推导出了实现线性加速的最优小批量大小。

ABSTRACT

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.

研究动机与目标

  • 开发一种用于经验风险最小化的新型算法,其复杂度优于SAGA与梯度下降。
  • 分析SAGA与GD之间概率插值的总期望复杂度,识别出使该复杂度最小化的最优概率 $ q $。
  • 将该方法推广至小批量SAGA,并推导出实现线性加速的联合最优 $ q $ 与小批量大小 $ \tau $。
  • 在合成与真实数据集上通过实证验证理论改进,展示稳健的实际性能提升。

提出的方法

  • SAGD算法在每次迭代中以概率 $ q $ 执行梯度下降步骤,以概率 $ 1-q $ 执行SAGA步骤。
  • 该方法利用概率插值策略,平衡GD的快速收敛与SAGA的低方差更新。
  • 理论分析基于问题的条件数 $ \kappa $ 推导出最优 $ q $,对于条件良好的问题,有 $ q = 1/(n-1)^2 $。
  • 该框架被扩展至小批量SAGA,允许联合优化 $ q $ 与小批量大小 $ \tau $,其中 $ \tau $ 选择为使总复杂度最小化。
  • 分析采用松弛近似 $ L_i = L_{\text{max}} $,以推导出最优 $ q^* $ 与 $ \tau^* $ 的闭式表达式。
  • 该方法确保 $ 0 \leq q \leq 1 $ 且 $ \tau \in [\max(4, \tau_{\text{min}}), \min(\tau_{\text{max}}, n)] $,其边界由稳定性与收敛性条件推导得出。

实验结果

研究问题

  • RQ1在SAGA与梯度下降之间进行概率插值,是否能产生一种总期望复杂度低于任一基线方法的新方法?
  • RQ2使插值方法总期望复杂度最小化的最优概率 $ q $ 是什么?
  • RQ3将方法扩展至小批量SAGA是否能实现小批量大小的线性加速?实现该加速的最优 $ \tau $ 是多少?
  • RQ4最优 $ q $ 与 $ \tau $ 如何依赖于问题的条件数与光滑性常数?
  • RQ5理论上的改进是否能在多样化的合成与真实数据集上被实际观测到?

主要发现

  • 对于条件良好的问题($ \kappa \leq n-1 $),最优 $ q = 1/(n-1)^2 $ 可使总期望复杂度低于SAGA与GD。
  • 对于条件不良的问题($ \kappa \geq n-1 $),最优 $ q = \mu/(4n\overline{L}) $ 仍能确保总复杂度优于SAGA与GD。
  • 最优小批量大小 $ \tau^* $ 并非平凡值(既非1也非 $ n $),其通过解析推导实现小批量大小的线性加速。
  • 在合成与真实数据集(如 ijcnn1、a9a、australian)上的实证结果表明,采用最优 $ (q^*, \tau^*) $ 的SAGD在时间和有效遍历次数上均实现更快收敛。
  • 该方法在实践中展现出稳健的性能提升,SAGD在所有测试数据集中均优于SAGA及其他变体。
  • 在并行实现中,小批量大小的线性加速被实证观察到,验证了理论预测的最优缩放性能。

阅读本论文

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

在 Nubint 中阅读本论文

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