Abstract
Graph Neural Networks (GNNs) are powerful tools for relational data but often act as "bias amplifiers" due to the propagation of unfairness through message-passing mechanisms. While many fairness-aware GNNs exist, they typically require complete knowledge of sensitive attributes (e.g., race or gender) for all nodes—a requirement often impossible to meet due to privacy regulations and data collection constraints. This paper introduces EOSP (Equal Opportunity Statistical Parity), a model-agnostic regularization framework designed to enforce fairness even when sensitive information is available for only a small fraction of the network. By transforming discrete fairness metrics into differentiable loss terms, EOSP achieves significant bias reduction with minimal impact on predictive accuracy and negligible computational overhead.
Introduction
As Graph Neural Networks become central to decision-making in domains like credit scoring, criminal justice, and social recommendation, the risk of algorithmic bias grows. GNNs are particularly susceptible to bias because their structural dependencies allow unfair features or skewed connections to propagate throughout the entire graph.
A critical barrier to deploying fair GNNs in the real world is the assumption of complete sensitive information. In practice, privacy frameworks like the EU AI Act and general data scarcity mean that sensitive labels are often missing for the vast majority of nodes. This paper addresses the incomplete information setting, where sensitive attributes are only known for the same small subset of nodes used for training labels.
The EOSP Framework
The authors propose EOSP, a plug-and-play regularization framework that integrates two primary fairness notions directly into the GNN's objective function. Unlike methods that require complex architectural changes, EOSP functions as a simple additive loss term:
$$\mathcal{L}_{total} = \mathcal{L}_{pred} + \alpha \mathcal{L}_{EO} + \beta \mathcal{L}_{SP}$$
Core Components
- Statistical Parity (SP) Regularizer: This term encourages the model to predict positive outcomes at the same rate across all groups, regardless of their sensitive attributes.
- Equal Opportunity (EO) Regularizer: This term ensures that individuals who are "qualified" (possessing a true positive label) have an equal probability of being predicted as positive, irrespective of their group membership.
Technical Innovations
- Differentiable Approximations: Standard fairness metrics are based on discrete counts, which are non-differentiable and have zero gradients. EOSP replaces these counts with continuous probability scores derived from the model's output, enabling the use of standard backpropagation.
- Model-Agnosticism: Because it is implemented as a loss function, EOSP can be applied to any GNN architecture (such as GCN or GraphSAGE) or even used to enhance existing fairness-aware models like FairGNN or CAF.
- Automated Tuning: Recognizing the inherent trade-off between fairness and accuracy, the authors utilize Bayesian optimization (via the Optuna library) to automatically determine the optimal weights ($\alpha, \beta$) for the fairness terms.
Experimental Evaluation
The researchers evaluated EOSP across five diverse real-world benchmark datasets:
- German: Credit risk evaluation (Sensitive: Gender).
- Bail: Pretrial release prediction (Sensitive: Race).
- Credit Defaulter: Credit card default prediction (Sensitive: Age).
- NBA: Salary level prediction based on Twitter connections (Sensitive: Nationality).
- Pokec-n: Social network job field prediction (Sensitive: Region).
Key Findings
- Efficiency in Data Scarcity: A major insight of the study is that a fully labeled graph is not required to enforce fairness. By regularizing based on the available labeled nodes, the "fairness signal" effectively propagates through the GNN's structure to the unlabeled portions of the graph. On the NBA dataset, EOSP maintained near-perfect statistical parity even with highly limited sensitive attribute data.
- Significant Bias Mitigation: On the Credit dataset, applying EOSP to a standard GCN reduced Statistical Parity $(\Delta_{SP})$ and Equal Opportunity $(\Delta_{EO})$ disparities by over 80% while maintaining nearly identical accuracy levels.
- Optimal Trade-offs: Across all benchmarks, EOSP-enhanced models consistently achieved superior fairness-accuracy trade-offs compared to baselines, often reaching the highest Balanced Accuracy (BACC) while simultaneously achieving the lowest bias scores.
- Low Computational Cost: The addition of EOSP regularizers typically adds less than one second to total training time, making it a highly efficient solution for real-time or large-scale applications.
Conclusion and Future Work
EOSP demonstrates that explicit regularization is a powerful and efficient tool for mitigating bias in GNNs, even under conditions of incomplete information. The framework's ability to complement existing fairness-aware architectures suggests that it could become a standard component in the fair machine learning pipeline.
However, challenges remain. The model's performance is sensitive to hyperparameters, and while Bayesian optimization helps, finding universal settings across different graph topologies is an ongoing area of research. Additionally, future iterations of EOSP could expand beyond binary sensitive attributes to handle multi-class or continuous variables, as well as explore interactions with methods that address structural biases within the graph itself.
Summary updated