Introduction
Spiking Neural Networks (SNNs) represent the "third generation" of neural network architectures, designed to emulate the brain's remarkable energy efficiency. By communicating via discrete binary pulses, or spikes, SNNs can operate on specialized neuromorphic hardware using simple accumulation (AC) operations rather than the power-intensive multiply-accumulate (MAC) operations required by traditional Artificial Neural Networks (ANNs).
Despite their potential for low-power edge computing, SNNs have historically struggled with generative tasks. Previous attempts, such as Spiking Generative Adversarial Networks (S-GANs) and Spiking Variational Autoencoders (S-VAEs), often resulted in low-quality, blurry outputs. Conversely, Denoising Diffusion Probabilistic Models (DDPMs) have set new benchmarks for high-fidelity image synthesis but are computationally demanding. This paper introduces SDDPM (Spiking Denoising Diffusion Probabilistic Models), the first framework to successfully integrate the generative prowess of diffusion models with the energy efficiency of SNNs.
Methodology
To bridge the gap between continuous diffusion processes and discrete spiking dynamics, the authors developed several architectural and algorithmic innovations centered around a purely spiking backbone.
Purely Spiking U-Net
Unlike prior "hybrid" attempts that rely on ANN layers for critical processing, SDDPM utilizes a purely spiking U-Net. A key challenge in SNN design is normalization; standard Group Normalization often leads to distribution mismatches. The authors found that Batch Normalization (BN) effectively captures spatial features within the spiking domain, providing more stable training and better feature representation.
Pre-spike Residual Learning
In standard SNNs, the addition of two spike streams can result in non-binary values, leading to numerical overflow and gradient instability. SDDPM employs a "pre-spike" residual structure. In this configuration, residual connections and layer outputs are summed using floating-point addition before entering the next spiking neuron. This ensures accurate feature transmission while maintaining the overall spiking nature of the network.
Threshold Guidance (TG)
The authors introduced a novel, training-free inference strategy called Threshold Guidance. By slightly adjusting the firing threshold ($V_{th}$) of neurons during the denoising process, the model can "steer" the generation. Lowering the threshold (inhibitory guidance) increases spike activity, which helps correct estimation errors in the noise network and significantly improves final image quality without requiring model retraining.
Experimental Results
The SDDPM was evaluated across several benchmarks, including MNIST, Fashion-MNIST, CIFAR-10, CelebA, and LSUN Bedroom.
Generative Performance
On the CIFAR-10 dataset, SDDPM achieved a Fréchet Inception Distance (FID) of 17.27. This represents a staggering 12x improvement over previous state-of-the-art SNN generative models like FSVAE and SGAD. Remarkably, the SDDPM even outperformed the ANN-based DDPM baseline (FID 19.04) in certain tests, suggesting that the inherent sparsity and noise of SNNs may actually provide a beneficial inductive bias for the diffusion process.
Energy Efficiency
The primary advantage of the spiking approach is its computational economy. By replacing MAC operations with AC operations, SDDPM reduces energy consumption by approximately 62.5% compared to equivalent ANN models. Specifically, the model consumes only 10.97 mJ per sample, compared to 29.23 mJ for the ANN counterpart. Furthermore, SDDPM achieves these results using as few as 4 spiking time steps, a significant reduction compared to the high latency often associated with SNNs.
Discussion and Future Work
SDDPM demonstrates that high-quality generative modeling is possible within the constraints of spiking neural networks. The discovery that the spike threshold can serve as a guidance mechanism at inference time provides a new lever for controlling SNN behavior.
However, challenges remain. While the model scales to 64x64 images (CelebA), its performance on high-resolution datasets like ImageNet (256x256) has yet to be explored. Additionally, while the SNN backbone is efficient, the iterative nature of diffusion still requires many denoising steps. Future research may focus on integrating faster sampling methods, such as DDIM or consistency models, and deploying these models on physical neuromorphic hardware like Intel’s Loihi to validate real-world power savings.
Summary updated