Debiasing Graph Representation Learning based on Information Bottleneck

Ziyi Zhang, Mingxuan Ouyang, Wanyu Lin, Hao Lan, Lei Yang

TL;DR

GRAFair is a novel framework that eliminates discriminatory bias in Graph Neural Networks (GNNs) without relying on notoriously unstable adversarial training. By combining a variational graph auto-encoder with the Conditional Fairness Bottleneck, it achieves a highly stable and optimal trade-off between prediction accuracy and algorithmic fairness.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) are incredibly powerful at modeling relational data, making them popular choices for high-stakes applications like financial risk assessment, social network analysis, and medical diagnostics. However, GNNs are highly susceptible to learning and amplifying societal biases.

This happens for two main reasons:

  1. Attribute Correlation: GNNs easily capture statistical correlations between non-sensitive attributes (e.g., zip code or occupation) and sensitive ones (e.g., race or gender). Simply removing the sensitive attribute from the dataset does not solve the problem.
  2. The Homophily Effect: In many real-world networks, similar nodes tend to connect with each other ("birds of a feather flock together"). GNN message-passing mechanisms aggregate features from neighboring nodes, inadvertently segregating and amplifying sensitive biases across entire subgraphs.

As illustrated in Figure 1, this can lead to unfair outcomes, such as a low-risk female applicant being rejected for a loan while a high-risk male applicant is approved.

Fig. 1. An illustration of gender bias in GNN for loan approval prediction.

Existing fair representation learning methods typically rely on adversarial training (a minimax game between an encoder and a discriminator). Unfortunately, adversarial training is plagued by training instability, asynchronous convergence, and vanishing gradients, making it unreliable for production environments.

Methods

To bypass the pitfalls of adversarial training, the authors introduce GRAFair (Graph Representation LeArning based on Fairness Information Bottleneck). The framework is built on a Variational Graph Auto-Encoder (VGAE) architecture and optimized using the Conditional Fairness Bottleneck (CFB) principle.

The core objective is formulated through an information-theoretic lens: compress the input graph $G$ into a latent representation $Z$ such that $Z$ retains maximum information about the target task $Y$ (high utility) while minimizing mutual information with the sensitive attribute $S$ (high fairness).

Fig. 2. An illustration of the proposed framework. GRAFair consists of two parts: an encoder and a decoder. The variational graph encoder maps the input graph data G to node representations Z. The encoder learns the mean µi and log variance log σi of zi. By sampling ϵ from standard Gaussian distribution, we can obtain the latent representation of the node zi = µi + σi ⊙ϵ. The node representation Z sampling from the learned distribution together with sensitive attributes S are the input of the decoder during training. The decoder utilizes representations to predict label ˆY in downstream tasks.

Key technical components include:

  • Variational Approximation: Because calculating exact mutual information on complex graph structures is mathematically intractable, the authors derive tractable upper and lower variational bounds to optimize the objective function efficiently.
  • Local-Dependence Assumption: To handle the non-IID nature of graph data, the model assumes a node is primarily influenced by its local $L$-hop neighborhood, making neighborhood sampling possible.
  • The Concatenation Trick: During training, the sensitive attribute $S$ is explicitly concatenated with the latent representation $Z$ before being fed into the decoder. This clever design forces the decoder to handle the sensitive information directly, which naturally incentivizes the encoder to filter out sensitive attributes and focus solely on general, task-relevant features. At inference time, the sensitive attribute is dropped entirely.

Datasets

The authors evaluated GRAFair on three widely used real-world benchmark datasets:

  • German Credit Dataset: 1,000 nodes representing bank clients. The task is credit risk classification, and Gender is the sensitive attribute.
  • Credit Default Dataset: 30,000 credit card users. The task is predicting loan default, and Age ($\le 25$ vs. $>25$) is the sensitive attribute.
  • Recidivism Dataset (Bail): 18,876 criminal defendants. The task is predicting whether a defendant will receive bail, and Race is the sensitive attribute.

Key Insights and Ideas

  • Fairness via Compression, Not Competition: GRAFair proves that fairness can be achieved through information bottleneck constraints rather than competitive adversarial training. This fundamentally changes the optimization landscape from an unstable minimax game to a stable, single-objective minimization problem.
  • Why "Vanilla w/o S" Fails: The experiments confirm that merely hiding the sensitive attribute does almost nothing to improve fairness because the graph topology itself acts as a proxy for the sensitive information.
  • Encoder Shielding: By giving the decoder direct access to the sensitive attribute during training, the encoder is "shielded" from needing to represent it. This architectural choice ensures that the learned embeddings are genuinely debiased.

Key Results

GRAFair was compared against several state-of-the-art baselines, including FairGNN, NIFTY, and FairVGNN.

  • Superior Fairness: Across all three datasets, GRAFair consistently achieved the lowest scores in demographic parity ($\Delta_{SP}$), equal opportunity ($\Delta_{EO}$), and counterfactual fairness ($\Delta_{CF}$), often bringing the bias metrics close to absolute zero.
  • High Utility Preservation: Unlike other methods that severely degrade model accuracy to achieve fairness, GRAFair maintained or even improved the classification F1-score compared to vanilla GNNs. For instance, on the Bail dataset, it improved the F1-score by roughly 11% over a standard GCN while slashing bias.
  • Exceptional Time Efficiency: Because it avoids the multi-step optimization loops of adversarial networks, GRAFair trains significantly faster. As shown in Figure 3, its training time per epoch is a fraction of adversarial counterparts like FairVGNN.
Fig. 3. Time efficiency (in seconds) of different methods on Bail, Credit and German datasets. Each value refers to the average time during training of an epoch.

Limitations and Future Work

While highly effective, GRAFair has a few limitations that open doors for future research:

  • Variational Constraints: The framework relies on standard Gaussian distributions for its variational approximations, which can restrict the search space for complex encoding distributions. The authors suggest exploring richer distribution families, such as normalizing flows.
  • Single Sensitive Attribute: The current debiasing strategy is designed for a single sensitive attribute (e.g., just age or just gender). Real-world scenarios often require intersectional fairness, where multiple sensitive attributes overlap.
  • Structural Bias: GRAFair primarily focuses on mitigating attribute-level bias. Future iterations will need to explicitly address structural biases inherent in the graph topology itself.

Summary updated

BibTeX
@article{zhang2025debiasing,
  author = {Ziyi Zhang and Mingxuan Ouyang and Wanyu Lin and Hao Lan and Lei Yang},
  title = {{Debiasing Graph Representation Learning based on Information Bottleneck}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2025},
  url = {https://openreview.net/forum?id=2xcwKygnr3},
}
Figure