arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.10588math.STstat.MLstat.TH
收藏

随机特征与核方法的推广误差:超压缩性与核矩阵集中度

Generalization error of random features and kernel methods: hypercontractivity and kernel matrix concentration

Song Mei, Theodor Misiakiewicz, Andrea Montanari

摘要:

考虑经典的监督学习问题:我们给出数据$(y_i,{\boldsymbol x}_i)$,$i\le n$,其中$y_i$是响应,${\boldsymbol x}_i\in {\mathcal X}$是协变量向量,并尝试学习模型$f:{\mathcal X}\to{\mathbb R}$来预测未来的响应。随机特征方法通过随机特征化映射${\boldsymbol ϕ}$将协变量向量${\boldsymbol x}_i$映射到高维空间${\mathbb R}^N$中的点${\boldsymbol ϕ}({\boldsymbol x}_i)$。我们研究了使用随机特征的方法结合岭回归的特征空间${\mathbb R}^N$。这可以被视为核岭回归(KRR)的有限维近似,或者被视为所谓的懒惰训练机制中的神经网络的程式化模型。我们定义了一类问题,满足一定的谱条件的基础内核,和相关的特征函数的超压缩性假设。这些条件通过经典的高维例子进行了验证。在这些条件下,我们证明了随机特征岭回归误差的一个尖锐的特征。特别是,我们解决两个基本问题:$(1)$ ~什么是KRR的推广误差?$(2)$ ~为了使随机特征近似达到与KRR相同的误差,$N$应该有多大?在这种情况下,我们证明KRR是很好地近似的投影到顶部$\ell$特征函数的内核,其中$\ell$取决于样本大小$n$。我们证明了随机特征岭回归的检验误差主要受其逼近误差的控制,并且对于某些$δ>0$,只要$N\le n^{1-δ}$,检验误差就大于KRR的误差。我们描述这个差距。对于$N\ge n^{1+δ}$,随机特征实现与相应KRR相同的误差,并且进一步增加$N$不会导致测试误差的显著变化。

英文摘要:

Consider the classical supervised learning problem: we are given data $(y_i,{\boldsymbol x}_i)$, $i\le n$, with $y_i$ a response and ${\boldsymbol x}_i\in {\mathcal X}$ a covariates vector, and try to learn a model $f:{\mathcal X}\to{\mathbb R}$ to predict future responses. Random features methods map the covariates vector ${\boldsymbol x}_i$ to a point ${\boldsymbol ϕ}({\boldsymbol x}_i)$ in a higher dimensional space ${\mathbb R}^N$, via a random featurization map ${\boldsymbol ϕ}$. We study the use of random features methods in conjunction with ridge regression in the feature space ${\mathbb R}^N$. This can be viewed as a finite-dimensional approximation of kernel ridge regression (KRR), or as a stylized model for neural networks in the so called lazy training regime. We define a class of problems satisfying certain spectral conditions on the underlying kernels, and a hypercontractivity assumption on the associated eigenfunctions. These conditions are verified by classical high-dimensional examples. Under these conditions, we prove a sharp characterization of the error of random features ridge regression. In particular, we address two fundamental questions: $(1)$~What is the generalization error of KRR? $(2)$~How big $N$ should be for the random features approximation to achieve the same error as KRR? In this setting, we prove that KRR is well approximated by a projection onto the top $\ell$ eigenfunctions of the kernel, where $\ell$ depends on the sample size $n$. We show that the test error of random features ridge regression is dominated by its approximation error and is larger than the error of KRR as long as $N\le n^{1-δ}$ for some $δ>0$. We characterize this gap. For $N\ge n^{1+δ}$, random features achieve the same error as the corresponding KRR, and further increasing $N$ does not lead to a significant change in test error.

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

↑