Unraveling Privacy Risks of Individual Fairness in Graph Neural Networks

He Zhang, Xingliang Yuan, Quoc Viet Hung Nguyen · DOI

This paper, recently accepted at IEEE ICDE 2024, explores a counterintuitive tension in the world of Graph Neural Networks (GNNs): the more "fair" you make a model, the easier it becomes for an attacker to steal its private data.

TL;DR

Improving individual fairness in GNNs—ensuring similar nodes receive similar predictions—unintentionally creates a roadmap for link-stealing attacks. The authors propose PPFR, a fine-tuning framework that balances fairness, privacy, and performance by reweighting training data and strategically injecting "noisy" edges to confuse attackers.

What Problem Does This Paper Address?

GNNs are powerful because they leverage both node features and the graph's topology. However, they face two major hurdles:

  1. Fairness: Models often exhibit bias, giving vastly different predictions to nodes that are actually quite similar.
  2. Privacy: Attackers can perform "link-stealing" attacks, where they infer whether a confidential edge exists between two nodes just by looking at the model's output.

Until now, researchers treated these as separate problems. This paper identifies a fairness-privacy trade-off. Individual fairness requires that similar nodes have similar output probabilities. However, link-stealing attacks rely on the intuition that "nodes with similar predictions are likely connected." By forcing the model to be fair (making predictions more similar), you are inadvertently confirming the attacker's suspicions, making it easier for them to map out the graph's private structure.

Methods

The authors introduce a two-phase framework called PPFR (Privacy-aware Perturbations and Fairness-aware Reweighting):

  1. Vanilla Training: The GNN is first trained normally to ensure high accuracy (utility).
  2. PPFR Fine-tuning: The model is then refined using two novel modules:
  3. Fairness-aware Reweighting (FR): Instead of retraining from scratch, the authors use influence functions to identify which training nodes contribute most to model bias. They then solve a Quadratically Constrained Linear Programming (QCLP) problem to find optimal weights for these nodes, reducing bias with minimal impact on accuracy.
  4. Privacy-aware Perturbations (PP): To thwart link-stealing, they introduce "heterophilic" edges—noisy connections between nodes of different classes. This breaks the attacker's assumption that similarity equals connectivity, effectively "masking" the true graph structure.

This approach is model-agnostic, meaning it can be plugged into standard GNN architectures like GCN, GAT, or GraphSAGE.

Datasets

The researchers evaluated their method on five real-world datasets:

  • Standard Homophilic Graphs: Cora, Citeseer, and Pubmed (where connected nodes tend to be similar).
  • Weak Homophilic Graphs: Enzymes and Credit (where the "similarity equals connectivity" rule is less consistent).

Key Insights and Ideas

  • The Fairness Trap: The most striking insight is the theoretical proof (Proposition V.2) that improving individual fairness must increase edge privacy risks in homophilic graphs. Fairness essentially "smooths" the prediction space, which is exactly what a link-stealing attacker needs to succeed.
  • Influence as a Scalpel: Rather than using blunt Differential Privacy (DP) methods that often destroy model accuracy, the use of influence functions allows for a "surgical" correction of bias by reweighting specific nodes.
  • Strategic Noise: The paper shows that not all noise is equal. Adding random edges (as in standard DP) hurts performance. However, adding heterophilic edges specifically targets the logic of the attacker while preserving the model's ability to learn useful patterns.

Key Results

  • Superior Balance: The authors used a new metric, $\Delta$, to measure the combined benefit of fairness and privacy per unit of accuracy loss. PPFR consistently achieved positive $\Delta$ values, whereas traditional fairness-only methods (Reg) often resulted in negative values due to increased privacy risks.
  • Accuracy Preservation: While standard Differential Privacy baselines (like DPReg) caused accuracy to tank by as much as 40% on some datasets, PPFR maintained high performance (e.g., ~81% accuracy on Pubmed) while still reducing bias and privacy risk.
  • Robustness: The method proved effective across different GNN architectures, showing that the fairness-privacy interplay is a fundamental property of graph learning, not just a quirk of a specific model.

Limitations and Future Work

  • Similarity Metrics: The study focuses primarily on Jaccard similarity for defining fairness. The authors note that the trade-off might manifest differently under other similarity measures (like cosine similarity of features).
  • Static vs. Dynamic: The current work assumes a static graph. Extending this to dynamic graphs, where edges appear and disappear over time, remains an open challenge.
  • Optimization Constraints: The reweighting process depends on the quality of the initial "vanilla" model; if the base model is extremely biased, the QCLP might struggle to find an optimal weight distribution without sacrificing significant utility.

The authors suggest that future work should explore how to automatically determine the optimal ratio of noisy edges without manual hyperparameter tuning.

Summary updated

BibTeX
@inproceedings{zhang2024unraveling,
  author = {He Zhang and Xingliang Yuan and Quoc Viet Hung Nguyen},
  title = {{Unraveling Privacy Risks of Individual Fairness in Graph Neural Networks}},
  booktitle = {ICDE},
  year = {2024},
  doi = {10.1109/icde60146.2024.00139},
}
Figure