Spiking Neural Networks (SNNs) are theoretically the most energy-efficient way to perform AI tasks because they communicate using discrete, binary "spikes" (0s and 1s). In specialized neuromorphic hardware, this allows for "accumulate-only" operations, which are significantly cheaper than the power-hungry multiply-accumulate (MAC) operations required by standard deep learning.
However, a fundamental conflict arises when we try to make SNNs deep. In modern deep learning, the "Residual Connection" (ResNet) is the standard tool for training deep architectures. A standard residual block performs the operation $y = f(x) + x$. If $x$ and $f(x)$ are binary spikes, their sum can be 2. This simple addition breaks the binary nature of the network, forcing the hardware to use multi-bit integers and complex peripheral circuitry like Analog-to-Digital Converters (ADCs).
To solve this, researchers are redesigning the residual connection itself to ensure that the network remains "full-spike" from input to output.
The Problem with Arithmetic Addition
In a standard SNN, neurons only fire a 1 or a 0. As Adarsh Kosta, Kaushik Roy, and their colleagues point out in Hardware/Software co-design with ADC-Less In-memory Computing Hardware for Spiking Neural Networks, the moment a residual connection adds two spikes together, the data path is no longer binary.
This "bit-growth" is a disaster for efficiency. It requires high-precision converters and digital adders that undermine the very reason for using SNNs. To maintain the energy advantages of neuromorphic hardware, the signal must stay binary across the entire shortcut path.
Logical Merging as an Identity Map
The breakthrough in training deep SNNs involves replacing arithmetic addition with bitwise logical operations. In Deep Residual Learning in Spiking Neural Networks, Wei Fang, Zhaofei Yu, and their team introduced the Spike-Element-Wise (SEW) ResNet. They demonstrated that element-wise logical operations can act as an effective "identity mapping," allowing gradients to flow through 152 layers without the signal ever leaving its binary state.
Among these logical operations, the OR gate has emerged as a particularly powerful mechanism. As explored by Yongsheng Huang and Bin Zhang in their work on CogniSNN, an OR-gate residual connection works by outputting a spike if either the main processing path or the shortcut path fires.
This has two intuitive benefits:
- Binary Integrity: $1 \text{ OR } 1 = 1$. The output is always a single bit, preventing signal amplification into non-binary integers.
- Sparsity: By using logical gates, the network maintains lower firing rates. Xuerui Qiu and Jason K. Eshraghian show in SynA-ResNet that this approach allows the entire architecture to remain compatible with low-power, accumulate-only hardware, eliminating MAC operations entirely.
Overcoming Training Hurdles
While logical residuals are efficient for hardware, they can be difficult to train because logical gates like AND or OR have "flat" regions that can hinder gradient flow.
To address this, Guangyao Chen and Guoqi Li proposed Dual-Stream Training (DST) in Training Full Spike Neural Networks via Auxiliary Accumulation Pathway. During training, they use an "Auxiliary Accumulation Pathway" that allows for multi-bit information flow to stabilize gradients. Once training is complete, this auxiliary path is detached, leaving a "Full-Spike" network that uses only logical operations for inference.
Scaling to Complex Tasks
The shift toward binary-preserving residuals isn't just a theoretical exercise; it is enabling SNNs to tackle heavy-duty computer vision tasks. In Deep Directly-Trained Spiking Neural Networks for Object Detection, Jianing Li and colleagues introduced EMS-ResNet. By ensuring that even the shortcut convolutions are preceded by a spiking neuron, they created a framework (EMS-YOLO) that achieves performance comparable to traditional models while consuming nearly 6x less energy.
By replacing the "plus" sign in ResNets with logical gates, these researchers have bridged the gap between the mathematical necessity of residual connections and the physical constraints of low-power neuromorphic hardware.