arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.07735math.OCcs.LGstat.ML
收藏

结构化线性和核支持向量机的更快算法

Faster Algorithms for Structured Linear and Kernel Support Vector Machines

New York University(纽约大学);Simons Institute for the Theory of Computing(西蒙斯理论计算研究所);UC Berkeley(加州大学伯克利分校);Massachusetts Institute of Technology(麻省理工学院)

Yuzhou Gu, Zhao Song, Lichen Zhang

AI总结:

针对结构化线性和核支持向量机,提出近线性时间算法:线性SVM达$\tilde{O}(nd^{(ω+1)/2}\text{log}(1/ε))$时间,高斯核SVM在特定条件下达$O(n^{1+o(1)}\text{log}(1/ε))$,并改进下界。

摘要:

二次规划是凸规划中普遍存在的原型。许多机器学习问题可以被表述为二次规划,包括著名的支持向量机(SVMs)。在线性和核支持向量机在过去三十年中,在深度学习时代之前,一直是机器学习中最流行的模型之一。一般来说,二次规划的输入规模为$Θ(n^2)$,其中$n$是变量的数量。假设强指数时间假设($\textsf{SETH}$),已知当二次目标矩阵为半正定矩阵时,不存在$O(n^{2-o(1)})$时间的算法(Backurs、Indyk和Schmidt,NeurIPS'17)。然而,像支持向量机这样的问题通常允许小得多的输入规模:给定$n$个数据点,每个数据点的维度为$d$,且$d$通常远小于$n$。此外,支持向量机程序只有$O(1)$个等式线性约束。这表明,只要程序表现出一定的结构,更快的算法是可行的。在这项工作中,我们设计了第一个近线性时间算法,用于在二次目标允许低秩分解且线性约束数量较少时求解二次规划。因此,我们得到了支持向量机的结果:*对于输入数据为$d$维的线性支持向量机,我们的算法运行时间为$\tilde{O}(nd^{(ω+1)/2}\text{log}(1/ε))$,其中$ω≈2.37$是快速矩阵乘法指数;*对于高斯核支持向量机,当数据维度$d = O(\text{log}n)$且数据集平方半径是$n$的次对数时,我们的算法运行时间为$O(n^{1+o(1)}\text{log}(1/ε))$。我们还证明,当数据集平方半径至少为$Ω(\text{log}^2n)$时,则需要$Ω(n^{2-o(1)})$时间。这在维度$d$和数据集平方半径两方面改进了之前的最佳下界。

英文摘要:

Many machine learning problems are quadratic programs, including Support Vector Machines (SVMs). A general quadratic program has input size $Θ(n^2)$, and assuming the Strong Exponential Time Hypothesis (SETH), no $O(n^{2-o(1)})$ time algorithm exists when the objective matrix is positive semidefinite (Backurs, Indyk, and Schmidt, NeurIPS'17). SVMs, however, are given by $n$ data points of dimension $d$, often much smaller than $n$, and have only $O(1)$ equality constraints. In this work, we design the first nearly-linear time algorithm for solving quadratic programs whenever a low-rank factorization of the quadratic objective matrix is given, the number of linear constraints is small, the coefficients of the objective and some optimal solution are bounded by $\mathrm{poly}(n)$, and some feasible point has all entries between $1/\mathrm{poly}(n)$ and $\mathrm{poly}(n)$. For linear SVM on $d$-dimensional data, our randomized algorithm runs in expected time $\widetilde O(nd^{(ω+1)/2}\log(n/ε))$ when $(d+1)^{ω-1}\le n$ and the data points have norms at most $\mathrm{poly}(n)$ and margin at least $1/\mathrm{poly}(n)$, where $ω<2.258$ is the matrix multiplication exponent. Its output satisfies the equality constraint only approximately. For Gaussian kernel SVM, when $d=O(\log n)$, the squared dataset radius is $o(\log n/\log\log n)$ and the dual variables lie in a box $[0,R]^n$ with $R\le\mathrm{poly}(n)$, our randomized algorithm runs in expected time $n^{1+o(1)}$ for any accuracy $ε\ge 1/\mathrm{poly}(n)$. We also prove that, assuming SETH, when the squared dataset radius is $Ω(\log^2 n)$, $Ω(n^{2-o(1)})$ time is required on some inputs to reach error $\exp(-Θ(\log^2 n))$ for the program without the bias term. This improves upon the prior best lower bound in both the dimension $d$ and the squared dataset radius.

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

↑