TL;DR
Graph Neural Networks (GNNs) excel at relational tasks but easily leak sensitive relationships and node attributes. GAP introduces Aggregation Perturbation, a decoupled architecture that adds calibrated Gaussian noise directly to multi-hop neighborhood aggregations. This approach achieves state-of-the-art accuracy-privacy trade-offs under both edge- and node-level Differential Privacy (DP), while guaranteeing inference-time privacy at zero extra privacy budget.
What Problem Does This Paper Address?
Standard deep learning models assume training samples are independent. GNNs violate this assumption: a $K$-layer GNN aggregates information across a node’s $K$-hop neighborhood. As a result, node representations become exponentially interdependent, completely breaking the privacy assumptions behind algorithms like DP-SGD. Furthermore, because GNNs must re-query the graph structure during inference to classify test nodes, sensitive graph topology can leak even after private training.
While existing solutions rely on destructive graph perturbation (e.g., adding/removing edges randomly), restrict architectures to single-layer models, or require public transfer data, they frequently suffer severe accuracy drops and fail to protect data at test time.
Methods
GAP addresses these issues by decoupling graph-based aggregations from neural network transformations into three distinct stages:
- Encoder Module (EM): Pre-trains a Multi-Layer Perceptron (MLP) on raw node features and labels without touching graph edges. This yields lower-dimensional representations, drastically reducing the noise needed in downstream steps.
- Aggregation Module (AM): Applies Private Multi-hop Aggregation (PMA). Using normalized features, AM computes multi-hop representations recursively via matrix multiplication ($\mathbf{A}^T \mathbf{X}$), injecting calibrated Gaussian noise directly into the aggregated vectors at each hop and re-normalizing. Crucially, this runs once, and the perturbed embeddings are cached.
- Classification Module (CM): Trains a multi-hop neural network on the cached, noisy representations to predict node labels without querying graph edges again.
Privacy Guarantees: - Edge-level DP: Hides the addition/removal of a single edge using the bounded sensitivity ($\Delta = 1$) of normalized sum aggregations. - Node-level DP: Hides a node along with all its features and edges. GAP bounds the maximum node degree to $D$ (via random neighbor sampling) and trains both the encoder and classification modules with DP-SGD. - Inference Privacy: In transductive settings, test nodes use cached noisy representations computed during training. In inductive settings, PMA satisfies parallel composition across disjoint graphs. Both require zero additional privacy budget.
Datasets
The authors evaluated GAP on three medium- to large-scale node classification benchmarks:
- Facebook (UIUC): 26,406 nodes, ~2.1M edges; predicts student class year from profile attributes.
- Reddit: 116,713 nodes, ~46.2M edges; predicts community/subreddit membership using post embeddings.
- Amazon: 1,790,731 nodes, ~81M edges; predicts product categories from descriptions in a co-purchasing graph.
Key Insights and Ideas
- Decoupling Saves Privacy Budget: In standard end-to-end private training, noise compounds across every gradient step ($T$ iterations $\times K$ layers). By computing noisy aggregations only once and freezing them, GAP composes noise only $K$ times (where $K \le 5$, whereas $T \ge 100$).
- GNN Aggregation as a Denoising Filter: The recursive summation in multi-hop aggregation naturally averages out some of the DP noise injected during earlier hops, partially recovering lost utility.
- Graceful Degradation: Because CM fuses graph-agnostic features ($\mathbf{X}^{(0)}$) with graph-aggregated features ($\mathbf{X}^{(1 \dots K)}$), GAP naturally falls back to an MLP's performance if noise overwhelms high-order graph structures—it never performs worse than a structure-free baseline.
Key Results
- Edge-Level DP ($\epsilon = 4$): GAP significantly outperformed competitors, scoring 76.3% on Facebook, 98.7% on Reddit, and 83.8% on Amazon—surpassing the baseline GraphSAGE with Asymmetric Randomized Response (SAGE-EDP) by ~26, 14, and 15 percentage points, respectively.
- Node-Level DP ($\epsilon = 8$): GAP-NDP achieved 63.2% (Facebook), 94.0% (Reddit), and 77.4% (Amazon), outperforming the prior state-of-the-art node-private GNN (SAGE-NDP) by 4 to 50 percentage points.
- Defense Against Attacks: In node membership inference attacks, non-private models suffered high vulnerability (AUCs reaching 81.7%), whereas GAP with $\epsilon \le 16$ reduced attack performance to random guessing (~50% AUC).
Limitations and Future Work
- Degree Dependency: Because noise is added directly to neighborhood sums, nodes with low degrees (few neighbors) have lower signal-to-noise ratios. Graphs with low average connectivity require higher privacy budgets to achieve acceptable accuracy.
- Node-Level Degree Truncation: Enforcing a degree bound $D$ via sampling discards structural information on high-degree nodes, creating an accuracy trade-off.
- Future Directions: The authors suggest exploring robust aggregation functions less sensitive to degree distribution, developing tighter composition bounds for very deep aggregations ($K > 5$), and adapting GAP to link prediction and dynamic graphs.
Summary updated