Unraveling Privacy Risks of Individual Fairness in Graph Neural Networks

He Zhang, Xingliang Yuan, Shirui Pan

TL;DR

Improving individual fairness in Graph Neural Networks (GNNs)—ensuring similar nodes receive similar predictions—unintentionally makes them more vulnerable to "link stealing" attacks. This paper theoretically analyzes this fairness-privacy trade-off and introduces PPFR, a fine-tuning method that uses influence functions and graph perturbations to balance accuracy, fairness, and privacy simultaneously.

What Problem Does This Paper Address?

As GNNs are deployed in sensitive areas like social recommendation and financial auditing, "trustworthiness" has become a multi-headed beast. Researchers usually tackle two heads separately:

  1. Individual Fairness: The principle that similar nodes (e.g., users with similar profiles) should get similar outcomes.
  2. Edge Privacy: Protecting the graph structure itself, specifically preventing attackers from inferring whether a link exists between two nodes (link stealing).

The authors identify a critical conflict: link-stealing attacks rely on the intuition that nodes with similar predictions are likely connected. By enforcing individual fairness, we force the model to produce similar predictions for similar nodes, which are often topologically close. This effectively "hands the keys" to a privacy attacker.

The trade-off between performance, fairness, and privacy in GNNs.

Methods

The authors propose a two-phase framework called Privacy-aware Perturbations and Fairness-aware Reweighting (PPFR). Instead of training from scratch, which often destroys model accuracy, PPFR acts as a "plug-and-play" fine-tuning step.

  • Fairness-aware Reweighting (FR): The model identifies which training nodes contribute most to prediction bias using influence functions. It then solves a Quadratically Constrained Linear Programming (QCLP) problem to reweight these nodes in the loss function, minimizing bias while keeping accuracy high.
  • Privacy-aware Perturbations (PP): To counter link stealing, the authors introduce "heterophilic" noisy edges—links between nodes with different labels—into the graph structure during fine-tuning. This disrupts the attacker's ability to correlate prediction similarity with actual connectivity.
The PPFR framework: Vanilla training followed by fine-tuning with reweighted loss and perturbed graph structure.

Datasets

The study evaluates PPFR across two types of graphs:

  • High Homophily (Similar nodes connect): Cora, Citeseer, and Pubmed. These are standard benchmarks where the fairness-privacy conflict is most acute.
  • Weak Homophily (Dissimilar nodes connect): Enzymes and Credit. These were used to test if the trade-off holds when the underlying graph structure is less predictable.

Key Insights and Ideas

  • The Fairness-Privacy Conflict is Real: The paper provides a theoretical proof showing that as you decrease the bias ($f_{bias} \downarrow$), the privacy risk ($f_{risk} \uparrow$) naturally escalates. This is because fairness reduces the prediction distance between connected nodes, making them stand out against unconnected pairs.
  • Homophily is the Catalyst: In graphs with high homophily, the model naturally learns that "neighbors are similar." Fairness regularizers double down on this, making the model's outputs a near-perfect proxy for the graph's edges.
  • Fine-tuning > Training from Scratch: Direct combinations of Differential Privacy (DP) and fairness regularizers (like DPReg) often lead to catastrophic accuracy drops (sometimes over 40%). PPFR maintains high utility by focusing its interventions on a targeted fine-tuning phase.

Key Results

The authors introduced a metric, $\Delta$, to measure the combined benefit of fairness and privacy per unit of accuracy lost.

  • Superior Balance: PPFR consistently achieved positive $\Delta$ values across GCN, GAT, and GraphSage models, whereas standard fairness regularization (Reg) often resulted in negative values due to increased privacy risks.
  • Accuracy Preservation: While baseline methods like DPReg suffered massive performance hits, PPFR kept accuracy close to vanilla levels. For example, on the Pubmed dataset with a GCN, PPFR reduced bias significantly while maintaining ~81.5% accuracy.
  • Effectiveness against Attacks: The method successfully lowered the AUC of link-stealing attacks compared to models that only optimized for fairness.
Comparison of accuracy and bias across different datasets.

Limitations and Future Work

  • Weak Homophily Complexity: The authors noted that in graphs with weak homophily, the trade-off between fairness and privacy is less straightforward and sometimes non-existent. Future work is needed to automatically detect when joint optimization is necessary.
  • Beyond Individual Fairness: This paper focuses on individual fairness and edge privacy. The interplay between group fairness and node privacy (membership inference) remains an open question.
  • Dynamic Graphs: The current method assumes a static graph. Extending this to dynamic or streaming graph data where edges change over time is a promising next step.

Summary updated

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