Biologically inspired spiking diffusion model with adaptive lateral selection mechanism

Linghao Feng, Dongcheng Zhao, Sicheng Shen, Yi Zeng

TL;DR

This paper introduces a novel spiking diffusion model that integrates biologically inspired lateral connections with a dynamic substructure selection network. By leveraging the intrinsic temporal "inner loop" of Spiking Neural Networks (SNNs), the model adaptively refines its architecture during image generation, achieving state-of-the-art generative quality with unprecedentedly few spiking time steps.

What Problem Does This Paper Address?

Spiking Neural Networks (SNNs) are highly attractive for energy-efficient AI because they mimic the human brain's event-driven, sparse communication using discrete binary spikes (0 or 1). However, training SNNs is notoriously difficult due to the non-differentiable nature of these step-function spikes, which breaks standard backpropagation.

While surrogate gradient methods have recently allowed SNNs to expand into complex tasks, SNN-based generative models—especially diffusion models—still struggle to match the image quality of conventional Artificial Neural Networks (ANNs) without requiring a massive, computationally expensive number of temporal simulation steps. The authors identify a key missing ingredient: biological brains don't just pass information forward; they rely heavily on lateral connections within neural circuits to dynamically process local information and adaptively learn.

Methods

The authors propose a spiking diffusion framework built on a spiking-form Transformer architecture. The core innovation lies in how the model handles its two nested cycles:

  1. The Outer Loop: The standard reverse diffusion denoising process ($t_d$).
  2. The Inner Loop: The sequential spiking dynamics of Leaky Integrate-and-Fire (LIF) neurons ($t_s$).

Within the inner loop, the model features a substructure selection module (conceptually similar to a Mixture of Experts paradigm). Instead of using a fixed routing path, it employs a lateral connection framework consisting of a learnable lateral aggregation matrix ($\Lambda_{agg}$) and a lateral mapping function ($\Omega_r$).

Overview of the proposed lateral connection spiking diffusion framework.

As spikes pass through the network, these lateral connections dynamically adjust the selection logits, iteratively correcting and refining which subnetworks are activated. Crucially, the authors provide a mathematical proof demonstrating that optimizing these lateral parameters via surrogate gradients under a local objective function closely approximates Spike-Timing-Dependent Plasticity (STDP)—the fundamental biological learning rule often summarized as "neurons that fire together, wire together."

Schematic diagram of variable interactions during the lateral connection update process.

Datasets

The model was evaluated on several standard generative benchmarks:

  • MNIST & FashionMNIST (28x28 grayscale images)
  • CIFAR-10 (32x32 color images)
  • CelebA (64x64 face images)
  • LSUN Bedroom (64x64 interior images)

No new datasets were introduced, allowing for direct comparison against existing SNN baselines.

Key Insights and Ideas

  • The Power of the Inner Loop: Instead of treating SNN time steps as a burden, this method exploits them to iteratively "think" and refine structural routing within a single diffusion step.
  • Emergent Biological Plausibility: Showing that standard gradient-based optimization naturally yields an STDP-like mechanism bridges the gap between practical deep learning optimization and biological theory.
  • Dynamic Denoising Strategies: Visualization of the selection probabilities revealed that the model autonomously changes its subnetwork routing depending on the diffusion time step. It uses different structural combinations for early-stage coarse denoising versus late-stage detail refinement.
Visualization of subnetwork selection probabilities showing dynamic adaptation across different layers and diffusion time steps.

Key Results

The proposed model consistently outperformed state-of-the-art SNN generative models (including FSVAE, SGAD, SDDPM, and SDiT) in both image quality—measured by Fréchet Inception Distance (FID)—and computational efficiency.

  • CIFAR-10: Achieved a top FID score of 12.81 using only 4 time steps, significantly beating the previous best SNN Transformer (SDiT at 22.17).
  • CelebA: Achieved an FID of 19.35 using just 2 time steps, compared to SDDPM which required 4 steps to achieve an FID of 25.09.
Comparison of FID vs. Spiking Time Steps on CIFAR-10, demonstrating superior efficiency and quality.

Qualitatively, the reverse denoising process yields highly coherent, crisp images across all tested datasets:

Denoising process over time across multiple benchmark datasets.

Limitations and Future Work

While the model achieves remarkable efficiency gains, the authors note a critical trade-off regarding where to position the substructure selection modules. Incorporating them across all layers yields the best performance but increases computational overhead. Restricting them only to shallow layers (the "head") maintains strong performance while cutting costs, but finding the optimal balance remains a manual engineering task. Additionally, the authors observed a risk of performance degradation due to overfitting if training continues past the optimal transition point between the lateral connection growth and overtraining phases.

Future work will focus on exploring deeper hierarchical substructure selection and expanding these biologically inspired mechanisms to broader neuromorphic computing applications.

Summary updated

BibTeX
@article{feng2026biologically,
  author = {Linghao Feng and Dongcheng Zhao and Sicheng Shen and Yi Zeng},
  title = {{Biologically inspired spiking diffusion model with adaptive lateral selection mechanism}},
  journal = {Neural Networks},
  year = {2026},
  doi = {10.1016/j.neunet.2026.109045},
}
Figure