A Differentially Private Clustering Algorithm for Well-Clustered Graphs

Weiqiang He, Hendrik Fichtenberger, Pan Peng

Graph clustering is a cornerstone of unsupervised learning, widely used to identify communities in social networks, functional groups in biological systems, and structural patterns in complex datasets. However, the edges in these graphs often represent highly sensitive information, such as personal communications or financial transactions. Standard spectral clustering algorithms are inherently non-private; the addition or removal of a single edge can drastically alter the resulting clusters, potentially leaking sensitive relationships.

This paper introduces a novel $(\epsilon, \delta)$-differentially private (DP) algorithm designed specifically for "well-clustered" graphs. By leveraging the stability of Semi-Definite Programming (SDP), the authors achieve a misclassification rate that nearly matches the best-known non-private algorithms, providing a robust bridge between data utility and edge privacy.

The Challenge of Private Graph Clustering

While Differential Privacy (DP) offers a rigorous mathematical framework to protect individual data points, applying it to graph clustering is notoriously difficult. Previous private algorithms were often restricted to graphs with exactly two clusters or specific statistical models like the Stochastic Block Model (SBM).

This paper tackles the more general and realistic case of well-clustered graphs containing $k$ clusters. A graph is considered well-clustered based on its conductance: it exhibits high "inner conductance" (nodes within a cluster are densely connected) and low "outer conductance" (connections between different clusters are sparse).

Methodology: Stability as a Pathway to Privacy

To achieve privacy without sacrificing utility, the authors propose a multi-stage pipeline that integrates convex optimization with traditional spectral techniques:

  1. The SDP Foundation: Instead of clustering the graph directly, the algorithm solves a Semi-Definite Program (SDP). This SDP is carefully designed to minimize the distance between the endpoints of existing edges while maximizing the distance between all pairs of vertices.
  2. Sensitivity Through Stability: The core technical breakthrough of the paper is proving that this specific SDP is "generalized strongly convex." In the context of DP, this means the solution is highly stable. Changing a single edge in the input graph does not significantly alter the optimal solution of the SDP. This low sensitivity is the key mechanism that allows the authors to add a relatively small amount of noise while still guaranteeing privacy.
  3. The Gaussian Mechanism: To satisfy $(\epsilon, \delta)$-differential privacy, calibrated Gaussian noise is added to the scaled solution of the SDP.
  4. Spectral Embedding & K-means: Finally, the algorithm extracts the top $k$ eigenvectors from the noisy SDP solution to create a low-dimensional embedding of the vertices. A standard K-means algorithm is then run on these embeddings to produce the final clusters.

Key Insights and Results

Bridging the Utility Gap

Historically, private clustering algorithms have suffered from significantly worse performance compared to their non-private counterparts. This paper demonstrates that for well-clustered graphs, the "privacy tax" is remarkably low. The algorithm achieves a misclassification ratio of $O(k^4 \cdot \phi_{out}/\phi_{in}^2)$, which closely trails the non-private state-of-the-art bound of $O(k^3 \cdot \phi_{out}/\phi_{in}^2)$.

Empirical Prowess on Synthetic Datasets

The algorithm was evaluated using synthetic datasets generated from Stochastic Block Models (SBMs), which provide a ground truth for measuring misclassification rates. In head-to-head tests against a baseline approach (Randomized Response + SDP), the new algorithm consistently achieved vastly superior Adjusted Mutual Information (AMI) and Normalized Mutual Information (NMI) scores. For instance, in a 3-cluster SBM with 150 nodes, the proposed algorithm achieved an AMI of 0.57, completely eclipsing the baseline's score of 0.06.

The Necessity of $(\epsilon, \delta)$-DP

Crucially, the authors provide a lower bound proof demonstrating that "pure" $\epsilon$-DP (which does not allow for a tiny failure probability $\delta$) is fundamentally incapable of solving this clustering problem without incurring massive errors. This theoretical result justifies the use of the $(\epsilon, \delta)$ relaxation as a strict necessity for high-accuracy private clustering.

Limitations and Future Work

While the theoretical and empirical results are strong, the approach has a few notable limitations:

  • Scalability: Solving SDPs is computationally expensive. Standard SDP solvers operate with a complexity around $O(n^{3.5})$. While the authors successfully tested graphs up to $n=800$, scaling this approach to graphs with millions of nodes will require significant optimization or approximation techniques.
  • Parameter Knowledge: The algorithm currently assumes prior knowledge of the graph's balance parameter ($b$). Estimating these structural parameters privately in a real-world setting presents an additional hurdle.
  • Beyond "Well-Clustered": The algorithm's high accuracy is contingent on the graph strictly meeting the conductance requirements. Real-world "messy" graphs with overlapping or hierarchical clusters might not yield the same near-optimal results.

Ultimately, this paper represents a significant step forward in private graph analysis, proving that when a graph's underlying community structure is strong, we do not have to choose between finding those communities and protecting the privacy of the individuals within them.

Summary updated

BibTeX
@inproceedings{he2024differentially,
  author = {Weiqiang He and Hendrik Fichtenberger and Pan Peng},
  title = {{A Differentially Private Clustering Algorithm for Well-Clustered Graphs}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=hkSjjs4o5d},
}
Figure