TL;DR
This paper provides a theoretical framework for understanding how the choice of an activation function—be it a sigmoid, a Gaussian, or a power function—directly impacts the number of neurons required to approximate a complex function. The authors prove that the smoother your activation function is, the fewer neurons you need to achieve a target level of accuracy, effectively providing a "recipe" for choosing the right tool for a given approximation task.
What Problem Does This Paper Address?
In the early 90s, it was well-established that neural networks are "universal approximators"—given enough neurons, they can represent any continuous function. However, the practical question remained: How many neurons is "enough"?
The authors tackle the "complexity problem." If you have a target function with a certain number of derivatives (smoothness) in a high-dimensional space, the number of neurons required to approximate it can explode—a phenomenon often called the "curse of dimensionality." This paper investigates how different activation functions (the non-linear "engines" of each neuron) can mitigate this explosion and which ones offer the most efficient path to a precise approximation.
Methods
The authors approach the problem through the lens of approximation theory and Fourier analysis. Their methodology involves:
- Trigonometric Bridging: They first analyze periodic functions using trigonometric polynomials (like sine waves), which are known to have optimal convergence rates.
- General Theorem (Theorem 3.1): They develop a unified theorem that relates the degree of approximation of a target function $f$ to the degree of approximation of the activation function $\phi$ itself.
- Higher-Order Sigmoids: They introduce and analyze "higher-order sigmoidal functions"—functions that behave like $x^k$ as $x$ goes to infinity—showing they can outperform standard sigmoids.
- Extension to Non-Periodic Functions: By using decay conditions and truncating infinite sums, they extend their findings from periodic "toy" cases to real-world scenarios like Gaussian radial basis functions (RBFs) and standard squashing functions.
Datasets
As a theoretical mathematics paper, no empirical datasets (such as ImageNet or MNIST) were used. Instead, the "datasets" are formal function classes:
- $W_r^s$: The class of functions of $s$ variables with $r$ continuous derivatives.
- $C^s$: The class of all continuous functions on a compact set.
- $SF_s$: A class of functions defined by constraints on their Fourier transforms (similar to the classes studied by Andrew Barron).
Key Insights and Ideas
- Smoothness is Efficiency: The core "aha moment" is the mathematical proof that the smoother the activation function, the better the rate of approximation. If your activation function has many derivatives, each neuron "carries more information" about the target's curvature.
- The Optimality of Sine: For periodic data, the
sin(x)activation function is theoretically optimal, requiring the minimum possible number of parameters to reach a specific error bound. - Sigmoids vs. RBFs: The paper provides a common mathematical language to compare standard feedforward networks (using sigmoids) with Radial Basis Function networks (using Gaussians), showing that both can be analyzed under the same complexity framework.
- Universal Construction: The authors don't just prove these networks exist; they provide a method to construct them where the weights and thresholds are determined "universally" (independent of the specific function being approximated), with only the output layer needing to be tuned.
Key Results
The paper summarizes the "cost" of approximation in Table 1, showing the order of magnitude for the number of neurons ($n$) needed:
- Standard Sigmoids: For functions of $s$ variables with $r$ derivatives, the error scales roughly as $O(n^{s/r} (\log n)^2)$.
- Higher-Order Sigmoids: These achieve a cleaner optimal rate of $O(n^{s/r})$.
- Gaussians: For RBF networks, the complexity is shown to be $O(n^{2s/r})$.
- Dimension Independence: In Section 5, they show that if the target function belongs to a specific Fourier-constrained class ($SF_s$), the error can be reduced to $O(n^{-1/2})$, which is remarkably independent of the number of input variables $s$.
Limitations and Future Work
- A Priori Knowledge: The bounds rely on knowing the smoothness ($r$) of the target function in advance. In many deep learning applications, the smoothness of the underlying data distribution is unknown.
- Training Complexity: While the paper discusses the existence of efficient networks and simple training if Fourier coefficients are known, it does not address the optimization challenges of gradient descent (e.g., vanishing gradients or local minima) that occur in practice.
- Single Hidden Layer: The analysis is primarily focused on networks with a single hidden layer. The theoretical advantages of deep architectures (multiple hidden layers) are not the focus of this specific work.
Summary updated