TL;DR
While Spiking Neural Networks (SNNs) using sigma-delta encoding excel at cutting out temporal redundancy in video processing, they still waste energy computing insignificant spatial events. This paper introduces an input region masking strategy that combines static, dataset-derived masks with dynamic, frame-by-frame attention masks to skip unimportant regions entirely. Deployed on Intel's Loihi 2 neuromorphic processor, this approach cuts the energy-delay product by up to 1.65× with just a ~1.09% drop in detection accuracy.
What Problem Does This Paper Address?
Edge video processing on resource-constrained devices (like wearables or drones) demands ultra-low latency and extreme energy efficiency. Spiking Neural Networks (SNNs) implemented on neuromorphic hardware are a promising solution because they process information using sparse, event-driven "spikes."
To save energy, state-of-the-art SNNs often use sigma-delta encoding, which exploits temporal redundancy by only transmitting and computing pixels that have changed from the previous frame. However, a major gap remains: even if a pixel changes, that change might be completely irrelevant to the task at hand (e.g., rustling leaves in the background of a traffic scene). Current SNNs still waste significant computation and data movement processing these insignificant events. The authors set out to eliminate this waste by filtering out unimportant spatial regions right at the input layer.
Methods
The authors propose a hardware-aware input region masking framework that decides which patches of a video frame to process and which to skip. The core innovation lies in combining two distinct types of masks:
- Static Mask ($Mask_{stat}$): Built offline from the training dataset, this mask creates a statistical heatmap of where objects typically appear (e.g., roads and lanes in driving datasets). It ensures spatial consistency across consecutive frames, which keeps hardware data movement minimal.
- Dynamic Mask ($Mask_{dyn}$): Because static masks can miss unexpected objects, a lightweight Mask Generator Network (MGNet) processes a downsampled version of the current frame in real-time. MGNet uses a single transformer block and a self-attention layer to compute attention scores for non-overlapping $p \times p$ patches, dynamically flagging regions of interest (RoIs).
The final input mask is a union of the static and dynamic masks.
The overall pipeline integrates this masking module directly into an inference loop on the Intel Loihi 2 neuromorphic chip, feeding the masked frames into a customized, quantized Tiny-YOLOv3 architecture optimized for spiking hardware (YOLO-KP).
Datasets
The approach was evaluated using three standard video object detection benchmarks:
- KITTI Tracking: An autonomous driving dataset spanning 9 object categories.
- BDD100K: A diverse driving dataset featuring 11 object categories.
- ImageNet-VID: A large-scale, general object detection video dataset.
Key Insights and Ideas
- The Sigma-Delta Dynamic Masking Dilemma: A fascinating "aha" moment in the paper highlights a unique quirk of neuromorphic hardware. While dynamic masking yields the best accuracy, it actually provides limited hardware efficiency when used alone. Because a dynamic mask changes boundaries frame-by-frame, it inadvertently introduces artificial "delta events" (spikes) to nullify old regions and activate new ones.
- The Power of the Union: By combining the static mask (which anchors consistency) with the dynamic mask (which handles surprises), the authors successfully balanced accuracy and hardware efficiency, mitigating the communication overhead caused by purely dynamic masking.
- Sparsity Propagation: Inducing sparsity at the very first layer doesn't just save input bandwidth; it cascades through the network. The paper demonstrates that masking the input significantly drops the event rate across all subsequent intermediate layers of the SNN.
Key Results
The combined masking strategy ($Mask_{stat+dyn}$) was benchmarked on physical Loihi 2 hardware:
- KITTI: Masking ~58% of the input frame reduced the Energy-Delay Product (EDP) by 1.65× and boosted throughput by 1.22× (from 436 to 534 samples/second), with an accuracy ([email protected]) degradation of only 1.09%.
- BDD100K: At 61% input sparsity, the system achieved a 1.4× improvement in EDP with less than a 1% drop in mAP.
- Efficiency of the Masker: The MGNet overhead is remarkably low, costing only 0.161 GMACs—roughly 15% of the primary YOLO-KP network's computational cost.
Limitations and Future Work
Despite the impressive gains, the authors note that the current implementation on Loihi 2 hits an inter-chip communication bottleneck when handling the dynamic mask updates. Preliminary analysis suggests that future neuromorphic generations with optimized sequencing could unlock up to a 3.8× improvement in runtime and a 9.35× improvement in EDP.
Additionally, the current method still requires the camera to capture and transmit the full frame before it is masked. The authors suggest that a compelling future direction is to move this masking logic directly onto reconfigurable CMOS image sensors, eliminating the readout energy for skipped patches entirely at the hardware level.
Summary updated