[Paper Review] Activation Functions for Generalized Learning Vector Quantization - A Performance Comparison
This paper evaluates modern activation functions—such as Swish, softplus, and SELU—within Generalized Learning Vector Quantization (GLVQ) for improved classification performance and convergence speed. Using 100 training runs per dataset across four benchmark datasets, Swish consistently outperformed ReLU and standard GLVQ activation functions in both accuracy and convergence speed, suggesting it should replace traditional choices like identity or sigmoidal functions in GLVQ models.
An appropriate choice of the activation function (like ReLU, sigmoid or swish) plays an important role in the performance of (deep) multilayer perceptrons (MLP) for classification and regression learning. Prototype-based classification learning methods like (generalized) learning vector quantization (GLVQ) are powerful alternatives. These models also deal with activation functions but here they are applied to the so-called classifier function instead. In this paper we investigate successful candidates of activation functions known for MLPs for application in GLVQ and their influence on the performance.
Motivation & Objective
- To investigate the impact of modern, deep learning-inspired activation functions on GLVQ performance.
- To compare convergence speed and final classification accuracy across various activation functions in GLVQ.
- To determine whether state-of-the-art activation functions from MLPs improve GLVQ beyond traditional choices like identity or sigmoid.
- To identify optimal activation functions for GLVQ that balance high accuracy and fast convergence.
Proposed method
- GLVQ was trained using 100 random runs per activation function on four benchmark datasets: WBCD, PIMA, Iris, and Wine.
- A grid search over hyperparameter β was performed for each activation function to identify optimal configurations.
- The GLVQ cost function was minimized via stochastic gradient descent with a fixed learning rate and 10,000 epochs per run.
- Performance was evaluated using averaged test accuracy and convergence speed (epochs until gradient norm ≈ 0).
- Activation functions tested included ReLU, Swish, softplus, Leaky ReLU, and variants with temperature or scaling parameters.
- Results were normalized relative to ReLU performance to compute accuracy and convergence ratios across datasets.
Experimental results
Research questions
- RQ1Do modern activation functions like Swish and softplus improve GLVQ classification accuracy compared to ReLU?
- RQ2How does the convergence speed of modern activation functions compare to ReLU in GLVQ training?
- RQ3Do standard GLVQ activation functions (e.g., identity or sigmoid with β=1) remain competitive with newer functions?
- RQ4Which activation function achieves the best trade-off between final accuracy and training speed in GLVQ?
Key findings
- Swish achieved the highest average accuracy ratio of 1.0579, significantly outperforming ReLU and matching or exceeding other top functions like softplus and sgd.
- Swish also demonstrated the best convergence speed, with a convergence ratio of 0.554, indicating it reaches convergence faster than ReLU.
- The identity function and sigmoid with β=1 performed poorly, with accuracy ratios of 0.851 and 0.856 respectively, indicating they should be avoided in GLVQ.
- Softplus and sgd functions achieved high accuracy (ratios ~1.078 and 1.059) but suffered from slow convergence, with ratios above 4.5.
- Leaky ReLU and tanh-based variants showed moderate performance, with accuracy ratios around 1.028 and 0.990, respectively.
- The maximum function m(x,β) achieved high accuracy only for large β values, effectively behaving like sgd, and was thus not considered a distinct top performer.
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.