Graph-based Clustering under Differential Privacy

Rafael Pinot, Anne Morvan, Florian Yger, Cédric Gouy-Pailler, Jamal Atif

Abstract

Graph clustering is a fundamental tool for identifying community structures and patterns in complex datasets. However, when edge weights represent sensitive information—such as the frequency of interactions or the strength of biological relationships—standard clustering algorithms risk compromising individual privacy. This paper introduces PTCLUST, a novel framework for weight-differentially private clustering. By leveraging the properties of Minimum Spanning Trees (MSTs) and density-based clustering, PTCLUST is the first algorithm capable of identifying arbitrary-shaped, non-convex clusters in weighted graphs while providing rigorous differential privacy guarantees.

Introduction

In the era of big data, graph clustering serves as a cornerstone for applications ranging from social network analysis to web traffic monitoring. Despite its utility, the sensitivity of edge weights poses a significant privacy challenge. For instance, in a medical network, the weight of an edge might represent the frequency of a patient's visits to a specific specialist. Releasing such data without protection can lead to deanonymization or the leakage of sensitive personal habits.

While Differential Privacy (DP) has been integrated into clustering before, existing methods like DP $k$-means suffer from two primary limitations. First, they are often constrained by shape, typically identifying only "convex" or spherical clusters. Second, they are frequently designed for unstructured Euclidean data rather than weighted graphs where the topology is public but the relationship strengths are private. PTCLUST addresses these gaps by providing a mathematically grounded method for "weight-differential privacy."

The PTCLUST Framework

PTCLUST (Private Tree-based Clustering) operates through a specialized three-step pipeline designed to balance data utility with privacy preservation:

  1. Private MST Topology (PAMST): Releasing a full graph is computationally expensive and privacy-intensive. Instead, PTCLUST utilizes the PAMST algorithm to release the topology of an approximate Minimum Spanning Tree. This tree serves as a structural "skeleton," capturing the most significant connections within the graph.
  2. Weight-Release Mechanism: Once the MST topology is established, a Laplace mechanism is applied to the edge weights. To maintain the integrity of the clustering process, the authors introduce normalization parameters ($\tau$ and $p$) that bound the weights within a manageable range, preventing extreme noise from completely obscuring the signal.
  3. Density-Based MST Clustering (DBMSTCLU): The privatized, weighted MST is processed using a modified DBMSTCLU algorithm. This approach greedily removes edges to maximize a "Validity Index" (DBCVI), which optimizes the ratio between Dispersion (the maximum edge weight within a cluster) and Separation (the minimum weight between distinct clusters).

Theoretical Justification

A core contribution of this work is the formal proof of the "Subtree Justification." The authors demonstrate that any valid cluster in a graph—defined by minimum path distances—must be represented as a subtree within its MST. This theoretical foundation justifies the use of MSTs as a proxy for the full graph structure in clustering tasks.

Experimental Evaluation

The authors evaluated PTCLUST using two classic synthetic benchmarks designed to test non-convex clustering: Two Concentric Circles and Two Moons. These datasets represent complex structures that traditional $k$-means algorithms fail to segment correctly. In these experiments, the data was treated as a graph where edge weights satisfied a "strong homogeneity condition"—meaning intra-cluster edges were significantly lighter than inter-cluster edges.

Key Results

  • Privacy-Utility Trade-off: PTCLUST successfully recovered the "Circles" and "Moons" structures at moderate privacy levels ($\epsilon = 1.0$ and $\epsilon = 0.7$). However, as the privacy requirement became more stringent ($\epsilon = 0.5$), the algorithm's performance began to degrade, often producing "singletons" (isolated nodes) due to the high level of noise required to protect the weights.
  • Mathematical Guarantees: The paper provides the first formal proof that PTCLUST is $\epsilon$-differentially private and offers bounds on the probability of accurately recovering the partitioning topology under specific noise conditions.

Limitations and Future Directions

The primary limitation of the current PTCLUST framework is its reliance on the Strong Homogeneity Condition. The theoretical guarantees currently require a clear, consistent separation between the weights of edges within a cluster and those between clusters. In real-world datasets, these boundaries are often blurred by noise or overlapping distributions.

Future research will focus on relaxing these homogeneity requirements to improve robustness on "messy" real-world data. Additionally, the authors envision applying PTCLUST to high-stakes domains such as metagenomics and gene classification, where protecting individual genetic maps is essential for large-scale community discovery and collaborative research.

Summary updated

BibTeX
@inproceedings{pinot2018graph,
  author = {Rafael Pinot and Anne Morvan and Florian Yger and Cédric Gouy-Pailler and Jamal Atif},
  title = {{Graph-based Clustering under Differential Privacy}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2018},
  url = {https://openreview.net/forum?id=HHrbAExl6Wc},
}
Figure