Randomized trial demonstrates improved community detection in attributed graphs, suggesting enhanced structural and semantic representation.
Effectively integrating graph topology and node attributes, while assigning nodes with both semantic similarity and structural closeness to the same community, remains a key challenge in attributed graph community detection. To address this challenge, this study proposes TVHCL-CD, a two-view hierarchical contrastive learning-driven method for community detection. The proposed method constructs an attribute view and a modularity view from the node attribute matrix and the modularity matrix, respectively, to model attribute semantics and high-order community structure priors. Structure-aware two-view representations are then learned in parallel through dual-view graph attention encoders incorporating multi-order neighborhood priors. Furthermore, a structure-enhanced Graph Transformer fusion module is designed to achieve node-level adaptive fusion of the two-view representations by introducing a learnable adjacency bias into global self-attention and a view-aware gating mechanism into the feed-forward network. To align the optimization objective with community semantics, a hierarchical contrastive learning strategy is further developed. Specifically, view-level consistency contrastive learning constructs modularity-guided augmented views to improve representation robustness, while community-level semantic contrastive learning incorporates partial ground-truth labels to enhance intra-community compactness and inter-community separation. Finally, clustering is performed on the fused representations to obtain community partitions. Experimental results on eight real-world attributed graphs and the generated tree-like attributed graph Tree-2500 indicate that TVHCL-CD achieves competitive performance under the semi-supervised transductive setting, while ablation results support the contributions of its main components.
No takes yet. Share an insight, caveat, or question.
Liu et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: