WWW2026

CLGNN: A Contrastive Learning-based GNN for Temporal Betweenness Prediction under Extreme Value Imbalance

Tianming Zhang, Renbo Zhang, Zhengyi Yang, Yunjun Gao, Bin Cao, Jing Fan

Abstract

Temporal Betweenness Centrality (TBC) measures how often a node appears on optimal temporal paths, reflecting its importance in temporal networks. However, exact computation is highly expensive, and real-world TBC distributions are extremely imbalanced, causing learning-based models to overfit to zero-centrality nodes and fail to identify truly central nodes. Existing graph neural networks (GNNs) either ignore temporal dependencies or cannot handle such extreme imbalance. To address these issues, we propose CLGNN, a scalable and inductive contrastive learning-based GNN for accurate TBC prediction. CLGNN preserves temporal path validity through an instance graph and encodes structural, path-time aware dependencies via dual aggregation. To mitigate imbalance, a stability-based clustering-guided contrastive module separates nodes of different centrality levels in representation space, while a regression head estimates TBC values. Extensive experiments on diverse benchmarks demonstrate that CLGNN is scalable, generalizable, and effective.