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

神经网络中不变流形的几何压缩

Geometric compression of invariant manifolds in neural nets

Institute of Physics, École Polytechnique Fédérale de Lausanne(洛桑联邦理工学院物理研究所)

Jonas Paccolat, Leonardo Petrini, Mario Geiger, Kevin Tyloo, Matthieu Wyart

摘要:

我们研究了神经网络如何压缩模型中的无信息输入空间,其中数据位于$d$维度中,但其标签仅在维度$d_\parallel < d$的线性流形内变化。我们表明,对于一个隐藏层网络初始化与无穷小的权重(即在特征学习制度)训练梯度下降,第一层的权重演变成为几乎不敏感的$d_\perp=d-d_\parallel$无信息的方向。这些数据通过因子$λ\sim \sqrt{p}$有效压缩,其中$p$是训练集的大小。我们量化的好处,这样的压缩测试误差$ε$。对于权重的大初始化(懒惰训练制度),没有压缩发生,并且对于分隔标签的规则边界,我们发现$ε\sim p^{-β}$与$β_\text{Lazy} = d / (3d-2)$。压缩改进了学习曲线,使得如果$d_\parallel = 1$则为$β_\text{Feature} = (2d-1)/(3d-2)$,如果$d_\parallel > 1$则为$β_\text{Feature} = (d + d_\perp/2)/(3d-2)$。我们测试这些预测的条纹模型的边界是平行的接口($d_\parallel=1$)以及圆柱形边界($d_\parallel=2$)。接下来,我们展示了压缩在时间上塑造了神经切线核(NTK)的演化,使得其顶部特征向量变得更具信息性,并在标签上显示更大的投影。因此,在训练结束时使用冻结的NTK进行的内核学习优于初始NTK。我们针对在条带模型上训练的一个隐藏层FC网络和在MNIST上训练的16层CNN证实了这些预测,并且还发现了$β_\text{Feature}>β_\text{Lazy}$。

英文摘要:

We study how neural networks compress uninformative input space in models where data lie in $d$ dimensions, but whose label only vary within a linear manifold of dimension $d_\parallel < d$. We show that for a one-hidden layer network initialized with infinitesimal weights (i.e. in the feature learning regime) trained with gradient descent, the first layer of weights evolve to become nearly insensitive to the $d_\perp=d-d_\parallel$ uninformative directions. These are effectively compressed by a factor $λ\sim \sqrt{p}$, where $p$ is the size of the training set. We quantify the benefit of such a compression on the test error $ε$. For large initialization of the weights (the lazy training regime), no compression occurs and for regular boundaries separating labels we find that $ε\sim p^{-β}$, with $β_\text{Lazy} = d / (3d-2)$. Compression improves the learning curves so that $β_\text{Feature} = (2d-1)/(3d-2)$ if $d_\parallel = 1$ and $β_\text{Feature} = (d + d_\perp/2)/(3d-2)$ if $d_\parallel > 1$. We test these predictions for a stripe model where boundaries are parallel interfaces ($d_\parallel=1$) as well as for a cylindrical boundary ($d_\parallel=2$). Next we show that compression shapes the Neural Tangent Kernel (NTK) evolution in time, so that its top eigenvectors become more informative and display a larger projection on the labels. Consequently, kernel learning with the frozen NTK at the end of training outperforms the initial NTK. We confirm these predictions both for a one-hidden layer FC network trained on the stripe model and for a 16-layers CNN trained on MNIST, for which we also find $β_\text{Feature}>β_\text{Lazy}$.

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

↑