EasyDGL: Encode, Train and Interpret for Continuous-time Dynamic Graph Learning
Chao Chen, Haoyu Geng, Nianzu Yang, Xiaokang Yang, Junchi Yan
TL;DR
This work presents EasyDGL, a unified pipeline for continuous-time dynamic graph learning with three modules: encoding, training, and interpreting. It introduces a TPP-modulated Attention-Intensity-Attention encoder that captures entangled spatiotemporal dynamics, a principled training scheme combining TPP posterior maximization ($TPPLE$) with Correlation-adjusted Masking ($CaM$) to support multiple tasks, and a scalable spectral interpretation framework based on an orthogonalized graph Laplacian decomposition and spectral perturbations. The approach yields strong empirical gains across dynamic link prediction, dynamic node classification, and node traffic forecasting, and provides model-level insights into the role of frequency content in predictions. By enabling global spectral explanations and efficient computation on large graphs, EasyDGL offers both improved accuracy and interpretable understanding of continuous-time dynamic graphs with edge-addition events.
Abstract
Dynamic graphs arise in various real-world applications, and it is often welcomed to model the dynamics directly in continuous time domain for its flexibility. This paper aims to design an easy-to-use pipeline (termed as EasyDGL which is also due to its implementation by DGL toolkit) composed of three key modules with both strong fitting ability and interpretability. Specifically the proposed pipeline which involves encoding, training and interpreting: i) a temporal point process (TPP) modulated attention architecture to endow the continuous-time resolution with the coupled spatiotemporal dynamics of the observed graph with edge-addition events; ii) a principled loss composed of task-agnostic TPP posterior maximization based on observed events on the graph, and a task-aware loss with a masking strategy over dynamic graph, where the covered tasks include dynamic link prediction, dynamic node classification and node traffic forecasting; iii) interpretation of the model outputs (e.g., representations and predictions) with scalable perturbation-based quantitative analysis in the graph Fourier domain, which could more comprehensively reflect the behavior of the learned model. Extensive experimental results on public benchmarks show the superior performance of our EasyDGL for time-conditioned predictive tasks, and in particular demonstrate that EasyDGL can effectively quantify the predictive power of frequency content that a model learn from the evolving graph data.
