Abstract
Densest subgraph detection (DSD) is a cornerstone of network analysis, used to identify highly connected clusters for applications like anomaly detection and community discovery. However, standard DSD algorithms can inadvertently leak sensitive information about individual connections (edges). This paper introduces the first differentially private (DP) algorithms for DSD under the edge privacy model. By adapting Charikar’s greedy algorithm using the Exponential Mechanism, the authors propose sequential and parallel methods that provide robust privacy guarantees with bounded approximation errors. Empirical evaluations on diverse real-world datasets demonstrate that these algorithms achieve high accuracy, particularly in dense networks, while the parallel variants offer significant scalability for large-scale graphs.
Introduction
The goal of densest subgraph detection is to find a subset of nodes $S$ that maximizes the density, typically defined as $|E(S)|/|S|$. While effective, these algorithms are highly sensitive: the addition or removal of a single edge can drastically alter the resulting subgraph, potentially exposing private relationships in sensitive datasets like financial or healthcare networks.
To address this, the authors formalize DSD under edge differential privacy, where the set of nodes is public but the existence of edges is protected. The challenge lies in designing an algorithm that remains accurate despite the noise required to satisfy DP.
Methodology
The authors build upon the classic 1/2-approximation greedy algorithm, which iteratively removes the node with the minimum degree. To ensure privacy, they replace deterministic selection with probabilistic sampling via the Exponential Mechanism.
- SEQDENSEDP (Sequential): This algorithm samples nodes for removal based on their degrees, where lower-degree nodes have an exponentially higher probability of being selected. After generating a sequence of candidate subgraphs, the Exponential Mechanism is used again to select the final subgraph with the highest density.
- PARDENSEDP (Parallel): Designed for efficiency, this version samples and removes multiple nodes independently in each round, significantly reducing the total number of iterations.
- PHASEDENSEDP: A refined parallel version optimized for Map-Reduce environments, ensuring termination in $O(\log n)$ phases.
Theoretically, these algorithms provide an $(\alpha, \beta)$-approximation, maintaining at least half the optimal density minus an additive error of $O(\log n)$.
Experimental Setup
The proposed algorithms were evaluated on a diverse suite of 20 real-world networks from the SNAP database, ranging from social circles to collaboration networks. A subset of these networks and their characteristics is summarized in the table below.
Results and Performance
The experimental results highlight a clear trade-off between privacy (governed by $\epsilon$) and accuracy.
Accuracy and Privacy Budget
As shown in the figure below, the accuracy (measured by how well the algorithm recovers the true densest subgraph) improves significantly as the privacy budget $\epsilon$ increases. For $\epsilon \geq 2$, SEQDENSEDP often achieves over 75% of the baseline density in networks with an average degree greater than 4.
Key Insights
- Density Matters: The "signal-to-noise" ratio is higher in dense graphs. In these networks, the inherent structure is robust enough to withstand the perturbations required for differential privacy.
- Efficiency of Parallelism:
PARDENSEDPachieves comparable accuracy to the sequential version while requiring only a fraction (often ~1%) of the iterations, making it suitable for massive datasets. - Theoretical Bounds: The authors established a theoretical lower bound of $\Omega(\sqrt{\log n})$ for the additive error in DP densest subgraph detection, providing a benchmark for future algorithmic improvements.
Conclusion
This work provides a foundational framework for private community detection. While the algorithms perform exceptionally well on dense graphs, performance in very sparse regimes remains a challenge. Future research may focus on closing the gap between the current $O(\log n)$ upper bound and the $\Omega(\sqrt{\log n})$ lower bound, as well as optimizing constants for practical deployments.
Summary updated