Private Edge Density Estimation for Random Graphs: Optimal, Efficient and Robust

Hongjie Chen, Jingqiu Ding, Yiding Hua, David Steurer

Abstract

Estimating the edge density of random graphs under node-differential privacy (node-DP) is a fundamental problem in private network analysis. While node-DP offers strong privacy guarantees, it introduces significant challenges due to the high sensitivity of graph statistics. This paper presents the first polynomial-time algorithm for edge density estimation that is simultaneously node-private, robust to adversarial corruptions, and theoretically optimal. By leveraging the Sum-of-Squares (SoS) framework and a reduction from privacy to robustness, the authors achieve error rates matching information-theoretic lower bounds, even in sparse graph regimes.

Introduction

Estimating the edge density ($p$) of a graph—the probability that any two nodes are connected—is a cornerstone of network science. However, when graphs represent sensitive data, such as social networks or medical contact logs, privacy becomes a primary concern. Researchers typically distinguish between two levels of Differential Privacy (DP) for graphs:

  1. Edge DP: Protects the presence or absence of a single edge.
  2. Node DP: Protects a node and all its incident edges.

Node DP is the gold standard for privacy in network analysis because it ensures that an individual's entire participation in the network remains private. However, it is notoriously difficult to achieve. Because a single "high-degree" node can be connected to every other node in the graph, the sensitivity of graph statistics is extremely high. Changing one node can drastically alter the edge count, causing standard privacy mechanisms (like the Laplace mechanism) to produce highly inaccurate results, particularly in sparse graphs.

Previous algorithms that achieved optimal error rates for this problem required exponential running time. This research closes that gap, providing an algorithm that is efficient (polynomial-time), private (node-DP), and accurate (optimal error rate).

Methodology

The authors develop a two-stage algorithmic framework that bridges the gap between privacy and computational efficiency using a recent breakthrough in theoretical computer science: the reduction of privacy to robustness.

1. Reduction from Privacy to Robustness

Following the framework established by Hopkins et al. (2023), the authors utilize an exponential mechanism where the score function is determined by a graph's stability. Specifically, if an algorithm is robust to adversarial node corruptions (meaning it can still estimate density even if some nodes are maliciously altered), it can be transformed into a node-private algorithm. This insight allows the researchers to focus on building a robust estimator.

2. Sum-of-Squares (SoS) Relaxation

To ensure the algorithm runs in polynomial time, the authors employ the Sum-of-Squares (SoS) method. They define a set of polynomial constraints that "typical" random graphs satisfy, such as degree concentration around the mean and bounded spectral norms of the adjacency matrix. By using SoS proofs, they can "certify" the edge density even when an adversary has corrupted a fraction of the nodes. These proofs are then translated into a practical algorithm via semidefinite programming (SDP) relaxations.

3. Two-Stage Estimation

The estimation process occurs in two distinct phases:

  • Coarse Estimation: A robust SoS algorithm first identifies a rough estimate $\hat{d}$ that is within a constant factor of the true average degree.
  • Fine Estimation: Using the coarse estimate as a baseline, a second SoS-based mechanism refines the value to achieve the information-theoretically optimal error rate.

Theoretical Framework and Evaluation

The study evaluates the algorithm against mathematical random graph models, which serve as the benchmark for theoretical computer science:

  • Erdős-Rényi Graphs ($\mathbb{G}(n, p)$): The standard model where edges exist independently with a fixed probability $p$.
  • Inhomogeneous Random Graphs: A broader class where edge probabilities vary (e.g., Stochastic Block Models and Graphons).

Key Results and Insights

Efficiency and Optimality

The algorithm operates in polynomial time $n^{O(1)}$, making it computationally feasible compared to previous exponential-time solutions. For Erdős-Rényi graphs, the privacy-induced error is $\tilde{O}(\frac{1}{\epsilon n \sqrt{np}})$. The authors provide a matching lower bound of $\Omega(\frac{1}{\epsilon n \sqrt{np}})$, proving that their algorithm is optimal up to logarithmic factors.

Robustness to Corruption

A significant advantage of this approach is its inherent robustness. The algorithm maintains its accuracy even if an adversary corrupts an $\eta$ fraction of the nodes. This makes the estimator resilient not just to privacy-preserving noise, but also to data quality issues or active attacks.

Performance in Sparse Regimes

Many real-world networks are sparse. Unlike previous robust estimators that fail when the average degree is low, this algorithm provides a constant-factor approximation even in very sparse regimes where the average degree $d \ll \log n$.

Conclusion and Future Work

This work represents a significant step forward in private graph analysis, demonstrating that we do not have to choose between computational efficiency and optimal privacy. By using spectral regularity as a constraint and leveraging the SoS framework, the authors have provided a robust tool for density estimation.

Future research may focus on tightening the remaining polylogarithmic factors in the error rate or extending these guarantees to more complex graph models, such as those with heavy-tailed power-law distributions. Additionally, while the algorithm is polynomial-time, the high exponents associated with large semidefinite programs suggest that further optimization is needed before these methods can be deployed on massive, real-world social networks.

Summary updated

BibTeX
@inproceedings{chen2024private,
  author = {Hongjie Chen and Jingqiu Ding and Yiding Hua and David Steurer},
  title = {{Private Edge Density Estimation for Random Graphs: Optimal, Efficient and Robust}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=4NQ24cHnOi},
}
Figure