NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TDSNNs: Competitive Topographic Deep Spiking Neural Networks for Visual Cortex Modeling

Deming Zhou, Yuetong Fang, Zhaorui Wang, Renjing Xu

TL;DR

This paper introduces Topographic Deep Spiking Neural Networks (TDSNNs), a novel framework that successfully mimics the spatial and temporal organization of the primate visual cortex. By leveraging the inherent temporal dynamics of spiking neural networks and a new Spatio-Temporal Constraints (STC) loss function, the authors achieve biological fidelity without the severe performance degradation that typically plagues topographic artificial neural networks.

What Problem Does This Paper Address?

In the primate visual cortex, neurons are organized topographically: neurons that perform similar functions (like detecting a specific orientation or color) cluster together spatially. While deep Artificial Neural Networks (ANNs) can be forced to develop these topographic maps, doing so usually comes at a steep cost to their accuracy on tasks like object recognition.

The authors argue that this performance drop happens because standard ANNs lack realistic temporal dynamics. The biological brain processes information over time using discrete spikes, a feature missing from standard feedforward ANNs. This paper addresses the challenge of building deep, high-performing vision models that preserve both spatial topographic organization and biological temporal processing across the entire visual hierarchy (from V1 to the inferior temporal cortex).

Methods

The authors propose Topographic Deep Spiking Neural Networks (TDSNNs). Instead of continuous activations, these networks use Leaky Integrate-and-Fire (LIF) neurons that communicate via discrete spikes over multiple simulation timesteps.

The core methodology consists of three main steps:

  1. Virtual Physical Mapping: Neurons in each SNN layer are embedded into a virtual 2D physical space (a "cortical sheet").
  2. Neuronal Positions Pre-optimization: Before main training, neuron positions are stochastically swapped based on their responses to sine grating stimuli to establish a baseline functional proximity.
  3. Spatio-Temporal Constraints (STC) Loss: The network is trained end-to-end using a novel loss function that combines a standard task loss (like cross-entropy) with the STC loss. As shown in the training pipeline overview, the STC loss enforces two constraints simultaneously:
  4. Long-timescale constraints: Minimizes the distance between neurons with correlated average firing rates.
  5. Short-timescale constraints: Minimizes the distance between neurons that fire synchronously on a millisecond scale, calculated using a normalized spike train cross-correlogram.
Overview of the TDSNN training pipeline and the Spatio-Temporal Constraints (STC) loss function.

The entire architecture is optimized using Back-propagation Through Time (BPTT) with surrogate gradients to handle the non-differentiable nature of spikes.

Datasets

The models were trained and evaluated on several prominent datasets:

  • ImageNet & CIFAR-100: Used to evaluate standard object recognition performance and accuracy degradation.
  • fLoc dataset: A functional localization dataset used to test category selectivity (e.g., responses to faces, bodies, characters, places, and objects).
  • Big-small & Origin-Texform: Stimulus datasets used to further characterize deep-layer selectivity profiles.

Key Insights and Ideas

  • Time Heals the Performance Trade-off: The most significant insight is that temporal dynamics act as a regularizer or buffer. In ANNs, forcing spatial clustering restricts representation capacity and harms accuracy. In SNNs, the extra dimension of time (spike timing and synchrony) allows the network to maintain high performance while satisfying spatial constraints.
  • Topography Reshapes Information Flow: Introducing topography fundamentally alters how information capacity (Shannon entropy) and parameter importance (Fisher Information) change over time. It creates a dynamic hierarchy: early layers preserve raw signal fidelity, intermediate layers (V4) amplify discriminative features, and deep layers (IT) stabilize into noise-resistant encodings.
  • Emergent Biological Structures: Without hardcoding, the combination of STC loss and task training naturally replicates biological phenomena like "pinwheel" orientation maps in early layers and spatially segregated category "continents" (e.g., face patches vs. place patches) in deeper layers.

Key Results

  • Zero Accuracy Degradation: Unlike previous state-of-the-art topographic ANNs like TopoNet (which suffers a 3% top-1 accuracy drop on ImageNet), TSResNet18 showed no performance drop compared to its non-topographic SNN baseline. On CIFAR-100, accuracy actually improved slightly with topographic constraints.
Comparison of Top-1 accuracy drop on ImageNet and performance across varying topographic strengths on CIFAR-100.
  • Superior Brain-Likeness: Evaluated on the Brain-Score benchmark, TDSNNs outperformed topographic ANNs in matching neural data from areas V2, V4, and IT, proving that temporal spiking mechanisms are crucial for biological fidelity.
  • Biologically Realistic Maps: The models successfully generated smooth transitions for orientation, spatial frequency, and color preferences in early layers, matching real cortical observations.
Analysis of V1-like topography, showing preference maps and smoothness metrics for orientation, spatial frequency, and color.
  • Enhanced Robustness: TDSNNs demonstrated superior resilience against adversarial attacks (FGSM, PGD) and input corruptions (Gaussian noise, pixel masking) compared to non-topographic networks.

Limitations and Future Work

While promising, the authors note several limitations:

  • Model Complexity: The networks use simple LIF neurons. Incorporating more complex, biologically accurate models like Hodgkin-Huxley (HH) could improve fidelity but would drastically increase computational costs.
  • Connectivity Constraints: The current implementation focuses primarily on feedforward and localized lateral connections, omitting the long-range feedback connections prevalent in actual brains.
  • Scalability: Due to the high computational complexity of training SNNs with BPTT, the study was limited to relatively small architectures (ResNet18, Cornet, Spikformer) and short temporal windows. Scaling to larger foundation models remains an open challenge.

Summary updated

BibTeX
@inproceedings{zhou2026tdsnns,
  author = {Deming Zhou and Yuetong Fang and Zhaorui Wang and Renjing Xu},
  title = {{TDSNNs: Competitive Topographic Deep Spiking Neural Networks for Visual Cortex Modeling}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i3.37208},
}
Figure