arXiv:2609.04890cs.SISep 2026

Manuscript Offprint

arXiv:2609.04890

Finding Many Overlapping Dense Subgraphs Using Triadic Cohorts

Sabyasachi Basu, C. Seshadhri

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Graphs are a standard representation for data in the social sciences, cybersecurity, computer infrastructure, bioinformatics, and more. Typical real-world graphs are sparse, meaning the average degree is small (in the tens, while the number of vertices is more than millions). When graph data is collected from a source, a major task is to perform data exploration. Thus, any region of “density” is of interest, since it indicates special structure.

An important goal is to cover a significant portion of the graph using dense subgraphs. Existing algorithms that find many dense subgraphs do not have overlapping output, and hence provide limited coverage. Other methods that produce overlapping clusters do not generate dense subgraphs. The main goal of this paper is to develop provable and practical methods that can provide overlapping dense subgraphs that can cover large portions of real-world networks.

Our contribution is an algorithm CohortRecovery that achieves this goal. We first develop a mathematical framework of triadic cohorts that captures the notion of “detectable dense subgraphs” that potentially overlap. We prove that CohortRecovery can output a set of dense subgraphs, such that each triadic cohort is almost completely contained in some dense subgraph. We give a practical implementation of CohortRecovery and demonstrate it on a variety of datasets. It typically runs in under ten minutes on a commodity machine even on graphs with tens of millions of edges. For numerous datasets, CohortRecovery is able to cover more than 25% of the vertices in non-trivial subgraphs of density more than 0.8, and is significantly better than a wide variety of scalable graph clustering/community detection algorithms. Moreover, we demonstrate that output of CohortRecovery captures ground truth clusters obtained by manual curation.

1 Introduction

The explosive growth of network science as a discipline has been fueled by the wide variety of datasets that can be represented as large graphs. When graph data is collected from a source, a major task is to perform data exploration, often in the context of unsupervised machine learning. Real-world graphs typically have low average degree (in the tens), while having millions or more vertices. Thus, any region of “density” usually indicates special or uncommon structure. This problem is often given the umbrella name of dense subgraph discovery. It has been used for biological data extraction [69, 25], graph compression [12], detecting social groups [7, 24], detecting link farms [42, 19, 28], graph visualization [1], financial data analysis [20], and improving the throughput of servers [29]. This topic has been studied intensely from the early days of graph mining [44].

Let G=(V,E)G = (V, E) denote an input undirected, unweighted graph, and E(S)E(S) denote the number of edges in a subset SS of vertices. We define the density of SS as E(S)/((∣S∣2))E(S)/(\binom{|S|}{2}). Since most real-world graphs have densities well below 10−410^{-4}, a set with density of (say) 0.5 is of interest. There are many formal objectives for the largest dense set, or the densest set with a size threshold [31, 2]. These objectives, even with approximations, are typically NP-hard [33, 23, 38]. There is a rich literature of practical heuristics [14, 28, 2, 11, 57, 56, 50, 41, 16, 51, 10, 15] (refer to recent survey [43]). A drawback of most methods is that they are geared towards finding one (or a few) large dense subgraphs. From a data analysis perspective, one wants to recover information about many dense subgraphs instead of just a single “optimal”. In such settings, one wishes to cover large portions of the graph using dense subgraphs, to explain or get higher level representations of the input. Finding just a few optimally densest sets has limited utility, since vast portions of the graph cannot be covered. In general,

Figure

Figure 1: For an (overlapping or otherwise) clustering method, the coverage is the fraction of vertices contained in dense clusters of size at least 5. We focus on density at least 0.5 (left) and 0.8 (right). Our algorithm CohortRecovery is labeled as Coh. We compare to RTREx (RTR [6]), CoDeSEG (Cod [65]), Nucleus (Nuc [48]), Louvain (Lou [9]), Leiden (Lei [53]), and a PageRank technique (AGM [3]). Across the datasets, we see that the CohortRecovery algorithm has a better coverage, and in many cases, has 10% more coverage than any competing algorithm. We also observe that no previous algorithm has good performance on all datasets.

sets of high density typically have size in order of tens [48, 57, 6], so we want to find thousands of such dense sets.

There are recent results on this problem [28, 48, 50, 51, 10, 6]. But a crucial aspect ignored by many results (notable exceptions are [3, 65]) is that of overlap. Methods that find many dense components in a graph usually construct partitions. One expects real-world data to have significant overlap in dense clusters. For example, we note that in many datasets with ground truth clusters [45], more than 30% of the graph belong to multiple clusters (refer to Tab. 2).

Our motivating problem is: can we design a scalable algorithm that can cover large portions of real-world graphs with overlapping dense subgraphs? The primary goal is to maximize the covered portion, potentially exploiting density to increase that coverage.

To give our problem and approach a theoretical grounding, we wish to build a mathematical framework of recovering overlapping dense subgraphs, that leads to practical algorithms. Our ideal aim is to formally show that all “well-structured” dense subgraphs can be approximately recovered, and demonstrate the algorithm empirically.

References (65)