Abstract
Graph Neural Networks (GNNs) are the backbone of modern recommendation engines but often suffer from homophily bias, reinforcing "echo chambers" and creating a "glass ceiling" effect for underrepresented groups. We present FairEGM (Fair Emulated Graph Modification), a framework designed to satisfy demographic parity in link prediction without compromising model utility. By emulating graph modifications—such as virtual partner nodes or edge re-weighting—directly within GNN layers, FairEGM avoids the computational overhead of physical graph alteration. Experimental results on benchmark datasets like Cora and Facebook-1684 show that FairEGM significantly reduces demographic disparity while maintaining high predictive accuracy.
Introduction
Graph Neural Networks (GNNs) have revolutionized fields ranging from social network analysis to drug discovery. However, their reliance on graph structure often propagates existing biases. Homophily—the tendency of similar individuals to connect—leads to clusters that systematically exclude minority groups from high-value recommendations.
Existing methods for fair graph learning often rely on adversarial training or manual adjacency matrix pruning, which can be computationally prohibitive or detrimental to the model's primary task. FairEGM addresses these limitations by introducing "emulated" modifications that act as corrective biases during the learning process, ensuring that the distribution of sensitive attributes in recommendations aligns with the overall population.
Methodology
The FairEGM framework introduces learnable parameters that mimic the impact of graph edits without physically modifying the massive adjacency matrix. This approach maintains a time complexity of $O(|E|d + nd^2)$, making it suitable for large-scale applications. The authors propose three specific emulation techniques:
- Global Fairness Optimization (GFO): This method emulates the addition of a unique "partner node" for every node in the graph. Mathematically, this is equivalent to adding a learnable bias vector to a node's representation after the graph convolution step, providing a bridge between graph theory and deep learning optimization.
- Constrained Fairness Optimization (CFO): To improve scalability, CFO uses a small, finite set of "basis nodes" that provide corrective connections across the entire graph, rather than a unique partner for every node.
- Fair Edge Weighting (FEW): This technique learns to re-weight existing edges, placing more emphasis on connections that help debias a node’s representation and less on those that reinforce homophily.
To train these models, the authors introduce a Link Divergence loss. Using KL-divergence, this loss measures how much the demographic distribution of a node's predicted neighbors deviates from the global population. A joint optimization procedure minimizes both reconstruction error (utility) and link divergence (fairness), governed by a fairness weight hyperparameter ($\lambda_f$).
Key Results and Discussion
FairEGM was evaluated on standard benchmarks, including citation networks (Citeseer, Cora, Pubmed) and social networks (Facebook-1684).
The t-SNE visualizations for the Cora dataset (above) illustrate the framework's impact. The GFO embeddings successfully incorporate fairness constraints while preserving the underlying cluster structure necessary for accurate prediction. Furthermore, the learned fairness weights ($W_f$) offer interpretability, allowing practitioners to inspect how the model attempts to correct for bias in specific subgraphs.
Quantitatively, FairEGM achieved massive fairness gains. On the Citeseer dataset, GFO reduced the demographic parity metric (DP@10) from 4.88 to 2.3. On the Facebook dataset, FairEGM achieved a DP@10 of 0.0661, significantly outperforming the FairAdj baseline (0.411). Across all tests, the impact on AUROC and F1-score was negligible, suggesting that debiasing can serve as a regularizer that improves model generalization.
Conclusion and Future Work
FairEGM demonstrates that fairness in graph recommendations can be achieved efficiently through emulated modifications. By decoupling fairness and utility optimization, the framework provides a practical tool for engineers to balance equity and accuracy. Future research will focus on constraining emulated nodes to more realistic feature distributions and extending the framework to other fairness definitions, such as Equalized Odds or Individual Fairness.
Summary updated