Introduction
Training modern Artificial Neural Networks (ANNs) typically requires significant computational resources, often necessitating expensive GPU clusters. This resource intensity is particularly challenging for researchers working on commodity hardware, such as standard laptops. Furthermore, specific data types like microarray gene expression data present a "curse of dimensionality," where the number of features (e.g., 50,000 genes) vastly outweighs the number of samples (e.g., 100). Standard dense networks applied to such data often suffer from immediate overfitting due to an explosion in parameter counts.
Methods: Sparse Evolutionary Training (SET)
To address these challenges, this research utilizes the Sparse Evolutionary Training (SET) algorithm. Unlike traditional "sparse" methods that use binary masks over dense matrices—which still require full memory allocation and computation for zero-valued weights—SET employs "truly sparse" data structures.
The SET algorithm follows a dynamic pruning and regrowing cycle:
- Sparse Initialization: Connections are established using an Erdős–Rényi random graph.
- Training: The network undergoes standard training for one epoch.
- Pruning: The weakest weights (those closest to zero) are removed.
- Regrowing: New random connections are added to maintain the desired sparsity level.
The technical implementation is optimized using Python, SciPy, and Cython, switching between Linked List (LIL), Compressed Sparse Row (CSR), and Coordinate List (COO) formats to maximize efficiency during different phases of training and backpropagation.
Datasets and Dimensionality
The study evaluates the SET-MLP approach on four high-dimensional microarray datasets. These datasets are characterized by a massive feature-to-sample ratio, making them ideal candidates for testing sparse architectures that can perform implicit feature selection.
Results and Performance
The optimized implementation allows for the training of networks with over one million neurons and approximately 19 million connections on a standard laptop CPU. A comparable dense network would require over 2.2 billion connections, rendering it impossible to train on such hardware.
In terms of predictive performance, the SET-MLP achieved 87.6% accuracy on the Leukemia dataset, outperforming the previous state-of-the-art mrPSVM (81.1%). The model also demonstrated significant speed advantages, training up to 20 times faster than traditional methods on similar hardware while maintaining sparsity levels often exceeding 99.9%.
Conclusion
By leveraging true sparsity and evolutionary topology optimization, it is possible to train massive neural networks on commodity hardware. This approach not only democratizes deep learning for researchers without access to high-end GPUs but also provides a robust mechanism for handling extremely high-dimensional biological data without the need for manual feature selection. Future work will focus on parallelizing the implementation and extending the approach to other architectures like Convolutional Neural Networks (CNNs).
Summary updated