NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Role of Neural Network Activation Functions

Rahul Parhi, Robert D. Nowak · DOI

TL;DR

This paper provides a rigorous theoretical foundation for why ReLU networks and common regularization techniques work so well. By viewing neural networks through the lens of spline theory, the authors prove that training a single-hidden layer network with weight decay is mathematically equivalent to solving an infinite-dimensional variational problem, resulting in optimal spline interpolants.

What Problem Does This Paper Address?

While the Universal Approximation Theorem tells us that neural networks can represent almost any function, it doesn't tell us which function a network will actually learn when trained on a specific dataset. In practice, we use heuristics like the Rectified Linear Unit (ReLU) activation and "weight decay" regularization to get models that generalize well, but the deep mathematical "why" behind these choices has remained somewhat elusive.

The authors tackle the challenge of characterizing the "inductive bias" of neural networks—the inherent preference for certain types of functions over others. Specifically, they look at univariate (one-input), single-hidden layer networks to understand how the choice of activation function and regularizer dictates the properties of the learned function.

Methods

The authors bridge the gap between deep learning and classical spline theory. They utilize a variational framework of L-splines, which are solutions to optimization problems in infinite-dimensional function spaces (Banach spaces).

Key methodological steps include:

  • Defining Admissibility: They introduce the concept of "neural network-admissible" operators. An activation function is admissible if it is the Green’s function of such an operator (essentially, the "fundamental solution" to a differential equation).
  • Representer Theorems: They show that the finite-dimensional training of a neural network (optimizing weights and biases) is equivalent to an infinite-dimensional variational problem where the regularizer is a functional seminorm (like total variation).
  • Regularization Matching: They demonstrate that common parameter-space regularizers, such as the path-norm and weight decay, are "matched" to specific activation functions. For example, weight decay in a ReLU network is shown to minimize the second-order total variation of the resulting function.

Datasets

The paper focuses on theoretical proofs and uses synthetic 1D datasets for empirical validation. These datasets consist of a small number of $(x, y)$ coordinate pairs used to demonstrate how different networks interpolate data points. No large-scale standard benchmarks (like ImageNet or GLUE) are used, as the theory is currently constrained to univariate, shallow architectures.

Key Insights and Ideas

  • Networks as Splines: The most profound "aha moment" is that single-hidden layer networks are not just function approximators; they are literally splines. A ReLU network trained with proper regularization is mathematically identical to a linear spline interpolant.
  • The Power of Power Functions: The authors prove that for an activation function to be "admissible" in this framework, it must take the form of a power function (e.g., $x^k$ for $x \ge 0$). This provides a theoretical justification for the ubiquity of ReLU and Leaky ReLU.
  • Skip Connections Explained: In the spline representation of a ReLU network, a "generalized bias" term naturally emerges. This term corresponds exactly to the skip connections (identity mappings) used in modern architectures like ResNets, providing a new theoretical justification for their use.
  • Regularization Equivalence: They show that the $\ell^1$-path-norm (a measure of the product of weights across layers) is equivalent to a specific form of weight decay. This links two seemingly different regularization strategies to the same underlying functional goal: promoting "simplicity" in the learned function.

Key Results

The authors provide both mathematical proofs and empirical evidence:

  • Theorem 9 & 12: These establish that training an admissible network with path-norm regularization solves a variational problem in a Banach space, and that only power-type activations (like ReLU) fit this criteria.
  • Empirical Validation: As seen in Figure 1, a ReLU network trained with regularization (b) produces the same optimal linear spline as a standard mathematical spline (a). Without regularization (c), the network produces "bumps" and extra oscillations, failing to find the simplest interpolant. Similarly, for higher-order activations (cubic), the regularized network (e) matches the optimal cubic spline (d).
Fig. 1. In (a) (resp. (c)) we have the standard linear (resp. cubic) spline of the data. In (b) (resp. (e)) we have a ReLU (resp. cubic truncated power function) network with K = 200 neurons trained with regularization according to (10). In (c) (resp. (f)) we illustrate the importance of regularization. All figures plot the function (spline or neural network) vs. the input. The dots are the data.

Limitations and Future Work

  • Univariate Constraint: The current theory is strictly for univariate ($x \in \mathbb{R}$) inputs. While the authors mention related multivariate work, the direct connection to classical splines is most clear in 1D.
  • Shallow Architectures: The results apply to single-hidden layer networks. Extending this variational framework to deep, multi-layer networks remains a significant open challenge in the field.
  • Activation Scope: The requirement for "admissibility" excludes popular non-power-type activations like Sigmoid or Tanh, suggesting these functions might operate under a different mathematical regime.

Summary updated

BibTeX
@article{parhi2020role,
  author = {Rahul Parhi and Robert D. Nowak},
  title = {{The Role of Neural Network Activation Functions}},
  journal = {IEEE Signal Processing Letters},
  year = {2020},
  doi = {10.1109/lsp.2020.3027517},
}
Figure