[Paper Review] Generalized Learning Vector Quantization for Classification in Randomized Neural Networks and Hyperdimensional Computing
This paper proposes replacing the least-squares classifier in Random Vector Functional Link (RVFL) networks with Generalized Learning Vector Quantization (GLVQ) to reduce computational cost while maintaining or improving classification accuracy. The GLVQ-based RVFL model achieves state-of-the-art accuracy on UCI datasets using only 21% of the computational cost of least-squares, especially when limited to 10 training iterations and one prototype per class.
Machine learning algorithms deployed on edge devices must meet certain resource constraints and efficiency requirements. Random Vector Functional Link (RVFL) networks are favored for such applications due to their simple design and training efficiency. We propose a modified RVFL network that avoids computationally expensive matrix operations during training, thus expanding the network's range of potential applications. Our modification replaces the least-squares classifier with the Generalized Learning Vector Quantization (GLVQ) classifier, which only employs simple vector and distance calculations. The GLVQ classifier can also be considered an improvement upon certain classification algorithms popularly used in the area of Hyperdimensional Computing. The proposed approach achieved state-of-the-art accuracy on a collection of datasets from the UCI Machine Learning Repository - higher than previously proposed RVFL networks. We further demonstrate that our approach still achieves high accuracy while severely limited in training iterations (using on average only 21% of the least-squares classifier computational costs).
Motivation & Objective
- Address the high computational cost of matrix inversion in least-squares training for RVFL networks on resource-constrained edge devices.
- Improve classification accuracy in RVFL networks by leveraging GLVQ’s ability to model intra-class variability through multiple prototypes per class.
- Enable efficient training on specialized hardware by replacing matrix operations with simple vector and distance computations.
- Demonstrate that GLVQ can outperform least-squares in accuracy when using multiple prototypes, even under strict iteration limits.
- Establish a new baseline for efficient, accurate classification in randomized neural networks and Hyperdimensional Computing (HDC)
Proposed method
- Replace the regularized least-squares (RLS) readout weight optimization in RVFL networks with Generalized Learning Vector Quantization (GLVQ) for training the output layer.
- Use GLVQ’s iterative update rule based on class prototypes and distance calculations instead of matrix inversion.
- Apply GLVQ with one prototype per class to minimize computational cost while preserving accuracy.
- Extend GLVQ to allow multiple prototypes per class to model intra-class variability and improve generalization.
- Train the intRVFL network with integer-only activations to align with Hyperdimensional Computing (HDC) principles and enhance hardware efficiency.
- Use grid search to optimize hyperparameters including number of prototypes, learning rate, and kernel bandwidth (for KGLVQ comparison)
Experimental results
Research questions
- RQ1Can GLVQ replace least-squares in RVFL networks without sacrificing classification accuracy, especially under computational constraints?
- RQ2Does using multiple prototypes per class in GLVQ improve classification accuracy over single-prototype GLVQ and least-squares in RVFL networks?
- RQ3How does the computational cost of GLVQ compare to least-squares when training iterations are severely limited?
- RQ4Can GLVQ-based RVFL networks achieve higher accuracy than standard centroids-based classification in Hyperdimensional Computing?
- RQ5How does the proposed GLVQ-based RVFL model compare to kernelized GLVQ (KGLVQ) in accuracy and efficiency on UCI datasets?
Key findings
- The GLVQ-based RVFL model achieved an average cross-validation accuracy of 0.81 on the UCI dataset collection, outperforming the least-squares classifier’s average of 0.76.
- With only 10 training iterations, the GLVQ classifier achieved 0.80 average accuracy—comparable to the least-squares classifier—while incurring only 21% of its average computational cost.
- When allowing multiple prototypes per class, the GLVQ-based approach achieved an average accuracy of 0.82, significantly outperforming the least-squares classifier (0.80) with a statistically significant p-value < 0.05.
- The Pearson correlation between GLVQ and least-squares performance across datasets was 0.87, indicating consistent performance gains with GLVQ.
- The proposed GLVQ-based approach outperformed KGLVQ on selected datasets (0.82 vs. 0.79 average accuracy), despite KGLVQ’s higher memory and computational demands.
- The GLVQ classifier with one prototype per class matched the accuracy of least-squares while reducing computational cost by 79% on average, demonstrating strong efficiency-accuracy trade-off flexibility.
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.