{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,26]],"date-time":"2026-11-26T19:54:52Z","timestamp":1795722892632,"version":"4.11.3"},"reference-count":43,"publisher":"Oxford University Press (OUP)","issue":"6","license":[{"start":{"date-parts":[[2023,12,23]],"date-time":"2023-12-23T00:00:00Z","timestamp":1703289600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/academic.oup.com\/pages\/standard-publication-reuse-rights"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2024,6,24]]},"abstract":"<jats:title>Abstract<\/jats:title>\n               <jats:p>Listing dense subgraphs is a fundamental task with a variety of network analytics applications. A lot of research has been done focusing on $k$-cliques, i.e. complete subgraphs on $k$ nodes. However, requiring complete connectivity between the nodes of a subgraph may be too restrictive in many real applications. Hence, in this paper, we consider a natural relaxation of cliques, called $k$-diamonds and defined as cliques of size $k$ with one missing edge. We first provide a sequential algorithm that, in $O(nm^{(k-1)\/2})$ time, counts and lists all the $k$-diamonds in large graphs, for any constant $k \\geq 4$. A parallel extension of the sequential algorithm is then proposed and analyzed in a MapReduce-style model, achieving the same local and total space usage of the state-of-the-art algorithms for $k$-cliques. The running time is optimal on dense graphs and $O(\\sqrt{m})$ larger than $k$-clique counting if the graph is sparse. Our algorithms compute induced diamonds by analyzing the structure of directed stars formed by the graph nodes and their neighbors.<\/jats:p>","DOI":"10.1093\/comjnl\/bxad129","type":"journal-article","created":{"date-parts":[[2023,12,26]],"date-time":"2023-12-26T08:43:14Z","timestamp":1703580194000},"page":"2151-2161","source":"Crossref","is-referenced-by-count":4,"title":["From Stars to Diamonds: Counting and Listing Almost Complete Subgraphs in Large Networks"],"prefix":"10.1093","volume":"67","author":[{"given":"Irene","family":"Finocchi","sequence":"first","affiliation":[{"name":"Luiss University , Viale Romania 32, 00197, Rome , Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Renan Leon","family":"Garcia","sequence":"additional","affiliation":[{"name":"Sapienza University of Rome , Via Salaria 113, 00139, Rome , Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Blerina","family":"Sinaimeri","sequence":"additional","affiliation":[{"name":"Luiss University , Viale Romania 32, 00197, Rome , Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"286","published-online":{"date-parts":[[2023,12,23]]},"reference":[{"key":"2024062414154014100_ref1","doi-asserted-by":"crossref","DOI":"10.1017\/CBO9781139924801","volume-title":"Mining of Massive Datasets","author":"Leskovec","year":"2014"},{"key":"2024062414154014100_ref2","doi-asserted-by":"crossref","first-page":"75","DOI":"10.1007\/s13278-010-0001-9","article-title":"Spectral counting of triangles via element-wise sparsification and triangle-based link recommendation","volume":"1","author":"Tsourakakis","year":"2010","journal-title":"Soc. Netw. Anal. Min."},{"key":"2024062414154014100_ref3","doi-asserted-by":"crossref","first-page":"279","DOI":"10.1007\/s10115-013-0648-4","article-title":"Compressed representations for web and social graphs","volume":"40","author":"Hern\u00e1ndez","year":"2013","journal-title":"Knowl. Inf. Syst."},{"key":"2024062414154014100_ref4","doi-asserted-by":"crossref","first-page":"456","DOI":"10.1007\/978-3-642-12683-3_30","article-title":"Dense subgraphs with restrictions and applications to gene annotation graphs","volume-title":"Research in Computational Molecular Biology, Berlin, Heidelberg","author":"Saha","year":"2010"},{"key":"2024062414154014100_ref5","first-page":"24","article-title":"Cliques are too strict for representing communities: Finding large k-plexes in real networks","volume-title":"Proceedings of the 26th Italian Symposium on Advanced Database Systems, Castellaneta Marina (Taranto), Italy, June 24\u201327, 2018, June, CEUR Workshop Proceedings","author":"Conte","year":"2018"},{"key":"2024062414154014100_ref6","doi-asserted-by":"crossref","first-page":"440","DOI":"10.1002\/net.22097","article-title":"On maximum ratio clique relaxations","volume":"80","author":"Blokhin","year":"2022","journal-title":"Networks"},{"key":"2024062414154014100_ref7","article-title":"An O(m) algorithm for cores decomposition of networks","author":"Batagelj","year":"2003"},{"key":"2024062414154014100_ref8","article-title":"Trusses: cohesive subgraphs for social network analysis","author":"Cohen","year":"2008"},{"key":"2024062414154014100_ref9","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1109\/HPEC.2017.8091038","article-title":"Quickly finding a truss in a haystack","volume-title":"2017 IEEE High Performance Extreme Computing Conference (HPEC), sep","author":"Green","year":"2017"},{"key":"2024062414154014100_ref10","doi-asserted-by":"crossref","first-page":"139","DOI":"10.1080\/0022250X.1978.9989883","article-title":"A graph-theoretic generalization of the clique concept","volume":"6","author":"Seidman","year":"1978","journal-title":"J. Math. Sociol."},{"key":"2024062414154014100_ref11","doi-asserted-by":"crossref","first-page":"388","DOI":"10.1002\/net.21745","article-title":"Approaches for finding cohesive subgroups in large-scale social networks via maximum k-plex detection","volume":"69","author":"Miao","year":"2017","journal-title":"Networks"},{"key":"2024062414154014100_ref12","first-page":"598","article-title":"Massive quasi-clique detection","volume-title":"Proceedings of the 5th Latin American Symposium on Theoretical Informatics, Berlin, Heidelberg LATIN \u201802 598\u2013612","author":"Abello","year":"2002"},{"key":"2024062414154014100_ref13","doi-asserted-by":"crossref","first-page":"113","DOI":"10.1080\/0022250X.1973.9989826","article-title":"A graph-theoretic definition of a sociometric clique","volume":"3","author":"Alba","year":"1973","journal-title":"J. Math. Sociol."},{"key":"2024062414154014100_ref14","doi-asserted-by":"crossref","first-page":"304","DOI":"10.1287\/ijoo.2021.0068","article-title":"Interdicting low-diameter cohesive subgroups in large-scale social networks","volume":"4","author":"Daemi","year":"2022","journal-title":"INFORMS J. Optim."},{"key":"2024062414154014100_ref15","first-page":"115","article-title":"Fast enumeration of large k-plexes","volume-title":"Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD \u201817","author":"Conte","year":"2017"},{"key":"2024062414154014100_ref16","first-page":"976","article-title":"A distributed k-core decomposition algorithm on spark","volume-title":"2017 IEEE International Conference on Big Data (Big Data), December","author":"Mandal","year":"2017"},{"key":"2024062414154014100_ref17","doi-asserted-by":"crossref","first-page":"79","DOI":"10.1016\/j.jpdc.2017.03.003","article-title":"Parallelizing maximal clique and k-plex enumeration over graph data","volume":"106","author":"Wang","year":"2017","journal-title":"J. Parallel Distrib. Comput."},{"key":"2024062414154014100_ref18","doi-asserted-by":"crossref","first-page":"1272","DOI":"10.1145\/3219819.3220093","article-title":"D2k: scalable community detection in massive networks via small-diameter k-plexes","volume-title":"Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD \u201818","author":"Conte","year":"2018"},{"key":"2024062414154014100_ref19","doi-asserted-by":"crossref","first-page":"84","DOI":"10.1016\/j.disopt.2012.02.002","article-title":"On inclusionwise maximal and maximum cardinality k-clubs in graphs","volume":"9","author":"Mahdavi Pajouh","year":"2012","journal-title":"Disc. Optim."},{"key":"2024062414154014100_ref20","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-031-47546-7_27","article-title":"Clique-TF-IDF: a new partitioning framework based on dense substructures","volume-title":"AIxIA 2023 \u2013 Advances in Artificial Intelligence. AIxIA 2023. Lecture Notes in Computer Science (LNAI), vol 14318, 396\u2013410","author":"D\u2019Elia","year":"2023"},{"key":"2024062414154014100_ref21","doi-asserted-by":"crossref","first-page":"814","DOI":"10.1038\/nature03607","article-title":"Uncovering the overlapping community structure of complex networks in nature and society","volume":"435","author":"Palla","year":"2005","journal-title":"Nature"},{"key":"2024062414154014100_ref22","first-page":"1","article-title":"Link-based characterization and detection of web spam","volume-title":"AIRWeb 2006, Proceedings of the Second International Workshop on Adversarial Information Retrieval on the Web, 10 August 2006, co-located with SIGIR 2006","author":"Becchetti","year":"2006"},{"key":"2024062414154014100_ref23","doi-asserted-by":"crossref","first-page":"210","DOI":"10.1137\/0214017","article-title":"Arboricity and subgraph listing algorithms","volume":"14","author":"Chiba","year":"1985","journal-title":"SIAM J. Comput."},{"key":"2024062414154014100_ref24","doi-asserted-by":"crossref","first-page":"553","DOI":"10.1016\/j.ins.2018.07.018","article-title":"Counting cliques in parallel without a cluster: engineering a fork\/join algorithm for shared-memory platforms","volume":"496","author":"Coppa","year":"2019","journal-title":"Inform. Sci."},{"key":"2024062414154014100_ref25","first-page":"243","article-title":"Parallel algorithms for finding large cliques in sparse graphs","volume-title":"Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures SPAA \u201821","author":"Gianinazzi","year":"2021"},{"key":"2024062414154014100_ref26","doi-asserted-by":"crossref","first-page":"607","DOI":"10.1145\/1963405.1963491","article-title":"Counting triangles and the curse of the last reducer","volume-title":"Proceedings of the 20th International Conference on World Wide Web","author":"Suri","year":"2011"},{"key":"2024062414154014100_ref27","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/2794080","article-title":"Clique counting in MapReduce: algorithms and experiments","volume":"20","author":"Finocchi","year":"2015","journal-title":"ACM J. Exp. Algorithmics"},{"key":"2024062414154014100_ref28","first-page":"589","article-title":"Listing k-cliques in sparse real-world graphs${\\ast }$","volume-title":"Proceedings of the 2018 World Wide Web Conference on World Wide Web, WWW 2018, Lyon, France, April 23-27","author":"Danisch","year":"2018"},{"key":"2024062414154014100_ref29","doi-asserted-by":"crossref","first-page":"575","DOI":"10.1145\/362342.362367","article-title":"Algorithm 457: finding all cliques of an undirected graph","volume":"16","author":"Bron","year":"1973","journal-title":"Commun. ACM"},{"key":"2024062414154014100_ref30","first-page":"260","article-title":"New algorithms for enumerating all maximal cliques","volume-title":"9th Scandinavian Workshop on Algorithm Theory","author":"Makino","year":"2004"},{"key":"2024062414154014100_ref31","doi-asserted-by":"crossref","first-page":"28","DOI":"10.1016\/j.tcs.2006.06.015","article-title":"The worst-case time complexity for generating all maximal cliques and computational experiments","volume":"363","author":"Tomita","year":"2006","journal-title":"Theor. Comput. Sci."},{"key":"2024062414154014100_ref32","first-page":"173","article-title":"Finding all maximal cliques in very large social networks","volume-title":"Proceedings of the 19th International Conference on Extending Database Technology, EDBT 2016, Bordeaux, France, March 15-16, 2016","author":"Conte","year":"2016"},{"key":"2024062414154014100_ref33","doi-asserted-by":"crossref","first-page":"1547","DOI":"10.1007\/s00453-019-00656-8","article-title":"Sublinear-space and bounded-delay algorithms for maximal clique enumeration in graphs","volume":"82","author":"Conte","year":"2020","journal-title":"Algorithmica"},{"key":"2024062414154014100_ref34","doi-asserted-by":"crossref","first-page":"265","DOI":"10.7155\/jgaa.00108","article-title":"Approximating clustering coefficient and transitivity","volume":"9","author":"Schank","year":"2005","journal-title":"J. Graph Algorithms Appl."},{"key":"2024062414154014100_ref35","first-page":"10","article-title":"MapReduce: simplified data processing on large clusters","volume-title":"Proceedings of the 6th Conference on Symposium on Operating Systems Design & Implementation, OSDI\u201904","author":"Dean","year":"2004"},{"key":"2024062414154014100_ref36","article-title":"Resilient distributed datasets: a fault-tolerant abstraction for in-memory cluster computing","volume-title":"Proceedings of the 9th USENIX Conference on Networked Systems Design and Implementation, USA NSDI\u201912 2","author":"Zaharia","year":"2012"},{"key":"2024062414154014100_ref37","first-page":"938","article-title":"A model of computation for MapReduce","volume-title":"Proceedings of the 21st Annual ACM-SIAM Symposium on Discrete Algorithms","author":"Karloff","year":"2010"},{"key":"2024062414154014100_ref38","first-page":"374","article-title":"Sorting, searching, and simulation in the MapReduce framework","volume-title":"Proceedings of the 22nd International Conference on Algorithms and Computation, ISAAC\u201911","author":"Goodrich","year":"2011"},{"key":"2024062414154014100_ref39","doi-asserted-by":"crossref","first-page":"235","DOI":"10.1145\/2304576.2304607","article-title":"Space-round tradeoffs for MapReduce computations","volume-title":"Proceedings of the 26th ACM International Conference on Supercomputing","author":"Pietracaprina","year":"2012"},{"key":"2024062414154014100_ref40","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3125644","article-title":"Communication steps for parallel query processing","volume":"64","author":"Beame","year":"2017","journal-title":"J. ACM"},{"key":"2024062414154014100_ref41","doi-asserted-by":"crossref","first-page":"1555","DOI":"10.1109\/TKDE.2018.2858820","article-title":"On efficient external-memory triangle listing","volume":"31","author":"Cui","year":"2019","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"2024062414154014100_ref42","doi-asserted-by":"crossref","DOI":"10.1109\/SC.2018.00017","article-title":"TriCore: parallel triangle counting on GPUs","volume-title":"SC18: International Conference for High Performance Computing, Networking, Storage and Analysis, November, 1-12","author":"Hu","year":"2018"},{"key":"2024062414154014100_ref43","doi-asserted-by":"crossref","first-page":"445","DOI":"10.1145\/3375395.3387652","article-title":"Triangle and four cycle counting in the data stream model","volume-title":"Proceedings of the 39th ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems, New York, NY, USA PODS\u201920","author":"McGregor","year":"2020"}],"container-title":["The Computer Journal"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/academic.oup.com\/comjnl\/article-pdf\/67\/6\/2151\/58309056\/bxad129.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/comjnl\/article-pdf\/67\/6\/2151\/58309056\/bxad129.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,6,24]],"date-time":"2024-06-24T14:54:25Z","timestamp":1719240865000},"score":1,"resource":{"primary":{"URL":"https:\/\/academic.oup.com\/comjnl\/article\/67\/6\/2151\/7492702"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,12,23]]},"references-count":43,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2023,12,23]]},"published-print":{"date-parts":[[2024,6,24]]}},"URL":"https:\/\/doi.org\/10.1093\/comjnl\/bxad129","relation":{},"ISSN":["0010-4620","1460-2067"],"issn-type":[{"value":"0010-4620","type":"print"},{"value":"1460-2067","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2024,6]]},"published":{"date-parts":[[2023,12,23]]}}}