MACO-MGDT: Overlapping Community Detection in Heterogeneous Networks via Community-Aware Embeddings
Abstract
The community detection is a basic task of network analysis, which allows identifying clusters of network nodes with rich internal relationships and structural similarity. The classical community detection algorithms usually assume the network is homogeneous and impose hard assignments of clusters, which restricts their use to real world networks where nodes tend to be a member of more than one cluster and where different types of nodes and attributes are prevalent. To overcome those issues we suggest MACO-MGDT, a single framework of overlapping community detection in non homogenous graphs. The suggested system combines community-conscious representation learning and prototype-based clustering in a two-step architecture. The Multi-scale Attribute-aware Community-Oriented (MACO) module is trained in the first stage to learn structure-aware node embeddings via type-sensitive feature transformations, multi-scale neighborhood aggregation, and community-sensitive attention mechanisms, and a modularity-directed objective is used to incentivize the structure-aware node embeddings to be shaped by latent community structures. The learned embeddings are refined in the second stage by a Multi-scale Graph Diffusion Transformer (MGDT) encoder that incorporates higher-order node interactions. According to the refined representations, a new prototype-based overlapping community detection mechanism is proposed, in which community prototypes can be initially set up by using K-means clustering and soft membership scores are calculated by using similarity-based assignment. The framework is trained with a multi-objective optimization strategy that jointly embeds cohesion, overlap regularization, entropy control, cluster balance, and prototype diversity. The experiments carried out on the heterogeneous citation network of the ACM show that the proposed framework can be used to identify the meaningful community structures. It has high clustering performance of a Silhouette Score of 0.8419, a Davies Bouldin Index of 0.5142 and high graph modularity. The findings also indicate that MACO-MGDT has a very good capability in capturing overlapping community membership especially on the node at an intersectional point. These results demonstrate the promise of the suggested method on scalable and interpretable community detection of complex heterogeneous networks.