Spiking Diffusion Models
Jiahang Cao, Hanzhong Guo, Ziqing Wang, Deming Zhou, Hao Cheng, Qiang Zhang, Renjing Xu
TL;DR
This work introduces Spiking Diffusion Models (SDMs), a family of SNN-based generators that achieve high-quality image synthesis with substantially reduced energy consumption. Key innovations include the Temporal-wise Spiking Mechanism, which enables time-adaptive membrane dynamics, and a training-free Threshold Guidance that improves sampling without extra training. The authors demonstrate strong results across CIFAR-10, CelebA, and LSUN-bedroom, with energy savings relative to ANN baselines and competitive performance versus direct-training ANN-Diffusion models; they also explore ANN-SNN conversion to extend applicability. Overall, SDMs advance energy-efficient generative modeling by leveraging neuromorphic principles while maintaining or surpassing prior SNN approaches in image quality, and they open avenues for low-latency, low-power generation on neuromorphic hardware.
Abstract
Recent years have witnessed Spiking Neural Networks (SNNs) gaining attention for their ultra-low energy consumption and high biological plausibility compared with traditional Artificial Neural Networks (ANNs). Despite their distinguished properties, the application of SNNs in the computationally intensive field of image generation is still under exploration. In this paper, we propose the Spiking Diffusion Models (SDMs), an innovative family of SNN-based generative models that excel in producing high-quality samples with significantly reduced energy consumption. In particular, we propose a Temporal-wise Spiking Mechanism (TSM) that allows SNNs to capture more temporal features from a bio-plasticity perspective. In addition, we propose a threshold-guided strategy that can further improve the performances by up to 16.7% without any additional training. We also make the first attempt to use the ANN-SNN approach for SNN-based generation tasks. Extensive experimental results reveal that our approach not only exhibits comparable performance to its ANN counterpart with few spiking time steps, but also outperforms previous SNN-based generative models by a large margin. Moreover, we also demonstrate the high-quality generation ability of SDM on large-scale datasets, e.g., LSUN bedroom. This development marks a pivotal advancement in the capabilities of SNN-based generation, paving the way for future research avenues to realize low-energy and low-latency generative applications. Our code is available at https://github.com/AndyCao1125/SDM.
