Bayesian-based Hyperparameter Optimization for Spiking Neuromorphic Systems

Maryam Parsa, J. Parker Mitchell, Catherine D. Schuman, Robert M. Patton, Thomas E. Potok, Kaushik RoyIEEE BigData 2019

Abstract

Spiking Neuromorphic Systems (SNS) provide a brain-inspired, energy-efficient alternative to traditional computing, yet their performance is highly sensitive to a complex array of hyperparameters across the entire system stack. This paper introduces a Bayesian-based framework designed to replace exhaustive grid searches with a probabilistic optimization strategy. By employing a Gaussian Process-based surrogate model, the authors demonstrate that optimal configurations for a pole-balancing control task can be discovered using 60x fewer evaluations than traditional methods, while simultaneously increasing system accuracy from a baseline of 52% to nearly 71%.

Introduction: The Neuromorphic Tuning Challenge

Neuromorphic computing aims to replicate the efficiency of biological brains using Spiking Neural Networks (SNNs) and specialized hardware. However, deploying these systems involves navigating a "stack" of interdependent choices:

  1. Input/Output Encoding: Converting continuous real-world data into discrete temporal spikes.
  2. Network Topology: Optimizing the structure and weights of the SNN.
  3. Hardware Constraints: Adapting the model to physical limitations like synaptic weight resolution and neuron thresholds.
The Spiking Neuromorphic Computing System stack, illustrating the flow from real-world input to hardware-specific output.

Because these systems often lack clear gradients for traditional backpropagation, researchers frequently resort to brute-force grid searches. As the number of hyperparameters (HPs) increases, this approach becomes computationally prohibitive—a phenomenon known as the "curse of dimensionality."

Methods: Bayesian Optimization for the SNS Stack

To address these challenges, the authors propose a Bayesian Optimization (BO) framework. BO is a derivative-free strategy ideal for optimizing "black box" functions that are expensive to evaluate.

Surrogate Modeling and Acquisition

Instead of testing every parameter combination, the framework builds a Gaussian Process (GP) surrogate model to predict performance across the parameter space. The authors utilized the Matern covariance function for the GP kernel to ensure a smooth estimation of performance distributions. To decide which HPs to test next, they employed an Expected Improvement (EI) acquisition function, which balances the exploration of unknown regions with the exploitation of known high-performing areas.

The TENNLab Framework

The optimization was integrated into the TENNLab framework, utilizing EONS (Evolutionary Optimization for Neuromorphic Systems) for training SNNs and the DANNA2 digital neuromorphic hardware model. This setup allowed the researchers to optimize parameters ranging from data encoding bins to hardware-specific synaptic delays.

Results: Efficiency and Performance Gains

The framework was evaluated using a canonical pole-balancing (cart-pole) control task, a robust proxy for real-time edge computing applications like robotics or drone stabilization.

Search Efficiency

The most striking result was the reduction in computational overhead. For the input encoding task, the Bayesian-based optimization identified the global optimum in just 400 evaluations. In contrast, a standard grid search required 24,000 evaluations to achieve the same result.

Comparison of search efficiency: Grid search (top) vs. Bayesian-based optimization (bottom) for a pole-balancing task.

Performance Boost

Beyond efficiency, the BO framework significantly improved the quality of the solution. By iteratively optimizing different layers of the stack, the median fitness (a measure of balancing accuracy) of the agent rose from a baseline of 52% to 70.99%. Sensitivity analysis revealed that input encoding parameters (such as the number of spikes per bin) had a far greater impact on final performance than the internal parameters of the evolutionary training algorithm itself.

Conclusion and Future Directions

This research demonstrates that Bayesian Optimization is a powerful tool for overcoming the tuning bottleneck in neuromorphic systems. By focusing on the entire stack—particularly the often-overlooked encoding and hardware layers—the framework achieves superior performance with a fraction of the computational cost.

Future work will focus on expanding this to multi-objective optimization, incorporating metrics such as energy consumption, latency, and chip area alongside accuracy. Additionally, the authors plan to test the framework on more complex tasks, including high-dimensional image recognition and multi-agent robotic coordination.

Summary updated

BibTeX
@inproceedings{parsa2019bayesian,
  author = {Maryam Parsa and J. Parker Mitchell and Catherine D. Schuman and Robert M. Patton and Thomas E. Potok and Kaushik Roy},
  title = {{Bayesian-based Hyperparameter Optimization for Spiking Neuromorphic Systems}},
  booktitle = {IEEE BigData},
  year = {2019},
  doi = {10.1109/bigdata47090.2019.9006383},
}
Figure