Advancing Neuromorphic Computing Algorithms and Systems with NeuroBench

Jason Yik, Charlotte Frenkel, Vijay Janapa ReddiMLNCP @ NeurIPS 2024

TL;DR

This paper introduces NeuroBench, a comprehensive, community-driven benchmark framework designed to accelerate the development and evaluation of neuromorphic computing systems. By providing standardized tasks and metrics for both algorithms and hardware, NeuroBench aims to unify the field and highlight the unique strengths of neuromorphic approaches for energy-efficient AI.

What Problem Does This Paper Address?

The field of neuromorphic computing, inspired by the brain's efficiency, is gaining traction as conventional computing approaches hit performance and energy bottlenecks. However, the unique characteristics of neuromorphic systems, such as sparsity and event-driven processing, mean that traditional AI benchmarks (like those for GPUs) are ill-suited for evaluating their true potential. This lack of standardized evaluation hinders objective comparison of new algorithms and hardware, slowing down progress. The paper addresses this by proposing NeuroBench, a framework to bridge this gap and foster a more unified and objective research landscape.

Methods

NeuroBench is structured into two main tracks:

  • Algorithm Track: This track focuses on hardware-independent evaluation of neuromorphic algorithms. It defines a set of "correctness" metrics (e.g., accuracy) and "complexity" metrics. These complexity metrics are novel for neuromorphic research and include:
  • Footprint: Memory usage for data buffering, neuron states, and weights.
  • Connection Sparsity: Quantifies the pruning and inherent sparsity of synaptic weights.
  • Activation Sparsity: Measures how often neurons output zero activations.
  • Synaptic Operations: Differentiates between dense operations, effective multiply-accumulates (for continuous activations), and accumulates (for binary activations in SNNs).
  • Model Execution Rate: How quickly a model's forward pass completes relative to data time. This track utilizes a common, open-source code harness that integrates with PyTorch and other popular libraries, making it easy for researchers to test their models.

  • System Track: This track focuses on evaluating complete neuromorphic platforms. It defines protocols for measuring real-world performance and efficiency, including execution time, throughput, power, and energy consumption. While a single, universally consistent methodology is currently infeasible due to the diversity of neuromorphic systems (from edge devices to multi-chip servers), the system track emphasizes transparency in reporting and provides guidelines to contextualize results and drive towards standardization.

Datasets

NeuroBench introduces novel benchmark tasks and utilizes existing datasets for evaluation. Some examples include:

  • Algorithm Track Benchmarks:
    • Keyword FSCIL: Uses the MSWC (20) dataset for few-shot, continual learning of keyword classes.
  • Event Camera Detection: Utilizes the Prophesee 1MP Automotive (21) dataset for detecting automotive objects from event camera data.
  • Primate Motor Decoding: Employs the Primate Reaching (22) dataset to predict fingertip velocity from cortical recordings.
  • Time Series Forecasting: Uses the Mackey-Glass (23) dataset for autoregressive modeling of chaotic functions.
  • System Track Benchmarks:
    • Acoustic Scene Classification: Uses the DCASE (34) dataset for classifying environments from ambient noise.
  • QUBO: Focuses on graph optimization problems, specifically finding maximal independent sets in graphs.

Key Insights and Ideas

  • The Need for Specialized Metrics: Traditional AI benchmarks and metrics (like FLOPs) are not suitable for neuromorphic systems. NeuroBench's complexity metrics (sparsity, synaptic operations) are crucial for understanding the efficiency gains of neuromorphic approaches.
  • Bridging Algorithm and Hardware: NeuroBench's dual-track approach is vital. Algorithm-level complexity metrics provide insights into potential hardware efficiency, while system-level measurements validate real-world performance. This connection is key for co-design.
  • Community-Driven Development: The framework's development involves over 100 researchers from more than 50 institutions, ensuring broad relevance and adoption.
  • Highlighting SNN Strengths: Results from NeuroBench challenges consistently show the advantages of neuromorphic algorithms (especially SNNs) for sparse, event-driven, and energy-efficient machine learning tasks.

Key Results

  • Motor Decoding Task: In the non-human primate motor decoding task, a NeuroBench baseline SNN achieved higher R² (0.5805 vs. 0.5755) than an ANN baseline, using significantly fewer effective non-zero operations (413 vs. 4970). This demonstrates the potential for SNNs to achieve comparable or better accuracy with much higher efficiency.
  • Acoustic Scene Classification: The Synsense Xylo neuromorphic system achieved a 60.9x reduction in inference power and a 33.4x reduction in inference energy compared to a CPU-based system for acoustic scene classification. This highlights the substantial energy savings possible with dedicated neuromorphic hardware.
  • Benchmark Consistency Challenges: The paper acknowledges that comparing diverse neuromorphic systems presents challenges due to variations in hardware scale, analog vs. digital components, and system configurations. NeuroBench addresses this through transparent reporting and guidelines.

Limitations and Future Work

  • System Track Standardization: While the system track provides guidelines, achieving a singular, strictly applied measurement methodology across all neuromorphic systems is currently infeasible due to their diverse nature.
  • Narrowing the Algorithm-System Divide: The authors envision the algorithm and system tracks becoming more integrated as complexity analyses from the algorithm track inform hardware design and as system performance data feeds back into algorithm development.
  • Expanding Benchmarks: Future work includes developing more benchmark challenges for diverse applications and refining metric definitions to further incentivize innovation and drive neuromorphic hardware towards mature standardization. Researchers are encouraged to join the community and contribute to the framework's evolution.

Summary updated

BibTeX
@inproceedings{yik2024advancing,
  author = {Jason Yik and Charlotte Frenkel and Vijay Janapa Reddi},
  title = {{Advancing Neuromorphic Computing Algorithms and Systems with NeuroBench}},
  booktitle = {MLNCP @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=r3r5M5T6YK},
}
Figure