ANCoEF: Asynchronous Neuromorphic Algorithm/Hardware Co-Exploration Framework with a Fully Asynchronous Simulator

Jian Zhang, Xiang Zhang, Jingchen Huang, Jilin Zhang, Hong ChenarXiv 2024 · DOI

Introduction

Asynchronous neuromorphic hardware is a promising frontier for edge AI, leveraging event-driven processing to match the inherent sparsity of Spiking Neural Networks (SNNs). This alignment can lead to extreme energy efficiency. However, the design of these systems faces significant hurdles: traditional simulators are often slow due to "tick-based" timing, and the typical "siloed" design approach—where SNN algorithms and hardware architectures are optimized separately—misses critical performance gains.

The ANCoEF Framework

To address these challenges, we propose ANCoEF, a novel framework for the joint optimization of SNN algorithms and asynchronous hardware. The framework is built on three pillars:

  1. TrueAsync Simulator: Moving away from computationally expensive cycle-accurate simulation, TrueAsync utilizes actor models. Each hardware component (e.g., routers, processing elements) acts as an independent entity communicating via asynchronous messages. This naturally reflects asynchronous circuit behavior and enables high parallelization on multicore CPUs.
  2. Supernet-Based Algorithm Search: The framework employs a supernet approach to explore the SNN space. It trains a large network containing many possible operations and samples the most effective ones to create candidate SNNs for hardware pairing.
  3. RL-Based Hardware Search: Navigating the non-numerical hardware design space (e.g., neuron mapping, connectivity) is handled by multi-objective Reinforcement Learning (Q-learning). The RL agent learns to balance accuracy, latency, energy, and area.
The ANCoEF workflow integrates algorithm search, hardware search, and the TrueAsync simulator for joint optimization.

Co-Exploration Strategy

The core strength of ANCoEF lies in its ability to explore a massive joint search space. This includes SNN-specific operations like convolution kernels and spiking neuron configurations, alongside hardware variables such as the number of processing elements (PEs), buffer sizes, and Network-on-Chip (NoC) topologies. By co-exploring these domains, the framework identifies "hardware-friendly" SNNs that maintain high accuracy while drastically reducing energy consumption.

The comprehensive search space for ANCoEF includes both SNN architectural blocks and hardware mapping/arbitration variables.

Key Results

ANCoEF was evaluated on benchmarks ranging from neuromorphic datasets (N-MNIST, DVS128Gesture) to static datasets (CIFAR10, Tiny-ImageNet). The results demonstrate significant improvements over state-of-the-art (SOTA) methods:

  • Simulation Speed: TrueAsync achieved a 15.8× speedup over the SOTA CanMore simulator for complex convolutional SNNs.
  • Hardware Efficiency: Compared to the previous best hardware search method (ANAS), ANCoEF reduced the hardware energy-delay product (EDP) by 1.81× while being up to 83× faster at finding the optimal design.
  • System Performance: On the DVS128Gesture dataset, the framework improved SNN accuracy by 9.72% and reduced hardware EDP by a staggering 28.85× compared to previous work.

Conclusion

ANCoEF provides a scalable and efficient path for designing next-generation neuromorphic systems. By leveraging actor-based simulation and reinforcement learning, it overcomes the bottlenecks of traditional design flows. Future work will involve expanding the hardware primitive library and validating these co-explored designs on physical silicon.

Summary updated

BibTeX
@misc{zhang2024ancoef,
  author = {Jian Zhang and Xiang Zhang and Jingchen Huang and Jilin Zhang and Hong Chen},
  title = {{ANCoEF: Asynchronous Neuromorphic Algorithm/Hardware Co-Exploration Framework with a Fully Asynchronous Simulator}},
  year = {2024},
  eprint = {2411.06059},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.06059},
}
Figure