arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.02169cs.LGstat.ML
收藏

随机批量的快速方差缩减方法

Fast Variance Reduction Method with Stochastic Batch Size

University of California, Davis(加州大学戴维斯分校)

Xuanqing Liu, Cho-Jui Hsieh

摘要:

本文研究了一类具有随机批量的方差缩减方法--在每一步中,算法首先随机选择批量,然后选择一批样本进行方差缩减的随机更新。我们给出了这个框架的复合函数的线性收敛速度,并表明,每次数据访问达到最佳收敛速度的最佳策略是始终选择批量大小为1,这是等价于SAGA算法。然而,由于计算机体系结构中缓存/磁盘IO效应的存在,数据访问次数无法反映运行时间,因为1)随机内存访问比顺序存取慢得多,2)当数据太大而无法放入内存时,磁盘查找需要更长的时间。考虑到这些因素后,选择批量大小的$1$不再是最优的,所以我们提出了一个新的算法称为SAGA++,并展示了如何计算理论上的最优平均批量大小。我们的算法优于SAGA和其他现有的批量和随机求解器在真实数据集上。此外,我们还进行了一个精确的分析,比较不同的更新规则的方差减少方法,表明SAGA++收敛速度比SVRG在理论上。

英文摘要:

In this paper we study a family of variance reduction methods with randomized batch size---at each step, the algorithm first randomly chooses the batch size and then selects a batch of samples to conduct a variance-reduced stochastic update. We give the linear convergence rate for this framework for composite functions, and show that the optimal strategy to achieve the optimal convergence rate per data access is to always choose batch size of 1, which is equivalent to the SAGA algorithm. However, due to the presence of cache/disk IO effect in computer architecture, the number of data access cannot reflect the running time because of 1) random memory access is much slower than sequential access, 2) when data is too big to fit into memory, disk seeking takes even longer time. After taking these into account, choosing batch size of $1$ is no longer optimal, so we propose a new algorithm called SAGA++ and show how to calculate the optimal average batch size theoretically. Our algorithm outperforms SAGA and other existing batched and stochastic solvers on real datasets. In addition, we also conduct a precise analysis to compare different update rules for variance reduction methods, showing that SAGA++ converges faster than SVRG in theory.

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

↑