Introduction
Algorithmic bias in Graph Neural Networks (GNNs) is a growing concern, particularly as these models are increasingly deployed in sensitive domains like social recommendation and financial scoring. Most existing fairness-aware GNNs optimize for Statistical Parity (SP), which requires the model's output to be independent of sensitive attributes (e.g., race or gender). However, SP can severely degrade model utility by ignoring legitimate correlations between features and target labels.
EqGNN addresses this by focusing on Equalized Odds (EO). Unlike SP, EO ensures that the model's error rates (such as true positive rates) are consistent across demographic groups, providing "equal opportunity" for qualified individuals without unnecessarily sacrificing predictive accuracy.
Methodology: The EqGNN Framework
EqGNN introduces a novel adversarial training framework designed to enforce EO while maintaining high utility. The architecture is built upon three core components:
- GNN Classifier: A standard GNN backbone (e.g., GCN) that generates node representations $h$ and predicts the target label $\hat{Y}$.
- Sensitive Attribute Sampler: This component uses Bayes' rule to learn the distribution $P(A|Y)$ and generates "dummy" sensitive attributes $\tilde{A}$. These dummy attributes represent a fair distribution where the sensitive attribute is only related to the label $Y$.
- Discriminator & Permutation Loss: The discriminator attempts to distinguish between the real sensitive attribute $A$ and the generated dummy attribute $\tilde{A}$.
A key innovation is the Permutation Loss. Instead of treating node attributes as independent samples, EqGNN pairs the real and dummy attributes for each node. The discriminator is trained to detect if a pair has been shuffled. This "spot the difference" approach allows the model to capture subtle biases that standard distribution-matching losses might miss.
Experimental Evaluation
The authors evaluated EqGNN on three real-world datasets: Pokec-region, Pokec-gender (large-scale social networks), and NBA (a Twitter-based relationship graph). The tasks involved predicting employment fields and salary levels, with region, gender, and nationality serving as sensitive attributes.
Key Results
EqGNN consistently outperforms state-of-the-art baselines, including FairGNN (which optimizes for SP) and Debias (which optimizes for EO using standard adversarial methods).
As shown in the results table, EqGNN achieves the lowest $\Delta EO$ (the gap in equalized odds) across all datasets. For instance, on Pokec-gender, it reduces $\Delta EO$ to 9.4%, significantly lower than the 12.3% of a standard GCN. Crucially, EqGNN maintains or even improves utility metrics like Accuracy and F1-score, demonstrating that fairness does not have to come at the cost of performance.
Ablation studies further highlight the effectiveness of the Permutation Loss. Models using the paired permutation approach ("EqGNN") significantly outperformed versions using unpaired losses, confirming that leveraging the node-level relationship between real and dummy attributes is vital for effective bias mitigation.
Conclusion
EqGNN represents a significant step forward in fair graph representation learning. By shifting the focus from Statistical Parity to Equalized Odds and introducing a sensitive, paired permutation loss, it provides a robust framework for building GNNs that are both fair and highly effective. Future work may explore scaling these adversarial techniques to web-scale graphs and extending the framework to handle multi-class sensitive attributes.
Summary updated