Fast Sketching of Polynomial Kernels of Polynomial Degree
Princeton University(普林斯顿大学);Institute for Advanced Study(高等研究院);Carnegie Mellon University(卡内基梅隆大学)
Zhao Song, David P. Woodruff, Zheng Yu, Lichen Zhang
备注:
ICML 2021. Corrections: each sketch-tree level uses an independent sketch ($O(\log q)$ total, same bounds). Gaussian, $p$-convergent and NTK bounds hold up to a ridge term, with corrected truncation degrees. Sampling and NTK bound corrected (NTK: $\widetilde O(nd+n^6/(ελ)^4)$). Preconditioner bound in the $G^{-1}$ norm. Kernel ridge regression gains a $λ_{\max}/λ$ factor
Kernel methods are fundamental in machine learning, and faster algorithms for kernel approximation provide direct speedups for many core tasks in machine learning. The polynomial kernel is especially important as other kernels can often be approximated by the polynomial kernel via a Taylor series expansion. Recent techniques in oblivious sketching reduce the dependence in the running time on the degree $q$ of the polynomial kernel from exponential to polynomial, which is useful for the Gaussian kernel, for which $q$ can be chosen to be polylogarithmic (for data of bounded radius and ridge parameter $λ\geq 1/\mathrm{poly}(n)$). However, for more slowly growing kernels, such as the neural tangent and arc-cosine kernels, $q$ needs to be polynomial, and previous work incurs a polynomial factor slowdown in the running time. We give a new oblivious sketch which greatly improves upon this running time, by removing the dependence on $q$ from the $nd$ term, which is the leading order term when the dimension $d$ is large. For kernels approximated through a truncated Taylor series, our guarantees hold up to a ridge term $λI$. Combined with a sampling scheme over the degrees of the Taylor series, we further reduce the running time for slowly growing kernels such as the neural tangent kernel, for which we obtain time $\tilde O(nd+ε^{-4}λ^{-4}n^6)$ on $n$ unit-norm points with accuracy $ε$. Since the neural tangent kernel has a closed form that can be evaluated exactly in $O(n^2d)$ time, this bound is faster only when $d$ is at least about $(n/(ελ))^4$.
Università degli Studi di Genova(热那亚大学);INRIA(法国国家信息与自动化研究所);ENS – PSL Research University(巴黎高等师范学院-巴黎文理研究大学);Istituto Italiano di Tecnologia(意大利理工学院);MIT(麻省理工学院)
Graduate School of Information Science and Technology, The University of Tokyo(东京大学信息科学与技术研究生院)
核方法是分析结构化数据(如序列、树和图)的一种潜在方法,然而,无序树尚未得到广泛研究。Kimura et al.(2011)提出了一种基于子路径的无序树的核函数,子路径是树的垂直子结构,负责其中的层次信息。他们的内核在精度和速度方面表现出实际上很好的性能;然而,线性时间计算在理论上不能保证,不像Vishwanathan和Smola(2003)提出的其他无序树内核。在本文中,我们提出了一个理论上保证线性时间内核计算算法,实际上是快速的,我们提出了一个有效的预测算法,其运行时间只取决于输入树的大小。实验结果表明,本文提出的算法在实际应用中是非常有效的.
Fast Approximation and Estimation Bounds of Kernel Quadrature for Infinitely Wide Models
RIKEN AIP(日本理化学研究所革新智能综合研究中心)
无限宽模型是特征图的加权积分$\int φ(x,v) d μ(v)$。该模型擅长处理无限数量的特征,因此已被用于深度学习的理论研究。核求积是一种基于核的数值积分方案,用于快速逼近期望值$\int f(x) d p(x)$。在这项研究中,关于重量$μ$作为一个有符号(或复杂/向量值)分布的参数,我们开发的一般核求积(GKQ)的参数分布。所提出的方法可以实现一个快速的近似速度$O(e^{-p})$与参数数$p$,这是比传统的巴伦的速度,和一个快速的估计速度$\widetilde{O}(1/n)$与样本量$n$。因此,我们得到了一个新的基于范数的复杂性度量的无限宽模型。由于GKQ隐式地进行经验风险最小化,因此我们可以理解复杂性度量也反映了梯度学习设置中的泛化性能。
给定n个正整数,模子集和问题询问是否子集加起来等于给定目标t模给定整数m。这是子集和问题(其中m=+ \infty)的自然推广,与加法组合学和密码学有关。最近,在[Bringmann,SODA'17]和[Koiliaris和Xu,SODA'17]中,已经开发了非模块化情况下的有效算法,在近线性伪多项式时间中运行。然而,对于模的情况,Koiliaris和Xu [Koiliaris and Xu,SODA'17]提出的最著名的算法的时间复杂度为O~(m^{5/4})。本文提出了一个时间复杂度为O~(m)的算法,该算法符合[Abboud et al. [17]强指数时间假设。有趣的是,与以前大多数关于子集和的结果相反,我们的算法不使用快速傅立叶变换。相反,它能够更快地模拟“教科书”动态规划算法,使用来自线性草图的想法。这是基于草图的技术在离线环境中获得组合问题的快速算法的第一个应用程序之一。
Norwegian University of Science and Technology(挪威科技大学)
加权最小哈希是一种标准的降维技术,可应用于相似性搜索和大规模核机器。我们介绍了一个简单的算法,采用加权集$x \in \mathbb{R}_{\geq 0}^{d}$并在预期时间$O(k \log k + \Vert x \Vert_{0}\log( \Vert x \Vert_1 + 1/\Vert x \Vert_1))$内计算$k$独立minhash,改进了最先进的BagMinHash算法(KDD '18),并代表了稀疏数据的最快加权minhash算法。我们的实验表明,与ICWS(ICDM '10)和BagMinhash相比,$k$和$\Vert x \Vert_0$的运行时间扩展更好,在常见用例中获得$10$ x加速。我们的方法还产生了一种技术,用于计算完全独立的局部敏感的哈希值$(L, K)$ -参数化的近似近邻搜索加权Jaccard相似性下的最佳预期时间$O(LK + \Vert x \Vert_0)$,改善以前的工作,即使在未加权集的情况下。
Fast Gaussian process inference by exact Matérn kernel decomposition
Guangdong Provincial/Zhuhai Key Laboratory of Interdisciplinary Research and Application for Data Science, Beijing Normal-Hong Kong Baptist University(广东/珠海交叉学科与数据科学应用重点实验室,北京师范大学-香港 Baptist大学);EDF Lab, FiME (Laboratoire de Finance des Marchés de l’Énergie)(EDF实验室,FiME(能源市场金融实验室))
Faster Kernel Matrix Algebra via Density Estimation
Toyota Technological Institute at Chicago(芝加哥丰田技术研究所);Massachusetts Institute of Technology(麻省理工学院);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);Microsoft Research(微软研究院)