[Paper Review] Learning Activation Functions: A new paradigm for understanding Neural Networks
The paper introduces Self-Learnable Activation Functions (SLAF) that are learned during training as a polynomial basis to approximate common activations, with theoretical guarantees and empirical evaluations.
The scope of research in the domain of activation functions remains limited and centered around improving the ease of optimization or generalization quality of neural networks (NNs). However, to develop a deeper understanding of deep learning, it becomes important to look at the non linear component of NNs more carefully. In this paper, we aim to provide a generic form of activation function along with appropriate mathematical grounding so as to allow for insights into the working of NNs in future. We propose "Self-Learnable Activation Functions" (SLAF), which are learned during training and are capable of approximating most of the existing activation functions. SLAF is given as a weighted sum of pre-defined basis elements which can serve for a good approximation of the optimal activation function. The coefficients for these basis elements allow a search in the entire space of continuous functions (consisting of all the conventional activations). We propose various training routines which can be used to achieve performance with SLAF equipped neural networks (SLNNs). We prove that SLNNs can approximate any neural network with lipschitz continuous activations, to any arbitrary error highlighting their capacity and possible equivalence with standard NNs. Also, SLNNs can be completely represented as a collections of finite degree polynomial upto the very last layer obviating several hyper parameters like width and depth. Since the optimization of SLNNs is still a challenge, we show that using SLAF along with standard activations (like ReLU) can provide performance improvements with only a small increase in number of parameters.
Motivation & Objective
- Propose a generic, learnable activation function framework (SLAF) that can approximate most existing activations.
- Ground SLAFs in polynomial approximation to enable analytic insights into neural network behavior.
- Develop training routines for SLNF-equipped networks (SLNNs) compatible with SGD and standard optimizers.
- Provide theoretical results on representation capacity and parameter bounds for SLNNs.
- Demonstrate SLNNs’ empirical performance on regression, classification, and polynomial-learning tasks.
Proposed method
- Formulate SLAF as a weighted sum of predefined basis elements (Taylor, Chebyshev, EMFN) to approximate the optimal activation.
- Normalize basis functions to manage gradient magnitudes and enable SGD-based training.
- Prove that SLNNs with SLAFs can approximate any Lipschitz-continuous activation networks to arbitrary accuracy (Theorem 1/Appendix A.4).
- Show that SLNN outputs can be represented as multivariate polynomials up to degree k (Theorem 2).
- Explore degree-based polynomial representations and derive bounds on parameter counts for the polynomial feature space (k = product of layer degrees).
- Evaluate SLNNs on regression, classification, and synthetic sparse-polynomial tasks, comparing against standard NNs and polynomial baselines.
Experimental results
Research questions
- RQ1Can a learnable activation function based on a polynomial basis approximate conventional activations across tasks?
- RQ2What is the impact of using SLAFs on optimization, representation, and generalization in neural networks?
- RQ3How does the degree of the SLAF basis affect performance, training stability, and parameter efficiency?
- RQ4Can SLNNs replicate standard NN performance on benchmark datasets while offering analytic insights via polynomial representations?
Key findings
- SLAFs can approximate existing activations like ReLU, Sigmoid, and tanh within a polynomial basis.
- SLNNs admit a polynomial representation whose degree is the product of the per-layer SLAF degrees (Theorem 2).
- Experiments show SLNNs performing comparably to standard NNs on MNIST, CIFAR-10, and Fashion-MNIST with suitable SLAF degrees.
- On regression (Boston Housing), SLNNs achieve competitive RMSE versus a ReLU-activated baseline and outperform certain polynomial and linear baselines.
- SLAF-based models can improve performance when all activations are SLAFs, though optimization can be challenging due to non-monotonic, unbounded activations.
- Regularization on activation coefficients helps control overfitting and aids SGD-based optimization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.