arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.01644cs.LGcs.NEstat.ML
收藏

欠参数化的学生网络应当复制还是平均教师权重?

Should Under-parameterized Student Networks Copy or Average Teacher Weights?

NYU(纽约大学);EPFL(洛桑联邦理工学院)

Berfin Şimşek, Amire Bendjeddou, Wulfram Gerstner, Johanni Brea

AI总结:

本文研究欠参数化学生网络逼近单隐藏层教师网络时,学生神经元应复制单个教师神经元还是平均多个教师神经元,证明并实验验证了复制-平均临界点结构及其在 erf 和 ReLU 激活下的通用性。

摘要:

任意连续函数 $f^*$ 都可以被具有足够多神经元 $k$ 的神经网络任意好地逼近。我们考虑 $f^*$ 本身是一个具有一个隐藏层和 $k$ 个神经元的神经网络的情形。因此,用具有 $n<k$ 个神经元的神经网络逼近 $f^*$ 可以被视为将一个具有 $n$ 个神经元的欠参数化“学生”网络拟合到一个具有 $k$ 个神经元的“教师”网络。由于学生的神经元少于教师,因此不清楚 $n$ 个学生神经元中的每一个是应当复制教师神经元之一,还是应当平均一组教师神经元。对于具有 erf 激活函数的浅层神经网络以及标准高斯输入分布,我们证明:如果教师的输入向量是标准正交的并且其输出权重是酉的,那么“复制-平均”构型是临界点。此外,在这类构型中,当 $n-1$ 个学生神经元各自复制一个教师神经元,并且第 $n$ 个学生神经元平均剩余的 $k-n+1$ 个教师神经元时,达到最优。对于具有 $n=1$ 个神经元的学生网络,我们通过求解一个等价的约束优化问题,进一步给出了常用激活函数下非平凡临界点的闭式解。在经验上,我们发现对于 erf 激活函数,梯度流要么收敛到最优的复制-平均临界点,要么收敛到另一个点,在该点处每个学生神经元近似复制一个不同的教师神经元。最后,我们发现 ReLU 激活函数也有类似结果,这表明欠参数化网络的最优解具有一种通用结构。

英文摘要:

Any continuous function $f^*$ can be approximated arbitrarily well by a neural network with sufficiently many neurons $k$. We consider the case when $f^*$ itself is a neural network with one hidden layer and $k$ neurons. Approximating $f^*$ with a neural network with $n< k$ neurons can thus be seen as fitting an under-parameterized "student" network with $n$ neurons to a "teacher" network with $k$ neurons. As the student has fewer neurons than the teacher, it is unclear, whether each of the $n$ student neurons should copy one of the teacher neurons or rather average a group of teacher neurons. For shallow neural networks with erf activation function and for the standard Gaussian input distribution, we prove that "copy-average" configurations are critical points if the teacher's incoming vectors are orthonormal and its outgoing weights are unitary. Moreover, the optimum among such configurations is reached when $n-1$ student neurons each copy one teacher neuron and the $n$-th student neuron averages the remaining $k-n+1$ teacher neurons. For the student network with $n=1$ neuron, we provide additionally a closed-form solution of the non-trivial critical point(s) for commonly used activation functions through solving an equivalent constrained optimization problem. Empirically, we find for the erf activation function that gradient flow converges either to the optimal copy-average critical point or to another point where each student neuron approximately copies a different teacher neuron. Finally, we find similar results for the ReLU activation function, suggesting that the optimal solution of underparameterized networks has a universal structure.

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

↑