Skip to main content
QUICK REVIEW

[Paper Review] Sparse evolutionary Deep Learning with over one million artificial neurons on commodity hardware

Shiwei Liu, Decebal Constantin Mocanu|TU/e Research Portal|Jan 26, 2019
Evolutionary Algorithms and ApplicationsComputer Science73 references6 citations
TL;DR

This paper introduces a truly sparse implementation of Sparse Evolutionary Training (SET) for Multilayer Perceptrons (MLPs), enabling end-to-end training of models with over one million neurons on commodity CPUs without GPU acceleration. By leveraging sparse data structures and Cython-optimized operations, the method achieves 99.9% sparsity while outperforming dense and pruned models on high-dimensional microarray datasets with minimal samples.

ABSTRACT

Artificial Neural Networks (ANNs) have emerged as hot topics in the research community. Despite the success of ANNs, it is challenging to train and deploy modern ANNs on commodity hardware due to the ever-increasing model size and the unprecedented growth in the data volumes. Particularly for microarray data, the very-high dimensionality and the small number of samples make it difficult for machine learning techniques to handle. Furthermore, specialized hardware such as Graphics Processing Unit (GPU) is expensive. Sparse neural networks are the leading approaches to address these challenges. However, off-the-shelf sparsity inducing techniques either operate from a pre-trained model or enforce the sparse structure via binary masks. The training efficiency of sparse neural networks cannot be obtained practically. In this paper, we introduce a technique allowing us to train truly sparse neural networks with fixed parameter count throughout training. Our experimental results demonstrate that our method can be applied directly to handle high dimensional data, while achieving higher accuracy than the traditional two phases approaches. Moreover, we have been able to create truly sparse MultiLayer Perceptrons (MLPs) models with over one million neurons and to train them on a typical laptop without GPU, this being way beyond what is possible with any state-of-the-art techniques.

Motivation & Objective

  • Address the challenge of training large, sparse deep neural networks on memory-limited commodity hardware without GPU acceleration.
  • Overcome the limitations of existing sparse training methods that rely on binary masks or pre-trained models, which hinder practical training efficiency.
  • Enable end-to-end training of highly sparse, large-scale MLPs (over 1M neurons) directly on CPU using efficient sparse data structures.
  • Demonstrate superior performance on high-dimensional, low-sample microarray datasets where traditional methods struggle due to the curse of dimensionality.
  • Provide a scalable, memory-efficient solution for training deep networks on tabular and non-grid-like data, such as gene expression data.

Proposed method

  • Propose a truly sparse implementation of Sparse Evolutionary Training (SET) that avoids binary masks by using native sparse data structures from SciPy and Cython-optimized kernels.
  • Design sparse matrix operations that maintain fixed parameter count and sparsity throughout training, enabling efficient memory and computation usage.
  • Use adaptive sparse connectivity: during training, connections are dynamically restructured based on a fitness criterion, avoiding pruning and retraining cycles.
  • Implement the SET-MLP with sparse weight matrices stored as Compressed Sparse Row (CSR) format, enabling efficient forward and backward passes.
  • Integrate the sparse SET-MLP into a pure Python/Cython pipeline using only standard libraries (SciPy, Python 3), avoiding dependency on deep learning frameworks.
  • Apply dropout regularization to mitigate overfitting in low-sample, high-dimensional settings, particularly on datasets like GLI-85 with only 85 samples.

Experimental results

Research questions

  • RQ1Can a truly sparse, end-to-end trainable MLP with over one million neurons be trained efficiently on a commodity laptop without GPU?
  • RQ2Does the proposed sparse SET implementation outperform dense and pruned models in accuracy and efficiency on high-dimensional, low-sample microarray datasets?
  • RQ3Can the method effectively mitigate overfitting and data shift issues in ultra-high-dimensional tabular data with minimal labeled examples?
  • RQ4To what extent does the sparse implementation reduce parameter count and memory usage while preserving or improving model performance?
  • RQ5Is the sparse SET approach scalable to tens of millions of neurons when parallelized across CPU cores, even without GPU support?

Key findings

  • The proposed sparse SET-MLP achieved 88.12% accuracy on the Leukemia dataset with two hidden layers, outperforming dense and pruned models.
  • On the CLL-SUB-111 dataset, the two-hidden-layer SET-MLP reached 81.11% accuracy, while models with one or three layers underperformed.
  • On the GLI-85 dataset with only 85 samples, SET-MLP with two hidden layers initially reached 100% accuracy but dropped to ~80% after 200 epochs due to overfitting.
  • Applying dropout with a 0.5 rate stabilized performance, maintaining high accuracy without degradation, confirming robustness to overfitting.
  • A one-hidden-layer SET-MLP could not reach 100% accuracy, demonstrating the necessity of sufficient model capacity for high-dimensional input.
  • The method achieved approximately 99.9% sparsity in large MLPs while maintaining or exceeding state-of-the-art performance on four microarray datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.