Who Should I Engage With at What Time? A Missing Event-Aware Temporal Graph Neural Network

Mingyi Liu, Zhiying Tu, Xiaofei Xu, Zhongjie WangIEEE TNNLS 2023

Abstract

Temporal graph neural network has recently received significant attention due to its wide application scenarios, such as bioinformatics, knowledge graphs, and social networks. There are some temporal graph neural networks that achieve remarkable results. However, these works focus on future event prediction and are performed under the assumption that all historical events are observable. In real-world applications, events are not always observable, and estimating event time is as important as predicting future events. In this paper, we propose MTGN, a missing event-aware temporal graph neural network, which uniformly models evolving graph structure and timing of events to support predicting what will happen in the future and when it will happen. MTGN models the dynamic of both observed and missing events as two coupled temporal point processes, thereby incorporating the effects of missing events into the network. Experimental results on several real-world temporal graphs demonstrate that MTGN significantly outperforms existing methods with up to 89% and 112% more accurate time and link prediction. Code can be found on https://github.com/HIT-ICES/TNNLS-MTGN.

Introduction: The Challenge of Incomplete Temporal Graphs

Temporal Graph Neural Networks (TGNNs) are the backbone of modern recommendation systems and social network analysis. Despite their success, most models operate under a "perfect world" assumption: they assume all historical interactions are recorded and focus primarily on predicting who will interact next, often treating the timing of these interactions as secondary.

In reality, data is frequently incomplete. Sensors fail, or interactions occur on unmonitored platforms. These "missing events" are not just noise; they are part of the graph's underlying evolution. Ignoring them leads to biased predictions. Furthermore, in many domains—like task scheduling or emergency response—knowing exactly when an event will happen is just as critical as knowing what will happen.

Predicting 'who' and 'when' in graphs with missing events.

The MTGN Framework

The proposed Missing Event Aware Temporal Graph Neural Network (MTGN) addresses these limitations through a unified architecture that models structure and timing simultaneously. Its design relies on three key pillars:

  • Modeling the Unseen: MTGN treats missing events as latent (hidden) variables. It employs a Variational Autoencoder (VAE) framework to optimize an Evidence Lower Bound (ELBO), allowing the model to "fill in the blanks" of the past to improve future predictions.
  • Coupled Temporal Point Processes: The model uses two coupled temporal point processes (TPPs) to represent the streams of observed and missing events. This coupling ensures that the hypothesized missing interactions inform the embeddings of the nodes, creating a more robust memory of network dynamics.
  • Efficient Time Prediction: Rather than relying on complex numerical integration, MTGN uses a mixture of log-normal distributions to model event timing. This provides a closed-form solution, enabling the model to calculate expected interaction times directly and efficiently.

Experimental Evaluation and Results

MTGN was tested on five diverse real-world datasets, ranging from email exchanges (ENRON) to Twitter retweet networks (RT-POL). The model was compared against state-of-the-art baselines like EvoKG and KnowEvolve.

MTGN performance comparison across five datasets.

The results highlight MTGN's superior performance:

  • Link Prediction: On the LSED dataset, MTGN achieved a 112.3% improvement in HITS@3 compared to the second-best method.
  • Time Estimation: The model reduced the Mean Absolute Error (MAE) by 89.2% on the HYPERTEXT dataset, demonstrating its precision in predicting "when."
  • Robustness: Even when up to 50% of observed data was intentionally masked, MTGN remained stable, whereas other models' performance plummeted.

Conclusion

MTGN proves that explicitly accounting for missing data is a powerful strategy for temporal graph analysis. By unifying the prediction of "who" and "when" within a framework that acknowledges the incompleteness of real-world data, MTGN provides a more accurate and reliable tool for dynamic network modeling. Future research will focus on making the missing event ratio adaptive and scaling the system for massive, billion-node graphs.

Summary updated

Abstract

Temporal graph neural network (GNN) has recently received significant attention due to its wide application scenarios, such as bioinformatics, knowledge graphs, and social networks. There are some temporal GNNs that achieve remarkable results. However, these works focus on future event prediction and are performed under the assumption that all historical events are observable. In real-world applications, events are not always observable, and estimating event time is as important as predicting future events. In this article, we propose MTGN, a missing event-aware temporal GNN, which uniformly models evolving graph structure and timing of events to support predicting what will happen in the future and when it will happen. MTGN models the dynamic of both observed and missing events as two coupled temporal point processes (TPPs), thereby incorporating the effects of missing events into the network. Experimental results on several real-world temporal graphs demonstrate that MTGN significantly outperforms the existing methods with up to 89% and 112% more accurate time and link prediction. Code can be found on https://github.com/HIT-ICES/TNNLS-MTGN.
BibTeX
@article{liu2023who,
  author = {Mingyi Liu and Zhiying Tu and Xiaofei Xu and Zhongjie Wang},
  title = {{Who Should I Engage With at What Time? A Missing Event-Aware Temporal Graph Neural Network}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2023},
  url = {https://openreview.net/forum?id=JH7bmTHNtt},
}
Figure