NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scalable training of artificial neural networks with adaptive sparse connectivity inspired by network science

Decebal Constantin Mocanu, Elena Mocanu, Peter Stone, Phuong Nguyen, Madeleine Gibescu, Antonio LiottaOpenReview 2023

TL;DR

This paper introduces Sparse Evolutionary Training (SET), a novel method that prunes and dynamically adds connections in neural networks during training, evolving them towards a scale-free topology. This approach significantly reduces the number of parameters without sacrificing accuracy, paving the way for larger and more efficient neural networks.

What Problem Does This Paper Address?

Modern Artificial Neural Networks (ANNs), particularly deep learning models, have achieved remarkable success across various domains. However, their typical architecture relies on fully-connected layers, where every neuron in one layer is connected to every neuron in the next. This dense connectivity leads to a quadratic explosion in the number of parameters with respect to the number of neurons, severely limiting the scalability of ANNs due to computational and memory constraints. While biological neural networks exhibit sparsity and scale-free properties that contribute to their efficiency, ANNs have largely ignored these characteristics. Existing methods that introduce sparsity often do so only after training, primarily for inference efficiency, or use fixed sparse topologies that may not be optimal for learning. This paper aims to bridge this gap by proposing a method to dynamically evolve sparse, scale-free topologies during the training process, making ANNs more scalable and efficient.

Methods

The core innovation is the Sparse Evolutionary Training (SET) procedure. Instead of starting with fully-connected layers, SET initializes bipartite layers with a sparse, random Erdős–Rényi topology. During each training epoch, the algorithm performs two key operations:

  1. Weight Pruning: A fraction ($\zeta$) of the smallest positive weights and largest negative weights (those closest to zero) are removed. This is inspired by the idea that these connections are less influential.
  2. Random Connection Addition: An equal number of new random connections are added to maintain a constant number of connections throughout training. This is analogous to mutation in evolutionary processes.

This iterative process allows the network's connectivity to evolve from a random sparse structure towards a scale-free topology, mimicking properties observed in biological neural networks. The authors applied this to three popular ANN architectures: Restricted Boltzmann Machines (RBMs), Multi-Layer Perceptrons (MLPs), and Convolutional Neural Networks (CNNs).

Datasets

The paper evaluates SET across a diverse set of 15 benchmark datasets, covering various domains:

  • RBMs: ADULT, Connect4, DNA, Mushrooms, NIPS-0-12, OCR-letters, RCV1, Web, CalTech 101 16x16, Silhouettes 28x28, MNIST (digits and grayscale).
  • MLPs: MNIST, CIFAR10, HIGGS, Fashion-MNIST.
  • CNNs: CIFAR10.

These datasets span areas like biology, physics, computer vision, data mining, and economics, demonstrating the broad applicability of the proposed method.

Key Insights and Ideas

  • Sparsity from the Start: The paper strongly advocates for introducing sparsity at the design phase of ANNs, not just as an afterthought for inference. This proactive approach is crucial for scalability.
  • Evolutionary Topology: The dynamic evolution of connectivity towards a scale-free topology during training is a key differentiator. This adaptive process allows the network to find more efficient connection patterns tailored to the data.
  • Biological Inspiration: The method draws direct inspiration from the sparsity and scale-freeness observed in biological neural networks, suggesting a more biologically plausible path for ANN development.
  • Quadratic Reduction in Parameters: The most significant practical outcome is the ability to reduce the number of parameters quadratically, leading to substantial memory savings and potentially faster computation.
  • Stability and Overfitting: SET-based models exhibit improved stability and reduced overfitting compared to their fully-connected counterparts, particularly when using a higher number of neurons.

Key Results

  • Parameter Reduction: SET consistently reduces the number of parameters by orders of magnitude. For example, on the CIFAR10 dataset, SET-MLP achieved comparable accuracy to state-of-the-art MLPs but with approximately 100 times fewer parameters.
  • Accuracy Maintained/Improved: Despite significant parameter reduction, SET-based models generally maintain or even improve accuracy. For instance, SET-RBM outperformed fully-connected RBMs on 7 out of 11 datasets.
  • Scale-Free Evolution: For models with a sufficient number of hidden neurons, the SET procedure reliably evolves the network topology towards a scale-free distribution, as evidenced by p-value analysis.
  • Stability: SET-trained models (SET-RBM, SET-MLP, SET-CNN) demonstrated superior stability and avoided overfitting issues observed in their fully-connected counterparts.
  • Outperforming Fixed Sparsity: SET-based models consistently outperformed models with fixed sparse topologies (e.g., RBMFixProb, MLPFixProb), highlighting the benefit of adaptive connectivity.

Limitations and Future Work

  • Hardware Acceleration: The paper notes that current hardware (GPUs) is highly optimized for dense matrix multiplications, while sparse matrix operations are less efficient. This presents a bottleneck for large-scale SET deployment. Future work could focus on developing hardware or software solutions for efficient sparse computations.
  • Weight Removal Strategy: While removing weights closest to zero proved effective, the authors suggest exploring more sophisticated methods for weight removal, such as using gradient methods or network science centrality metrics, to potentially further improve performance.
  • Pre-training: The authors suggest that SET-RBM could be used to pre-train SET-MLP models, offering a potential avenue for further performance gains.
  • Broader ANN Architectures: The paper explored RBMs, MLPs, and CNNs. Future work could investigate the application of SET to other ANN architectures like Recurrent Neural Networks (RNNs) and deep reinforcement learning networks.

Summary updated

BibTeX
@misc{mocanu2023scalable,
  author = {Decebal Constantin Mocanu and Elena Mocanu and Peter Stone and Phuong Nguyen and Madeleine Gibescu and Antonio Liotta},
  title = {{Scalable training of artificial neural networks with adaptive sparse connectivity inspired by network science}},
  year = {2023},
  url = {https://openreview.net/forum?id=qzOYx1NeJ5},
  howpublished = {OpenReview},
}
Figure