Abstract
Traditional Extreme Learning Machine (ELM) networks generally employ S-shaped activation functions, such as Sigmoid and Tangent functions. However, these functions often encounter issues with slow convergence and over-saturation. To address these challenges and enhance ELM performance, this paper proposes the Rectified Non-Linear Units (ReNLUs) method. ReNLUs combine the sparse expression capabilities of Rectified Linear Units (ReLUs) with the smooth, unsaturated features of the Softplus function. Experimental results demonstrate that ELMs utilizing ReNLUs achieve significantly improved training and testing accuracy while reducing computational time.
Introduction
Extreme Learning Machines (ELMs) are recognized for their efficiency in training single-hidden-layer feedforward neural networks (SLFNs). By randomly assigning input weights and biases and analytically determining output weights, ELMs bypass the iterative backpropagation process. Despite their speed, the choice of activation function is critical. Traditional S-shaped functions like Sigmoid or Tanh suffer from saturation in the high and low input regions, leading to vanishing gradients and stagnant learning.
While ReLUs have gained popularity for solving the saturation problem in deep learning, their purely linear nature for positive inputs can be limiting for the shallow architecture of an ELM. Conversely, the Softplus function provides a smooth approximation of ReLU but lacks its inherent sparsity.
The ReNLUs Activation Function
The proposed ReNLUs activation function aims to capture the advantages of both ReLUs and Softplus. It is defined mathematically as: $$g(x) = \max(0, a \cdot \log(\frac{1 + \exp(x)}{2}))$$ where $a$ is a control parameter typically tuned between 0.7 and 0.8.
As shown in Figure 3, ReNLUs maintain the "off" state for negative inputs (sparsity) while providing a smooth, non-linear curve for positive inputs. This hybrid approach allows for more complex feature mapping than standard ReLUs while avoiding the saturation issues of Sigmoid functions. The parameter $a$ allows researchers to tune the convergence speed and accuracy for specific datasets.
Experimental Evaluation
The performance of ReNLUs was evaluated against Sigmoid, ReLUs, and Softplus across several benchmarks, including MNIST, UCI benchmarks, and face recognition databases (ORL and AR).
Accuracy and Generalization
Across all tests, ReNLUs consistently outperformed traditional activation functions. On the MNIST dataset, ReNLUs achieved a training accuracy of 94.81%, surpassing Sigmoid (93.74%) and standard ReLUs (94.39%).
Figure 5 illustrates the testing accuracy relative to the number of hidden neurons. ReNLUs (the purple line) consistently maintain a higher accuracy curve compared to the other functions, demonstrating superior generalization capabilities even as the network complexity increases. This stability is further evidenced by ReNLUs showing the lowest standard deviation in training accuracy (0.0048), suggesting the model is less sensitive to random weight initialization.
Speed and Efficiency
While the inclusion of logarithmic and exponential terms makes the activation slightly more complex than a simple ReLU, the overall training time remains significantly lower than that of S-shaped functions. This is due to the faster convergence enabled by the non-saturated nature of the function.
Conclusion
The introduction of Rectified Non-Linear Units (ReNLUs) provides a robust alternative for ELM activation. By merging sparsity with smoothness, ReNLUs overcome the limitations of over-saturation and linear simplicity. The experimental evidence confirms that this hybrid approach leads to more accurate, stable, and efficient Extreme Learning Machines, making them better suited for complex classification and image processing tasks.
Summary updated