2025 Volume 34 Issue 12
Article Contents

Yuhan Jia, Leyan Ouyang, Qiqi Wang, Huijia Li. Overlapping community detection on attributed graphs via neutrosophic C-means[J]. Chinese Physics B, 2025, 34(12): 128901. doi: 10.1088/1674-1056/adea9a
Citation: Yuhan Jia, Leyan Ouyang, Qiqi Wang, Huijia Li. Overlapping community detection on attributed graphs via neutrosophic C-means[J]. Chinese Physics B, 2025, 34(12): 128901. doi: 10.1088/1674-1056/adea9a

Overlapping community detection on attributed graphs via neutrosophic C-means

  • Received Date: 03/04/2025
    Accepted Date: 23/06/2025
    Available Online: 01/12/2025
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Figures(6)  /  Tables(5)

Article Metrics

Article views(455) PDF downloads(2) Cited by(0)

Access History

Overlapping community detection on attributed graphs via neutrosophic C-means

Abstract: Detecting overlapping communities in attributed networks remains a significant challenge due to the complexity of jointly modeling topological structure and node attributes, the unknown number of communities, and the need to capture nodes with multiple memberships. To address these issues, we propose a novel framework named density peaks clustering with neutrosophic C-means. First, we construct a consensus embedding by aligning structure-based and attribute-based representations using spectral decomposition and canonical correlation analysis. Then, an improved density peaks algorithm automatically estimates the number of communities and selects initial cluster centers based on a newly designed cluster strength metric. Finally, a neutrosophic C-means algorithm refines the community assignments, modeling uncertainty and overlap explicitly. Experimental results on synthetic and real-world networks demonstrate that the proposed method achieves superior performance in terms of detection accuracy, stability, and its ability to identify overlapping structures.

1.   Introduction
  • Community detection is a fundamental problem in complex network analysis, aiming to identify groups of nodes that are densely connected within a network.[1,2] It plays a critical role in understanding the structural and functional properties of complex networks.[3–5] Many real-world network systems comprise numerous highly interconnected entities, each characterized by diverse attribute information.[6] These systems are often effectively modeled as attributed graphs, where nodes represent users, attributes capture user profiles, and edges denote interactions. A fundamental challenge is to partition attributed graphs into meaningful clusters that simultaneously preserve topological cohesion and attribute similarity, a process known as attributed graph clustering (AGC).[7,8] AGC has a broad range of applications across diverse domains, including the Internet, protein–protein interaction networks, trade networks, and scientific collaborations.[9–12]

    Moreover, it has been shown that the very existence of overlapping communities is one of the most important characteristics of various complex networks where some nodes may connect and belong to multiple communities and play a critical role in the flow of information. However, traditional methods struggle to effectively integrate these two types of information and frequently fail to handle the overlapping communities commonly observed in real networks. Specifically, these approaches face two key challenges:

    Lack of a simple and efficient integration of attributes and topology Most algorithms focus exclusively on either network topology (e.g., modularity optimization[13]) or node attributes (e.g., attribute clustering), neglecting their inherent correlations. For example, random walk-based methods such as Node2Vec,[14] capture topological similarities but remain insensitive to attribute information, while matrix factorization approaches such as AGNMF-AN[15] prioritize attribute homogeneity at the expense of structural patterns. This artificial separation leads to biased and incomplete community representations. Although recent studies have attempted to bridge topology and attribute information through unified models, this remains a challenging and active area of research. Methods based on joint loss optimization,[16] attribute semantics and structural learning,[17] and matrix co-factorization[18] have achieved promising results. However, these approaches often require complex model design, heavy parameter tuning, and may lack interpretability. Therefore, there is still a need for a solution that offers a simple and efficient integration of both aspects, providing a lightweight, unsupervised, and explainable fusion mechanism.

    Result instability due to manual parameter specification Many advanced methods, including fuzzy C-means (FCM) variants and neutrosophic C-means (NCM),[19] require predefining the number of communities, i.e., a parameter often unknown in real-world applications. This manual specification introduces subjectivity and causes significant instability, as different initializations may yield divergent community structures. While density-based algorithms such as density peaks[20] can detect cluster counts, they have not been adapted for attributed networks, leaving a critical gap in automated community detection. Recent learning-based approaches, including reinforcement[21] and transfer learning,[22] aim to reduce manual tuning by predicting hyperparameters from network features.[23] Nonetheless, these approaches often require substantial computational resources, labeled data, and pretraining, and they may sacrifice interpretability and automation. We aim to improve the parameter instability issue while preserving the advantages of FCM-like methods, such as their ability to handle fuzzy and overlapping community structures.

    To address these problems, we propose a new framework, named density peaks clustering with neutrosophic C-means (DPCNCM), which integrates enhanced density peak (DP) clustering with NCM to achieve robust overlapping community detection on attributed graphs. This approach is conceptually simple and avoids complex training. It relies on spectral embedding and canonical correlation analysis (CCA), which are easy to implement and require no backpropagation or parameter tuning compared with deep learning-based methods. Subsection 5.3 demonstrates the low computational complexity of DPCNCM, and its convergence behavior, reported in Subsection 6.4, further confirms that the algorithm does not have a complex training process. Moreover, the visualizations of overlapping communities in Subsection 6.4 illustrate that DPCNCM is capable of revealing clear and meaningful structures in real-world networks.

    Our key contributions include the following. (i) We introduce the neutrosophic theory for community detection in an attributed graph, which enables the calculation of membership degree to certain/uncertain communities and the unassigned point set. Specifically, a modified loss function incorporating true/indeterminate/false membership values with Lagrange constraints, explicitly modeling uncertainty and tendency to remain unassigned to ensure consistent optimization. (ii) An improved automated DP algorithm is introduced by designing a cluster strength (CS) metric that quantitatively evaluates cluster centers based on local density and separation. By combining with segmented least squares regression, we can automatically determine the optimal number of communities and their centers, which significantly enhances stability.[20,24,25] (iii) The enhanced NCM component leverages DP-derived centers for initialization, replacing random initialization with density-guided distance matrices. We can substantially improve clustering stability while effectively combining network topology and node attributes.

    Finally, experiments on both synthetic and real-world networks demonstrate that DPCNCM outperforms other algorithms in community detection accuracy and identifying overlapping structures. On synthetic networks with varying mixing parameters, DPCNCM achieves superior results in terms of ONMI and Omega, effectively capturing overlapping communities. Additionally, it exhibits robust performance across networks of different sizes. In real-world networks, DPCNCM accurately identifies a reasonable number of communities, uncovers meaningful overlapping structures, and achieves high modularity.

2.   Related works
  • In real-world networks, nodes are often not only connected through topological structures but also accompanied by abundant attribute information. For instance, in social networks, user behaviors, interests, and social relationships can serve as node attributes, and these attributes exhibit strong correlations with the network structure.[26] Previous methods for encoding attributed networks can be broadly categorized into two types: random walk-based methods and matrix factorization-based methods. For the first type, the mathematical theory of random walks was first proposed by Pearson et al. in 1905[27] and has since been widely used to measure node proximity in network topologies. Yang et al. proposed the SA-cluster algorithm, which introduces a unified distance metric to effectively combine structural and attribute similarities, ensuring both structural compactness and attribute homogeneity during clustering.[28] Some studies model node attributes as bipartite graphs, which increases the diversity of random walks by incorporating attribute edges and enables the use of deep-learning models to optimize embedding representations.[29–31] However, these algorithms rely on random walk-based distance calculations, which are computationally expensive and susceptible to noise and high-dimensional sparsity.[14,31,32] For the second type, matrix factorization methods are conceptually clear and computationally efficient. For example, Kamal Berahmand et al. proposed the AGNMF-AN method, which constructs an attribute-augmented graph to integrate structural and attribute information and introduces an adaptive similarity matrix with an L2,1-norm to improve community detection performance.[15] Additionally, spectral theory and CCA-based network embedding methods map topological structure and node attribute information into a low-dimensional Euclidean space, reducing noise in the data and generating a consensus embedding matrix through CCA.[26,33] This approach is conceptually simpler, avoids complex training processes, and offers lower computational complexity and stronger interpretability. In this study, we adopt this method as the network embedding approach for attributed graphs and further extend it to overlapping community detection.

  • Overlapping community detection methods can be broadly categorized into membership propagation-based methods and probabilistic models, each employing distinct strategies to identify communities with overlapping nodes. For the first category, membership propagation-based methods determine community affiliations by iteratively propagating membership information across the network. A prominent example is the label propagation approach, where Gregory et al. proposed an algorithm that incorporates node importance to improve overlapping community detection.[34] Representative methods in this category also include the community overlap propagation algorithm (COPRA), which generalizes label propagation to support multiple community memberships, and the democratic estimate of modular organization (DEMON), which detects overlaps through local expansion and voting mechanisms.[35] Another notable approach is the clique percolation method (CPM), which detects overlapping communities by identifying interconnected cliques, though its computational cost can be prohibitive for large networks.[36] On the other hand, probabilistic models employ statistical techniques to infer overlapping community structures.[37] For instance, Guo et al. introduced the NCM algorithm, which leverages fuzzy clustering and neutrosophic sets to model node memberships in communities, uncertain regions, and noise.[19] Similarly, Li et al. developed a multi-scale optimization method that refines community assignments by iteratively updating membership vectors based on topological entropy.[38] These approaches excel in handling uncertainty and noisy data, making them suitable for complex real-world networks. While propagation-based methods often prioritize scalability, probabilistic approaches provide more nuanced representations of overlapping structures. Recent advances continue to bridge these strategies, combining their strengths for more robust community detection.

3.   Heterogeneous data embedding
  • In attributed graphs, topological structure and node attributes represent distinct and heterogeneous aspects of the data. Moreover, the data is often noisy and incomplete, making it challenging to remove noise without compromising structural or attribute integrity. To address this problem, we introduce a network embedding model that maps topological and node attribute information into Euclidean space, drawing on the work of Belkin and Niyogi on Laplacian eigenmaps for dimensionality reduction and data representation.[33] The method first applies spectral theory to project the topological and attribute information separately into Euclidean space, which helps reduce noise while preserving meaningful structure. To ensure maximum preservation of structural and attribute characteristics while integrating the denoised information, CCA is employed.[26] By maximizing the correlation between these two representations, the method generates a consensus embedding matrix that captures the essential properties of the original graph. The process is illustrated in the first stage of the overall workflow shown in Fig. 1.

  • Consider a heterogeneous attributed graph G = (U, E,S), where U denotes the set of nodes, E the set of edges, and S the node attribute matrix. Let A∈RN×N be the adjacency matrix of the graph. The corresponding degree matrix is denoted by DA, and the unnormalized graph Laplacian is defined as LA = DA – A. Based on spectral theory, we solve the following eigenvalue problem:

    Selecting the first t eigenvectors, we form the following embedding matrix for the topological information:

  • For the node attribute matrix S∈RN×m, we first standardize the attributes to obtain the normalized matrix S˜. Next, we construct the cosine similarity matrix W, where the element Wij represents the cosine similarity between nodes i and j:

    We solve the eigenvalue problem for W:

    The top k eigenvectors are selected to form XS, which captures the similarity of node attributes in Euclidean space.

  • To effectively integrate the two independently obtained embedding matrices XA and XS, CCA is employed to identify the projection matrix that maximize the correlation between the two representations after transformation. Accordingly, the consensus embedding matrix X is derived as

    Here, P = [pA; pS] is the projection matrix obtained from solving the following optimization problem:

    To solve the optimization problem, we construct the Lagrange equation and set its partial derivatives to zero to find the optimal solution for [pA; pS]. This is equivalent to solving the following eigenvalue problem:

    where XA′ is the transpose of XA, and γ is the Lagrange multiplier. P is the top-l eigenvectors. The resulting consensus embedding matrix X effectively captures the relationships between topological structure and attribute information, which can be naturally applied in clustering.

4.   Neutrosophic community detection in the attributed graph
  • Neutrosophy, proposed by Florentin Smarandache in 1995, is a philosophical theory that studies neutrality and its relationship with opposing concepts.[39] It suggests that every concept coexists with its opposite and a neutral region, making boundaries between ideas more flexible and comprehensive. Based on this theory, the neutrosophic set (NS) extends the concepts of fuzzy sets and intuitionistic fuzzy sets. For a given element x in a set M, its membership is represented as a triplet (T,I,F) where T (truth) denotes the degree to which x belongs to M, I (indeterminacy) represents uncertainty, and F (falsehood) indicates the degree to which x does not belong to M. This framework allows for a more flexible representation of uncertainty, particularly in cases with ambiguous or overlapping data.

    In clustering analysis, some data points fall near the boundaries between clusters, making their assignment ambiguous. Forcefully allocating such points to a specific cluster can lead to errors in determining cluster centers. To address this issue, Guo et al. proposed an improved FCM[40] clustering algorithm that combines NSs and FCM.[19] Inspired by NSs, this method simultaneously considers the membership degrees of nodes to both certain and uncertain sets, viewing all nodes as the union of certain clusters, boundary point sets, and an unassigned set. The unassigned set contains nodes that are too distant from all cluster centers to be meaningfully assigned to either determinate clusters or boundary regions. The combination enhances the algorithm’s ability to handle uncertain data, which is particularly useful for detecting overlapping nodes in community detection problems.

  • Compared to traditional FCM clustering, the NCM clustering algorithm can calculate not only the membership degree of each node to the certain cluster (T) but also the membership degrees of nodes to the uncertain clusters (I) and the unassigned set (F). The main innovation of this method is the incorporation of true/indeterminate/false membership values into the traditional FCM objective function, enabling the model to effectively quantify each node’s certainty, ambiguity, and tendency to remain unassigned. In this article, we perform NCM clustering on the embedding matrix X obtained in the attributed network to capture overlapping communities, thereby enhancing the identification of community structures within networks.

    The modified objective function based on FCM is defined as follows:

    where

    Here, m is a constant, δ is used to control the number of unassigned nodes, and ωi represents the weight factors. cpi and cqi are the indices of the communities corresponding to the maximum and second maximum values of Tij, respectively. v¯imax is the average of the two communities vcpi and vcqi. Tij denotes the membership degree of node i to the certain community j, while Ii and Fi represent the membership degrees of the overlapping region and the unassigned set, respectively. C denotes the number of communities, which is usually pre-specified in general methods. However, since the ground-truth number of communities is unknown, the algorithm proposed in Section 5 automatically determines an appropriate number of communities. The constraints are as follows:

    To solve this constrained optimization problem, we can construct a Lagrange function

    We set the gradient of L(T, I, F, V, λ) to zero, resulting in the following system of equations:

    By solving this system, we obtain

    where

    The Tij, Ii, Fi and the community center vj are updated using Eqs. (17)–(21). After random initialization of T, I, F under the given constraints, the clustering process is conducted through the iterative optimization of the objective function until |Tk+1 – Tk| < ε is achieved, where k denotes the iteration step, and ε is a pre-set parameter. Ultimately, each node is assigned to the community with the maximum TM = [T,I,F] value.

5.   Improved neutrosophic C-means method
  • Based on the above discussion, NCM methods suffer from instability due to random initialization and require a predefined number of communities as input. However, in real-world scenarios, the actual number of communities is typically unknown in advance (discussed in Subsection 4.2). To overcome these limitations, we propose DPCNCM, a unified framework that including: (i) an automated DP variant using quantitative cluster potential metrics to objectively determine community structures (Subsection 5.1), and (ii) an enhanced NCM implementation that leverages density-guided initialization and balanced attribute-topology integration (Subsection 5.2).

  • Among clustering algorithms capable of determining the central nodes of clusters,[41–43] the DP method has been widely used due to its speed and accuracy,[20] including applications in network community detection. The core idea of the DP clustering method is that cluster centers should have higher density than their neighboring points and be farther away from points with even higher density. Based on the definition of the center of the cluster, we present the following definitions.

    Definition 1 The local density ρi of point i is defined as the number of points whose distance from point i is less than dc:

    If x<0, then χ(x) = 1, otherwise χ(x) = 0, dc is the cutoff distance.

    Definition 2 The minimum distance δi is defined as the minimum distance between point i and any other point with higher density:

    For the points with the highest density, we usually take δi = maxj (dij).

    After computing ρi and δi for each point, a decision graph is constructed with ρ on the horizontal axis and δ on the vertical axis. The cluster center is selected as the point clearly arranged in the upper right corner in the decision graph. However, this method depends on manual inspection of decision graphs, which limits its accuracy and makes it difficult to reliably distinguish cluster centers from other points.[20] An automatic DP method using least-squares can overcome the limitations of manual observation,[44] providing precise cluster numbers and centroids. Therefore, it can be used to identify the number of communities and initial community centers in community detection.

    The automatic DP method determines the optimal number of clusters and cluster centers using segmented least squares instead of relying on observing decision diagrams. First, the CS value is introduced to quantify the potential of a sample point serving as a cluster center. The CS values are sorted in descending order and plotted as a line chart, where the optimal number of clusters corresponds to the inflection point of the curve. This approach leverages the least-squares method to accurately determine the inflection point.

    To provide a smooth and continuous measure of local density, we define ρi using a Gaussian kernel:

    where di, j represents the distance between node i and node j, while dc is the cutoff distance.

    Definition 3CSi represents the potential of the next cluster center. In our hypothesis, the cluster center vi should have higher ρi and δi. We define

    In this method, the decision graph plots CSi values in descending order against the number of clusters k. As k increases, CSi decreases monotonically, but the rate of decrease often becomes much slower starting from a certain k. We assume that cluster centers retain high CSi values, while CSi values for other points drop sharply. The optimal number of clusters is determined at the “knee” of the curve, identified as the point of maximum curvature. To locate this knee precisely, we model the curve as two approximately linear segments on either side of the inflection point. Using the least squares method, we fit linear models to these segments and define the optimal number of clusters as their intersection.

    For a given point (ki, CSi), we assume a linear equation

    where β0 and β1 are estimated parameters, and ki represents the serial number of the node from 1 to N.

    The least-squares method minimizes the sum of squared errors:

    By setting the gradient of the equation equal to zero, we obtain

    Let Lc and Rc represent data points on the left and right of the optimal clustering number c, where Lc contains k = 2, …, c and Rc contains k = c+1, …, N for c = 3, …, N–2. Using the above equations, we obtain two linear models

    The overall root-mean-square error is then defined as follows (here Lc and Rc are divided by x = c):

    where RMSE(Lc) is the root-mean-square error for the linear model that best fits the points in Lc (and similarly for Lr):

    Finally, we find c^ by minimizing RMSEc:

    Once the optimal number of clusters is identified, all points are sorted in descending order of their CS values, and the top-ranked points are selected as initial cluster centers.

  • Unlike the random initialization in neutrosophic C-means, the TM values are initialized using the initial cluster centers which are denoted as {v10,v20,…,vC0} obtained in Subsection 5.1. For nodes that do not belong to {v10,v20,…,vC0}, a smaller distance to a cluster center indicates a higher membership degree (T) for that cluster. Additionally, a smaller distance to the midpoint of the two centers with the highest membership values implies a higher indeterminacy (I). Then, the values of T and I are normalized to the range [0,1], while F is set to 0.5. The corresponding formulas are defined as follows:

    For nodes belonging to {v10,v20,…,vC0}, if node ui is the jth cluster center, then Tij0=1, while Tik0(k≠j), Ii0, Fi0 are set to 0.

  • Suppose a network comprises n nodes, each with a d-dimensional attribute vector. Let A be the adjacency matrix, C the number of cluster centers, and T the number of iterations required for convergence. The proposed algorithm consists of three stages: consensus embedding, cluster-center selection, and clustering assignment.

    In the consensus embedding stage, constructing the Laplacian matrix from the n × n adjacency matrix requires O(nnz(A)) time, where nnz(A) is the number of nonzero entries in A. Computing eigenpairs of a dense n × n matrix using the classical QR algorithm requires O(n3) time,[45] but this cost can be reduced to O(nnz(A) ⋅ t + nt2) when using the Krylov–Schur algorithm.[46] When |E| = Θ(n) and t ≪ n, the time complexity reduces to O(n), which is a common case in network analysis. In the attribute-embedding stage, normalizing the n × d attribute matrix requires O(nd), computing the cosine similarity matrix requires O(n2d), and the subsequent eigen decomposition requires O(n2t) when using the Krylov–Schur algorithm. The CCA-based fusion step costs O(nt2 + t3), where the first term comes from computing covariance matrices and the second from solving a 2t × 2t eigenproblem.

    In the cluster center selection stage, computing all pairwise distances and local densities requires O(n2), and selecting cluster centers adds O(nlogC), resulting in an overall complexity of O(n2). In the clustering assignment stage, computing distances between n nodes and C cluster centers requires O(nC), and iterative membership updates over T iterations contribute O(TnC). Therefore, this stage incurs O(TnC) in total.

    Combining all stages, the total worst-case time complexity is O(n3) when the adjacency matrix is dense and the classical QR algorithm is used. However, in the common case where the adjacency matrix is sparse and the Krylov–Schur algorithm is applied, the overall complexity can be significantly reduced to O(n2(d+t) + TnC), making the algorithm scalable and efficient for network analysis.

6.   Experiment
  • In this section, the performance of the DPCNCM model is evaluated through a series of experiments. The experiment aims to assess the effectiveness of the DPCNCM model by comparing it with other algorithms on both synthetic and real-world network datasets. An overview of this section is as follows. In Subsection 6.1, the datasets used in the experiments, including both synthetic and real-world networks, are presented. In Subsection 6.2, several widely used comparison methods are introduced. This section also discusses the metrics employed to assess the detected overlapping communities. The experimental results on different datasets are analyzed in Subsections 6.3 and 6.4 where the overlapping nodes detected by the DPCNCM algorithm are showcased by network structure diagram in Subsection 6.4. Some crucial parameters are adjusted to analyze the sensitivity of the DPCNCM model in Subsection 6.5. For the detailed code and data, please refer to authors’ website.

  • To evaluate the performance of the DPCNCM algorithm, we use two types of datasets: a synthetic dataset and a real-world dataset. The synthetic dataset consists of artificially generated networks, which allow us to establish a ground truth for comparing the communities generated synthetically with those detected by the algorithm.

    Synthetic datasets We construct synthetic networks with overlapping communities using the LFR benchmark model, which has been repeatedly validated as an effective method for generating social networks.[47] The dataset is defined by several parameters: N represents the total number of nodes. The mixing parameter μ determines the proportion of edges that connect nodes from different communities. The average node degree k, as well as the minimum and maximum community sizes, can be manually adjusted to control the range of community memberships. Additionally, the datasets include a specified number of overlapping nodes On, with each of these nodes belonging to two communities. The generated output consists of a graph G and a collection of community sets, where each set contains the nodes forming a specific community. The two networks we generated are shown in Table 1.

    Real-world datasets In addition to the artificial networks, we evaluated our method on five classic real-world networks widely studied in network science. Their node and edge counts, together with brief descriptions of their node attributes, are listed in Table 2.

  • Several widely used methods are chosen as baselines in our experiments: FCM,[40] DP clustering,[20] COPRA,[34] the CPM[36] and DEMON.[35] The first two, FCM and DP, supply the core techniques embedded in DPCNCM, whereas the latter three are widely regarded as classic algorithms for detecting overlapping communities in networks.

    We utilize two types of evaluation metrics to assess the quality of communities detected by different methods: information recovery-based metrics when ground-truth communities are available, and quality-based metrics when ground truth is absent.

    When ground truth is available, we adopt two widely used metrics for overlapping community evaluation:

    Overlapping normalized mutual information (ONMI)[51] An extension of normalized mutual information (NMI)[52] that accounts for nodes belonging to multiple communities.

    Omega index[53] An extension of the adjusted Rand index (ARI)[54,55] designed for overlapping community structures.

    In the absence of ground truth, we use a quality-based metric for overlapping community evaluation:

    Extended modularity (EQ)[56] An adaptation of Newman’s modularity[57] to overlapping communities by weighting node contributions according to their memberships.

  • In this section, we assess the performance of DPCNCM and the comparison algorithms on synthetic networks. Since ground-truth communities are available in synthetic networks, we use ONMI and Omega as evaluation metrics. To examine the performance of the algorithms under different levels of network complexity, we vary the mixing parameter μ and the number of nodes N. For DPCNCM, we set the consensus matrix dimension to t = 5, with parameters δ = 0.3, w1 = 0.8, w2 = 0.1, and w3 = 0.1, where δ controls the penalty for assigning nodes to the unassigned set, and w1,w2,w3 are the weight coefficients for the determinate, boundary, and unassigned memberships, respectively. For algorithms with inherent randomness, we report the average results over five runs.

    As shown in Fig. 2, DPCNCM outperforms all other algorithms, except at μ = 0.25, where COPRA surpasses DPCNCM in ONMI by 0.026. When μ ≤ 0.2, both DPCNCM and COPRA achieve ONMI scores above 0.9, indicating that these methods can accurately identify well-defined community structures. CPM performs the worst among all algorithms, with ONMI consistently below 0.3. As μ increases, the ONMI scores of all algorithms decline significantly due to the increasing number of inter-community edges, which obscure community boundaries and complicate detection. When μ > 0.5, the ONMI values of all algorithms drop below 0.4. However, DPCNCM maintains the best performance due to its slower decline compared to COPRA. When evaluated using Omega, DPCNCM exhibits a similar performance decline in Omega as μ increases. DPCNCM achieves the best performance for μ < 0.6, while DP surpasses DPCNCM by 0.031 in ONMI. Notably, DP experiences a slower decline in performance than other methods, resulting in higher Omega scores than DPCNCM for μ = 0.6. COPRA achieves the second-best performance at μ = 0.1 and μ = 0.2, but its Omega scores approach zero when 0.3 ≤ μ ≤ 0.5.

    Next, we analyze the impact of different node numbers on all algorithms. As shown in Fig. 3, although the ONMI scores of DPCNCM exhibit a slight decrease at N = 10000, its overall performance remains stable, consistently ranking first among all algorithms. The stable performance across networks of different sizes suggests that DPCNCM is well-suited for large-scale datasets. COPRA performs as the second-best method for 2000 ≤ N ≤ 8000, but its ONMI score drops to only 0.2264 in the network with 10000 nodes. CPM does not show a clear performance decline as the number of nodes increases; instead, its ONMI scores improve in networks with 2000 to 6000 nodes, although its performance remains inferior to DPCNCM. DEMON experiences a significant performance drop as the number of nodes increases, with its ONMI value approaching zero when N ≥ 8000, indicating its unsuitability for large-scale tasks. When evaluated using the Omega metric, DPCNCM consistently outperforms other algorithms across all network sizes. It maintains a stable Omega score between 0.84 and 0.87 for N < 10000, though it drops to 0.5193 at N = 10000. The performance of DP and FCM does not exhibit a significant decline as the number of nodes increases, despite their dependence on initial cluster centers. In contrast, COPRA, CPM and DEMON show a clear performance drop as the network size grows.

  • In this section, we evaluate the performance of DPCNCM and comparison algorithms on real-world networks, including Football, Palbooks, Cornell, Texas, and Wisconsin. The parameter settings of DPCNCM in real-world networks are δ = 1, ω1 = 0.33, ω2 = 0.33 and w3 = 0.33. The number of communities in each network is identified by DPCNCM, and we visualize the optimal number of clusters found by the piecewise least squares method for four of these networks, as shown in Fig. 4. The specific number of communities detected for each real-world network is listed in Table 3.

    For the Football and Polbooks networks, each node has a given value representing either its conference affiliation or political stance, respectively. Therefore, ONMI is used to assess how well the detected communities align with these ground-truth categories. For the other networks, we evaluate the quality of the detected community partitions using modularity, with all results presented in Table 4. As shown, DPCNCM achieves the highest ONMI score among the networks with given labels, indicating its effectiveness in discovering communities that correspond well to known categories. For the three WebKB networks without predefined labels, DPCNCM obtains the highest EQ scores on Cornell and Texas, but shows no clear advantage overall, and is even outperformed by COPRA on Wisconsin by 0.0735. Given the sparsity of the WebKB networks, this lack of advantage under the EQ metric suggests a limitation of DPCNCM in capturing structural patterns when topological signals are weak. In addition to its clustering performance, DPCNCM converges within 44, 30, 43, 77, and 98 iterations on the Football, Polbooks, Cornell, Texas, and Wisconsin datasets, respectively, highlighting its efficiency and practicality for overlapping community detection on attributed graphs.

    To further illustrate DPCNCM’s interpretability in identifying overlapping communities, we visualize the detected community structures in the Football and Palbooks networks, as shown in Fig. 5. In these figures, numbers on the nodes represent their IDs, and nodes that belong to overlapping communities are shown in two colors, highlighting their membership in multiple communities. For example, in the Football network, nodes 36, 80, and 82 are identified as members of overlapping communities. In the Palbooks network, DPCNCM uncovers two distinct communities along with an overlapping region containing 12 nodes, which align with the ground-truth categories: “liberal”, “neutral”, and “conservative”. The interpretability of DPCNCM is reflected in the structured and semantically patterns it reveals, which provide intuitive insights into the network’s organization and facilitate expert understanding.

  • In this section, we analyze the influence of key parameters in DPCNCM, including t, w1, w2, w3, and δ. The impact of dimension t of consensus embedding matrix is evaluated on synthetic networks using the ONMI metric, while the effects of w1, w2, w3, and δ are examined on the real-world network.

    We test different values of the consensus matrix dimension t ranging from 3 to 7 on NetworkA, with the corresponding ONMI results presented in Fig. 6. The results indicate that when t is small, DPCNCM exhibits weaker performance in detecting distinct community structures (μ < 0.4). For example, in a network with μ = 0.2, DPCNCM achieves an ONMI score of 0.7618 when t = 7, whereas the ONMI drops to 0.6514 when t = 3. However, as the network structure becomes more complex (μ < 0.4), the performance of DPCNCM with a larger t deteriorates rapidly, leading to lower ONMI scores compared to a smaller t. For instance, in a network with μ = 0.6, DPCNCM with t = 7 achieves an ONMI score of only 0.0954, while setting t = 4 results in a significantly higher ONMI of 0.2405. Based on these observations, we set t = 5 as it provides a balanced performance across both distinct and complex networks, ensuring stable results.

    Additionally, we analyze the effect of different weight parameters on the membership matrix in the real-world Cornell network. The number of nodes assigned to distinct communities, overlapping communities, and the unassigned set under different weight settings is summarized in Table 5. In the table, NT represents the number of nodes assigned to distinct communities, NI denotes the number of nodes belonging to overlapping communities, and NF indicates the number of unassigned nodes that are not assigned to any distinct or overlapping community. It can be observed that as the value of δ decreases, the cost of placing a node in the unassigned set becomes lower, and the model tends to label nodes that are distant from cluster centers as unassigned nodes rather than forcing them into a determinate or overlapping community. For instance, when δ = 0.1, a large number of nodes are identified as unassigned nodes. Moreover, the values of NT, NI, and NF also vary inversely with the weight parameters ω1, ω2, and ω3. The balanced weight setting (ω1 = ω2 = ω3 = 0.33) demonstrates strong robustness, as it yields relatively stable partitioning results regardless of the δ value. Due to the low proportion of overlapping nodes in the synthetic networks, we selected parameter settings that emphasize structural information while retaining limited sensitivity to overlapping memberships. This configuration is also consistent with the settings adopted in previous work.[19] For real-world networks, where ground-truth labels are unavailable, we adopted a balanced parameter setting to ensure robustness and avoid bias in the community detection process.

7.   Conclusion
  • To explore the overlapping community detection on attributed graphs, in this article, we propose an improved community detection method based on NCM theory. This method utilizes CCA to integrate node attribute information and topological relationship information, embedding them into Euclidean space. The number of clusters and initial centroids are then determined using the density peaks method. Building upon this, a FCM clustering algorithm which incorporating NCM theory is introduced, enabling effective community detection in attributed graphs. Results on both synthetic and real-world datasets demonstrate that the proposed algorithm outperforms baseline methods in detecting overlapping communities in attributed networks, although this advantage becomes less pronounced in sparse real-world networks, suggesting a direction for future improvement. Moreover, the DPCNCM algorithm exhibits robustness across networks with varying mixing parameters and node counts. Overall, the proposed method provides a solid foundation for advancing overlapping community detection in complex attributed networks. In future work, incorporating dynamic community detection strategies and a distributed parallel computing framework could further enhance its scalability and adaptability.

Program availability
  • The source code is openly available at https://github.com/Yuhan-Jia/Code-for-DPCNCM

Figure (6)  Table (5) Reference (57)

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return