Generating Causal Temporal Interaction Graphs for Counterfactual Validation of Temporal Link Prediction
Aniq Ur Rahman, Justin P. Coon
TL;DR
The paper tackles the problem that temporal link prediction models are usually evaluated only on predictive accuracy, not on whether they capture the causal dynamics of temporal interactions. It introduces a structural equation model for continuous-time event sequences with excitatory and inhibitory effects and extends this to causal temporal interaction graphs CTIGs with known ground truth. A cross-model predictive-error distance $\bar{d}_{A,B}$ is defined to quantify causal distance between generating models, enabling counterfactual evaluation under controlled causal shifts and timestamp distortions. Empirical results show that the TGN model is causally sensitive under these tests while JODIE is not, highlighting the value of causality-aware benchmarking for TLP and providing a framework that can be extended to other domains.
Abstract
Temporal link prediction (TLP) models are commonly evaluated based on predictive accuracy, yet such evaluations do not assess whether these models capture the causal mechanisms that govern temporal interactions. In this work, we propose a framework for counterfactual validation of TLP models by generating causal temporal interaction graphs (CTIGs) with known ground-truth causal structure. We first introduce a structural equation model for continuous-time event sequences that supports both excitatory and inhibitory effects, and then extend this mechanism to temporal interaction graphs. To compare causal models, we propose a distance metric based on cross-model predictive error, and empirically validate the hypothesis that predictors trained on one causal model degrade when evaluated on sufficiently distant models. Finally, we instantiate counterfactual evaluation under (i) controlled causal shifts between generating models and (ii) timestamp shuffling as a stochastic distortion with measurable causal distance. Our framework provides a foundation for causality-aware benchmarking.
