Dynamic Spiking Graph Neural Networks

Nan Yin, Mengzhu Wang, Zhenghan Chen, Giulia De Masi, Bin Gu, Huan Xiong · OpenReview

Abstract

The integration of Spiking Neural Networks (SNNs) and Graph Neural Networks (GNNs) is gradually attracting attention due to the low power consumption and high efficiency in processing the non-Euclidean data represented by graphs. However, as a common problem, dynamic graph representation learning faces challenges such as high complexity and large memory overheads. Current work often uses SNNs instead of Recurrent Neural Networks (RNNs) by using binary features instead of continuous ones for efficient training, which overlooks graph structure information and leads to the loss of details during propagation. Additionally, optimizing dynamic spiking models typically requires propagation of information across time steps, which increases memory requirements. To address these challenges, we present a framework named Dynamic Spiking Graph Neural Networks (Dy-SIGN). To mitigate the information loss problem, Dy-SIGN propagates early-layer information directly to the last layer for information compensation. To accommodate the memory requirements, we apply implicit differentiation on the equilibrium state, which does not rely on the exact reverse of the forward computation. While traditional implicit differentiation methods are usually used for static situations, Dy-SIGN extends it to the dynamic graph setting. Extensive experiments on three large-scale real-world dynamic graph datasets validate the effectiveness of Dy-SIGN on dynamic node classification tasks with lower computational costs.

Introduction

Graph Neural Networks (GNNs) are the gold standard for analyzing data with complex relationships, such as social networks or molecular structures. However, most real-world graphs are dynamic, evolving over time. Modeling these changes usually requires Recurrent Neural Networks (RNNs), which are notoriously power-hungry and memory-intensive.

Spiking Neural Networks (SNNs) offer a bio-inspired alternative, communicating using discrete binary "spikes" rather than continuous numbers. This makes them incredibly efficient on specialized hardware. However, applying SNNs to dynamic graphs presents two major hurdles: information loss from binary discretization and a "memory explosion" during training due to the need for Backpropagation Through Time (BPTT). Dy-SIGN is designed to overcome these limitations.

Methodology

The Dy-SIGN framework introduces three key innovations to enable efficient dynamic graph learning:

  • Information Compensation: To combat the "lossiness" of binary spikes, the framework creates a direct information channel from shallow layers (holding raw input details) to the final embedding layer. This ensures that vital structural context is preserved even if details are blurred during the spiking process.
  • Implicit Differentiation on Equilibrium States: Instead of tracking every step of neural dynamics via standard BPTT, Dy-SIGN treats the network as seeking a "fixed point" or equilibrium. By differentiating at this equilibrium state, the model can be trained without storing all intermediate activations, leading to massive memory savings.
  • Temporal State Propagation: To handle temporal dynamics, the model propagates the equilibrium state from time $t$ to $t+1$. This allows the model to capture long-term temporal dependencies efficiently without restarting the computation at each time step.
Architecture of the Dy-SIGN framework showing information compensation and temporal state propagation.

Experimental Setup

The authors evaluated Dy-SIGN on three large-scale, real-world dynamic graph datasets:

  • DBLP: An academic co-author graph (28k nodes, 236k edges).
  • Tmall: A bipartite e-commerce graph of user-item interactions (577k nodes, 4.8M edges).
  • Patent: A massive citation network of U.S. patents (2.7M nodes, 13.9M edges).

Results and Discussion

Dy-SIGN achieved competitive or superior Macro-F1 and Micro-F1 scores compared to traditional "heavyweight" models like TGAT, JODIE, and EvolveGCN. On the massive Patent dataset, several baseline dynamic models failed to run due to high computational complexity, whereas Dy-SIGN handled it with ease.

The most striking finding is the efficiency gain. In DBLP tests, Dy-SIGN used approximately 50% less memory than SpikeNet, the previous state-of-the-art spiking graph model. Furthermore, Dy-SIGN showed faster training times per epoch compared to non-spiking GNNs, thanks to the simplicity of binary accumulation operations versus dense matrix multiplications.

Efficiency and sensitivity analysis: (a) Memory consumption, (b) Training time, and (c) Sensitivity analysis.

Conclusion

Dy-SIGN demonstrates that binary signals, when paired with proper compensation and implicit modeling, can represent complex structural evolution with high accuracy and significantly lower resource requirements. While this study focused on node classification, future work will explore link prediction and graph-level tasks, as well as deployment on specialized neuromorphic hardware to measure actual on-chip power savings.

Summary updated

BibTeX
@inproceedings{yin2024dynamic,
  author = {Nan Yin and Mengzhu Wang and Zhenghan Chen and Giulia De Masi and Bin Gu and Huan Xiong},
  title = {{Dynamic Spiking Graph Neural Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i15.29587},
}
Figure