[Paper Review] Learning Activation Functions to Improve Deep Neural Networks
This paper proposes adaptive piecewise linear (APL) activation functions, where each neuron learns its own activation function via gradient descent using a parametrized, piecewise linear form. The method achieves state-of-the-art performance on CIFAR-10 (7.51% error), CIFAR-100 (30.83% error), and a high-energy physics Higgs boson decay task, outperforming fixed activation functions and prior baselines.
Artificial neural networks typically have a fixed, non-linear activation function at each neuron. We have designed a novel form of piecewise linear activation function that is learned independently for each neuron using gradient descent. With this adaptive activation function, we are able to improve upon deep neural network architectures composed of static rectified linear units, achieving state-of-the-art performance on CIFAR-10 (7.51%), CIFAR-100 (30.83%), and a benchmark from high-energy physics involving Higgs boson decay modes.
Motivation & Objective
- To address the limitation of fixed, hand-designed activation functions in deep neural networks.
- To investigate whether learning activation functions during training can improve generalization and performance.
- To develop a flexible, differentiable activation function that can represent both convex and non-convex piecewise linear functions.
- To evaluate the impact of adaptive activation functions on standard benchmarks and real-world scientific applications.
- To demonstrate that individualized, learned activation functions lead to better model expressivity and training outcomes.
Proposed method
- The activation function for each neuron is defined as a sum of hinge-shaped ReLU units: $ h_i(x) = \max(0,x) + \sum_{s=1}^{S} a_i^s \max(0, -x + b_i^s) $.
- The parameters $ a_i^s $ and $ b_i^s $ are learned via standard backpropagation alongside network weights.
- The number of hinge components $ S $ is a hyperparameter, with $ S=2 $ used in main experiments.
- The function is capable of approximating any continuous piecewise-linear function under mild asymptotic constraints.
- The method enables both convex and non-convex activation shapes, unlike maxout or ReLU.
- The number of additional parameters is $ 2SM $, small relative to total network parameters.
Experimental results
Research questions
- RQ1Can learning the activation function per neuron improve deep neural network performance on standard benchmarks?
- RQ2Does the ability to learn non-convex activation functions lead to better generalization than fixed or maxout-style activations?
- RQ3How does the number of hinge components $ S $ affect model performance and expressivity?
- RQ4Do learned activation functions vary significantly across layers and datasets, indicating diverse functional adaptation?
- RQ5Can adaptive activation functions improve performance in real-world scientific applications, such as Higgs boson decay mode classification?
Key findings
- The APL-based network achieved a test error of 7.51% on CIFAR-10, outperforming the ReLU baseline and ensemble methods.
- On CIFAR-100, the APL model achieved a 30.83% error rate, representing a significant improvement over prior state-of-the-art.
- In the high-energy physics Higgs boson decay task, the APL model achieved an AUC of 0.804 and a discovery significance of 3.41σ, surpassing the ReLU baseline and ensemble models.
- Freezing the learned activation functions at initialization resulted in only marginal performance (12.55% error), showing that learning is essential for gains.
- The number of hinge components $ S=5 $ yielded the best CIFAR-100 performance (11.38% error), with $ S=10 $ showing a slight degradation.
- Visualization revealed greater variance in learned activation functions across layers in CIFAR-100 and Higgs tasks, with decreasing variance in deeper layers, indicating layer-specific adaptation.
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.