Degree-Conscious Spiking Graph for Cross-Domain Adaptation

Yingxu Wang, Mengzhu Wang, houcheng su, Nan Yin, Quanming Yao, James Kwok · Submission to ICLR 2026 · Rejected

TL;DR

DeSGraDA introduces the first dedicated framework and generalization bounds for Spiking Graph Domain Adaptation (SGDA). By dynamically tuning spike thresholds according to node degrees, adversarially aligning temporal membrane potentials across domains, and distilling reliable pseudo-labels, it closes distribution gaps in graph classification while retaining the extreme energy efficiency of neuromorphic computing.

What Problem Does This Paper Address?

Spiking Graph Networks (SGNs) blend Graph Neural Networks (GNNs) with Spiking Neural Networks (SNNs), offering event-driven, bio-inspired computation where binary spikes replace expensive floating-point matrix multiplications with additions. This makes them ideal for edge deployments like wearable brain–computer interfaces (BCIs) and sensor networks.

However, existing SGNs operate under a closed-world assumption: training and testing graphs must come from identical distributions. In real-world applications, graph topologies and feature distributions constantly shift. Standard graph domain adaptation (GDA) techniques cannot be directly plugged into SGNs because:

  1. Rigid Firing Thresholds: SGNs typically share a single global firing threshold. High-degree nodes over-accumulate signals and over-activate (distorting representations), while low-degree nodes under-activate (dropping key topological signals).
  2. Temporal Dynamics: SGN representations are non-differentiable, sparse spike trains that unfold across time latency steps. Standard GDA assumes static, continuous embeddings and fails to align these temporal membrane dynamics.
  3. Lack of Theory: There has been no formal theoretical framework bounding generalization error for spiking graphs under domain shift.

Methods

DeSGraDA (Degree-Conscious Spiking Graph for Cross-Domain Adaptation) addresses these issues via three core components:

  • Degree-Conscious Spiking Representation: Instead of a single static threshold, each node’s firing threshold $V_{th}^{d}$ dynamically updates based on its degree $d$ and historical firing frequency. High-degree nodes receive higher firing thresholds to prevent saturation, while low-degree nodes receive lower thresholds to preserve weak signals.
  • Temporal Distribution Alignment: To handle the temporal nature of SNNs without breaking differentiability, the model pools membrane potentials across all time steps ($T$) using a temporal self-attention mechanism. A domain discriminator $Q$ is adversarially trained on these continuous, attention-weighted temporal states to align source and target representations.
  • Pseudo-Label Distillation: To leverage unlabeled target data, DeSGraDA clusters shallow-layer representations of target graphs and filters out inconsistent predictions between shallow and deep layers. Confident cluster-dominant pseudo-labels then guide target threshold updates and compute an unsupervised target classification loss $\mathcal{L}_T$.
  • Theoretical Generalization Bound: The authors derive the first generalization bound for SGDA, tying target risk to empirical source risk, a Wasserstein-1 divergence term $2C_f C_g W_1(\mathcal{P}_S, \mathcal{P}_T)$, discriminator discriminability $\omega$, and a Rademacher complexity term that captures overfitting risks stemming from structural degree fluctuations.

Datasets

The authors evaluated DeSGraDA on extensive domain adaptation benchmarks across two shift regimes:

  • Topology/Structure-Based Domain Shifts: Datasets partitioned into sub-domains by node count and edge density:
  • PROTEINS & DD: Biological protein-structure graphs categorized into enzyme vs. non-enzyme or structural classes (subdivided into splits P0–P3 and D0–D3).
  • SEED: 62-channel EEG emotion recognition data partitioned into sub-domains (S0, S1, S2) by edge density.
  • BCI: 22-channel motor imagery EEG data partitioned into sub-domains (B0, B1, B2) by edge density.
  • Feature/Semantic-Based Domain Shifts:
  • Molecular graphs: BZR, BZR_MD, COX2, and COX2_MD (where chemical modifications introduce distribution shifts while keeping classification labels intact).
  • Cross-dataset adaptation: PROTEINS $\to$ DD and DD $\to$ PROTEINS.

Key Insights and Ideas

  • Node Degree Directly Biases Firing Probability: Under message passing, if node features follow $\mathcal{N}(\mu, \sigma^2)$, the expected membrane potential scales with the neighbor weight sum $(1 + \sum_{j \in \mathcal{N}(i)} w_{ij})\mu$. High-degree nodes are mathematically biased toward over-spiking, acting as structural "noise amplifiers" unless compensated with degree-scaled thresholds.
  • Empirical Smoothing of Spiking Frequency: Correlation experiments showed that before adaptation, degree and spike count had a strong correlation ($r \approx 0.98$ on DD/PROTEINS). DeSGraDA drops this correlation significantly ($r \approx 0.045$), verifying that degree-adaptive thresholds prevent high-degree dominance.
  • Aligning States, Not Just Discrete Spikes: Because raw spikes are non-differentiable $0/1$ events, adversarial adaptation is much more effective when applied to attention-pooled continuous membrane potentials before thresholding.

Key Results

  • Classification Accuracy: DeSGraDA consistently beats standard GNNs (GCN, GIN, CIN), spiking backbones (SpikeGCN, DRSGNN), and graph adaptation baselines (DEAL, CoCo, A2GNN):
  • On PROTEINS (node-density shift average), DeSGraDA reaches 76.4% accuracy, outperforming the best GDA baseline CoCo (74.4%) and spiking baseline SpikeGCN (70.9%).
  • On DD (node-density shift average), DeSGraDA scores 70.1% vs. DEAL's 66.5% and SpikeGCN's 57.1%.
  • On SEED and BCI, DeSGraDA matches or exceeds all non-spiking GDA methods across all sub-splits (e.g., reaching 58.3% on SEED S2$\to$S0 and 56.2% on BCI B2$\to$B0).
  • Energy Consumption: In inference on neuromorphic chips (ROLLS), DeSGraDA requires $\approx 10^8$–$10^9$ pJ, whereas standard GNN/GDA baselines on an NVIDIA A100 GPU consume $\approx 10^{14}$–$10^{17}$ pJ—an energy reduction of roughly six orders of magnitude.
  • Divergence Reduction: Measured Wasserstein distances consistently decrease post-adaptation across all datasets (e.g., dropping from $0.0187$ to $0.0172$ on P0$\to$P2), validating the theoretical claim that temporal alignment tightens the generalization bound.

Limitations and Future Work

  • Large Shifts Required: The framework assumes noticeable distribution shift between domains; its gains over simpler SGN baselines may taper off under near-zero shift conditions.
  • Training Overhead: While inference is ultra-low-power, the training stage incurs computational overhead from adversarial minimax optimization and pseudo-label clustering on GPUs.
  • Hyperparameter Sensitivity: The model requires tuning latency steps $T$ and the initial degree threshold $V_{th}$, which vary across datasets (though $T=9$ and $V_{th}=0.2$ served as strong defaults).
  • Future Work: Extending DeSGraDA to source-free domain adaptation (where source data cannot be accessed due to privacy) and domain generalization (unseen target domains without test-time adaptation).

Summary updated

Abstract

Spiking Graph Networks (SGNs) have demonstrated significant potential in graph classification by emulating brain-inspired neural dynamics to achieve energy-efficient computation. However, existing SGNs are generally constrained to in-distribution scenarios and struggle with distribution shifts. In this paper, we first propose the domain adaptation problem in SGNs, and introduce a novel framework named Degree-Consicious Spiking Graph for Cross-Domain Adaptation (DeSGraDA). DeSGraDA enhances generalization across domains with three key components. First, we introduce the degree-conscious spiking representation module by adapting spike thresholds based on node degrees, enabling more expressive and structure-aware signal encoding. Then, we perform temporal distribution alignment by adversarially matching membrane potentials between domains, ensuring effective performance under domain shift while preserving energy efficiency. Additionally, we extract consistent predictions across two spaces to create reliable pseudo-labels, effectively leveraging unlabeled data to enhance graph classification performance. Furthermore, we establish the first generalization bound for SGDA, providing theoretical insights into its adaptation performance. Extensive experiments on benchmark datasets validate that DeSGraDA consistently outperforms state-of-the-art methods in both classification accuracy and energy efficiency.
BibTeX
@misc{wang2024degree,
  author = {Yingxu Wang and Mengzhu Wang and houcheng su and Nan Yin and Quanming Yao and James Kwok},
  title = {{Degree-Conscious Spiking Graph for Cross-Domain Adaptation}},
  year = {2024},
  eprint = {2410.06883},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.06883},
}
Figure