arXiv:2610.09642cs.DBOct 2026

Manuscript Offprint

arXiv:2610.09642

LDPGraph: Locally Differentially Private Graph Synthesis by Exploiting Neighborhood Structure

Jiawei Dong, Zhikun Zhang, Quan Yuan, Zhe Liu, Yunjun Gao

Jiawei Dong*, Zhikun Zhang*, Quan Yuan*§, Zhe Liu*, Yunjun Gao*†

*Zhejiang University, §Hong Kong Baptist University, {jwdong, zhikun, yq21, zhe.liu, gaoyj}@zju.edu.cn

Abstract—The widespread application of graph data inevitably brings significant privacy risks, as its unprotected use can lead to the leakage of sensitive information. These risks are particularly acute in the setting with an untrusted curator, where the data remains decentralized and each user only holds the connections to their neighbors. To mitigate such privacy risks, we adopt local differential privacy (LDP) to collect users' private information and generate a synthetic graph. However, existing methods suffer from either excessive noise injection by perturbing the local adjacency lists or significant structural information loss due to the simplistic graph encoding process. To address these issues, we propose LDPGraph, an effective graph synthesis algorithm that takes one step further by exploiting neighborhood structures under LDP. To obtain neighborhood statistics beyond degrees, LDPGraph aggregates a noisy global view from perturbed adjacency lists and combines it with projected local connections to estimate node-level triangle counts. To correct the structural inconsistency caused by separately perturbing degree and triangle count, LDPGraph jointly refines them into feasible degree-triangle targets. To reconstruct a global graph from these estimated targets, LDPGraph adopts a triangle-first strategy that first preserves local clustering structures and then fulfills remaining degree requirements. Extensive experiments on four real-world datasets and multiple commonly used graph metrics validate the superiority of LDPGraph. Source code is available at https://github.com/ZJU-TrustAID/LDPGraph.

Index Terms—differential privacy, graph synthesis

I. INTRODUCTION

As a data structure specifically designed to describe and manage relationships between entities, graph data is playing a pivotal role in numerous real-world systems, such as social networks [1]–[3], advertising recommendations [4], [5], bioinformatics [6], [7], etc. In the real world, a large amount of graph data is not centrally available; instead, they are distributed across individual users who hold only a local view of their immediate connections, such as personal mobile contact lists, face-to-face interactions, or peer-to-peer communications. Directly collecting this sensitive data for centralized analysis is infeasible due to a lack of user trust and significant privacy concerns [8], [9]. This reality challenges traditional privacy-preserving techniques (e.g., anonymization [10]–[12] or standard differential privacy [13], [14]) which typically operate under the strong and often impractical assumption of a trusted central curator that has aggregated the complete graph.

To address this issue, local differential privacy (LDP) [15], [16] has been adopted as the de facto mechanism for the collection and analysis of private graph data. Under the LDP setting, each user perturbs their own data directly on their local device before transmission, ensuring that sensitive raw information never leaves their control. Existing studies on LDP-based graph analysis mainly focus on designing tailored algorithms for specific analysis tasks, such as triangle counting [17]–[19], subgraph counting [9], community detection [20], [21], etc. Differentially private data synthesis provides a general paradigm for supporting diverse downstream analyses and has been explored in a range of prior studies [22]–[27]. Our paper extends this idea to graph data under LDP by collecting statistics from users and generating a synthetic graph. The newly generated graph preserves the essential properties of the original graph with LDP guarantee. This paradigm offers a more flexible and scalable alternative to existing approaches by enabling a wide range of downstream analyses from a privacy-preserving output.

With a limited local view, it is challenging to obtain effective topological information from the global graph that is essential to construct a synthetic graph. Without external information, each user cannot access the graph structure beyond their local neighborhood. This naturally yields two fundamental types of property each user can report: the degree representing the number of its neighbors and the edge set identifying its neighbors. These two basic information can inspire two intuitive strategies for graph synthesis under LDP.

Existing Solutions. The first is degree-based generation (DBG), where each user perturbs and reports only their degree. A curator then feeds these noisy degrees into a graph generation model, resulting in a synthetic graph that approximates the original degree distribution. While DBG is efficient in terms of communication cost and privacy budget, this method suffers from severe information loss, since it reduces the connectivity of each user to a single scalar. Another strategy is adjacency list-based generation (ALBG), where each user perturbs and reports its adjacency list. Intuitively, by capturing the most fine-grained information, ALBG could achieve a perfect reconstruction of the original graph. However, the high dimensionality of adjacency lists introduces excessive noise under a practical privacy budget.

To address the dilemma of “too little information” or “too much noise,” Qin et al. [28] proposed LDPGen by operating on intermediate-level information (i.e., clustering). This intermediate representation captures more structural details than DBG, while maintaining a lower information dimension compared

†^{\dagger}Corresponding author.

to ALBG. However, the accuracy of their clustering operation under perturbation is typically low, and the reliance on simple degree sequences still discards too much of the original graph's essential structural information.

Our Proposal. The limitations of previous studies motivate us to rethink what structural information can be effectively captured from the rigid perspective of LDP. As established in the LDP setting for graphs, each user's knowledge is confined to their immediate one-hop connections. The degree representation is too simplistic, while the high-dimensional adjacency list is fragile to the noise. We observe that the key lies in looking just one step further: beyond the edges connecting a user to their neighbors, we need the connection information between the neighbors themselves. We call this richer, more detailed local topology the neighborhood structure. This structure can be powerfully summarized by two fundamental statistics: the degree representing the neighborhood's size and the triangle count representing its internal density. Capturing both statistics is critical for reconstructing graphs with realistic neighborhood structures. However, this introduces significant challenges rooted in the LDP model.

Firstly, neighborhood structure is difficult to estimate under LDP. Each user only has direct access to their own one-hop view, while the connectivity among their neighbors depends on edges between other users. Such information is not locally available and must be inferred from privatized reports. This makes accurate neighborhood structure estimation challenging. Furthermore, the estimated neighborhood structures may become internally inconsistent after perturbation. It is characterized by degree and triangle count, which are inherently coupled. However, LDP noise is injected into these statistics separately. Consequently, they may no longer correspond to any feasible local structure. Therefore, these statistics must be jointly refined before they can serve as reconstruction targets. The final challenge lies in reconstructing a complete graph from the refined neighborhood structures. Even if refined targets are accurate, they do not specify the detailed edge set. The reconstruction algorithm must satisfy node-level degree requirements and high-order triangle constraints simultaneously, resulting in a globally valid graph.

To address these issues, we propose LDPGraph, consisting of a carefully designed two-round information collection protocol and a subsequent graph reconstruction algorithm. To privately obtain the neighborhood structure information, which is impossible with local one-hop data alone, LDPGraph collects a noisy global view in the first round. In the second round, LDPGraph addresses the high sensitivity of triangle counting by employing a projection mechanism. In particular, a threshold optimization mechanism is designed to effectively reduce the noise impact while mitigating the error introduced by information loss. Users then combine this noisy global view with their projected local connections to estimate triangle counts. Furthermore, to ensure the statistical feasibility of the collected data, LDPGraph corrects the inconsistency between the noisy degrees and triangle counts. Based on these privatized and refined statistics, LDPGraph then employs a hierarchical reconstruction strategy to synthesize the entire graph. The primary objective of this reconstruction phase is to recover the neighborhood structure by matching the degrees and triangle counts. By building these fundamental local structures, the synthesized graph can effectively reproduce crucial topological properties of the original graph, such as transitivity and modularity.

Evaluation. To validate the effectiveness of LDPGraph, we conduct experiments on four real-world graph datasets and multiple commonly used metrics. The experimental results show that LDPGraph outperforms the state-of-the-art methods in most settings. For instance, when the privacy budget is 1.0, LDPGraph achieves 65% lower relative error of modularity and 80% lower relative error of transitivity than those of the best baseline on the Facebook dataset. Then, we conduct an ablation study on the key components of LDPGraph. Specifically, we investigate the impact of the threshold optimization and consistency restoration on improving the quality of collected statistics. The results validate the effectiveness of each careful design and its crucial role in the superior performance.

Contributions. In summary, the main contributions of this paper are three-fold:

• We advance the conceptual basis of LDP graph synthesis by taking one step further: from preserving one-hop statistics to preserving the rich two-hop neighborhood structure.

• We propose a practical method LDPGraph that utilizes a two-round protocol to collect neighborhood statistics under LDP while ensuring their quality with projection threshold optimization and structural consistency restoration. Based on this, LDPGraph introduces a hierarchical reconstruction that not only faithfully preserves these collected local neighborhood structures, but also effectively reproduces topological properties of the original graph.

• We conduct extensive experiments on multiple datasets and metrics to illustrate the effectiveness of our proposed LDPGraph.

References (57)