Skip to main content
QUICK REVIEW

[Paper Review] Open the box of digital neuromorphic processor: Towards effective algorithm-hardware co-design

Guangzhi Tang, Ali Safa|arXiv (Cornell University)|Mar 27, 2023
Advanced Memory and Neural ComputingEngineering3 citations
TL;DR

This paper opens the black box of the SENeCA digital neuromorphic processor by providing detailed neuron instruction sets and precise energy measurements for key neuromorphic components. It enables algorithm designers to accurately benchmark and co-optimize SNNs for video processing and online learning with energy efficiency predictions down to the instruction level.

ABSTRACT

Sparse and event-driven spiking neural network (SNN) algorithms are the ideal candidate solution for energy-efficient edge computing. Yet, with the growing complexity of SNN algorithms, it isn't easy to properly benchmark and optimize their computational cost without hardware in the loop. Although digital neuromorphic processors have been widely adopted to benchmark SNN algorithms, their black-box nature is problematic for algorithm-hardware co-optimization. In this work, we open the black box of the digital neuromorphic processor for algorithm designers by presenting the neuron processing instruction set and detailed energy consumption of the SENeCA neuromorphic architecture. For convenient benchmarking and optimization, we provide the energy cost of the essential neuromorphic components in SENeCA, including neuron models and learning rules. Moreover, we exploit the SENeCA's hierarchical memory and exhibit an advantage over existing neuromorphic processors. We show the energy efficiency of SNN algorithms for video processing and online learning, and demonstrate the potential of our work for optimizing algorithm designs. Overall, we present a practical approach to enable algorithm designers to accurately benchmark SNN algorithms and pave the way towards effective algorithm-hardware co-design.

Motivation & Objective

  • Address the lack of transparency in digital neuromorphic processors, which hinders effective algorithm-hardware co-design.
  • Provide accurate, low-level energy cost measurements for neuron processing instructions and essential neuromorphic components in the SENeCA architecture.
  • Enable algorithm designers to estimate energy consumption of SNNs without deploying on actual hardware.
  • Demonstrate the utility of the framework through application-level benchmarks on video processing and online learning.
  • Facilitate optimization of SNN designs based on real hardware energy costs, improving energy efficiency for edge applications.

Proposed method

  • Conduct circuit-level energy measurements on SENeCA’s neuron processing instructions (NPEs), reporting energy costs per instruction in picojoules.
  • Define and quantify the energy cost of core neuromorphic components, including IF and sigma-delta neuron models, Hebbian learning rules, and hierarchical memory access.
  • Abstract the low-level instruction set into higher-level micro-kernels and components to allow rapid estimation of hardware overheads without low-level coding.
  • Utilize SENeCA’s RISC-V controller and time-multiplexed NPEs to execute SNN micro-kernels in a pipelined, event-driven fashion with BF16 precision.
  • Implement application-specific benchmarks for video processing (ResNet-50, MobileNet on UCF-101) and online Hebbian learning (digit classification) using instruction counts and measured energy per instruction.
  • Map the number of executed instructions to total energy consumption using measured values from Table I and Table III, enabling accurate energy estimation at design time.
Figure 1: The pipeline of a SENeCA neuromorphic core (left), the interconnected mesh architecture via NoC (right), and the hierarchical memory consist of register files (orange), local SRAM memories (green) and large shared memories (gray).
Figure 1: The pipeline of a SENeCA neuromorphic core (left), the interconnected mesh architecture via NoC (right), and the hierarchical memory consist of register files (orange), local SRAM memories (green) and large shared memories (gray).

Experimental results

Research questions

  • RQ1How can algorithm designers accurately estimate the energy cost of SNN algorithms without running them on physical neuromorphic hardware?
  • RQ2What are the precise energy costs of fundamental neuromorphic operations such as synaptic operations (sigma), neuron output evaluations (delta), and learning rule updates in the SENeCA architecture?
  • RQ3To what extent can hierarchical memory and instruction-level optimization reduce the energy overhead of SNN workloads in digital neuromorphic processors?
  • RQ4How does the energy efficiency of SNNs for video processing and online learning compare when using accurate instruction-level energy models versus coarse estimates?
  • RQ5Can the proposed framework enable effective algorithm-hardware co-design by revealing trade-offs between accuracy, network size, and energy consumption?

Key findings

  • The energy cost of a single sigma operation in SENeCA is 7.0 pJ, while a delta operation costs 5.33 pJ, with the higher cost of sigma operations due to greater execution dimensionality.
  • For ResNet-50 on UCF-101, the total energy consumption per frame is 3504.0 μJ for synaptic operations and 181.2 μJ for neuron output evaluations, demonstrating that synaptic operations dominate energy use.
  • In MobileNet, the energy cost per frame is 1792.3 μJ for synaptic operations and 104.4 μJ for neuron evaluations, confirming the trend of synaptic operations being the primary energy consumer.
  • The framework enables accurate energy-accuracy trade-off analysis for online Hebbian learning, showing that increasing the number of output neurons (M) increases energy consumption while improving classification accuracy.
  • The use of complex delta units with negligible energy overheads allows algorithm designers to reduce event counts without significant cost, enabling efficient sparsification strategies.
  • The proposed method reduces reliance on coarse hardware benchmarks, enabling precise, early-stage energy estimation and guiding algorithmic optimization for real hardware deployment.
Figure 6: Accuracy vs. energy consumption of SNN-Hebbian learning execution (one time-step), with $M$ output neurons.
Figure 6: Accuracy vs. energy consumption of SNN-Hebbian learning execution (one time-step), with $M$ output neurons.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.