TaCD: Team-Aware Community Detection Based on Multi-View Modularity
Abstract
1. Introduction
2. Related Work
3. Dataset Description
3.1. About SCHOLAT and Its Dataset
3.2. The Networks in Dataset
- user_real_community.csv: the row number represents user id, and value in each cell is the real community id;
- link_friendship.csv: the link information of friendship as , using user follower/followee relations;
- matrix_common_team_count.csv: contains three columns such as , and the number of common teams;
- matrix_interact_times.csv: which contains interaction information, constructed via Equation (1) in Section 4.1;
- matrix_friendship.csv: the matrix of link_friendship.csv;
4. The Proposed TaCD Method
4.1. Constructing Matrices of the View Information
4.2. Constructing a Matrix of Interaction Between Multi-View
| Algorithm 1 The Coupling Matrix Construction Algorithm |
| Input: n denotes the number of nodes, and the neighbor sets in the user-view and team-view for all . |
| Output: The diagonal coupling matrix . |
|
4.3. The TaCD Method
- : the sum of the weights of the links inside C;
- : the sum of the weights of the links incident to nodes in C;
- : the sum of the weights of the links incident to node i;
- : the sum of the weights of the links from i to nodes in C;
- : the sum of the weights of all the links on the network.
- : the degree (or weighted degree) of node i in view s.
- : the total weight of all edges present in view s.
- : the resolution parameter associated with view s, which regulates the granularity of the detected communities (higher values of yield smaller communities).
- : the coupling strength connecting node j between view s and view r. In our proposed method, this value is determined by the structural consistency (Jaccard similarity) between the views.
- : the community assignments of node i and node j, respectively.
- : denotes the set of interactions between view s and view r.
| Algorithm 2 The TaCD Algorithm |
| Input: n (the number of nodes), |
| (Adjacency matrix for User-view), |
| (Adjacency matrix for Team-view), |
| for (Neighbor sets for both views), |
| (Resolution parameter). |
| Output: The community assignment vector . |
|
5. Experiments
5.1. Experimental Settings
- AP [41], which is a clustering algorithm based on “information transfer” between data points. AP algorithm does not need to determine the number of clusters before running the algorithm. The “examplars” searched by AP algorithm, e.g., clustering centroids, are the actual points on the dataset and represent each class;
- NCut [42], which is a clustering method based on segmentation. The normalized cuts criterion measures both the total dissimilarity between the different groups as well as the total similarity within the groups. We show that an efficient computational technique based on a generalized eigenvalue problem can be used to optimize this criterion;
- VGAER [44], which is a novel unsupervised community detection method based on Variational Graph AutoEncoder (VGAE). Unlike traditional deep learning methods that typically reconstruct the adjacency matrix, VGAER reconstructs the modularity matrix to capture high-order community structures effectively. It represents the state-of-the-art in graph neural network-based unsupervised community detection.
5.2. Evaluation Measures
- Accuracy (ACC) shows what percentage of the samples you have predicted are correct [48]. Given the node , and is the assigned label of the node , is the real label of in the dataset. The ACC can be computed aswhere is the Kronecker delta, which is the same as Equation (6). is the permutation mapping function that maps of node to the corresponding label in real community. n denotes the counts of nodes.
- Normalized Mutual Information (NMI) is used for measuring the clustering accuracy based on the underlying class labels [49].Given a network of size n, the clustering labels of c clusters, and actual class labels of classes, a confusion matrix is formed first, where entry . gives the number of points in cluster i and class j. The NMI can be computed from the confusion matrix [42] aswhere and are the Shannon entropy of cluster labels p and , respectively, with and denoting the number of points in cluster i and class j. A high NMI indicates the clustering and real labels match well. If , . If and are completely different, .
- Apart from ACC and NMI, in the comparison results, we also use Adjusted Rand Index (ARI) to validate the algorithm. ARI has become one of the most successful cluster validation indices, and it is recommended as the index of choice for measuring agreement between two partitions in clustering analysis with different numbers of clusters. The ARI can be computed aswhere a denotes the number of sample pairs in the same group of cluster and class ; b denotes the same cluster in the original partition , but the number of sample pairs in the cluster result that are not in the same group; c denotes not in the same cluster , but the number of sample pairs in the same in class ; d denotes the number of sample pairs in both cluster and class , which are not in the same group.
5.3. Parameter Analysis
5.4. Complexity Analysis
5.5. Comparison Results
5.6. Case Study and Visualization
5.7. Ablation Study
6. Conclusions and Future Work
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Ma, H.; Yang, H.; Zhou, K.; Zhang, L.; Zhang, X. A local-to-global scheme-based multi-objective evolutionary algorithm for overlapping community detection on large-scale complex networks. Neural Comput. Appl. 2020, 33, 5135–5149. [Google Scholar] [CrossRef]
- Kalyanaraman, A.; Halappanavar, M.; Chavarría-Miranda, D.; Lu, H.; Duraisamy, K.; Pande, P.P. Fast Uncovering of Graph Communities on a Chip: Toward Scalable Community Detection on Multicore and Manycore Platforms. Found. Trends Electron. Des. Autom. 2016, 10, 145–247. [Google Scholar] [CrossRef]
- Yang, Y.; Sun, Y.; Wang, Q.; Liu, F.; Zhu, L. Fast Power Grid Partition for Voltage Control with Balanced-Depth-Based Community Detection Algorithm. IEEE Trans. Power Syst. 2021, 37, 1612–1622. [Google Scholar] [CrossRef]
- Truong, H.B.; Ivanovic, M.; Tran, V.C. Community Detection Methods Based on Exploiting Attributes and Interactions on Social Networks: A Survey and Future Directions. Vietnam J. Comput. Sci. 2025, 12, 1–19. [Google Scholar] [CrossRef]
- Tamburri, D.A.; Lago, P.; Van Vliet, H. Uncovering latent social communities in software development. IEEE Softw. 2013, 30, 29–36. [Google Scholar] [CrossRef]
- Zhang, W.; Nie, L.; Jiang, H.; Chen, Z.; Liu, J. Developer social networks in software engineering: Construction, analysis, and applications. Sci. China Inf. Sci. 2014, 57, 1–23. [Google Scholar] [CrossRef]
- Ozawa, Y.; Saito, R.; Fujimori, S.; Kashima, H.; Ishizaka, M.; Yanagawa, H.; Miyamoto-Sato, E.; Tomita, M. Protein complex prediction via verifying and reconstructing the topology of domain-domain interactions. BMC Bioinf. 2010, 11, 350. [Google Scholar] [CrossRef] [PubMed]
- Ahn, Y.-Y.; Bagrow, J.P.; Lehmann, S. Link communities reveal multiscale complexity in networks. Nature 2010, 466, 761. [Google Scholar] [CrossRef]
- Bleicher, L.; Lemke, N.; Garratt, R.C. Using amino acid correlation and community detection algorithms to identify functional determinants in protein families. PLoS ONE 2011, 6, e27786. [Google Scholar] [CrossRef]
- Ozer, M.; Kim, N.; Davulcu, H. Community detection in political Twitter networks using Nonnegative Matrix Factorization methods. In Proceedings of the 2016 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining, San Francisco, CA, USA, 18–21 August 2016; IEEE: Piscataway, NJ, USA, 2016; pp. 81–88. [Google Scholar]
- Yang, J.; McAuley, J.; Leskovec, J. Community detection in networks with node attributes. In Proceedings of the 2013 IEEE 13th International Conference on Data Mining, Dallas, TX, USA, 7–10 December 2013; IEEE: Piscataway, NJ, USA, 2013; pp. 1151–1156. [Google Scholar]
- Ferrara, E. A large-scale community structure analysis in Facebook. EPJ Data Sci. 2012, 1, 9. [Google Scholar] [CrossRef]
- Deitrick, W.; Hu, W. Mutually enhancing community detection and sentiment analysis on twitter networks. J. Data Anal. Inf. Process. 2013, 1, 19–29. [Google Scholar] [CrossRef]
- El-Moussaoui, M.; Hanine, M.; Kartit, A.; Villar, M.G.; Garay, H.; De La Torre, I. A systematic review of deep learning methods for community detection in social networks. Front. Artif. Intell. 2025, 8, 1572645. [Google Scholar] [CrossRef]
- Yang, J.; Leskovec, J. Overlapping community detection at scale: A nonnegative matrix factorization approach. In Proceedings of the Sixth ACM International Conference on Web Search and Data Mining, Rome, Italy, 4–8 February 2013; ACM: New York, NY, USA, 2013; pp. 587–596. [Google Scholar]
- Wang, C.-D.; Lai, J.-H.; Philip, S.Y. NEIWalk: Community discovery in dynamic content-based networks. IEEE Trans. Knowl. Data Eng. 2014, 26, 1734–1748. [Google Scholar] [CrossRef]
- Zhang, H.; Wang, C.-D.; Lai, J.-H.; Philip, S.Y. Community detection using multilayer edge mixture model. Knowl. Inf. Syst. 2018, 60, 757–779. [Google Scholar] [CrossRef]
- Tang, F.; Zhu, J.; He, C.; Fu, C.; He, J.; Tang, Y. SCHOLAT: An innovative academic information service platform. In Proceedings of the Australasian Database Conference, Sydney, Australia, 28–29 September 2016; Springer: Berlin/Heidelberg, Germany, 2016; pp. 453–456. [Google Scholar]
- Shi, J.; Malik, J. Normalized cuts and image segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 2000, 22, 888–905. [Google Scholar] [CrossRef]
- Psorakis, I.; Roberts, S.; Ebden, M.; Sheldon, B. Overlapping community detection using bayesian non-negative matrix factorization. Phys. Rev. E 2011, 83, 066114. [Google Scholar] [CrossRef]
- Huang, L.; Wang, C.-D.; Chao, H.-Y. A harmonic motif modularity approach for multi-layer network community detection. In Proceedings of the 2018 IEEE International Conference on Data Mining (ICDM), Singapore, 17–20 November 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 1043–1048. [Google Scholar]
- Rosvall, M.; Bergstrom, C.T. Maps of random walks on complex networks reveal community structure. Proc. Natl. Acad. Sci. USA 2008, 105, 1118–1123. [Google Scholar] [CrossRef]
- Raghavan, U.N.; Albert, R.; Kumara, S. Near linear time algorithm to detect community structures in large-scale networks. Phys. Rev. E 2007, 76, 036106. [Google Scholar] [CrossRef]
- Leung, I.X.Y.; Hui, P.; Lio, P.; Crowcroft, J. Towards real-time community detection in large networks. Phys. Rev. E 2009, 79, 066107. [Google Scholar] [CrossRef] [PubMed]
- Ma, X.; Tan, S.; Xie, X.; Zhong, X.; Deng, J. Joint multi-label learning and feature extraction for temporal link prediction. Pattern Recognit. 2022, 121, 108216. [Google Scholar] [CrossRef]
- Mahmood, A.; Small, M. Subspace based network community detection using sparse linear coding. IEEE Trans. Knowl. Data Eng. 2016, 28, 801–812. [Google Scholar] [CrossRef]
- Jin, J. Fast community detection by SCORE. Ann. Stat. 2015, 43, 57–89. [Google Scholar] [CrossRef]
- Zhao, Z.; Li, C.; Zhang, X.; Chiclana, F.; Viedma, E.H. An incremental method to detect communities in dynamic evolving social networks. Knowl.-Based Syst. 2019, 163, 404–415. [Google Scholar] [CrossRef]
- Bazzi, M. Community Structure in Temporal Multilayer Networks, and Its Application to Financial Correlation Networks. Ph.D. Thesis, University of Oxford, Oxford, UK, 2015. [Google Scholar]
- Mucha, P.J.; Richardson, T.; Macon, K.; Porter, M.A.; Onnela, J.-P. Community structure in time-dependent, multiscale, and multiplex networks. Science 2010, 328, 876–878. [Google Scholar] [CrossRef]
- De Domenico, M.; Lancichinetti, A.; Arenas, A.; Rosvall, M. Identifying modular flows on multilayer networks reveals highly overlapping organization in interconnected systems. Phys. Rev. X 2015, 5, 011027. [Google Scholar] [CrossRef]
- Newman, M.E.J.; Girvan, M. Finding and evaluating community structure in networks. Phys. Rev. E 2004, 69, 026113. [Google Scholar] [CrossRef] [PubMed]
- Wen, Y.-M.; Huang, L.; Wang, C.-D.; Lin, K.-Y. Direction recovery in undirected social networks based on community structure and popularity. Inf. Sci. 2019, 473, 31–43. [Google Scholar] [CrossRef]
- Delvenne, J.-C.; Yaliraki, S.N.; Barahona, M. Stability of graph communities across time scales. Proc. Natl. Acad. Sci. USA 2010, 107, 12755–12760. [Google Scholar] [CrossRef] [PubMed]
- Wang, H.; Zhang, W.; Ma, X. Contrastive and adversarial regularized multi-level representation learning for incomplete multi-view clustering. Neural Netw. 2024, 172, 106102. [Google Scholar] [CrossRef]
- Li, D.; Kosugi, S.; Zhang, Y.; Okumura, M.; Xia, F.; Jiang, R. Revisiting Dynamic Graph Clustering via Matrix Factorization. In Proceedings of the ACM on Web Conference 2025 (WWW ’25), Sydney, Australia, 28 April–2 May 2025; ACM: New York, NY, USA, 2025; pp. 1342–1352. [Google Scholar] [CrossRef]
- Li, D.; Ma, X.; Gong, M. Joint Learning of Feature Extraction and Clustering for Large-Scale Temporal Networks. IEEE Trans. Cybern. 2023, 53, 1653–1666. [Google Scholar] [CrossRef]
- Porter, M.A.; Onnela, J.-P.; Mucha, P.J. Communities in networks. Not. Am. Math. Soc. 2009, 56, 1082–1097. [Google Scholar]
- De Meo, P.; Ferrara, E.; Fiumara, G.; Provetti, A. Generalized louvain method for community detection in large networks. In Proceedings of the 2011 11th International Conference on Intelligent Systems Design and Applications, Córdoba, Spain, 22–24 November 2011; IEEE: Piscataway, NJ, USA, 2011; pp. 88–93. [Google Scholar]
- Jeub, L.G.S.; Bazzi, M.; Jutla, I.S.; Mucha, P.J. A Generalized Louvain Method for Community Detection Implemented in MATLAB. 2011. Available online: https://github.com/GenLouvain/GenLouvain (accessed on 25 October 2025).
- Frey, B.J.; Dueck, D. Clustering by passing messages between data points. Science 2007, 315, 972–976. [Google Scholar] [CrossRef]
- Dhillon, I.S.; Guan, Y.; Kulis, B. Kernel k-means: Spectral clustering and normalized cuts. In Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Seattle, WC, USA, 22–25 August 2004; ACM: New York, NY, USA, 2004; pp. 551–556. [Google Scholar]
- Blondel, V.D.; Guillaume, J.-L.; Lambiotte, R.; Lefebvre, E. Fast unfolding of communities in large networks. J. Stat. Mech. Theory Exp. 2008, 2008, P10008. [Google Scholar] [CrossRef]
- Qiu, C.; Huang, Z.; Xu, W.; Li, H. VGAER: Graph Neural Network Reconstruction Based Community Detection. In Proceedings of the 6th International Workshop on Deep Learning on Graphs (DLG-AAAI’22), Vancouver, BC, Canada, 28 February–1 March 2022; ACM: New York, NY, USA, 2022. [Google Scholar]
- Baldi, P.; Brunak, S.; Chauvin, Y.; Andersen, C.A.F.; Nielsen, H. Assessing the accuracy of prediction algorithms for classification: An overview. Bioinformatics 2000, 16, 412–424. [Google Scholar] [CrossRef] [PubMed]
- Danon, L.; Diaz-Guilera, A.; Duch, J.; Arenas, A. Comparing community structure identification. J. Stat. Mech. Theory Exp. 2005, 2005, P09008. [Google Scholar] [CrossRef]
- Labatut, V. Generalized Measures for the Evaluation of Community Detection Methods. Comput. Sci. 2013, 2, 44–63. [Google Scholar]
- Li, Y.; Jia, C.; Yu, J. A parameter-free community detection method based on centrality and dispersion of nodes in complex networks. Phys. A 2015, 438, 321–334. [Google Scholar] [CrossRef]
- Wang, C.-D.; Lai, J.-H.; Suen, C.Y.; Zhu, J.-Y. Multi-exemplar affinity propagation. IEEE Trans. Pattern Anal. Mach. Intell. 2013, 35, 2223–2237. [Google Scholar] [CrossRef]













| Networks | Nodes | Edges | Communities | User ids |
|---|---|---|---|---|
| Net-3k | 3000 | 689,480 | 157 | 1–3000 |
| Net-4k | 4000 | 992,387 | 162 | 1–4000 |
| Net-5k | 5000 | 1,385,964 | 178 | 1–5000 |
| Net-6k | 6000 | 2,462,527 | 178 | 1–6000 |
| Net-7k | 7000 | 3,107,667 | 186 | 1–7000 |
| Net-8k | 8000 | 4,061,459 | 197 | 1–8000 |
| Net-9k | 9000 | 5,009,882 | 208 | 1–9000 |
| Net-10k | 10,000 | 5,713,566 | 218 | 1–10,000 |
| User Pair | Friendship | Like | Chat | |
|---|---|---|---|---|
| 0 | 4 | 1 | 5 | |
| 1 | 7 | 0 | 9 | |
| 0 | 3 | 5 | 8 | |
| 0 | 9 | 6 | 15 | |
| 1 | 7 | 8 | 17 | |
| 0 | 0 | 0 | 0 |
| User Pair | Common Team | Common Team Count | |
|---|---|---|---|
| 1 | 1 | ||
| 1 | 1 | ||
| , | 2 | 2 | |
| , , | 3 | 3 | |
| 1 | 1 | ||
| 1 | 1 |
| Networks | Algorithms | |||||
|---|---|---|---|---|---|---|
| AP | NCut | Louvain | VGAER | Ours (TaCD) | ||
| ACC | Net-3k | 0.0863 | 0.1548 | 0.3263 | 0.3500 | 0.3869 |
| Net-4k | 0.0740 | 0.1008 | 0.2754 | 0.3278 | 0.3776 | |
| Net-5k | 0.0724 | 0.0776 | 0.2565 | 0.3928 | 0.4360 | |
| Net-6k | 0.0657 | 0.0741 | 0.2355 | 0.3367 | 0.3507 | |
| Net-7k | 0.0651 | 0.0857 | 0.2490 | 0.4011 | 0.4302 | |
| Net-8k | 0.0640 | 0.0701 | 0.2427 | 0.4160 | 0.4375 | |
| Net-9k | 0.0599 | 0.0579 | 0.2342 | 0.3802 | 0.4217 | |
| Net-10k | 0.0811 | 0.1166 | 0.3525 | 0.5122 | 0.5406 | |
| NMI | Net-3k | 0.4027 | 0.2227 | 0.5522 | 0.4098 | 0.6921 |
| Net-4k | 0.3767 | 0.1578 | 0.5256 | 0.4870 | 0.7309 | |
| Net-5k | 0.3671 | 0.1607 | 0.5118 | 0.4992 | 0.7584 | |
| Net-6k | 0.3299 | 0.1634 | 0.4709 | 0.4938 | 0.7216 | |
| Net-7k | 0.3268 | 0.1441 | 0.4683 | 0.5350 | 0.7292 | |
| Net-8k | 0.3183 | 0.1194 | 0.4576 | 0.5437 | 0.7324 | |
| Net-9k | 0.3165 | 0.1245 | 0.4547 | 0.5323 | 0.7241 | |
| Net-10k | 0.3288 | 0.1181 | 0.4602 | 0.5229 | 0.7211 | |
| ARI | Net-3k | 0.0561 | 0.0489 | 0.2485 | 0.2846 | 0.2935 |
| Net-4k | 0.0583 | 0.0273 | 0.2628 | 0.4172 | 0.4340 | |
| Net-5k | 0.0517 | 0.0442 | 0.2701 | 0.4108 | 0.5279 | |
| Net-6k | 0.0406 | 0.0884 | 0.2834 | 0.3777 | 0.4369 | |
| Net-7k | 0.0391 | 0.0424 | 0.2856 | 0.4467 | 0.4610 | |
| Net-8k | 0.0366 | 0.0129 | 0.2734 | 0.4579 | 0.4720 | |
| Net-9k | 0.0372 | 0.0187 | 0.2985 | 0.4711 | 0.4699 | |
| Net-10k | 0.0348 | 0.0122 | 0.2795 | 0.4603 | 0.4512 | |
| Networks | Nodes | Edges | Communities |
|---|---|---|---|
| Net-3k | 3000 | 575,155 | 93 |
| Net-4k | 4000 | 897,233 | 107 |
| Net-5k | 5000 | 1,179,567 | 127 |
| Net-6k | 6000 | 1,888,510 | 121 |
| Net-7k | 7000 | 1,839,713 | 131 |
| Net-8k | 8000 | 2,693,429 | 139 |
| Net-9k | 9000 | 3,593,428 | 166 |
| Net-10k | 10,000 | 4,082,118 | 196 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Fu, C.; Tang, F.; Hu, L.; Yuan, C.; Lin, R. TaCD: Team-Aware Community Detection Based on Multi-View Modularity. Entropy 2026, 28, 21. https://doi.org/10.3390/e28010021
Fu C, Tang F, Hu L, Yuan C, Lin R. TaCD: Team-Aware Community Detection Based on Multi-View Modularity. Entropy. 2026; 28(1):21. https://doi.org/10.3390/e28010021
Chicago/Turabian StyleFu, Chengzhou, Feiyi Tang, Lingzhi Hu, Chengzhe Yuan, and Ronghua Lin. 2026. "TaCD: Team-Aware Community Detection Based on Multi-View Modularity" Entropy 28, no. 1: 21. https://doi.org/10.3390/e28010021
APA StyleFu, C., Tang, F., Hu, L., Yuan, C., & Lin, R. (2026). TaCD: Team-Aware Community Detection Based on Multi-View Modularity. Entropy, 28(1), 21. https://doi.org/10.3390/e28010021

