TL;DR
Graph neural networks (GNNs) frequently amplify societal biases because real-world graphs exhibit strong homophily and biased feature distributions. This paper theoretically analyzes the mathematical sources of this bias in neighborhood aggregation and introduces FairAug, an adaptive data augmentation framework that systematically targets feature-level and topological disparities. By masking biased features and rebalancing intra- and inter-group connectivity, FairAug slashes fairness disparities by up to ~45% in contrastive learning without sacrificing utility.
What Problem Does This Paper Address?
When learning node embeddings, GNNs aggregate features across graph neighborhoods. In real-world graphs (e.g., social networks), nodes preferentially connect to others with similar sensitive attributes such as gender, race, or region—a phenomenon known as homophily. As a result, message passing conflates structural connectivity and node features with sensitive attributes, producing node representations that perpetuate or worsen discriminatory decisions in downstream classification and link prediction.
Existing debiasing methods often rely on adversarial training or counterfactual constraints, while popular graph data augmentations (like random edge dropping or feature masking) treat all nodes and features uniformly, yielding unpredictable fairness behaviors. This paper tackles the challenge of designing theoretically grounded, fairness-aware augmentations that can mitigate bias in both unsupervised and supervised settings.
Methods
The authors derive an upper bound on the $\ell_1$-norm of the correlation vector $\boldsymbol{\rho}$ between sensitive attributes and aggregated node representations: $$\|\boldsymbol{\rho}\|_1 \le \|\mathbf{c}\|_1 \left( \|\boldsymbol{\delta}\|_1 \max(\gamma_1, \gamma_2) + 2N\Delta \right)$$ where $\|\boldsymbol{\delta}\|_1$ measures the difference in nodal feature means across sensitive groups, $\gamma_1$ measures the structural population imbalance between nodes with and without inter-group edges, and $\gamma_2$ reflects the ratio of intra-group to inter-group edges.
Guided by this bound, they propose FairAug, which adaptively manipulates both features and graph topology:
- Adaptive Feature Masking (FM): Instead of uniform masking, features with larger mean differences across sensitive groups ($|\boldsymbol{\delta}|$) receive higher masking probabilities. Using majorization theory, the authors prove this minimizes expected feature disparity relative to uniform masking.
- Adaptive Node Sampling (NS): Selects subgraphs that rebalance the proportions of nodes having inter-group edges versus only intra-group edges, theoretically driving $\gamma_1 \to 0$.
- Adaptive Edge Manipulations (ED / EA):
- Edge Deletion (ED): Probabilistically prunes intra-group edges to enforce equal expected counts of intra- and inter-group edges.
- Edge Addition (EA): Samples pairs of cross-group nodes to inject inter-group edges in sparse networks.
FairAug can serve as a drop-in augmentation pipeline for graph contrastive learning (e.g., modifying GRACE) or as an edge-dropout regularizer in supervised GCNs.
Datasets
Experiments evaluate 7 public, real-world benchmarks (no new datasets were introduced):
- Social networks (Node Classification & Link Prediction):
- Pokec-z and Pokec-n (sensitive attribute: region; label: working field).
- UCSD34 and Berkeley13 Facebook collegiate networks (sensitive attribute: gender).
- Citation networks (Link Prediction via supervised GCN):
- Cora, Citeseer, and Pubmed (sensitive attribute: research category/topic).
Key Insights and Ideas
- Topology and features both drive bias: Bias in GNN embeddings cannot be resolved by feature scrubbing alone; structural segregation directly controls the bound through $\gamma_1$ and $\gamma_2$.
- Standard graph contrastive augmentations are fairness-agnostic: Popular adaptive contrastive frameworks (such as GCA) optimize for centrality and utility, but empirical results show their impact on fairness is erratic and sometimes harmful.
- Topology dictates the optimal debiasing strategy: In networks with severe inter-group edge sparsity ($|\mathcal{E}^\omega| \gg |\mathcal{E}^\chi|$ like Pokec), edge deletion risks disconnecting the graph; adaptive node sampling is far more stable. Conversely, when most nodes already have cross-group connections ($|\mathcal{S}^\chi| \gg |\mathcal{S}^\omega|$ like Facebook), node sampling behaves like random removal, and edge manipulations perform better.
Key Results
- Node Classification: On Pokec-z, FairAug matched the accuracy of its base model GRACE (67.04% vs. 67.09%) while cutting Statistical Parity disparity ($\Delta_{SP}$) from 6.20% to 3.29% and Equal Opportunity disparity ($\Delta_{EO}$) from 6.18% to 3.04% (a ~45% reduction). On Pokec-n, FairAug without edge deletion dropped $\Delta_{SP}$ from 8.85% to 3.37% and $\Delta_{EO}$ from 10.13% to 5.13%.
- Comparison to Baselines: FairAug consistently outperformed random walk methods (DeepWalk, Node2Vec, FairWalk) and unsupervised fairness baselines like NIFTY on group fairness metrics.
- Supervised Link Prediction (Edge Dropout): Replacing standard DropEdge with Fair Edge Deletion on Cora reduced $\Delta_{SP}$ from 57.22% to 48.78% and $\Delta_{EO}$ from 36.18% to 27.79% with minimal AUC loss (90.52% to 87.95%).
Limitations and Future Work
- Binary, Single Attributes: The framework and theoretical bound strictly assume a single, binary sensitive attribute; extending to multi-class or intersectional sensitive attributes remains unaddressed.
- Heuristic Balancing vs. Node-Wise Exactness: To avoid the steep computational cost of per-node degree adjustments on large graphs, edge manipulations balance connections globally in expectation ($\mathbb{E}[|\tilde{\mathcal{E}}^\omega|] = \mathbb{E}[|\tilde{\mathcal{E}}^\chi|]$), which reduces $\gamma_2$ but does not guarantee node-level optimality.
- Hyperparameter Sensitivity: Graph-specific tuning is required between node sampling and edge operations depending on underlying network sparsity and degree distributions.
Summary updated