Abstract
Lateral connection is a fundamental feature of biological neural circuits, facilitating local information processing and adaptive learning. In this work, we integrate lateral connections with a substructure selection network to develop a novel diffusion model based on spiking neural networks (SNNs). Unlike conventional artificial neural networks, SNNs employ an intrinsic spiking inner loop to process sequential binary spikes. We leverage this spiking inner loop alongside a lateral connection mechanism to iteratively refine the substructure selection network, enhancing model adaptability and expressivity. Specifically, we design a lateral connection framework comprising a learnable lateral matrix and a lateral mapping function, both implemented using spiking neurons, to dynamically update lateral connections. Through mathematical modeling, we establish that the proposed lateral update mechanism, under a well-defined local objective, aligns with biologically plausible synaptic plasticity principles. Extensive experiments validate the effectiveness of our approach, analyzing the role of substructure selection and lateral connection during training. Furthermore, quantitative comparisons demonstrate that our model consistently surpasses state-of-the-art SNN-based generative models across multiple benchmark datasets.
Introduction
Diffusion models have revolutionized generative modeling, yet their reliance on continuous-valued Artificial Neural Networks (ANNs) incurs significant computational costs. Spiking Neural Networks (SNNs) offer a brain-inspired, energy-efficient alternative by utilizing discrete binary spikes. However, SNNs traditionally struggle with optimization due to non-differentiable spiking functions and often lack the expressivity required to capture complex image distributions without excessive spiking time steps.
This research addresses these challenges by introducing a biologically inspired lateral selection mechanism. By allowing neurons to influence their neighbors through local connections, the model can dynamically refine its internal state during the denoising process, mimicking the adaptive information processing found in biological neural circuits.
Methods: Adaptive Lateral Selection
The proposed architecture utilizes a Spiking Transformer backbone enhanced by an Adaptive Lateral Selection Mechanism. This mechanism operates through a nested loop structure: an "outer loop" corresponding to standard diffusion denoising steps ($t_d$) and a "spiking inner loop" ($t_s$) that governs the temporal dynamics of the SNN.
Within each layer $r$, the model employs a learnable lateral matrix and a mapping function $\Omega$ to update lateral connections. Instead of a static computation path, the lateral mechanism dynamically selects "expert" subnetworks (substructures) based on current spiking activity. This dynamic routing allows the model to adapt its computational resources to the specific noise level of the current diffusion step. Crucially, the authors mathematically demonstrate that this update rule aligns with Spike-Timing-Dependent Plasticity (STDP), providing a strong biological foundation for the model's learning process.
Key Results and Evaluation
The model was evaluated on standard benchmarks including MNIST, CIFAR-10, CelebA, and LSUN Bedroom. Quantitative results show that the proposed approach consistently achieves superior image quality with higher efficiency than previous SNN-based models.
On the CIFAR-10 dataset, the model achieved a Fréchet Inception Distance (FID) of 12.81, a marked improvement over the previous state-of-the-art SNN diffusion model (SDDPM, FID 16.98). Similarly, on CelebA, it reached an FID of 19.35 while requiring only half the spiking time steps of its predecessors. As illustrated in the performance comparison, the model occupies the ideal "sweet spot" of low FID (high fidelity) and low spiking time steps (high efficiency), typically requiring only 2 to 4 steps to produce high-quality results.
Conclusion
By integrating lateral connections and dynamic substructure selection, this work bridges the gap between the efficiency of neuromorphic computing and the generative power of diffusion models. The alignment with biological STDP principles suggests that such mechanisms are not only computationally effective but also biologically plausible. Future research will focus on scaling these models to higher resolutions and evaluating their performance on dedicated neuromorphic hardware to fully realize their energy-saving potential.
Summary updated