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

多层随机特征与神经网络的近似能力

Multi-layer random features and the approximation power of neural networks

Nazarbayev University(纳扎尔巴耶夫大学)

Rustem Takhanov

AI总结:

本文证明了由NNGP定义的RKHS仅包含可被随机初始化网络近似的函数,所需神经元数量由目标函数的RKHS范数决定,并在特定特征值衰减条件下证明了该方法比Barron定理更简洁。

摘要:

具有随机初始化权重的神经架构,在无限宽度极限下,等价于一个协方差函数为所谓的神经网络高斯过程核(NNGP)的高斯随机场。我们证明由NNGP定义的再生核希尔伯特空间(RKHS)仅包含可被该架构近似的函数。为实现特定的近似误差,每层所需的神经元数量由目标函数的RKHS范数决定。此外,该近似可以通过有监督数据集构建,具体方式是对输入向量进行随机多层表示,并结合最后一层权重的训练。对于2层NN和${\mathbb R}^n$中$n-1$维球面的定义域,我们比较了Barron定理和多层特征构造所需的神经元数量。我们证明,如果NNGP积分算子的特征值衰减慢于$k^{-n-\frac{2}{3}}$(其中$k$是特征值的阶数),那么我们的定理能保证比Barron定理更简洁的神经网络近似。我们还进行了一些计算实验来验证理论发现。实验表明,即使两个定理都未给出任何保证,现实中的神经网络也能轻松学习目标函数。

英文摘要:

A neural architecture with randomly initialized weights, in the infinite width limit, is equivalent to a Gaussian Random Field whose covariance function is the so-called Neural Network Gaussian Process kernel (NNGP). We prove that a reproducing kernel Hilbert space (RKHS) defined by the NNGP contains only functions that can be approximated by the architecture. To achieve a certain approximation error the required number of neurons in each layer is defined by the RKHS norm of the target function. Moreover, the approximation can be constructed from a supervised dataset by a random multi-layer representation of an input vector, together with training of the last layer's weights. For a 2-layer NN and a domain equal to an $n-1$-dimensional sphere in ${\mathbb R}^n$, we compare the number of neurons required by Barron's theorem and by the multi-layer features construction. We show that if eigenvalues of the integral operator of the NNGP decay slower than $k^{-n-\frac{2}{3}}$ where $k$ is an order of an eigenvalue, then our theorem guarantees a more succinct neural network approximation than Barron's theorem. We also make some computational experiments to verify our theoretical findings. Our experiments show that realistic neural networks easily learn target functions even when both theorems do not give any guarantees.

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

↑