Interpolation with deep neural networks with non-polynomial activations: necessary and sufficient numbers of neurons
arXiv:2405.13738
Abstract
The minimal number of neurons required for a feedforward neural network to interpolate generic input-output pairs from is . While previous results have shown that neurons are sufficient, they have been limited to sigmoid, Heaviside, and rectified linear unit (ReLU) as the activation function. Using a different approach, we prove that neurons are sufficient as long as the activation function is real analytic at a point and not a polynomial there. Thus, the only practical activation functions that our result does not apply to are piecewise polynomials. Importantly, this means that activation functions can be freely chosen in a problem-dependent manner without loss of interpolation power.
V2: reframed in terms of number of neurons, proved the necessary condition, and extended the sufficient condition beyond three layers