TL;DR
Falcon is a new framework that challenges the long-held assumption that Spiking Neural Networks (SNNs) are inherently slower than traditional quantized networks. By implementing cross-timestep pipelining and a novel "Pipeline Delay Search" to optimize layer-wise firing delays, Falcon achieves state-of-the-art speech recognition accuracy while finishing inference faster than comparable bit-serial quantized neural networks (QNNs).
What Problem Does This Paper Address?
Spiking Neural Networks are the darlings of low-power edge AI because they communicate using sparse, binary "spikes," mimicking biological brains. However, they have a reputation for being slow. While a standard network might process an input in one go, an SNN typically spreads computation over multiple timesteps.
Researchers have tried to speed this up using pipelining—letting Layer 2 start processing the first few spikes from Layer 1 before Layer 1 has finished all its timesteps. The catch? If a neuron fires too early based on incomplete information, it might make a mistake that can't be "un-fired," leading to lower accuracy. The common wisdom was that "waiting longer" for more input would always improve accuracy at the cost of speed. This paper proves that intuition is often wrong: in many cases, waiting longer actually makes the network both slower and less accurate.
Methods
The authors introduce Falcon, a framework designed for fine-grained latency analysis and controlled firing. Its core components include:
- Delay-controlled IF Kernel: A modified Integrate-and-Fire (IF) neuron that introduces a delay parameter ($\delta$). This parameter dictates how many input timesteps must be accumulated before the neuron makes its first firing decision.
- Pipeline Delay Search (PDS): Since the optimal delay varies by layer and data, the authors developed a greedy search algorithm. It navigates the trade-off space to find "Fastest," "Accurate," and "Balanced" schedules for layer-wise delays.
- Hardware-Aware Modeling: The framework evaluates latency under a spatial Analog Compute-in-Memory (CIM) mapping. This accounts for real-world hardware constraints like ADC conversion times and digital peripheral logic.
- Spike-based Adaptation: After finding the best delays, the network undergoes quantization-aware training (QAT) and fine-tuning of firing thresholds to recover any accuracy lost due to early firing.
Datasets
The authors evaluated Falcon on two primary speech command benchmarks:
- Google Speech Commands V2 (GSC): A 35-class keyword spotting dataset.
- Spiking Speech Commands (SSC): A version of the GSC dataset specifically converted into spike trains for SNN evaluation.
Key Insights and Ideas
- The "Waiting Paradox": The most striking finding is that more lookahead does not guarantee higher accuracy. The authors prove (Theorem 1 and Proposition 1) that while waiting longer reduces local count errors, it changes spike timing. This shift in timing can cause downstream neurons to miss their firing thresholds entirely, leading to a net loss in task accuracy.
- SNNs can beat QNNs in speed: In a bit-serial QNN, a layer must wait for all bit-contributions to be summed and quantized before passing data. SNNs, by contrast, can "stream" their binary results bit-by-bit (spike-by-spike), allowing for much tighter pipelining.
- Layer-wise Sensitivity: Not all layers are created equal. Some layers are highly sensitive to early noise and need longer delays, while others can fire almost immediately without impacting the final prediction. PDS is essential for identifying these differences.
Key Results
Falcon demonstrates that SNNs can be both highly accurate and ultra-responsive:
- Accuracy vs. Latency: On the GSC dataset, Falcon-Medium (using a "Balanced" schedule) achieved 96.31% accuracy with a modeled core latency of just 119.64 $\mu$s.
- Speedup over QNNs: This represents a 1.13x speedup over a matched bit-serial QNN, which had a latency of 130.86 $\mu$s.
- Efficiency: Compared to non-pipelined SNN counterparts, Falcon reduced modeled core latency by over 50% while maintaining competitive accuracy, outperforming prior state-of-the-art SNN models like SpikeSCR.
Limitations and Future Work
The authors note that their current analysis focuses on single-sample core latency (how fast one input gets through the system). While pipelining reduces this latency, it doesn't automatically increase throughput (samples per second) if the hardware resources (like the analog CIM arrays) are heavily shared between layers.
Future work could involve optimizing for multi-core or multi-array hardware where different layers occupy different physical resources, potentially unlocking massive gains in both latency and throughput simultaneously. Additionally, extending this "controlled firing" logic to other domains like computer vision remains an open and promising frontier.
Summary updated