A Community-Enhanced Graph Representation Model for Link Prediction
Lei Wang, Darong Lai
TL;DR
CELP introduces a Community-Enhanced Link Prediction framework that leverages community structure as a global prior to jointly refine graph topology and edge representations. It combines three modules—Global Enhancement for community-aware encodings, Structure Enhancement for confidence-guided edge completion/pruning, and Local Representation Enhancement for multi-scale triple-relational edge features—along with a joint loss that includes a structural contrastive term. The method demonstrates superior link prediction performance across six real datasets, with notable gains on smaller graphs and competitive results on larger ones, validating the value of explicit community information in capturing both local and global graph structure. By explicitly modeling community-level relations and multi-hop signals, CELP improves robustness to over-smoothing and incomplete graphs, offering a scalable, interpretable approach for structure-aware link prediction.
Abstract
Although Graph Neural Networks (GNNs) have become the dominant approach for graph representation learning, their performance on link prediction tasks does not always surpass that of traditional heuristic methods such as Common Neighbors and Jaccard Coefficient. This is mainly because existing GNNs tend to focus on learning local node representations, making it difficult to effectively capture structural relationships between node pairs. Furthermore, excessive reliance on local neighborhood information can lead to over-smoothing. Prior studies have shown that introducing global structural encoding can partially alleviate this issue. To address these limitations, we propose a Community-Enhanced Link Prediction (CELP) framework that incorporates community structure to jointly model local and global graph topology. Specifically, CELP enhances the graph via community-aware, confidence-guided edge completion and pruning, while integrating multi-scale structural features to achieve more accurate link prediction. Experimental results across multiple benchmark datasets demonstrate that CELP achieves superior performance, validating the crucial role of community structure in improving link prediction accuracy.
