PrivGraph: Differentially Private Graph Data Publication by Exploiting Community Information

Quan Yuan, Zhikun Zhang, Linkang Du, Min Chen, Peng Cheng, Mingyang Sun

Abstract

Graph data publication is essential for social network analysis and recommendation systems but poses significant privacy risks. Existing differentially private (DP) graph synthesis methods often suffer from either excessive noise in sparse regions or significant structural distortion. This paper presents PrivGraph, a framework that leverages community structures to optimize the noise-utility trade-off. By partitioning nodes into communities and applying a hybrid encoding strategy, PrivGraph preserves fine-grained topological features while maintaining rigorous DP guarantees.

Introduction

The proliferation of graph-structured data—ranging from social networks to citation indices—has fueled advancements in data science. However, sharing raw graph data is often prohibited by privacy concerns. Simple anonymization (removing identifiers) is insufficient against de-anonymization attacks where an adversary possesses auxiliary knowledge.

Differential Privacy (DP) offers a robust mathematical framework for privacy, yet applying it to graphs remains challenging. Direct perturbation of adjacency matrices, such as the Top-m Filter (TmF) approach, introduces overwhelming noise in sparse graphs. Conversely, hierarchical models like PrivHRG often "smear" local structures, rendering the synthetic data less useful for downstream tasks like community detection or influence mapping. PrivGraph is designed to bridge this gap by exploiting the inherent community structures of real-world networks.

The PrivGraph Framework

PrivGraph addresses the limitations of existing methods through a three-phase workflow: Community Division, Information Extraction, and Graph Reconstruction.

1. Community Division (CD)

To avoid leaking sensitive connections during partitioning, PrivGraph employs a two-step DP process. It first aggregates nodes into "super-nodes" to reduce dimensionality. It then applies the Louvain method combined with the Laplace Mechanism to identify a coarse partition. Finally, the Exponential Mechanism refines these partitions, ensuring the community structure itself satisfies DP requirements without revealing specific edges.

2. Information Extraction (IE)

PrivGraph recognizes that intra-community and inter-community edges require different handling to maximize utility. It extracts:

  • Intra-community statistics: The degree sequence of nodes within their respective communities.
  • Inter-community statistics: The total edge counts between distinct community pairs. By adding noise to these aggregated statistics rather than individual cells in an adjacency matrix, PrivGraph significantly reduces the total noise injected into the system while preserving the density of connections.

3. Graph Reconstruction (GR)

The final phase uses the noisy statistics to generate a synthetic graph via the Chung-Lu (CL) model. The CL model is particularly effective at preserving the power-law degree distributions characteristic of real-world networks, ensuring the synthetic output remains structurally representative of the original data.

Experimental Evaluation

The authors evaluated PrivGraph against state-of-the-art methods (TmF, DER, PrivHRG, and LDPGen) using six real-world datasets, including Facebook (social), Enron (email), and CA-HepPh (collaboration). These datasets range from 2,000 to nearly 200,000 nodes.

Key Results

  • Structural Fidelity: On the Facebook dataset with a privacy budget ($\epsilon$) of 1.0, PrivGraph achieved a 51.3% lower relative error in modularity compared to PrivHRG.
  • Downstream Utility: In influence maximization tests, seed nodes identified in PrivGraph-generated graphs achieved up to a 58.6% higher influence spread than those identified using the DER method.
  • Scalability: With a time complexity of $O(n^2)$, PrivGraph scales effectively to large datasets. In practice, it runs significantly faster than hierarchical methods because the number of communities is much smaller than the total number of nodes, reducing the computational overhead of the generation process.

Discussion and Insights

The success of PrivGraph stems from its "granularity-aware" approach. By using coarse-grained aggregation for dense regions and preserving degree sequences for local structures, it effectively hides sensitive edges within the "crowd" of communities. This approach lowers the global sensitivity of queries, meaning less noise is required to achieve the same level of privacy.

Furthermore, the framework leverages the Post-processing Property of DP. This allows the algorithm to perform complex operations, such as the Louvain algorithm or consistency checks to remove negative noisy values, on already-privatized data without further depleting the privacy budget.

Conclusion and Future Work

PrivGraph demonstrates that community information is a powerful tool for balancing privacy and utility in graph synthesis. While the current model assumes edge independence (Edge-DP), future research will focus on addressing edge correlations (e.g., triadic closure) through more advanced DP definitions like $k$-edge DP. Additionally, the authors aim to extend this framework to attributed graphs, where nodes possess features such as age, location, or interests, further increasing the practical utility of the synthetic data.

Summary updated

BibTeX
@inproceedings{yuan2023privgraph,
  author = {Quan Yuan and Zhikun Zhang and Linkang Du and Min Chen and Peng Cheng and Mingyang Sun},
  title = {{PrivGraph: Differentially Private Graph Data Publication by Exploiting Community Information}},
  booktitle = {USENIX Security},
  year = {2023},
  doi = {10.48550/arxiv.2304.02401},
}
Figure