arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.02855cs.LGstat.ML
收藏

两层神经网络记忆的网络规模和权值规模

Network size and weights size for memorization with two-layers neural networks

Microsoft Research(微软研究院);Weizmann Institute(魏茨曼科学研究所);University of Washington(华盛顿大学)

Sébastien Bubeck, Ronen Eldan, Yin Tat Lee, Dan Mikulincer

摘要:

1988年,埃里克·B. Baum证明了具有阈值激活函数的两层神经网络仅使用$\ulcorner n/d \urcorner$神经元就可以完美地记忆$\mathbb{R}^d$中一般位置的$n$点的二元标签。我们观察到,使用ReLU网络,使用四倍的神经元,可以拟合任意真实标签。此外,对于直到错误$ε$的近似记忆,神经切线核也可以仅用$O\left(\frac{n}{d} \cdot \log(1/ε) \right)$神经元来记忆(假设数据也是很好地分散的)。然而,我们表明,这些结构产生的网络中的神经元的权重的大小是远远不是最佳的。相比之下,我们提出了一种新的ReLU网络训练过程,基于神经元的复杂(而不是真实)重组,我们展示了$O\left(\frac{n}{d} \cdot \frac{\log(1/ε)}ε\right)$神经元的近似记忆,以及接近最佳的权重大小。

英文摘要:

In 1988, Eric B. Baum showed that two-layers neural networks with threshold activation function can perfectly memorize the binary labels of $n$ points in general position in $\mathbb{R}^d$ using only $\ulcorner n/d \urcorner$ neurons. We observe that with ReLU networks, using four times as many neurons one can fit arbitrary real labels. Moreover, for approximate memorization up to error $ε$, the neural tangent kernel can also memorize with only $O\left(\frac{n}{d} \cdot \log(1/ε) \right)$ neurons (assuming that the data is well dispersed too). We show however that these constructions give rise to networks where the magnitude of the neurons' weights are far from optimal. In contrast we propose a new training procedure for ReLU networks, based on complex (as opposed to real) recombination of the neurons, for which we show approximate memorization with both $O\left(\frac{n}{d} \cdot \frac{\log(1/ε)}ε\right)$ neurons, as well as nearly-optimal size of the weights.

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

↑