Most Probable Densest Subgraphs

Arkaprava Saha, Xiangyu Ke, Arijit Khan, Cheng Long

TL;DR

This paper introduces the concept of the Most Probable Densest Subgraph (MPDS) to identify highly cohesive communities and structures within uncertain graphs (networks where edges exist with a given probability). Although proving that computing this probability is #P-hard, the authors design efficient sampling-based approximation algorithms with rigorous accuracy guarantees. Their approach successfully scales to massive networks and outperforms traditional expectation-based methods in real-world tasks, such as identifying functional brain network differences in autism.

What Problem Does This Paper Address?

In real-world applications—ranging from social networks to protein interactions—data is frequently noisy or probabilistic. Graph uncertainty models this by assigning an existential probability to each edge. While finding dense subgraphs in deterministic networks is a foundational problem, doing so in uncertain graphs is much more challenging.

Prior work heavily relied on finding subgraphs with the maximum expected edge density. However, the authors demonstrate that this metric is fundamentally flawed: a subgraph with high expected density might just be a bloated structure containing many low-probability edges. Consequently, it might actually be the densest subgraph in zero actual realizations ("possible worlds") of the network.

To fix this, this paper introduces MPDS, which seeks the specific set of nodes most likely to form the absolute densest subgraph across all possible states of the network. They expand this definition across multiple density metrics, including edge density, clique density, and arbitrary pattern densities.

Possible worlds of an uncertain graph and their probabilities

Methods

Because computing the exact MPDS requires evaluating an exponential number of possible graph states ($2^m$ worlds for $m$ edges), the authors prove the problem is #P-hard. To make it tractable, they propose a Monte Carlo sampling framework:

  1. Possible World Sampling: Independently sample $\theta$ deterministic instances of the uncertain graph.
  2. All-Densest Subgraph Enumeration: For each sampled world, find all subgraphs that achieve maximum density. While standard algorithms stop after finding one densest subgraph, the authors show that missing ties severely skews probability estimates. They develop novel, exact algorithms to enumerate all clique-densest and pattern-densest subgraphs using flow networks and strongly connected components (SCCs).
  3. Probability Estimation: The most frequent densest subgraphs across the samples are returned as the top-$k$ MPDS.

For massive graphs where individual subgraph probabilities become miniscule, they introduce a variant called the Nucleus Densest Subgraph (NDS). NDS finds the "nucleus" nodes most frequently contained within various densest subgraphs, elegantly reducing the problem to a closed frequent itemset mining problem solved via the TFP algorithm.

Datasets

The authors evaluated their algorithms on seven real-world datasets spanning various domains:

  • Social Networks: Karate Club (34 nodes), LastFM (6.8K nodes), Twitter (6.2M nodes), and Friendster (65.6M nodes, 1.8B edges).
  • Biological Networks: Homo Sapiens (protein-protein interactions, 18.3K nodes) and Biomine (1M nodes).
  • Sensor Networks: Intel Lab (54 nodes).
  • Synthetic Benchmarks: Small Erdős-Rényi (ER) and Barabási-Albert (BA) graphs used to validate approximation accuracy against exact brute-force solutions.

Key Insights and Ideas

  • The Expected Density Trap: Maximizing expected density often yields large, loosely connected subgraphs. MPDS guarantees precision by finding subgraphs that are truly the densest with high probability.
  • Ties Matter: In a deterministic graph sample, there are often multiple subgraphs tied for the maximum density. The authors discovered that computing only one random densest subgraph per world reduces estimation accuracy by up to 20× on datasets like LastFM. Enumerate them all is computationally demanding but necessary.
  • Noise Filtering in Brain Networks: In functional brain networks (where edge probabilities represent co-activation strength), MPDS acts as an effective noise filter. It successfully distinguished between Typically Developed children and those with Autism Spectrum Disorder (ASD) by highlighting localized, highly reliable symmetries in the occipital lobe, whereas expectation-based methods failed by including irrelevant, noisy connections.

Key Results

  • Accuracy: For $k=1$, the approximation algorithm consistently returned the exact same top subgraph as the brute-force method. For top-5 and top-10 queries, it maintained exceptionally high F1-scores relative to the ground truth.
  • Efficiency & Scalability: While exact computation is impossible for large graphs, the proposed sampling approach processed the 1.8-billion-edge Friendster dataset in under 5 hours using a heuristic core-decomposition optimization.
  • Community Purity: In the classic Karate Club benchmark, MPDS achieved 100% community purity, perfectly separating the network's real-world factions. In contrast, deterministic and expected density baselines mixed the factions together.

Limitations and Future Work

While highly effective, enumerating all pattern-densest subgraphs can still become bottlenecked when dealing with massive graphs combined with large, complex target patterns (like large cliques or diamonds). For these edge cases, the authors had to rely on a core-decomposition heuristic.

Additionally, the framework assumes that edge probabilities are independent. In many real-world networks, edge existences are correlated; extending MPDS to handle dependent edge probabilities remains an open and challenging direction for future research.

Summary updated

BibTeX
@inproceedings{saha2022most,
  author = {Arkaprava Saha and Xiangyu Ke and Arijit Khan and Cheng Long},
  title = {{Most Probable Densest Subgraphs}},
  booktitle = {ICDE},
  year = {2022},
}
Figure