Feng Zhang , Chenhao Luo , Winston K.G. Seah , Gang Xu , Kailiang Zhao
{"title":"Temporal graph attention and contrastive learning model for link prediction in dynamic networks","authors":"Feng Zhang , Chenhao Luo , Winston K.G. Seah , Gang Xu , Kailiang Zhao","doi":"10.1016/j.comnet.2025.111596","DOIUrl":null,"url":null,"abstract":"<div><div>Existing discrete time-slicing methods suffer from three critical limitations: coarse temporal processing granularity, exclusively model connection establishment events while neglecting the impact of disconnection events, and vulnerability to sample imbalance and transient connection noise. These limitations severely constrain adaptability in dynamic networks characterized by connection instability and interaction volatility, where both connection establishment and disconnection events govern topological evolution. To address these challenges, this paper proposes a novel dynamic link prediction framework integrating Contrastive Learning with enhanced Temporal Graph Attention Network (CLTGAT). Our model employs continuous timestamp encoding to explicitly incorporate connection moments while fusing disconnection moments via weighted mechanisms. This dual-event modelling enables joint influence of connection/disconnection timestamps on link states. Crucially, we design a connection-duration-based Top-K contrastive sampling strategy to simultaneously mitigate transient connection noise and sample imbalance, selecting stable neighbours as positive samples while controlling distribution to alleviate prediction bias. Evaluations on three highly volatile real-world dynamic network datasets, viz., Infocom05, Hyccups and Infocom06, demonstrate CLTGAT’s superiority. Compared with seven other methods, our approach achieves higher link prediction accuracy with reduced training time, exhibiting enhanced adaptability to rapidly evolving network scenarios.</div></div>","PeriodicalId":50637,"journal":{"name":"Computer Networks","volume":"271 ","pages":"Article 111596"},"PeriodicalIF":4.6000,"publicationDate":"2025-08-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1389128625005638","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
Existing discrete time-slicing methods suffer from three critical limitations: coarse temporal processing granularity, exclusively model connection establishment events while neglecting the impact of disconnection events, and vulnerability to sample imbalance and transient connection noise. These limitations severely constrain adaptability in dynamic networks characterized by connection instability and interaction volatility, where both connection establishment and disconnection events govern topological evolution. To address these challenges, this paper proposes a novel dynamic link prediction framework integrating Contrastive Learning with enhanced Temporal Graph Attention Network (CLTGAT). Our model employs continuous timestamp encoding to explicitly incorporate connection moments while fusing disconnection moments via weighted mechanisms. This dual-event modelling enables joint influence of connection/disconnection timestamps on link states. Crucially, we design a connection-duration-based Top-K contrastive sampling strategy to simultaneously mitigate transient connection noise and sample imbalance, selecting stable neighbours as positive samples while controlling distribution to alleviate prediction bias. Evaluations on three highly volatile real-world dynamic network datasets, viz., Infocom05, Hyccups and Infocom06, demonstrate CLTGAT’s superiority. Compared with seven other methods, our approach achieves higher link prediction accuracy with reduced training time, exhibiting enhanced adaptability to rapidly evolving network scenarios.
期刊介绍:
Computer Networks is an international, archival journal providing a publication vehicle for complete coverage of all topics of interest to those involved in the computer communications networking area. The audience includes researchers, managers and operators of networks as well as designers and implementors. The Editorial Board will consider any material for publication that is of interest to those groups.