Exploiting Spiking Dynamics with Spatial-temporal Feature Normalization in Graph Learning

Mingkun Xu, Yujie Wu, Lei Deng, Faqiang Liu, Guoqi Li, Jing Pei

Abstract

Graph Spiking Neural Networks (Graph SNNs) offer a promising path toward energy-efficient graph learning by leveraging bio-inspired asynchronous dynamics. However, bridging the gap between non-Euclidean graph structures and temporal spiking processes remains challenging. This paper introduces a general Graph SNN framework featuring a novel Spatial-Temporal Feature Normalization (STFN) technique. STFN addresses training instabilities by normalizing neuron membrane potentials across both feature and temporal dimensions. Our evaluations on standard citation benchmarks show that Graph SNNs achieve performance parity with state-of-the-art Graph Neural Networks (GNNs) while reducing computational overhead by up to 53x through sparse, addition-based operations.

Introduction

While Spiking Neural Networks (SNNs) have demonstrated significant energy efficiency in processing Euclidean data like images, their application to non-Euclidean graph data—such as social networks or citation webs—has been hindered by two primary obstacles. First, standard graph convolutions do not naturally align with the iterative, time-dependent nature of spiking neurons. Second, the discrete, binary nature of spikes makes SNNs notoriously difficult to train. Traditional normalization methods, such as Batch Normalization, often fail to account for the unique temporal dynamics of a neuron's membrane potential within a graph context.

Methods: The Graph SNN Framework

The proposed framework unfolds data flows across both spatial (graph neighbors) and temporal (time steps) dimensions. By adapting the Leaky Integrate-and-Fire (LIF) neuron model to graph operations, the model allows spiking dynamics to evolve over $T$ time steps.

The Graph SNN framework illustrating spatial-temporal propagation and update steps.

Spatial-Temporal Feature Normalization (STFN)

The core innovation, STFN, normalizes the membrane potential of neurons across the feature and temporal dimensions. This ensures the data distribution remains compatible with the neuron's firing threshold, preventing issues where neurons either never fire or fire constantly. This stabilization significantly accelerates model convergence and improves final accuracy.

Key Results and Discussion

The framework was instantiated as spiking versions of popular models: GC-SNN (based on GCN) and GA-SNN (based on GAT). Evaluations on the Cora, Citeseer, and Pubmed datasets revealed several key insights.

Efficiency and Sparsity

A major advantage of Graph SNNs is the transition from heavy matrix multiplications to simple additions. Because messages are binary spikes (0 or 1), feature transformations on specialized neuromorphic hardware become extremely efficient. Furthermore, the average firing rate in deep layers often remains low, indicating extreme sparsity.

Performance analysis: (a) Accuracy vs. time window; (b) Firing rate convergence; (c) Operation count comparison.

Competitive Accuracy

As shown in the results, GC-SNN and GA-SNN achieve accuracies within 1-2% of their non-spiking counterparts. For instance, on the Cora dataset, GC-SNN reached 80.7% accuracy compared to GCN's 81.5%. Notably, the models maintain high performance even with short time windows, making them suitable for latency-sensitive applications. The reduction in total operations is substantial, with Graph SNNs requiring 39x to 53x fewer operations than traditional GNNs for 3-layer architectures.

Conclusion

This work successfully integrates spiking dynamics into graph learning through the STFN technique and a unified spatial-temporal framework. While the theoretical gains in operation counts are massive, full energy benefits depend on the availability of specialized neuromorphic hardware. Future research will focus on extending this framework to more complex graph tasks like link prediction and optimizing the encoding of static features into spike trains.

Summary updated

BibTeX
@inproceedings{xu2021exploiting,
  author = {Mingkun Xu and Yujie Wu and Lei Deng and Faqiang Liu and Guoqi Li and Jing Pei},
  title = {{Exploiting Spiking Dynamics with Spatial-temporal Feature Normalization in Graph Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/441},
}
Figure