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

$\texttt{RidgeSketch}$:一种基于快速草图的大规模岭回归求解器

$\texttt{RidgeSketch}$: A Fast sketching based solver for large scale ridge regression

Nidham Gazagnadou, Mark Ibrahim, Robert M. Gower

摘要:

我们提出了解决大规模岭回归问题的草图和项目方法的新变种。首先,我们提出了一个新的动量替代,并提供了一个定理,表明它可以加快收敛的草图和投影,通过一个快速的$\textit{sublinear}$收敛速度。我们仔细界定在什么样的设置下,这个新的次线性速度比以前已知的线性收敛速率更快的草图和项目没有动量。其次,我们考虑结合素描和项目的方法与新的现代素描方法,如计数素描,子计数素描(我们提出的一种新方法),和子采样阿达玛变换。我们的实验表明,当结合草图和项目的方法,(子)计数草图是非常有效的稀疏数据和标准的子样本草图是有效的密集数据。事实上,我们表明,这些草图的方法,结合我们的新的动量计划,结果是有竞争力的方法,即使相比真正的大规模数据的共轭梯度法。相反,我们表明,子采样阿达玛变换在这种情况下并没有很好地执行,尽管使用快速阿达玛变换,也没有最近提出的加速方案在实践中工作得很好。为了支持我们所有的实验发现,并邀请社区验证和扩展我们的结果,我们还发布了一个开源软件包:$\texttt{RidgeSketch}$。我们用Python设计了这个面向对象的包,用于测试草图和项目方法以及对岭回归求解器进行基准测试。$\texttt{RidgeSketch}$是高度模块化的,新的草图绘制方法可以很容易地作为子类添加。我们在附录中提供了我们包的代码片段。

英文摘要:

We propose new variants of the sketch-and-project method for solving large scale ridge regression problems. Firstly, we propose a new momentum alternative and provide a theorem showing it can speed up the convergence of sketch-and-project, through a fast $\textit{sublinear}$ convergence rate. We carefully delimit under what settings this new sublinear rate is faster than the previously known linear rate of convergence of sketch-and-project without momentum. Secondly, we consider combining the sketch-and-project method with new modern sketching methods such as the count sketch, subcount sketch (a new method we propose), and subsampled Hadamard transforms. We show experimentally that when combined with the sketch-and-project method, the (sub)count sketch is very effective on sparse data and the standard subsample sketch is effective on dense data. Indeed, we show that these sketching methods, combined with our new momentum scheme, result in methods that are competitive even when compared to the Conjugate Gradient method on real large scale data. On the contrary, we show the subsampled Hadamard transform does not perform well in this setting, despite the use of fast Hadamard transforms, and nor do recently proposed acceleration schemes work well in practice. To support all of our experimental findings, and invite the community to validate and extend our results, with this paper we are also releasing an open source software package: $\texttt{RidgeSketch}$. We designed this object-oriented package in Python for testing sketch-and-project methods and benchmarking ridge regression solvers. $\texttt{RidgeSketch}$ is highly modular, and new sketching methods can easily be added as subclasses. We provide code snippets of our package in the appendix.

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

↑