Lune

NeurIPS2023Top-tier venue

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

Berfin Simsek, Amire Bendjeddou, Wulfram Gerstner, Johanni Brea

2023Year
14Citations
3Top-tier citations

Abstract

Any continuous function f∗f^* can be approximated arbitrarily well by a neural network with sufficiently many neurons kk. We consider the case when f∗f^* itself is a neural network with one hidden layer and kk neurons. Approximating f∗f^* with a neural network with n<kn<k neurons can thus be seen as fitting an under-parameterized"student"network with nn neurons to a"teacher"network with kk neurons. As the student has fewer neurons than the teacher, it is unclear, whether each of the nn 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−1n-1 student neurons each copy one teacher neuron and the nn-th student neuron averages the remaining k−n+1k-n+1 teacher neurons. For the student network with n=1n=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.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext db5df8da-d56c-4370-aca1-7f6624f0846c

Cited by top-tier papers3

Ask how each one uses it

Builds on6

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines