TL;DR
LoAS (Low-latency inference Accelerator for dual-sparse SNNs) introduces a novel "Fully Temporal-Parallel" (FTP) dataflow designed specifically to handle the unique temporal dimension of Spiking Neural Networks. By parallelizing timesteps and employing specialized hardware circuits for spike compression and inner-join operations, LoAS achieves up to 8.51× speedup and 3.68× energy reduction compared to state-of-the-art sparse accelerators.
What Problem Does This Paper Address?
Spiking Neural Networks (SNNs) are highly attractive for edge AI because they mimic biological neurons, using sparse, single-bit "spikes" to communicate. While researchers have successfully applied "dual-sparsity"—where both the network weights and the activations (spikes) are sparse—hardware accelerators haven't quite caught up.
The core challenge lies in the temporal dimension. Unlike standard Artificial Neural Networks (ANNs), SNNs process data over multiple discrete timesteps. Existing accelerators designed for sparse-matrix-sparse-matrix multiplication (spMspM) in ANNs treat these timesteps sequentially. This creates a "loop-within-a-loop" problem that leads to redundant data fetching from memory, high latency, and massive off-chip traffic for partial sums. Furthermore, standard compression formats like CSR are incredibly inefficient for 1-bit spikes, often using more bits to store a spike's coordinate than the spike itself.
Methods
The authors propose LoAS, an architecture built around three key innovations:
- Fully Temporal-Parallel (FTP) Dataflow: Instead of processing timesteps one by one, LoAS parallelizes them at the innermost loop of the computation. This maximizes the reuse of weights across all timesteps and eliminates the need to repeatedly fetch input data, significantly reducing memory bottlenecks.
- FTP-Friendly Spike Compression: The authors identify "silent neurons"—neurons that never fire a single spike across a window of timesteps. LoAS packs spikes from the same neuron across all timesteps into a single "fiber." This allows the hardware to skip silent neurons entirely and ensures that memory access for active neurons is contiguous and efficient.
- FTP-Friendly Inner-Join Circuit: To find matching non-zero indices between weights and spikes, traditional accelerators use expensive "prefix-sum" circuits. LoAS uses an asymmetric design: one "fast" circuit for weights and one "laggy" (simpler, lower-power) circuit for spikes. Because spikes are unary (just 0 or 1), the hardware can speculatively start accumulating weights and correct the results later once the spike information is ready, saving significant area and power.
Datasets
The researchers evaluated LoAS using three standard deep learning architectures adapted for SNNs:
- AlexNet
- VGG16
- ResNet19
These models were pruned using the Lottery Ticket Hypothesis (LTH) to achieve high levels of dual-sparsity (up to 98% weight sparsity and 90% spike sparsity). They also tested scalability on a Hidden Feed-Forward (HFF) layer from a SpikeTransformer model.
Key Insights and Ideas
- Temporal Parallelism is the "Secret Sauce": The biggest efficiency gains come from moving the temporal dimension to the innermost loop. This simple reordering of the computation nest solves the data refetching problem that plagues sequential SNN accelerators.
- Exploiting "Silence": In SNNs, many neurons are completely inactive for long periods. By compressing data along the temporal axis, LoAS can treat these "silent neurons" as a single zero-value, which is much more effective than standard bitmasking used in ANNs.
- Asymmetric Hardware for Unary Data: Because SNN spikes are either 0 or 1, the hardware doesn't need full-blown multipliers or perfectly synchronized join units. The "laggy" prefix-sum circuit is a clever way to trade off a small amount of local latency for a massive reduction in power and silicon area.
Key Results
- Massive Speedups: LoAS achieved an average speedup of 6.79× over SparTen-SNN (an inner-product baseline), 5.99× over GoSPA-SNN (outer-product), and 3.25× over Gamma-SNN (Gustavson’s dataflow).
- Energy Efficiency: The architecture demonstrated up to 3.68× energy reduction compared to prior dual-sparse baselines.
- Memory Traffic Reduction: On AlexNet, LoAS reduced off-chip DRAM access by 3.70× and on-chip SRAM access by 3.93× compared to the SparTen-SNN baseline.
- Scalability: The design scales well with the number of timesteps; increasing from 4 to 16 timesteps only increased the area of the processing element by 1.37×.
Limitations and Future Work
- Timestep Scaling: While LoAS performs exceptionally well for low-latency SNNs (typically $\le 8$ timesteps), the number of "silent neurons" decreases as the time window grows. For very long sequences, the compression efficiency might degrade.
- Neuron Model Specificity: The current design is optimized for Leaky-Integrate-and-Fire (LIF) neurons. While LIF is the industry standard, other emerging models like "Few Spikes" (FS) neurons might require different dataflow tweaks.
- Multi-Core Coordination: This work focuses on a single-core dataflow. Scaling LoAS to a multi-core neuromorphic system would require new strategies for inter-core communication and workload balancing.
Summary updated