Introduction
Neural network performance is often constrained by the "rigidity" of standard activation functions like ReLU or tanh. To model complex, non-linear relationships, architectures typically require deep stacking of layers, which in turn necessitates large datasets for effective training. This paper explores the use of learnable, piecewise polynomial functions—specifically the Chebyshev-Lagrange (CL) activation—to enhance data efficiency and model flexibility.
The Chebyshev-Lagrange Activation
The proposed CL activation function leverages the mathematical efficiency of polynomials while addressing their inherent instability. The function is defined by four key components:
- Chebyshev Nodes: $n+1$ nodes are fixed along the x-axis within the interval $[-1, 1]$. These nodes are chosen to minimize interpolation error, a classic result from approximation theory.
- Learnable Parameters: Unlike fixed activations, the y-coordinates of these nodes are treated as learnable parameters updated during backpropagation.
- Lagrangian Interpolation: A polynomial is constructed to pass through these learned points, providing a smooth mapping for inputs within the $[-1, 1]$ range.
- Linear Extrapolation: To prevent the "exploding polynomial" problem where outputs diverge outside the training range, the authors implement CL-extrapolate. This method extends the function linearly beyond the boundaries based on the polynomial's slope at -1 and 1.
Experimental Evaluation
The authors tested CL-extrapolate against standard ReLU activations across three domains:
- Synthetic Tasks: Seven artificial datasets (e.g., Pendulum, Arrhenius) designed to evaluate the approximation of smooth and discontinuous functions.
- DementiaBank: A medical dataset of audio features used for dementia classification. This represents a "small data" challenge where efficiency is paramount.
- Image Classification: MNIST and CIFAR-10 benchmarks to assess scalability in computer vision tasks.
Results and Discussion
The experimental results highlight the strengths of learnable polynomials in specific contexts.
Data Efficiency and Accuracy
In the DementiaBank task, CL-extrapolate achieved an accuracy of 84.7%, significantly outperforming the ReLU baseline (82.5%) and previous state-of-the-art methods. On smooth synthetic tasks, the CL models often reduced the Root Mean Square Error (RMSE) by an order of magnitude compared to ReLU.
Adaptive Shape-Shifting
Visual analysis of the learned activations reveals that CL units adapt their shape to the input distribution of each layer. In some instances, they mimic ReLU; in others, they form complex "V" or "W" shapes that a single fixed activation cannot replicate. This flexibility allows a single CL unit to perform the work of multiple standard neurons.
Stability and Scaling
The inclusion of linear extrapolation proved critical; without it, polynomial activations typically failed due to gradient explosion. While CL activations maintained parity with ReLU on image benchmarks (99.6% on MNIST, 93.4% on CIFAR-10), the benefits were less pronounced on these high-noise datasets where the underlying functions are less smooth.
Conclusion
The Chebyshev-Lagrange activation function offers a powerful alternative to fixed activations, particularly for data-scarce or smooth function approximation tasks. While the computational complexity—$O(n^2)$ for forward passes and $O(n^3)$ for gradients—presents a scaling challenge for very large networks, the gains in data efficiency make it a compelling choice for specialized applications like medical diagnostics. Future research will focus on optimizing these operations and exploring higher-degree polynomials for scientific computing.
Summary updated