Abstract
Mapping large-scale Spiking Neural Networks (SNNs) onto Network-on-Chip (NoC) neuromorphic hardware presents significant challenges in communication overhead and tool scalability. This paper introduces SNEAP, a high-performance toolchain that utilizes multi-level graph partitioning and heuristic mapping to optimize SNN layouts. SNEAP achieves a 418x speedup in execution time, a 23% reduction in energy consumption, and a 51% reduction in spike latency compared to state-of-the-art methods like SpiNeMap.
Introduction
Spiking Neural Networks (SNNs) represent the "third generation" of artificial intelligence, aiming to replicate the energy efficiency of biological brains. Efficient execution of SNNs requires specialized neuromorphic hardware, such as Intel’s Loihi or IBM’s TrueNorth, which typically employ a Network-on-Chip (NoC) architecture consisting of numerous interconnected cores.
A critical bottleneck in this architecture is the mapping process: determining the optimal placement of neurons within physical cores to minimize communication costs. Inefficient mapping leads to high spike latency and excessive energy consumption as signals traverse multiple "hops" across the chip. Furthermore, as SNNs scale to millions of neurons, existing mapping tools become prohibitively slow.
The SNEAP Toolchain
SNEAP (Spiking NEural network mAPping toolchain) addresses these challenges through a structured four-phase workflow designed for both speed and efficiency.
Phase 1: Profiling
The process begins by extracting the SNN’s topology and recording "spike traces" using simulators like CARLsim. This log identifies which neurons fire and their communication patterns.
Phase 2: Partitioning
To manage large-scale networks, SNEAP employs a multi-level graph partitioning strategy based on the Metis algorithm. This phase involves "coarsening" the network into blocks, partitioning them to minimize inter-core communication, and then "uncoarsening" them. This ensures that highly connected neurons are grouped within the same physical core.
Phase 3: Mapping
Once partitioned, the neuron groups must be placed on the physical NoC grid. SNEAP evaluates multiple heuristic algorithms to find the optimal spatial arrangement.
The authors compared Simulated Annealing (SA), Particle Swarm Optimization (PSO), and Tabu Search. Simulated Annealing was found to be the most effective, providing a superior balance of optimization quality and execution speed by effectively avoiding local optima in the spatial grid layout. A key innovation in this phase is the use of "average hop count" as a fast proxy for energy and latency, significantly accelerating the optimization loop.
Phase 4: Evaluation
The final mapping is validated using Noxim++, a cycle-accurate NoC simulator, to measure real-world performance metrics including latency, energy, and traffic distribution.
Experimental Results
SNEAP was evaluated against five SNN models of varying complexity, including feedforward and random connectivity schemes. Compared to the state-of-the-art SpiNeMap tool, SNEAP demonstrated remarkable improvements:
- Execution Speed: SNEAP is 418x faster, reducing mapping time from hours to seconds.
- Latency and Energy: Average spike latency was reduced by 51% (up to 92% for complex random networks), and dynamic energy consumption on the NoC decreased by 23%.
- Traffic Balance: SNEAP improved traffic distribution across the chip, reducing congestion hotspots by an average of 61%.
Conclusion
SNEAP provides a scalable and efficient solution for the complex task of mapping large-scale SNNs to NoC hardware. By prioritizing communication efficiency and leveraging fast heuristic optimization, it enables the practical deployment of massive neuromorphic models. Future work will focus on supporting dynamic topologies for on-chip learning and exploring diverse hardware architectures.
Summary updated