SIG: Efficient Self-Interpretable Graph Neural Network for Continuous-time Dynamic Graphs

Lanting Fang, Yulian Yang, Kai Wang, Shanshan Feng, Kaiyu Feng, Jie Gui, Shuliang Wang, Yew-Soon Ong · DOI

Introduction

Graph Neural Networks (GNNs) have demonstrated remarkable performance in modeling complex relational data. However, their "black-box" nature poses significant challenges in high-stakes domains such as finance and healthcare, where transparency is paramount. This issue is particularly acute in Continuous-Time Dynamic Graphs (CTDGs), where the rapid evolution of nodes and edges makes traditional post-hoc explanation methods computationally prohibitive. Furthermore, models often exploit "shortcut features"—spurious correlations that do not generalize to out-of-distribution (OOD) data.

Methodology: The SIG Framework

To address these challenges, we introduce SIG, a self-interpretable GNN designed for CTDGs. Unlike post-hoc methods, SIG is transparent by design, generating causal subgraphs as a direct byproduct of the prediction process.

The SIG architecture featuring causal subgraph extraction and confounder generation.

The core of SIG is the Independent and Confounded Causal Model (ICCM). The framework employs dual causal extractors to isolate the most influential temporal (timing-based) and structural (connectivity-based) subgraphs. To ensure robustness against shortcut features, SIG utilizes causal interventions (do-calculus) to mitigate the influence of hidden confounders. Since these confounders are typically unobservable, SIG employs deep clustering (VaDE) to approximate a confounder dictionary. Efficiency is maintained through the Normalized Weighted Geometric Mean (NWGM) approximation, allowing for real-time causal inference without the overhead of extensive sampling.

Experimental Evaluation

SIG was evaluated across five real-world datasets: Wikipedia, Reddit, MOOC, LastFM, and Stack Exchange (SX). The model's performance was compared against state-of-the-art dynamic GNNs, including TGN and TGAT.

Performance comparison of SIG against state-of-the-art dynamic GNNs across five datasets.

Key Results

  • Predictive Accuracy: SIG consistently outperformed all baselines, achieving near-perfect Average Precision (AP) scores, such as 99.99% on the Reddit dataset.
  • Interpretability and Fidelity: The causal subgraphs extracted by SIG demonstrated a 17.10% improvement in fidelity over existing explainers, indicating that the identified subgraphs are highly relevant to the model's predictions.
  • Computational Efficiency: SIG operates in milliseconds, whereas post-hoc explainers like TGExp often require hours to process similar datasets.
  • OOD Resilience: On synthetic OOD versions of the datasets, SIG maintained high performance, outperforming the best baseline on LastFM OOD by approximately 8% AP, proving it is not easily misled by spurious correlations.

Conclusion

SIG represents a significant advancement in the field of dynamic graph learning by reconciling high predictive accuracy with real-time self-interpretability. By explicitly modeling causal relationships and mitigating confounding factors, SIG provides a robust and efficient solution for real-world applications. Future research will explore extending this framework to node classification and anomaly detection tasks in dynamic environments.

Summary updated

BibTeX
@misc{fang2024sig,
  author = {Lanting Fang and Yulian Yang and Kai Wang and Shanshan Feng and Kaiyu Feng and Jie Gui and Shuliang Wang and Yew-Soon Ong},
  title = {{SIG: Efficient Self-Interpretable Graph Neural Network for Continuous-time Dynamic Graphs}},
  year = {2024},
  eprint = {2405.19062},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.19062},
}
Figure