History Doesn’t Repeat, but Its Patterns Echo: A Parallel Pairwise Negative-Sampling Framework for Temporal Link Prediction
Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 2717-2725.
https://doi.org/10.24963/ijcai.2026/302
Keywords
- Data Mining: Mining graphs
- Data Mining: Big data and scalability
- Data Mining: Parallel, distributed and cloud-based high performance mining
Abstract
Temporal link prediction with temporal graph neural networks (TGNNs) is increasingly used to model spatio-temporal dependencies in temporal graphs and to forecast future interactions among entities. Existing sampling-based training methods typically rely on random negative sampling and pointwise loss formulations, which often lead to suboptimal convergence and limited generalization due to low-quality negative samples. We propose ATNSF, a temporal graph learning framework with a hybrid negative sampling strategy that uses a portion of historical edges as hard negatives. For efficiency, we design an asynchronous parallel training pipeline for scalable optimization and introduce a pairwise sampled softmax loss that contrasts each positive instance with a batch of negatives to learn more discriminative representations. Finally, we theoretically show that jointly designing the loss function and negative sampling strategy is crucial for improving performance and generalization. Extensive experiments across six temporal graph datasets demonstrate that ATNSF improves the average AP from 0.724 to 0.827 (+0.103). Remarkably, it also accelerates training by 1.37× to 6.85×, achieving a 2.57× geometric mean speedup. The source code of this paper can be found at https://github.com/yongqiu-star/ATNSF.
@inproceedings{ijcai2026p302,
title = {History Doesn’t Repeat, but Its Patterns Echo: A Parallel Pairwise Negative-Sampling Framework for Temporal Link Prediction},
author = {Jiang, Yongchun and Zhang, Heng and Gao, Jian and Zheng, Xin},
booktitle = {Proceedings of the Thirty-Fifth International Joint Conference on
Artificial Intelligence, {IJCAI-26}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Diego Calvanese},
pages = {2717--2725},
year = {2026},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2026/302},
url = {https://doi.org/10.24963/ijcai.2026/302},
}
TY - CPAPER TI - History Doesn’t Repeat, but Its Patterns Echo: A Parallel Pairwise Negative-Sampling Framework for Temporal Link Prediction AU - Jiang, Yongchun AU - Zhang, Heng AU - Gao, Jian AU - Zheng, Xin T2 - Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence, IJCAI-26 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2026 SP - 2717 EP - 2725 DO - 10.24963/ijcai.2026/302 UR - https://doi.org/10.24963/ijcai.2026/302 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: