Significant theoretical work has established that in specific regimes, neural networks trained by gradient descent behave like kernel methods. However, in practice, it is known that neural networks strongly outperform their associated kernels. In this work, we explain this gap by demonstrating that there is a large class of functions which cannot be efficiently learned by kernel methods but can be easily learned with gradient descent on a two layer neural network outside the kernel regime by learning representations that are relevant to the target task. We also demonstrate that these representations allow for efficient transfer learning, which is impossible in the kernel regime. Specifically, we consider the problem of learning polynomials which depend on only a few relevant directions, i.e. of the form $f^\star(x) = g(Ux)$ where $U: \R^d \to \R^r$ with $d \gg r$. When the degree of $f^\star$ is $p$, it is known that $n \asymp d^p$ samples are necessary to learn $f^\star$ in the kernel regime. Our primary result is that gradient descent learns a representation of the data which depends only on the directions relevant to $f^\star$. This results in an improved sample complexity of $n\asymp d^2 r + dr^p$. Furthermore, in a transfer learning setup where the data distributions in the source and target domain share the same representation $U$ but have different polynomial heads we show that a popular heuristic for transfer learning has a target sample complexity independent of $d$.
翻译:重要的理论工作已经证明,在特定制度下,由梯度下降所训练的神经网络在特定制度中表现得像内核方法一样。然而,在实践中,人们知道神经网络明显优于其相关内核。在这项工作中,我们解释这一差距的方法是表明,有大量的功能无法通过内核方法有效学习,但可以通过学习与目标任务相关的表现方式在内核制度外的两层神经网络上以梯度下降很容易地学习。我们还表明,这些表现允许高效的转移学习,而这在内核制度中是不可能的。具体地说,我们考虑到学习只依赖几个相关方向的多核网络的问题,即:以美元=星(x)=g(Ux)的形式,无法通过内核方法有效学习,但以美元为单位的表层下降为单位。当美元为starsarstargroup 的金额水平时,我们知道,以美元=starstarstary lection legal legal lection legnational legnal $xnal legnal legnal legal legal lemental lemental level level legal lemental legal legal lemental lemental lemental lemental lemental level level level level level legal lem legal leml lemal legal lemental lemental lemental lemental lemental lemental lemental lemental lemental lemental lemental lements lements lemental lemental lemental lemental lemental lemental lemental lemental lemental lemental lemental lemental lemental lement lement lements 美元 美元 美元 lemental lement 美元 美元 lement lement lement 美元 美元 美元 美元 美元 美元 美元 美元 美元 美元 美元 美元 美元 美元