This research presents a formal mathematical framework for understanding and improving activation functions. By treating common activations like ReLU or Tanh as "restrictions" of a larger, learnable space, the authors demonstrate how to systematically build more powerful neural networks.
The Problem: Trial and Error in Activation Design
In deep learning, choosing an activation function (like ReLU, Sigmoid, or GELU) is often a matter of trial and error or domain-specific intuition. While many researchers have proposed "improved" versions (like Leaky ReLU or Swish), there hasn't been a unified theoretical framework to explain why these variants work or how to design new ones systematically.
The authors address this gap by formalizing the concept of extensions. They argue that many successful innovations in the field are simply ways of expanding the hypothesis space of the network. The challenge they tackle is: How can we allow a network to learn its own optimal activation function from a library of candidates during training?
Methods: LLA and QLA
The core of the paper is the definition of a function extension. Mathematically, if a function $F$ behaves exactly like $f$ on a specific domain but is defined over a larger space, $F$ is an extension. The authors introduce two novel learnable activation types:
- Linear Learnable Activation (LLA): The activation at a node is a learnable weighted sum of a "library" of functions (e.g., $g_i = \sum w_j \cdot \text{activation}_j$).
- Quadratic Learnable Activation (QLA): A more complex version that includes interactions between different activation functions in the library, modeled as a quadratic form.
For their experiments, they typically use a "library" ($S$) containing {ReLU, GELU, Tanh, Sigmoid}. For time-series tasks, they add periodic functions like Sine and Cosine. By making the coefficients of these combinations learnable parameters, the network can "morph" its activation functions to suit the specific intricacies of the data.
Key Insights and Visual Superiority
A major insight of the paper is the Search Space Guarantee: because an extension covers a larger search space than the original function, the minimum loss achievable by an extension is mathematically guaranteed to be less than or equal to the original.
This theoretical advantage translates into clear visual differences when fitting complex surfaces. Standard ReLUs struggle with seasonal or highly oscillatory data. By including Sine and Cosine in the QLA library, the network automatically learns to use periodic components to model the data, significantly outperforming vanilla networks.
Key Results
The authors evaluated their framework on eight classic optimization test functions (e.g., Ackley, Shubert, Levy) and real-world Electricity Transformer Temperature (ETT) datasets.
In almost all cases, LLA and QLA outperformed individual activations. For the "Hyper Ellipsoid" function, QLA achieved a Mean Squared Error (MSE) of 19.361, compared to 3881.647 for a standard ReLU network—a massive improvement in fitting accuracy. Similarly, on the ETTh1 dataset, QLA achieved an MSE of 0.953, significantly better than the ReLU baseline of 1.561.
While the number of parameters increases slightly based on the size of the activation library, the authors note that the space and time complexity costs remain insignificant compared to the performance gains.
Limitations and Future Work
Despite the performance gains, LLA and QLA are sensitive to initialization; a poor starting point can lead to convergence issues. Additionally, as the library of functions grows, the optimization landscape becomes more non-convex. Future research may explore "Cubic" extensions, node-specific learnable activations, and more robust initialization strategies tailored to these learnable parameters.
Summary updated