[Paper Review] Trainable Activation Function in Image Classification
This paper proposes trainable activation functions in CNNs using Fourier series and linear combinations of standard activation functions, enabling end-to-end optimization. Experiments on CIFAR-10 show Fourier-CNNs outperform ReLU in small networks, while LC-CNNs excel in large networks, with autoencoder pre-training accelerating convergence and improving accuracy.
In the current research of neural networks, the activation function is manually specified by human and not able to change themselves during training. This paper focus on how to make the activation function trainable for deep neural networks. We use series and linear combination of different activation functions make activation functions continuously variable. Also, we test the performance of CNNs with Fourier series simulated activation(Fourier-CNN) and CNNs with linear combined activation function (LC-CNN) on Cifar-10 dataset. The result shows our trainable activation function reveals better performance than the most used ReLU activation function. Finally, we improves the performance of Fourier-CNN with Autoencoder, and test the performance of PSO algorithm in optimizing the parameters of networks
Motivation & Objective
- To address the limitation of fixed, human-designed activation functions in deep neural networks.
- To investigate whether activation functions can be learned from data rather than predefined.
- To develop trainable activation functions that improve generalization and performance in image classification.
- To evaluate the effectiveness of autoencoder pre-training and PSO optimization in training networks with trainable activations.
Proposed method
- Construct trainable activation functions using Fourier series expansion to represent continuous, parameterized activation functions.
- Implement linear combination of standard activation functions (e.g., ReLU, Sigmoid) with learnable weights to form a trainable activation function.
- Train the resulting networks using RMSProp with a fixed learning rate schedule and cross-entropy loss.
- Apply autoencoder pre-training to initialize network weights and improve convergence speed and final accuracy.
- Use Particle Swarm Optimization (PSO) to train network parameters, with fitness defined as inverse of cross-entropy loss.
- Update particle positions and velocities using standard PSO equations with global and local best tracking.
Experimental results
Research questions
- RQ1Can trainable activation functions improve image classification performance compared to fixed activation functions like ReLU?
- RQ2Does using Fourier series to represent activation functions lead to better generalization and performance in CNNs?
- RQ3How does linear combination of activation functions compare to Fourier series in terms of performance across different network sizes?
- RQ4Can autoencoder pre-training enhance the training dynamics and final accuracy of networks with trainable activations?
- RQ5Does PSO outperform backpropagation in optimizing networks with trainable activation functions?
Key findings
- Fourier-CNNs achieved superior performance compared to ReLU on small-sized networks in the CIFAR-10 classification task.
- LC-CNNs outperformed ReLU and Fourier-CNNs on large-sized networks, indicating size-dependent optimal activation design.
- Autoencoder pre-training significantly improved training stability and convergence speed, with validation accuracy starting from a higher initial value.
- The pre-trained networks reached higher final accuracy levels more consistently than non-pretrained counterparts.
- PSO optimization achieved only about half the accuracy of RMSProp-based backpropagation, suggesting PSO is less effective for this task with the given swarm size and update frequency.
- The trainable activation functions did not degrade performance and showed potential for improving model expressivity when properly trained.
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.