Abstract
In the landscape of speed-oriented neural models, the Extreme Learning Machine (ELM) and the WiSARD weightless neural network stand out for their rapid training capabilities. This study provides a direct performance comparison between these two architectures across 14 diverse datasets. Our findings indicate that while WiSARD can achieve training speeds nearly ten times faster than ELM, it often incurs significant costs in testing (inference) time and exhibits higher sensitivity to architectural parameters.
Introduction
The rise of Deep Learning has brought about models with immense predictive power, but often at the cost of massive training times and hardware requirements. For "online" learning scenarios—where models must adapt to data streams in real-time—training velocity is a critical bottleneck. While both ELM and WiSARD are touted for their efficiency, they are rarely compared under identical experimental conditions. This paper addresses this gap by evaluating both models on the same hardware and software stack to determine the optimal balance between training speed, inference latency, and classification accuracy.
Methodology
The researchers compared two fundamentally different approaches to rapid learning:
Extreme Learning Machine (ELM)
ELM is a single-layer feedforward network where hidden layer weights are randomly assigned and remain fixed. Learning is simplified to a single analytical step: calculating output weights using the Moore-Penrose generalized inverse. This avoids the iterative backpropagation typical of standard neural networks.
WiSARD (Wilkes, Stonhan and Aleksander Recognition Device)
WiSARD is a "weightless" neural network that replaces traditional synaptic weights with RAM-based neurons. As illustrated in Figure 2, the model binarizes input data and uses specific bit patterns as memory addresses. Training consists of writing a "1" to the addressed memory location, effectively storing patterns rather than optimizing mathematical functions.
For the experiments, both models were implemented in Python 2.7. ELM parameters were sourced from literature, while WiSARD utilized a standard 20-bit thermometer encoding for data binarization.
Experimental Results
The models were tested on 14 datasets from the UCI and Statlog repositories, covering both binary and multiclass classification tasks. Performance was measured using 10-fold cross-validation and a standard 2/3 training, 1/3 testing split.
Training and Inference Speed
WiSARD proved to be the "training speed demon," consistently outperforming ELM by roughly an order of magnitude. For instance, on the Adult dataset, WiSARD completed training in 0.329s, whereas ELM required 8.160s. However, this advantage reversed during inference. WiSARD's testing time was significantly higher, particularly for complex datasets like Letter, where it took 18.959s compared to ELM's 1.009s. This is attributed to the need for WiSARD to query multiple discriminators for every input.
Accuracy and Stability
As shown in the results table (Figure 3), ELM generally maintained higher and more stable accuracy across most datasets. This stability is likely due to the use of pre-optimized hyperparameters for ELM. In contrast, WiSARD showed exceptional performance on specific datasets like Mushroom (85.5% vs. ELM's 46.3% in cross-validation) but lagged in others, suggesting that its performance is highly dependent on architectural tuning (e.g., tuple size).
Discussion and Conclusion
The comparison reveals a clear trade-off: WiSARD offers unparalleled training speed through simple memory operations but suffers from slower inference and higher parameter sensitivity. ELM, while computationally more intensive during the training phase due to matrix inversions, provides a more compact and faster model for deployment.
Future work should focus on optimizing WiSARD's architectural parameters per dataset and exploring its potential in regression tasks. Additionally, a formal analysis of memory consumption is necessary, as WiSARD's weightless approach, while mathematically simple, can be RAM-intensive.
Summary updated