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

快速准确的最小均方解算器

Fast and Accurate Least-Mean-Squares Solvers

University of Haifa(海法大学)

Alaa Maalouf, Ibrahim Jubran, Dan Feldman

摘要:

最小均方(LMS)求解器,如线性/岭/拉索回归,SVD和弹性网络,不仅解决了基本的机器学习问题,而且也是各种其他方法的构建模块,如决策树和矩阵分解。我们提出了一个算法,得到一个有限的$n$ $d$维实向量集,并返回一个加权子集的$d+1$向量的总和是\emph{exactly}相同。Caratheodory定理(1907)中的证明在$O(n^2d^2)$时间内计算这样的子集,因此在实践中没有使用。我们的算法计算这个子集在$O(nd+d^4\log{n})$时间,使用$O(\log n)$调用Caratheodory的建设小,但“智能”的子集。这是基于不同的数据摘要技术之间的融合的新范式,称为草图和核心集。对于较大的$d$值,我们建议一种更快的构造方法,该方法需要$O(nd)$时间(与输入的大小成线性关系),并返回$O(d)$稀疏化输入点的加权子集。在这里,稀疏点意味着它的一些条目被零替换。作为一个示例应用程序,我们展示了如何使用它来提高现有LMS求解器的性能,例如scikit-learn库中的性能,最高可达x100。流和分布式(大)数据的泛化是微不足道的。还提供了大量的实验结果和完整的开放源代码。

英文摘要:

Least-mean squares (LMS) solvers such as Linear / Ridge / Lasso-Regression, SVD and Elastic-Net not only solve fundamental machine learning problems, but are also the building blocks in a variety of other methods, such as decision trees and matrix factorizations. We suggest an algorithm that gets a finite set of $n$ $d$-dimensional real vectors and returns a weighted subset of $d+1$ vectors whose sum is \emph{exactly} the same. The proof in Caratheodory's Theorem (1907) computes such a subset in $O(n^2d^2)$ time and thus not used in practice. Our algorithm computes this subset in $O(nd+d^4\log{n})$ time, using $O(\log n)$ calls to Caratheodory's construction on small but "smart" subsets. This is based on a novel paradigm of fusion between different data summarization techniques, known as sketches and coresets. For large values of $d$, we suggest a faster construction that takes $O(nd)$ time (linear in the input's size) and returns a weighted subset of $O(d)$ sparsified input points. Here, sparsified point means that some of its entries were replaced by zeroes. As an example application, we show how it can be used to boost the performance of existing LMS solvers, such as those in scikit-learn library, up to x100. Generalization for streaming and distributed (big) data is trivial. Extensive experimental results and complete open source code are also provided.

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

↑