Differentially Private Synthetic Graphs Preserving Triangle-Motif Cuts

Pan Peng, Hangyu Xu

Introduction

Differential Privacy (DP) has emerged as the gold standard for releasing statistical insights from sensitive datasets while providing rigorous mathematical guarantees against the re-identification of individual data points. In the context of graph-structured data—such as social networks, financial transactions, or biological pathways—privacy research has historically focused on preserving edge cuts. Edge cuts measure the number of direct connections between partitions of a graph, which is a fundamental metric for understanding simple connectivity.

However, real-world networks are often characterized by higher-order structures known as motifs. The most fundamental of these is the triangle motif (a clique of three nodes). Triangle counts and triangle-motif cuts are essential for community detection, clustering coefficient analysis, and understanding the "friend-of-a-friend" dynamics that drive network growth. This paper addresses the challenge of generating synthetic graphs that preserve these triangle-motif cuts under the constraints of $(\epsilon, \delta)$-differential privacy.

The Challenge: Non-Linearity and Non-Convexity

The primary hurdle in preserving motifs compared to edges is mathematical complexity. Edge cuts are linear functions; the number of edges in a combined graph is simply the sum of the edges in its constituent parts. In contrast, triangle-motif cuts are non-linear. When merging two subgraphs, the number of new triangles formed depends on the specific arrangement of existing edges, not just their count.

This non-linearity renders standard DP optimization tools, which typically rely on linear gradients, ineffective. Furthermore, the objective functions for motif preservation are naturally non-convex, making it difficult to find global optima in polynomial time. Previous attempts to solve this either required exponential time or resulted in prohibitive error rates that rendered the synthetic graphs useless for structural analysis.

Methodology

The authors propose a novel polynomial-time algorithm based on the EKKL framework (Eliáš, Kapralov, Kulkarni, and Lee). The core of the approach is the use of Stochastic Mirror Descent to iteratively refine a synthetic graph until its motif-cut properties match those of the original graph.

Key Algorithmic Innovations

  1. Convexity Regularizer: To overcome the non-convex nature of motif counts, the authors introduce a specific mathematical penalty term to the optimization objective. This regularizer effectively "smooths" the problem space, allowing standard optimization techniques to converge toward a useful solution without introducing excessive noise.
  2. Greedy Update Rule (MD_Update): The researchers developed a specialized update mechanism for edge weights. This rule ensures that as the algorithm iterates, the synthetic graph remains within realistic bounds (e.g., preventing edge weights from becoming negative or excessively large) while minimizing the discrepancy in triangle counts.
  3. Privacy via Noisy Projection: To satisfy $(\epsilon, \delta)$-DP, the algorithm utilizes a noisy version of the Johnson-Lindenstrauss transform. This allows the mechanism to release structural information about the graph's motif distribution during the optimization process without leaking the presence or absence of specific individual edges.

Theoretical Results and Error Bounds

The paper provides a rigorous theoretical analysis of the algorithm's performance, focusing on the additive error—the difference between the motif cuts in the original graph and the synthetic output.

  • Upper Bound: The proposed mechanism achieves an additive error of approximately $\tilde{O}(\sqrt{m \cdot \ell_3(G)} \cdot n / \epsilon^{3/2})$, where $n$ is the number of nodes, $m$ is the number of edges, and $\ell_3(G)$ represents the local sensitivity of triangles. In sparse graphs, where any single edge participates in relatively few triangles, this error is significantly lower than that of baseline methods like randomized response.
  • Lower Bound: The authors prove a theoretical limit, showing that any DP algorithm for this problem must incur an error of at least $\Omega(\sqrt{mn \cdot \ell_3(G)} / \epsilon)$. This demonstrates that their algorithm is near-optimal, operating close to the fundamental "speed limit" of privacy-utility trade-offs.
  • Generalization: While the primary focus is on triangles ($K_3$), the mathematical framework is designed to generalize to any $K_h$-motif (complete subgraphs of size $h$), providing a path forward for preserving even more complex network structures.

Discussion and Future Work

While this work represents a significant theoretical breakthrough by proving that higher-order structures can be preserved in polynomial time, practical implementation challenges remain. The current computational complexity is $\tilde{O}(n^6)$, which, while polynomial, is computationally taxing for massive networks with millions of nodes. Future engineering efforts will likely focus on optimizing the descent steps and exploring whether non-clique motifs (such as stars or paths) offer different privacy-utility profiles.

By bridging the gap between edge-centric privacy and motif-aware utility, this research enables more sophisticated, privacy-preserving analysis of the complex social and functional clusters that define our interconnected world.

Summary updated

BibTeX
@inproceedings{peng2025differentially,
  author = {Pan Peng and Hangyu Xu},
  title = {{Differentially Private Synthetic Graphs Preserving Triangle-Motif Cuts}},
  booktitle = {Conference on Learning Theory},
  year = {2025},
}
Figure