On the Price of Differential Privacy for Spectral Clustering over Stochastic Block Models

Antti Koskela, Mohamed Seif, Andrea J. Goldsmith · DOI

Abstract

This paper investigates the intersection of community detection and privacy preservation in large-scale networks. By applying Edge Differential Privacy (DP) to spectral clustering within the Stochastic Block Model (SBM) framework, the authors derive the "price of privacy"—the additional signal required to maintain accuracy under privacy constraints. They propose and analyze three scalable mechanisms, demonstrating that spectral methods offer a practical, efficient alternative to computationally expensive optimization-based private clustering.

Introduction

Community detection is a fundamental task in network analysis, often modeled using the Stochastic Block Model (SBM). In an SBM, nodes are partitioned into blocks, with higher connection probabilities ($p$) within blocks than between them ($q$). However, the sensitive nature of network data—such as social interactions or communication logs—necessitates rigorous privacy protections.

Edge Differential Privacy (DP) provides a guarantee that the presence or absence of a single edge does not significantly impact the algorithm's output. While previous private community detection methods relied on slow Semidefinite Programming (SDP), this work focuses on spectral clustering. The central challenge is understanding the theoretical trade-off: how much "privacy noise" can a graph's structure tolerate before communities become unrecoverable?

Methodology: Private Spectral Clustering

The foundation of the proposed approach is the standard spectral clustering algorithm, which partitions a graph based on the eigenvectors of its Laplacian matrix.

Algorithm 1: The standard Spectral Clustering procedure used as the basis for private adaptations.

To achieve edge DP, the authors evaluate three distinct mechanisms:

  1. Graph Perturbation: Employs "Randomized Response" to flip edges with a probability determined by the privacy budget $\epsilon$. While simple, it introduces significant noise.
  2. Subsampling Stability: Aggregates results from multiple subgraphs to release only "stable" community assignments that are less sensitive to single-edge changes.
  3. Noisy Power Iteration: Injects carefully calibrated Gaussian noise during the iterative computation of the Fiedler vector. This method is highly scalable and avoids the computational cost of full eigendecomposition.

Theoretical Insights and the "Price of Privacy"

A key contribution of this research is the derivation of the "Separation Condition." This condition quantifies the necessary gap between internal and external connection densities ($n(p-q)$) to overcome privacy noise. The authors demonstrate that the required signal-to-noise ratio must scale with $1/\epsilon$.

Specifically, for the Noisy Power Iteration, the error in the second eigenvector is shown to scale with $O(\frac{\sqrt{\log n}}{\epsilon(p-q)\sqrt{n}})$. This result explicitly links the privacy parameter to the graph's structural properties, providing a theoretical foundation for designing private algorithms that maintain high utility.

Experimental Results

The methods were tested on synthetic SBM graphs and a real-world dataset of US political blogs. The researchers focused on how accuracy, measured by the overlap rate, evolves as the network size ($n$) increases.

Performance comparison of Graph Perturbation and Subsampling Stability mechanisms as the number of nodes increases.

Key findings include:

  • Scalability: Spectral methods, particularly Noisy Power Iteration, handle thousands of nodes efficiently, unlike optimization-based predecessors.
  • Mechanism Performance: As shown in the figure above, the Subsampling Stability mechanism consistently provides a higher overlap rate than simple Graph Perturbation as the number of nodes increases.
  • Privacy-Utility Trade-off: On synthetic graphs ($n=800$), the Noisy Power Method achieved near-perfect recovery with $\epsilon \approx 1.5$, while Graph Perturbation required a much looser budget ($\epsilon > 2.0$) to reach comparable performance.

Conclusion

This work establishes fundamental limits for private spectral clustering and provides practical, scalable algorithms for community detection. While currently focused on symmetric binary SBMs, future work aims to extend these bounds to more complex network structures, such as Degree-Corrected SBMs and multi-community models, to better reflect the heterogeneity of real-world social networks.

Summary updated

BibTeX
@article{koskela2026price,
  author = {Antti Koskela and Mohamed Seif and Andrea J. Goldsmith},
  title = {{On the Price of Differential Privacy for Spectral Clustering over Stochastic Block Models}},
  journal = {IEEE Trans. Network Science \& Engineering},
  year = {2026},
  doi = {10.1109/tnse.2025.3646341},
}
Figure