WiSARD-based Ensemble Learning

Leopoldo Lusquino Filho, Felipe M. G. França, Priscila LimaESANN 2023

Abstract

This paper explores the integration of ensemble learning techniques with the WiSARD weightless neural network (WNN) architecture. By introducing domain-agnostic strategies—Bagging, Boosting, and a novel Borda Count ranking system—the authors demonstrate significant performance enhancements across diverse classification tasks. Experimental results show accuracy gains of up to 18% on sentiment analysis benchmarks while maintaining the high computational efficiency and online learning capabilities characteristic of weightless models.

Introduction

Weightless Neural Networks (WNNs), specifically the WiSARD model, are distinguished by their reliance on RAM-based look-up tables and Boolean logic rather than traditional backpropagation and floating-point weights. This architecture enables extreme processing speeds and facilitates "online learning," where models adapt to data streams in real-time. Despite these advantages, WNNs have historically been underutilized in ensemble learning. Previous ensemble attempts were often domain-specific or relied on "bleaching"—an iterative tie-breaking process that can become a computational bottleneck. This research proposes a general-purpose ensemble framework that improves accuracy without sacrificing the inherent speed of WNNs.

Methodology

The researchers developed three ensemble strategies compatible with WiSARD and its multi-discriminator extension, ClusWiSARD:

  • WiSARD Bagging: Utilizes bootstrap aggregating to train multiple weak learners on distinct data subsets, concluding with a majority vote.
  • WiSARD Boosting: Assigns weights to weak learners based on their performance during a validation phase to refine the final output.
  • WiSARD Borda Count: This novel contribution replaces traditional "winner-take-all" voting with a ranking system. Each weak learner ranks all possible classes, and these ranks are aggregated using an election-based system. This method serves as an external tie-breaker, effectively bypassing the slow bleaching process.
Table 1: Borda Count scoring policies for class ranking.

As shown in Table 1, three Borda policies were evaluated: "Starting at 1" (inverse of rank), "Starting at 0" (points based on classes below), and "Dowdall" (reciprocal of position). These policies allow for computationally inexpensive class selection.

Experimental Results

The framework was evaluated using three standard benchmarks: MNIST (handwritten digits), Fashion MNIST (clothing items), and IMDb (sentiment analysis). The ensembles consistently outperformed individual WiSARD and ClusWiSARD models.

In image classification tasks, accuracy on Fashion MNIST rose from 80% to 83% using Bagging and Borda Count, while MNIST accuracy improved from 89% to 93%. The most significant improvement was observed in the IMDb sentiment analysis task.

Table 2: Performance metrics on the IMDb sentiment analysis dataset.

As detailed in Table 2, the WiSARD Boosting ensemble achieved an accuracy of 0.77 on the IMDb dataset, representing an 18% absolute increase over the base model's 0.59. Furthermore, the Borda Count method (BC) demonstrated competitive accuracy while maintaining lower classification times by avoiding bleaching overhead.

Discussion and Conclusion

The proposed ensemble strategies are domain-agnostic, requiring no prior knowledge of dataset structure. This "plug-and-play" capability, combined with the ability to create heterogeneous committees with varying address sizes, significantly increases model diversity and robustness. While ensembles are inherently slower than single models, training times remained remarkably low—typically under 5 seconds for 60,000 samples on standard consumer hardware.

Future work will focus on implementing "pruning" techniques to remove underperforming weak learners and exploring diverse preprocessing methods within a single ensemble to further enhance performance across varied data modalities.

Summary updated

BibTeX
@inproceedings{filho2023wisard,
  author = {Leopoldo Lusquino Filho and Felipe M. G. França and Priscila Lima},
  title = {{WiSARD-based Ensemble Learning}},
  booktitle = {ESANN},
  year = {2023},
  doi = {10.14428/esann/2023.es2023-76},
}
Figure