TL;DR
Graph Neural Networks (GNNs) can inherit and amplify biases present in data, leading to unfair recommendations. This paper introduces FairEGM, a framework that uses "emulated graph modifications" to train GNNs for fairer link prediction and recommendations, achieving significant fairness improvements with minimal impact on accuracy.
What Problem Does This Paper Address?
Machine learning models, especially those operating on graph data like Graph Neural Networks (GNNs), are increasingly used in applications like recommendation systems. However, these models can inadvertently learn and perpetuate biases present in the input data. This is particularly problematic in graph data due to the "homophily" effect, where similar nodes tend to connect. This can lead to underserved communities being less likely to receive recommendations (e.g., job openings, social connections), reinforcing existing inequalities. The paper aims to address this by developing methods to train GNNs that are both accurate for link prediction and fair according to the demographic parity criterion.
Methods
The core of FairEGM lies in "emulating graph modifications" during GNN training. Instead of directly altering the graph structure, these methods simulate the effects of such changes to guide the GNN towards fairer embeddings. The paper proposes three main techniques:
- Global Fairness Optimization (GFO): This method conceptually adds a "partner node" for each existing node. This partner node is connected only to its original node and acts as a bias-balancing mechanism. The GNN learns weights for these partner nodes, effectively introducing a fairness-oriented bias.
- Constrained Fairness Optimization (CFO): A generalization of GFO, CFO introduces a set of c new nodes that connect to all nodes in the original graph. These new nodes form a basis for correcting biases. The number of added nodes, c, can be tuned to balance fairness and utility.
- Fair Edge Weighting (FEW): This approach directly modifies the edge weights within the existing graph. By adjusting these weights, the method can emphasize certain connections that help correct biases, conceptually balancing edge weights to debias the graph.
All these methods are integrated with a standard GNN architecture (specifically, a Graph Convolutional Network or GCN) and trained using a joint optimization objective that balances a utility loss (for link prediction) and a fairness loss (based on demographic parity).
Datasets
The proposed methods were evaluated on four real-world datasets:
- Citeseer: A citation network dataset.
- Cora: Another citation network dataset.
- Facebook-1684 ego-network: A social network dataset representing friendships.
- Pubmed: A dataset of biomedical literature citations.
These datasets vary in size, number of features, and the nature of their sensitive attributes (e.g., topic, gender).
Key Insights and Ideas
- Emulating Graph Modifications: The idea of simulating graph modifications (adding nodes/edges, changing weights) without actually altering the graph is a novel and efficient way to inject fairness constraints into GNNs. This offers better interpretability than purely integrated neural network methods.
- Demographic Parity as a Target: The paper clearly defines and operationalizes demographic parity for link prediction, ensuring that recommended links are distributed across sensitive attributes in a way that mirrors the overall population distribution.
- Trade-off Management: The introduction of a hyperparameter (λf) allows for explicit control over the trade-off between fairness and link prediction accuracy, acknowledging that perfect fairness might come at a cost.
- Interpretability of Fairness: The GFO method, in particular, provides some interpretability by learning node-specific weights that can be analyzed to understand how biases are being addressed.
Key Results
- Significant Fairness Improvement: FairEGM methods (GFO, CFO, FEW) consistently improved demographic parity metrics (DP@k) by several factors across all tested datasets compared to baseline GCN models and even state-of-the-art fairness methods like FairWalk and FairAdj.
- Negligible Impact on Accuracy: The improvements in fairness came with minimal degradation in link prediction performance (measured by AUROC and F1-score). In some cases, the FairEGM models even outperformed baselines on these metrics.
- CFO's Scalability: The CFO method showed that increasing the number of introduced nodes (c) generally led to better fairness, with diminishing returns after a certain point.
- Visual Evidence: T-SNE visualizations confirmed that FairEGM methods produce node embeddings that do not cluster based on sensitive attributes, unlike standard GCN autoencoders.
Limitations and Future Work
- Interpretability of Emulated Modifications: While the methods offer some interpretability, the paper suggests further work to deeply understand what specific graph modifications are being learned and emulated by the models.
- Realistic Node/Edge Features: The current emulated nodes and edges are "free to take on whatever features will do the job," which might not be realistic. Future work could explore imposing constraints to make these emulated features more grounded.
- Generalization to Other GNN Architectures and Fairness Notions: The current work focuses on GCNs and demographic parity. Future research could extend these methods to other GNN architectures (like VGAE) and other fairness definitions (e.g., equalized odds, individual fairness).
- Efficiency of CFO: While generally efficient, the time complexity of CFO can increase with the number of introduced nodes (c), suggesting potential optimizations for very large c.
Summary updated