NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Clustering Uncertain Graphs

Matteo Ceccarello, Carlo Fantozzi, Andrea Pietracaprina, Geppino Pucci, Fabio VandinarXiv 2016

TL;DR

This paper introduces the first approximation algorithms for clustering uncertain graphs—graphs where edges exist only with a specific probability—that offer provable guarantees and full control over the number of clusters. By proving that connection probabilities satisfy a form of triangle inequality, the authors successfully adapt metric clustering frameworks to the probabilistic "possible worlds" semantics, outperforming standard heuristics in both quality and efficiency.

What Problem Does This Paper Address?

In many real-world scenarios, relationships between data points are not binary but uncertain. For instance, in Protein-Protein Interaction (PPI) networks, an edge might represent an interaction observed in a noisy experiment. In social networks, an edge might represent the likelihood of one person influencing another. These are modeled as uncertain graphs.

Clustering these graphs is notoriously difficult for two reasons:

  1. Computational Complexity: Calculating the exact probability that two nodes are connected (two-terminal reliability) is #P-complete.
  2. Semantic Mismatch: Traditional clustering algorithms designed for deterministic graphs (like $k$-center or $k$-median) don't naturally account for the "possible worlds" of an uncertain graph, where different subgraphs emerge based on edge probabilities.

Existing solutions either don't allow users to specify the number of clusters ($k$) or lack theoretical guarantees on the quality of the resulting clusters.

Methods

The authors propose two main optimization problems:

  • MCP (Minimum Connection Probability): Maximize the probability that the least connected node in a cluster is connected to its center.
  • ACP (Average Connection Probability): Maximize the average connection probability of all nodes to their respective cluster centers.

The "Aha!" Moment: Triangle Inequality

The core technical breakthrough is proving a form of triangle inequality for connection probabilities: $\text{Pr}(u \sim z) \ge \text{Pr}(u \sim v) \cdot \text{Pr}(v \sim z)$. This allows the authors to treat connection probabilities (or rather, their negative logarithms) as distances in a metric space, enabling the adaptation of robust clustering techniques.

The Algorithms

The authors developed a core primitive called MIN-PARTIAL, which finds a partial clustering that covers as many nodes as possible given a probability threshold $q$.

The MIN-PARTIAL algorithm serves as the building block for both MCP and ACP clustering strategies.

To handle the #P-completeness of reliability estimation, they integrated a progressive Monte Carlo sampling scheme. Instead of using a fixed number of samples, the algorithm dynamically adjusts the sample size based on the current probability threshold, ensuring high accuracy for important connections while saving time on low-probability ones.

Datasets

The algorithms were evaluated on four diverse graphs:

  • PPI Networks: Collins, Gavin, and Krogan (CORE). These represent biological interactions with varying edge probability distributions.
  • Collaboration Network: A large subgraph of DBLP, where nodes are authors and edge probabilities represent the likelihood of future co-authorship based on past joint papers. This dataset included over 636,000 nodes and 2.3 million edges.

Key Insights and Ideas

  • Metric Bridging: Proving the triangle inequality for uncertain graphs is a significant theoretical contribution that bridges probabilistic graph theory and classical metric clustering.
  • Possible Worlds Matter: The authors show that naive adaptations of deterministic algorithms (like using shortest paths on weighted graphs) fail because they ignore the aggregate connectivity provided by multiple paths in an uncertain graph.
  • Efficiency through Sampling: By only requiring accurate estimates for probabilities near the optimal value, the progressive sampling approach makes clustering feasible even for very large graphs like DBLP, where other methods (like MCL) often crash due to memory limits.

Key Results

  • Theoretical Guarantees: The MCP algorithm provides a $\Omega(p_{opt-min}^2)$ approximation, and the ACP algorithm provides a $\Omega((p_{opt-avg} / \log n)^3)$ approximation.
  • Empirical Superiority: In experiments, the MCP algorithm consistently found clusters with significantly higher minimum connection probabilities than the Markov Cluster Algorithm (MCL) and a naive $k$-center adaptation (GMM).
  • Predictive Power: When used to predict protein complexes in the Krogan dataset, the proposed algorithms were competitive with state-of-the-art specialized biological tools, demonstrating that the probabilistic objective functions align well with real-world structures.
  • Scalability: On the DBLP dataset, the authors' algorithms remained efficient for small values of $k$, whereas MCL failed to run due to excessive memory consumption.

Limitations and Future Work

  • Loose Bounds: While the algorithms have provable guarantees, the theoretical approximation ratios (squared and cubic terms) are somewhat loose, especially for very small optimal probabilities.
  • Conjectured Hardness: While the MCP problem was proven to be NP-hard, the NP-hardness of the ACP problem remains a (highly plausible) conjecture.
  • Edge Independence: The current model assumes edge probabilities are independent. Future work could explore clustering in graphs with correlated edge uncertainties.

Summary updated

BibTeX
@misc{ceccarello2016clustering,
  author = {Matteo Ceccarello and Carlo Fantozzi and Andrea Pietracaprina and Geppino Pucci and Fabio Vandin},
  title = {{Clustering Uncertain Graphs}},
  year = {2016},
  eprint = {1612.06675},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.06675},
}
Figure