arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.00642cs.LGcs.DS
收藏

基于核密度估计的核矩阵次二次算法

Sub-quadratic Algorithms for Kernel Matrices via Kernel Density Estimation

Carnegie Mellon University(卡内基梅隆大学);MIT(麻省理工学院);CMU(卡内基梅隆大学);UC Berkeley(加州大学伯克利分校);Rice University(莱斯大学)

Ainesh Bakshi, Piotr Indyk, Praneeth Kacham, Sandeep Silwal, Samson Zhou

摘要:

核矩阵以及由它们表示的加权图是机器学习、统计学和其他相关领域中普遍存在的对象。使用内核方法(使用内核矩阵进行学习和推理)的主要缺点是效率--给定$n$输入点,大多数基于内核的算法需要在执行任何后续计算之前具体化完整的$n \times n$内核矩阵,从而导致$Ω(n^2)$运行时。因此,打破这个二次障碍的各种问题,一直是一个广泛的研究工作的主题。我们打破了二次障碍,并获得$\textit{subquadratic}$时间算法的几个基本的线性代数和图形处理原语,包括近似的顶部特征值和特征向量,谱稀疏,解决线性系统,局部聚类,低秩近似,荫度估计和计数加权三角形。我们建立在最近的核密度估计框架上,该框架(在$n$中的时间次二次预处理后)可以返回核矩阵的行/列和的估计。特别是,我们开发了有效的减少从$\textit{weighted vertex}$和$\textit{weighted edge sampling}$的内核图,$\textit{simulating random walks}$的内核图,和$\textit{importance sampling}$的矩阵核密度估计,并表明,我们可以生成样本从这些分布在$\textit{sublinear}$(在支持的分布)的时间。我们的还原是我们每个应用程序的核心成分,我们相信它们可能是独立的利益。我们凭经验证明了我们的算法对低秩近似(LRA)和频谱稀疏化的有效性,在那里我们观察到一个$\textbf{9x}$减少内核评估的数量超过基线LRA和一个$\textbf{41x}$减少频谱稀疏化的图形大小。

英文摘要:

Kernel matrices, as well as weighted graphs represented by them, are ubiquitous objects in machine learning, statistics and other related fields. The main drawback of using kernel methods (learning and inference using kernel matrices) is efficiency -- given $n$ input points, most kernel-based algorithms need to materialize the full $n \times n$ kernel matrix before performing any subsequent computation, thus incurring $Ω(n^2)$ runtime. Breaking this quadratic barrier for various problems has therefore, been a subject of extensive research efforts. We break the quadratic barrier and obtain $\textit{subquadratic}$ time algorithms for several fundamental linear-algebraic and graph processing primitives, including approximating the top eigenvalue and eigenvector, spectral sparsification, solving linear systems, local clustering, low-rank approximation, arboricity estimation and counting weighted triangles. We build on the recent Kernel Density Estimation framework, which (after preprocessing in time subquadratic in $n$) can return estimates of row/column sums of the kernel matrix. In particular, we develop efficient reductions from $\textit{weighted vertex}$ and $\textit{weighted edge sampling}$ on kernel graphs, $\textit{simulating random walks}$ on kernel graphs, and $\textit{importance sampling}$ on matrices to Kernel Density Estimation and show that we can generate samples from these distributions in $\textit{sublinear}$ (in the support of the distribution) time. Our reductions are the central ingredient in each of our applications and we believe they may be of independent interest. We empirically demonstrate the efficacy of our algorithms on low-rank approximation (LRA) and spectral sparsification, where we observe a $\textbf{9x}$ decrease in the number of kernel evaluations over baselines for LRA and a $\textbf{41x}$ reduction in the graph size for spectral sparsification.

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

↑