On the Interaction between Node Fairness and Edge Privacy in Graph Neural Networks

He Zhang, Xingliang Yuan, Quoc Viet Hung Nguyen, Shirui Pan · OpenReview

Abstract

Due to the emergence of graph neural networks (GNNs) and their widespread implementation in real-world scenarios, the fairness and privacy of GNNs have attracted considerable interest since they are two essential social concerns in the era of building trustworthy GNNs. Existing studies have respectively explored the fairness and privacy of GNNs and exhibited that both fairness and privacy are at the cost of GNN performance. However, the interaction between them is yet to be explored and understood. In this paper, we investigate the interaction between the fairness of a GNN and its privacy for the first time. We empirically identify that edge privacy risks increase when the individual fairness of nodes is improved. Next, we present the intuition behind such a trade-off and employ the influence function and Pearson correlation to measure it theoretically. To take the performance, fairness, and privacy of GNNs into account simultaneously, we propose implementing fairness-aware reweighting and privacy-aware graph structure perturbation modules in a retraining mechanism. Experimental results demonstrate that our method is effective in implementing GNN fairness with limited performance cost and restricted privacy risks.

Introduction

As Graph Neural Networks (GNNs) become integral to sensitive applications such as social recommendation and financial auditing, "trustworthiness" has emerged as a multi-faceted requirement. Specifically, models must be fair—ensuring that similar individuals are treated similarly—and private—protecting sensitive connection data from malicious actors.

While previous research has addressed these goals in isolation, this work identifies a fundamental conflict between them. Individual fairness requires that nodes with similar features or structural roles receive similar prediction outputs. However, link-stealing attacks often rely on the heuristic that nodes with similar predictions are likely connected. Consequently, improving a model's fairness unintentionally "cleans up" the signal for a privacy attacker, facilitating the reconstruction of the underlying graph structure.

The conflict between GNN fairness and privacy: improving fairness can lead to greater privacy risks such as link stealing.

The Fairness-Privacy Paradox

The core insight of this research is the mathematical and empirical proof of a trade-off: as individual fairness improves (decreasing bias), the risk of edge leakage (privacy risk) increases. In homophilic graphs—where similar nodes tend to be connected—fairness and privacy are two sides of the same coin moving in opposite directions. By enforcing similarity in predictions to achieve fairness, the model inadvertently confirms the attacker's assumptions about edge existence, thereby increasing the success rate of link-stealing attacks.

Methodology: The PPFR Framework

To address this trade-off, the authors introduce PPFR (Privacy-aware Perturbations and Fairness-aware Reweighting), a two-phase framework designed to balance accuracy, fairness, and privacy.

The PPFR framework: combining fairness-aware reweighting via influence functions with privacy-aware graph perturbations.

1. Vanilla Training

The process begins with standard GNN training to establish a baseline for high accuracy and utility.

2. PPFR Fine-tuning

The model is then refined through two specialized modules:

  • Fairness-aware Reweighting (FR): Rather than costly retraining, the framework utilizes Influence Functions to quantify how much each training node contributes to the model's overall bias. A specialized optimization problem is then solved to reweight these nodes, minimizing bias while preserving accuracy.
  • Privacy-aware Perturbations (PP): To mitigate the heightened privacy risks, the authors strategically inject "heterophilic" edges—noise edges connecting nodes with different labels. Theoretical modeling indicates that this targeted noise is significantly more effective at masking real edges than standard random noise, providing robust protection with a lower "accuracy tax" than traditional Differential Privacy (DP) methods.

Experimental Evaluation

The PPFR method was evaluated on standard citation networks (Cora, Citeseer, Pubmed) and datasets with weak homophily (Enzymes, Credit).

Key Results: * Trade-off Confirmation: Experiments validated that standard fairness regularization techniques consistently increased the success rate (AUC) of link-stealing attacks. * Superior Balance: PPFR achieved a superior "benefit-to-cost" ratio. While baseline methods like DPReg often resulted in accuracy drops exceeding 40%, PPFR maintained high performance (e.g., ~81% accuracy on Pubmed) while simultaneously reducing both bias and privacy risks. * Architecture Agnostic: The framework proved effective across various GNN architectures, including GCN, GAT, and GraphSAGE, demonstrating its versatility for real-world deployment.

Conclusion

This research highlights a critical, previously overlooked interaction between node fairness and edge privacy in GNNs. By identifying that fairness improvements can compromise privacy, the authors provide a theoretical foundation for more holistic trustworthy AI. The proposed PPFR framework offers a practical, computationally efficient solution to navigate these competing demands.

Summary updated

BibTeX
@inproceedings{zhang2024interaction,
  author = {He Zhang and Xingliang Yuan and Quoc Viet Hung Nguyen and Shirui Pan},
  title = {{On the Interaction between Node Fairness and Edge Privacy in Graph Neural Networks}},
  booktitle = {ICDE},
  year = {2024},
  doi = {10.1109/icde60146.2024.00139},
}
Figure