NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

All of the Fairness for Edge Prediction with Optimal Transport

Charlotte Laclau, Ievgen Redko, Manvi Choudhary, Christine Largeron

TL;DR

This paper introduces a theoretically grounded, embedding-agnostic method to ensure fairness in graph edge prediction. By using Optimal Transport to "repair" a graph's adjacency matrix before any learning occurs, the authors provide a way to balance group fairness (reducing systemic bias) and individual fairness (preserving local node relationships) with explicit control over the accuracy-fairness trade-off.

What Problem Does This Paper Address?

Most research in algorithmic fairness focuses on supervised classification—for example, ensuring a model doesn't deny loans based on gender. However, relational data (graphs) presents a unique challenge. In social networks or citation graphs, bias is often baked into the structure itself through assortativity (the tendency of similar nodes to connect).

If a link prediction algorithm learns from a biased graph, it will likely reinforce that bias in its predictions, creating "filter bubbles" or exclusionary recommendations. Existing solutions are often tied to specific embedding techniques (like Node2Vec). The authors identify a gap: the need for a general "pre-processing" method that fixes the graph's structure itself, making it compatible with any downstream graph learning algorithm.

Methods

The authors propose a three-step repairing procedure for the adjacency matrix ($A$):

  1. Distribution Alignment via Optimal Transport (OT): They treat the rows of the adjacency matrix for different sensitive groups (e.g., "Group A" vs. "Group B") as probability distributions. They then use OT to find a "coupling"—a mathematical mapping—that aligns these distributions. This minimizes the Wasserstein distance between how different groups are connected, effectively blurring the structural signals that reveal sensitive attributes.
  2. Individual Fairness via Laplacian Regularization: To ensure that the repair doesn't arbitrarily scramble the graph, they add a Laplacian regularization term. This enforces individual fairness: nodes that were structurally similar in the original graph should remain similar in the repaired version.
  3. Adjacency Matrix Reconstruction: The final repaired matrix is a "mid-point" (geodesic) between the original distributions, guided by the OT plan. For multi-class sensitive attributes, they extend this using Wasserstein barycenters.

The process is illustrated in Figure 1, showing how the original graph is transformed into a "repaired" version that obfuscates sensitive group boundaries while attempting to keep the core structure intact.

Figure 1: Illustration of the three steps performed to repair the adjacency matrix of a graph.

Datasets

The authors evaluated their approach on both synthetic and real-world datasets:

  • Synthetic Graphs (G1–G5): 150-node graphs generated via Stochastic Block Models to simulate various levels of community bias and sensitive attribute correlations.
  • POLBLOGS: A network of US political blogs where the sensitive attribute is political leaning (liberal vs. conservative).
  • FACEBOOK: A social network where gender is the protected attribute.
  • DBLP: A co-authorship network where the sensitive attribute is the continent of the author's affiliation (a multi-class scenario).

Detailed statistics for the real-world networks are provided in Table 1:

Table 1: Statistics for all networks: number of nodes (|V|), number of edges (|E|), type of the protected attribute.

Key Insights and Ideas

  • Embedding-Agnosticism: Because the method repairs the adjacency matrix directly, you can use the output with Node2Vec, CNE, or any future graph embedding technique without modifying the learner itself.
  • Theoretical Link: The authors prove that reducing the "disparate impact" of individual node attributes provides an upper bound on the bias for edge prediction. This justifies their focus on aligning node-level connection distributions.
  • The Fairness-Accuracy Knob: By adjusting the regularization parameter $\lambda$, practitioners can choose exactly how much they want to prioritize individual fairness (preserving original structure) versus group fairness (removing bias).
  • Assortativity as a Bias Proxy: The paper highlights that high assortativity is a primary driver of bias in graphs. Their method successfully "de-assortativizes" graphs, as shown in Table 2, where the EMD-based repair significantly drops the assortativity coefficient compared to the original.
Table 2: Comparison of assortativity coefficient w.r.t the protected attribute between the original and the repaired graphs. For the Laplacian, we report the values obtained for λ ∈{0.005, 1, 5}

Key Results

  • Bias Reduction: On the POLBLOGS and DBLP datasets, which are naturally highly biased, the OT-based repair significantly increased the Disparate Impact (DI) score (where 1.0 is perfect fairness) and reduced Representation Bias (RB).
  • Performance Trade-off: While fairness increased, there was a manageable drop in link prediction accuracy (AUC). For example, on POLBLOGS, the AUC dropped from 0.75 to 0.73, but the DI improved from 0.10 to 0.25 (and up to 0.54 with pure EMD repair).
  • Individual Fairness: The Laplacian term proved essential for maintaining "Consistency." Without it, the OT repair could be too aggressive, harming the local structural integrity that link prediction relies on.

Limitations and Future Work

The authors note that their method struggles somewhat with imbalanced groups. In the DBLP dataset, where sensitive groups are of very different sizes, the OT mapping becomes less effective, leading to a larger drop in prediction performance.

Future work includes investigating how different embedding techniques might inherently amplify or dampen the bias present in the adjacency matrix and extending the theoretical analysis to provably show these effects. They also suggest that refining the OT approach to better handle extreme class imbalance is a promising research direction.

Summary updated

BibTeX
@inproceedings{laclau2021all,
  author = {Charlotte Laclau and Ievgen Redko and Manvi Choudhary and Christine Largeron},
  title = {{All of the Fairness for Edge Prediction with Optimal Transport}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2021},
}
Figure