A Novel and Practical Algorithmic Enhancement for Enumerating Maximal and Maximum k-Partite Cliques in k-Partite Graphs
Abstract
1. Introduction
2. The Original MMCE Algorithm
| Algorithm 1 Maximal Multipartite Clique Enumeration (MMCE) |
|
3. Enhancements
- Implicit Intrapartite Edge Addition (Line 26): We modify the procedure for intrapartite edge augmentation as follows: rather than explicitly adding all intrapartite edges at once before calling the maximal clique enumeration subroutine, we incorporate their effect implicitly by defining a new candidate set and a new excluded set at each recursive call. This modification achieves the same effect as before through its enforcement of adjacency constraints but without the possible overhead of actual edge additions that are never required. Note that this modification is equivalent to adding all intrapartite edges, since vertices within the same partite set are treated as pairwise-adjacent. Therefore, the candidate and excluded sets maintained by iMMCE coincide with those that would be obtained under explicit edge augmentation, and the original condition of and identifies inclusion-maximal k-partite cliques as in the MMCE algorithm.
- Search Tree Pruning (Lines 6–10 and 19–20): We prune the search tree by filtering out early in the search process any partite clique that cannot be extended to a k-partite clique. This is achieved through the following pair of strategies: first, we sever any branch in which neither C nor M contains a vertex from a still-needed partite set (lines 6–10). Second, we require that the first k vertices added to C are selected from k distinct partite sets (lines 19–20). We now demonstrate that this modification does not exclude any maximal cliques.
| Algorithm 2 Improved Maximal Multipartite Clique Enumeration (iMMCE) |
|
- Lower Bound Specification (Line 12): Life sciences and other applications can produce real-world data with overwhelming volumes of maximal cliques. Worse yet, the vast majority of them may be of little interest. A classic example arises in gene phenotype analysis [8,9], in which large numbers of bicliques each with many genes but only a single phenotype can clutter and confuse the analysis. Thus, we enhance the practical utility of Algorithm 2 with a simple mechanism by which users can specify a lower bound () in order to suppress the generation of highly unbalanced k-partite cliques. The parameter does not affect the notion of maximality and is applied only as a filter when recording output.
4. Space and Time Demands
5. Experimental Analysis
5.1. Sample Results on Synthetic Data
5.2. Sample Results on Real-World Data
6. Review and Discussion
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Phillips, C.A.; Wang, K.; Baker, E.J.; Bubier, J.A.; Chesler, E.J.; Langston, M.A. On finding and enumerating maximal and maximum k-partite cliques in k-partite graphs. Algorithms 2019, 12, 23. [Google Scholar] [CrossRef] [PubMed]
- Bron, C.; Kerbosch, J. Algorithm 457: Finding all cliques of an undirected graph. Commun. ACM 1973, 16, 575–577. [Google Scholar] [CrossRef]
- Conte, A.; Tomita, E. On the overall and delay complexity of the CLIQUES and Bron-Kerbosch algorithms. Theor. Comput. Sci. 2022, 899, 1–24. [Google Scholar] [CrossRef]
- Eppstein, D.; Löffler, M.; Strash, D. Listing all maximal cliques in sparse graphs in near-optimal time. In Algorithms and Computation. ISAAC 2010. Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2010; Volume 6506. [Google Scholar]
- Zhang, Y.; Phillips, C.A.; Rogers, G.L.; Baker, E.J.; Chesler, E.J.; Langston, M.A. On finding bicliques in bipartite graphs: A novel algorithm and its application to the integration of diverse biological data types. BMC Bioinform. 2014, 15, 110. [Google Scholar] [CrossRef]
- Tomita, E.; Tanaka, A.; Takahashi, H. The worst-case time complexity for generating all maximal cliques and computational experiments. Theor. Comput. Sci. 2006, 363, 28–42. [Google Scholar] [CrossRef]
- Eppstein, D.; Löffler, M.; Strash, D. Listing all maximal cliques in large sparse real-world graphs. J. Exp. Algorithmics (JEA) 2013, 18, 3.1–3.21. [Google Scholar] [CrossRef] [PubMed]
- Baldwin, N.E.; Chesler, E.J.; Kirov, S.; Langston, M.A.; Snoddy, J.R.; Williams, R.W.; Zhang, B. Computational, integrative, and comparative methods for the elucidation of genetic coexpression networks. J. Biomed. Biotechnol. 2005, 2005, 172–180. [Google Scholar] [CrossRef]
- Baker, E.J.; Jay, J.J.; Bubier, J.A.; Langston, M.A.; Chesler, E.J. GeneWeaver: A web-based system for integrative functional genomics. Nucleic Acids Res. 2011, 40, D1067–D1076. [Google Scholar] [CrossRef]
- Wang, M.; Yang, W.; Wang, S. Conditional matching preclusion number for the Cayley graph on the symmetric group. Acta Math. Appl. Sin. 2013, 36, 813–820. [Google Scholar]
- Sun, Y.; Han, J. Mining heterogeneous information networks: A structural analysis approach. SIGKDD Explor. 2012, 14, 20–28. [Google Scholar] [CrossRef]
- Schmidt, M.C.; Samatova, N.F.; Thomas, K.; Park, B.H. A scalable, parallel algorithm for maximal clique enumeration. J. Parallel Distrib. Comput. 2009, 69, 417–428. [Google Scholar] [CrossRef]
- Erdős, P.; Rényi, A. On random graphs. Publ. Math. Debr. 1959, 6, 290–297. [Google Scholar] [CrossRef]
- Chen, C. Novel Graph Algorithms for Life Science Applications. Ph.D. Thesis, University of Tennessee, Knoxville, TN, USA, 2025. [Google Scholar]
- Bleker, C.; Grady, S.K.; Langston, M.A. A comparative study of gene co-expression thresholding algorithms. J. Comput. Biol. 2024, 31, 539–548. [Google Scholar] [CrossRef]
- Chen, C.; Grady, S.K.; Dojcsak, L.; Ellingson, S.R.; Langston, M.A. Link prediction in multipartite graphs with application to drug repositioning studies. IEEE Trans. Comput. Biol. Bioinform. 2025, 22, 3055–3064. [Google Scholar] [CrossRef] [PubMed]
- Zitnik, M.; Sosič, R.; Maheshwari, S.; Leskovec, J. BioSNAP Datasets: Stanford Biomedical Network Dataset Collection. 2018. Available online: http://snap.stanford.edu/biodata (accessed on 12 September 2025).
- Das, A.; Sanei-Mehri, S.V.; Tirthapura, S. Shared-memory parallel maximal clique enumeration from static and dynamic graphs. ACM Trans. Parallel Comput. (TOPC) 2020, 7, 1–28. [Google Scholar] [CrossRef]
- Chen, Q.; Fang, C.; Wang, Z.; Suo, B.; Li, Z.; Ives, Z.G. Parallelizing maximal clique enumeration over graph data. In Proceedings of the Database Systems for Advanced Applications: 21st International Conference, DASFAA 2016 Proceedings, Part II 21, Dallas, TX, USA, 16–19 April 2016; Springer: Cham, Switzerland, 2016; pp. 249–264. [Google Scholar]
- Wei, Y.W.; Chen, W.M.; Tsai, H.H. Accelerating the Bron-Kerbosch algorithm for maximal clique enumeration using GPUs. IEEE Trans. Parallel Distrib. Syst. 2021, 32, 2352–2366. [Google Scholar] [CrossRef]
- Yang, Y.; Hao, F.; Pang, B.; Min, G.; Wu, Y. Dynamic maximal cliques detection and evolution management in social Internet of Things: A formal concept analysis approach. IEEE Trans. Netw. Sci. Eng. 2022, 9, 1020–1032. [Google Scholar] [CrossRef]
- Khoshraftar, S.; An, A.; Babanejad, N. Temporal graph representation learning via maximal cliques. In 2022 IEEE International Conference on Big Data (Big Data); IEEE: Piscataway, NJ, USA, 2022; pp. 606–615. [Google Scholar] [CrossRef]
- Lahby, M.; Essouiri, A.; Sekkaki, A. A novel modeling approach for vertical handover based on dynamic k-partite graph in heterogeneous networks. Digit. Commun. Netw. 2019, 5, 297–307. [Google Scholar] [CrossRef]



| Graph Attribute | Tripartite Graphs | ||||
|---|---|---|---|---|---|
| Eye Diseases | Heart Diseases | Hemic & Lymphatic Conditions | Infections | Wounds & Injuries | |
| Disease Vertices | 88 | 40 | 79 | 150 | 71 |
| Drug Vertices | 844 | 963 | 925 | 814 | 885 |
| Protein Vertices | 1987 | 1992 | 1991 | 1977 | 1986 |
| Disease–Drug Density | 7.5% | 17.2% | 12.7% | 18.9% | 9.7% |
| Disease–Protein Density | 34.2% | 42.1% | 47.4% | 38.9% | 22.2% |
| Drug–Protein Density | 3.2% | 3.0% | 3.1% | 3.9% | 3.2% |
| Number of Tricliques | 64,826 | 43,378 | 486,981 | 60,776 | 32,532 |
| Performance | Tripartite Graphs | ||||
|---|---|---|---|---|---|
| Eye Diseases | Heart Diseases | Hemic & Lymphatic Conditions | Infections | Wounds & Injuries | |
| MMCE Runtime (s) | 1332.87 | 105.86 | 558.80 | 544.65 | 76.10 |
| iMMCE Runtime (s) | 9.23 | 10.47 | 13.99 | 6.40 | 3.55 |
| Peak MMCE Memory (MB) | 7.06 | 7.21 | 7.13 | 7.18 | 7.05 |
| Peak iMMCE Memory (MB) | 2.64 | 3.03 | 3.00 | 3.13 | 3.15 |
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. |
© 2026 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
Chen, C.; Abu-Khzam, F.N.; Dojcsak, L.; Langston, M.A. A Novel and Practical Algorithmic Enhancement for Enumerating Maximal and Maximum k-Partite Cliques in k-Partite Graphs. Algorithms 2026, 19, 333. https://doi.org/10.3390/a19050333
Chen C, Abu-Khzam FN, Dojcsak L, Langston MA. A Novel and Practical Algorithmic Enhancement for Enumerating Maximal and Maximum k-Partite Cliques in k-Partite Graphs. Algorithms. 2026; 19(5):333. https://doi.org/10.3390/a19050333
Chicago/Turabian StyleChen, Cheng, Faisal N. Abu-Khzam, Levente Dojcsak, and Michael A. Langston. 2026. "A Novel and Practical Algorithmic Enhancement for Enumerating Maximal and Maximum k-Partite Cliques in k-Partite Graphs" Algorithms 19, no. 5: 333. https://doi.org/10.3390/a19050333
APA StyleChen, C., Abu-Khzam, F. N., Dojcsak, L., & Langston, M. A. (2026). A Novel and Practical Algorithmic Enhancement for Enumerating Maximal and Maximum k-Partite Cliques in k-Partite Graphs. Algorithms, 19(5), 333. https://doi.org/10.3390/a19050333

