TL;DR
Neuromorphic accelerators process sparse, event-driven neural networks efficiently, but their unique architectures make standard performance metrics (like total network sparsity) misleading. This paper introduces the "Floorline" model—a neuromorphic equivalent to the classic Roofline model—to identify memory, compute, and traffic bottlenecks. Using this visual model, the authors develop a two-stage optimization framework that achieves up to a 3.86x speedup and 3.38x energy reduction on real neuromorphic hardware at iso-accuracy.
What Problem Does This Paper Address?
Neuromorphic chips, such as Intel's Loihi 2, utilize spatially-expanded, event-driven architectures. Unlike GPUs that time-multiplex operations through shared arithmetic units, these chips map logical neurons directly to dedicated physical "neurocores" that co-locate memory and compute. This design is highly efficient for sparse workloads.
However, because these neurocores operate in parallel but must synchronize at each timestep, the entire chip's performance is limited by its slowest neurocore. Existing optimization methods often rely on high-level proxies like aggregate network-wide sparsity or total operation counts. The authors demonstrate that these metrics are fundamentally flawed: a highly sparse network can still perform poorly if the workload is imbalanced. Until now, there has been no systematic framework to identify what actually bounds neuromorphic performance—memory, compute, or network-on-chip (NoC) traffic—and how to optimize for it.
Methods
The authors conduct a "bound and bottleneck" analysis using theoretical modeling and empirical profiling across three real-world neuromorphic chips: the Brainchip AKD1000, Synsense Speck, and Intel Loihi 2.
- Analytical Modeling & Profiling: They model asymptotic operation counts for synaptic operations (synops), activation computes, and NoC traffic, validating these on hardware by sweeping sparsity, partitioning, and mapping configurations.
- The Floorline Model: This visual performance model plots timestep duration (latency) against the maximum synops of any active neurocore. It reveals a memory-bound slope, a compute-bound floor, and a traffic-bound region above the floorline.
- Two-Stage Optimization Framework:
- Stage 1 (Sparsity Optimization): Training networks with sparsity-aware regularization (e.g., L1 or synop regularization) to maximize uniform sparsity without sacrificing accuracy.
- Stage 2 (Floorline-Informed Partitioning): Iteratively partitioning the bottlenecked neurocore (the one with the highest synops) and using "strided" mapping to distribute high-traffic cores across different NoC routers.
Datasets
The framework was evaluated across diverse tasks:
- RGB Image Classification: Imagenette using an AkidaNet CNN.
- Event Camera Classification: Saccade-based event datasets using a Spiking CNN.
- RGB Video Regression: Vehicle steering prediction using PilotNet with Sigma-Delta ReLU neurons.
- Audio Denoising: Speech denoising using an S5 state space model.
Key Insights and Ideas
- Network-wide metrics are a trap: Total weight or activation sparsity doesn't guarantee speedup. Performance is dictated by the neurocore with the heaviest load ("max synops"). Load balance is more critical than total sparsity.
- Weight sparsity in CNNs is often ineffective: Pruning weights in CNNs yielded almost no performance benefit on these chips because the overhead of decoding sparse weight formats for small kernel fetches outweighs the memory access savings.
- Three distinct bottleneck states: Memory-bound (synaptic weight fetches), Compute-bound (neuron activation computation "floor"), and Traffic-bound (NoC congestion).
- Mapping matters immensely: Changing physical placement from sequential "ordered" mapping to spaced-out "strided" mapping drastically reduces NoC traffic bottlenecks without changing the underlying computation.
Key Results
The combined two-stage optimization yielded up to 3.86x runtime improvement and 3.38x energy reduction compared to prior manually-tuned configurations at iso-accuracy.
- Stage 1 Impact: Sparsity-aware training alone provided up to 4.29x runtime and 4.36x energy improvements on the AKD1000.
- Stage 2 Impact: Floorline-aware partitioning and mapping provided an additional 1.83x runtime and 1.52x energy improvement on the Loihi 2 with the S5 model.
- Predictable Boundaries: Empirical data perfectly traced the theoretical Floorline model, proving that "max neurocore synops" is a reliable predictor of memory-bound performance limits.
Limitations and Future Work
The Floorline model assumes memory, compute, and messaging operations overlap in a hardware pipeline. If a chip executes these sequentially, the model requires adaptation. Additionally, the model's reliance on timestep duration assumes a synchronized execution model, which may not map perfectly to fully asynchronous chips.
Future work includes building a software simulator based on the Floorline model to allow researchers to optimize network partitioning and mapping during compilation without needing physical hardware access. There is also a need to extend this analysis to multi-chip systems where inter-chip communication latency introduces new dynamics.
Summary updated