arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2112.06007stat.MLcond-mat.dis-nncs.LGmath.OCmath.PR
收藏

SGD中基于正交多项式的小批量抽样决定点过程

Determinantal point processes based on orthogonal polynomials for sampling minibatches in SGD

Université de Lille(里尔大学);CNRS(法国国家科学研究中心);Centrale Lille(里尔中央理工学院);National University of Singapore(新加坡国立大学)

Remi Bardenet, Subhro Ghosh, Meixia Lin

摘要:

随机梯度下降(SGD)是机器学习的基石。当数据项的数量N很大时,SGD依赖于使用原始数据集的一个小子集(称为minibatch)构建经验风险梯度的无偏估计量。默认的minibatch构造涉及对所需大小的子集进行均匀采样,但是已经探索了用于减少方差的替代方案。特别是,实验证据表明,绘制minibatches从行列式点过程(DPP),分布在minibatches有利于所选项目之间的多样性。然而,就像最近关于核心集的DPP的工作一样,很难系统地、有原则地理解DPP如何以及为什么起作用。在这项工作中,我们贡献了一个正交多项式为基础的DPP范式的小批量抽样在SGD。我们的方法利用了手头的特定数据分布,这赋予了它比现有数据不可知方法更高的灵敏度和能力。我们证实我们的方法通过详细的理论分析,其收敛性,交织之间的离散数据集和底层连续域。特别是,我们展示了特定的DPP和一系列的控制近似可以导致梯度估计的方差衰减速度比均匀采样下的批量。再加上现有的有限时间保证SGD凸目标,这意味着,DPP minibatches导致更小的约束上的均方近似误差比均匀minibatches。此外,我们的估计器适用于最近的算法,该算法直接对DPP的线性统计数据进行采样(即,梯度估计器)而不对基础DPP进行采样(即,minibatch),从而减少计算开销。我们提供了详细的合成以及真实的数据实验来证实我们的理论主张。

英文摘要:

Stochastic gradient descent (SGD) is a cornerstone of machine learning. When the number N of data items is large, SGD relies on constructing an unbiased estimator of the gradient of the empirical risk using a small subset of the original dataset, called a minibatch. Default minibatch construction involves uniformly sampling a subset of the desired size, but alternatives have been explored for variance reduction. In particular, experimental evidence suggests drawing minibatches from determinantal point processes (DPPs), distributions over minibatches that favour diversity among selected items. However, like in recent work on DPPs for coresets, providing a systematic and principled understanding of how and why DPPs help has been difficult. In this work, we contribute an orthogonal polynomial-based DPP paradigm for minibatch sampling in SGD. Our approach leverages the specific data distribution at hand, which endows it with greater sensitivity and power over existing data-agnostic methods. We substantiate our method via a detailed theoretical analysis of its convergence properties, interweaving between the discrete data set and the underlying continuous domain. In particular, we show how specific DPPs and a string of controlled approximations can lead to gradient estimators with a variance that decays faster with the batchsize than under uniform sampling. Coupled with existing finite-time guarantees for SGD on convex objectives, this entails that, DPP minibatches lead to a smaller bound on the mean square approximation error than uniform minibatches. Moreover, our estimators are amenable to a recent algorithm that directly samples linear statistics of DPPs (i.e., the gradient estimator) without sampling the underlying DPP (i.e., the minibatch), thereby reducing computational overhead. We provide detailed synthetic as well as real data experiments to substantiate our theoretical claims.

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

↑