Consistency of Privacy-Preserving Spectral Clustering under the Stochastic Block Model

Jonathan Hehir, Aleksandra B. Slavkovic, Xiaoyue Niu

Abstract

This paper establishes the first theoretical framework for performing community detection on networks while maintaining Local Differential Privacy (LDP). By applying a "downshift" transformation to noisy, edge-flipped networks, we prove that spectral clustering can achieve the same convergence rates as non-private methods for dense networks. While the approach remains consistent for moderately sparse networks, we identify a "privacy tax" where consistency requires node degrees to grow faster than $\sqrt{n}$.

Introduction

Community detection—grouping nodes based on connection patterns—is essential for analyzing social and biological networks. However, these edges often contain sensitive information. While Central Differential Privacy (DP) assumes a trusted curator, Local DP (LDP) is more robust, requiring users to privatize their own data before sharing. The primary challenge is that LDP introduces significant noise, raising the question: can we guarantee that private clustering results will converge to the ground truth as a network grows?

Methodology

The proposed framework focuses on the Stochastic Block Model (SBM) and the Degree-Corrected Block Model (DCBM) using a three-step process:

  1. Edge-Flip Mechanism: To satisfy $\epsilon$-relationship DP, every potential edge is independently flipped (0 to 1 or 1 to 0) with a probability determined by the privacy budget $\epsilon$.
  2. Downshift Transformation: An edge-flipped network is a mixture of the original signal and a random Erdős-Rényi graph. The authors introduce a "downshifted" adjacency matrix that subtracts the expected noise, re-centering the data to share the same eigenvectors as the original network.
  3. Modified Spectral Clustering: Algorithms for SBMs (using $k$-means) and DCBMs (using normalized $k$-medians) operate on this downshifted matrix to recover community structures.

Key Insights and Ideas

Eigenvector Preservation

The core insight of this work is that while edge-flipping alters the eigenvalues of a network, it preserves the underlying eigenvectors—the directions of the data. By "downshifting" the matrix, the original cluster structure hidden in those eigenvectors can be recovered.

Visualization of spectral embeddings where nodes are clustered in the eigenvector space, demonstrating how communities become separable after transformation.

The SBM Closure Property and Privacy Tax

A significant finding is that SBMs are "closed" under the edge-flip mechanism; a privatized SBM remains an SBM with modified edge probabilities. However, privacy is not free. While dense networks see almost no loss in convergence speed, sparse networks suffer. For clustering to remain consistent, the node degree must grow faster than $\sqrt{n}$, a threshold we term the "sparsity wall."

Empirical Results

The theoretical findings were validated using both synthetic and real-world datasets, including Hansell’s Friendship data, Facebook Simmons College networks, and US Congressional Voting records.

  • Theoretical Consistency: The private estimator is proven consistent, with misclassification rates approaching zero as network size $n$ increases, provided the sparsity requirement is met.
  • Real-World Performance: On US House voting networks, the algorithm maintained near-perfect accuracy even with a strict privacy budget ($\epsilon = 0.5$). Conversely, on smaller or sparser networks like the Senate, accuracy declined as privacy demands increased, reflecting the theoretical sparsity constraints.

Conclusion and Future Work

This work provides a rigorous foundation for LDP community detection. Future research should address the "sparsity wall" to accommodate ultra-sparse networks (constant degree) and explore methods for estimating the number of communities ($k$) under LDP, which currently remains an open challenge.

Summary updated

BibTeX
@article{hehir2022consistency,
  author = {Jonathan Hehir and Aleksandra B. Slavkovic and Xiaoyue Niu},
  title = {{Consistency of Privacy-Preserving Spectral Clustering under the Stochastic Block Model}},
  journal = {J. Priv. Confidentiality},
  year = {2022},
  doi = {10.29012/jpc.811},
}
Figure