AutoML for neuromorphic computing and application-driven co-design: asynchronous, massively parallel optimization of spiking architectures

Angel Yanguas-Gil, Sandeep Madireddy

This paper, authored by researchers at Argonne National Laboratory, presents a significant step toward automating the design of brain-inspired hardware. By combining a high-performance spiking neural network (SNN) simulator with an asynchronous optimization framework, the authors demonstrate how to automatically discover optimal configurations for neuromorphic systems—a process traditionally requiring painstaking manual tuning.

TL;DR

Researchers have developed an AutoML pipeline that uses massively parallel, asynchronous search to optimize spiking neural network architectures and plasticity rules. By integrating a new simulation framework (spikelearn) with an optimization tool (DeepHyper), they successfully automated the design of networks capable of high-accuracy, real-time "on-chip" learning.

What Problem Does This Paper Address?

Neuromorphic computing aims to mimic the brain's efficiency, but it suffers from a "vast design space" problem. Unlike traditional deep learning, where architectures are relatively standardized, neuromorphic design involves choosing between hundreds of neuron models, synaptic plasticity rules (how the "brain" learns), and network topologies. Furthermore, these must often be optimized for specific, emergent hardware like memristors.

Manually exploring this space is slow and often results in sub-optimal performance. This is particularly problematic for SWaP-C (Space, Weight, and Power, Cost) constrained scenarios, such as edge AI or autonomous drones, where every bit of efficiency counts. The authors aim to bridge this gap by treating neuromorphic design as an optimization problem that can be solved using high-performance computing (HPC).

Methods

The authors introduce a two-pronged technical approach:

  1. spikelearn Framework: A lightweight simulation tool built on a data structure called "streamnets." It represents neural networks as directed graphs where each node (element) can be anything from a simple neuron to a complex SPICE circuit model. This modularity allows researchers to swap out components (e.g., replacing a standard synapse with a memristor model) without rewriting the entire simulation.
  2. DeepHyper Optimization: To navigate the design space, they use Asynchronous Model-Based Search (AMBS). Instead of a simple grid search, AMBS uses Bayesian optimization with Random Forests to predict which configurations will perform best. Because it is asynchronous, it can evaluate hundreds of different configurations simultaneously across thousands of processor cores without waiting for the slowest one to finish.

The study specifically focuses on optimizing a modulated non-Hebbian plasticity rule (which they call the "MSE rule"). This rule allows the network to learn "online"—adjusting its weights in real-time as data streams in, rather than requiring a separate, offline training phase.

Datasets

The primary benchmark used is MNIST (the classic dataset of handwritten digits).

  • Task: Online learning where the network sees 10,000 images (1/6th of an epoch) and must learn to classify them on the fly.
  • Encoding: Images are converted into Poisson spike trains (sequences of pulses) to be processed by the SNN.

Key Insights and Ideas

  • The "Sweet Spot" Shrinks with Complexity: In a simple "shallow" network, many different configurations led to high accuracy. However, in the "complex" network (inspired by the insect olfactory system), the region of high performance was much narrower. This proves that as we build more biologically realistic or deeper neuromorphic systems, automated search becomes a necessity, not a luxury.
  • Composability is Key: By using the "streamnet" approach, the authors created a system where high-level software abstractions and low-level hardware physics can coexist. This is crucial for "application-driven co-design," where the hardware and the algorithm are developed together.
  • Robustness of the MSE Rule: The search confirmed that their modulated plasticity rule is remarkably effective for supervised learning in SNNs, reaching performance levels comparable to standard gradient descent methods used in traditional AI.

Key Results

  • Efficiency: The system explored over 10,000 configurations for the shallow network and over 1,000 for the complex network.
  • Accuracy: The optimized SNNs achieved classification accuracies exceeding 93% on the MNIST task.
  • Scalability: The spikelearn framework proved capable of simulating millions of synapses on a single core, making it viable for exascale supercomputing environments.
  • Temporal Precision: The authors found that increasing the number of simulation timesteps per sample (from 8 to 24) significantly boosted robustness and accuracy, aligning with previous theoretical work in the field.

Limitations and Future Work

While the results are promising, the authors acknowledge a few areas for growth:

  • Task Complexity: MNIST is a relatively simple "toy" dataset. Future work needs to test this AutoML approach on more complex, non-trivial tasks like real-time signal processing or autonomous navigation.
  • Hardware Integration: The current study is purely a simulation. The next step is to incorporate the physical constraints and behaviors of emergent devices like memristors and memtransistors directly into the optimization loop.
  • Metalearning: The authors aim to find plasticity rules that aren't just good for one task, but are "robust and performant against a broad distribution of tasks," moving closer to the generalized learning capabilities of biological brains.

Summary updated

BibTeX
@inproceedings{yanguasgil2022automl,
  author = {Angel Yanguas-Gil and Sandeep Madireddy},
  title = {{AutoML for neuromorphic computing and application-driven co-design: asynchronous, massively parallel optimization of spiking architectures}},
  booktitle = {ICRC},
  year = {2022},
  doi = {10.1109/icrc57508.2022.00020},
}
Figure