TL;DR
This paper tackles the crucial problem of ensuring fairness in graph-based machine learning, specifically for edge prediction. They introduce a novel, embedding-agnostic method that uses optimal transport to repair graph adjacency matrices, allowing for a controllable trade-off between group and individual fairness while maintaining prediction accuracy.
What Problem Does This Paper Address?
Many real-world decision-making systems rely on machine learning algorithms trained on data that can inadvertently encode societal biases. This is particularly problematic in graph-structured data, where relationships between entities (nodes) can reflect these biases. The task of "edge prediction" in graphs – predicting whether a connection exists between two nodes – is vital for applications like recommendation systems or social network analysis. However, existing fairness methods primarily focus on node classification or tabular data, leaving fair edge prediction largely under-addressed. This paper aims to fill this gap by developing a method to make edge prediction fairer, ensuring that predictions are not unfairly influenced by sensitive attributes (like gender or ethnicity) associated with the nodes.
Methods
The core of the paper's contribution lies in a novel approach to "repairing" the graph's adjacency matrix to mitigate bias. This method is:
- Embedding-agnostic: It operates directly on the graph's structure (adjacency matrix) rather than on node embeddings. This means it can be used with any subsequent node embedding technique.
- Optimal Transport (OT)-based: They leverage OT, a powerful mathematical framework for comparing probability distributions, to align the distributions of nodes belonging to different sensitive groups. This effectively "transports" connections to reduce the dependence on the sensitive attribute.
- Group and Individual Fairness: The method explicitly incorporates both group fairness (ensuring similar prediction rates across different sensitive groups) and individual fairness (ensuring similar predictions for similar individuals, even if they belong to different groups). This is achieved by combining an OT-based objective for group fairness with a Laplacian regularization term for individual fairness.
- Theoretical Foundation: The paper provides a theoretical analysis of fair edge prediction, establishing connections between disparate impact and balanced error rates, and deriving bounds that motivate their OT-based approach.
Datasets
The authors evaluate their method on both synthetic and real-world datasets:
- Synthetic Graphs: Five synthetic graphs (G1-G5) were generated using a stochastic block model with varying community structures and dependencies between communities and sensitive attributes. These were used to control complexity and highlight specific features of their algorithm.
- Real-world Networks:
- Political Blogs (POLBLOGS): A network representing political blogosphere links, with the sensitive attribute being the political leaning of the blog.
- Snap Facebook: Ego networks from the Facebook app, where the sensitive attribute is gender.
- DBLP: A co-authorship network, with the sensitive attribute being the continent of authors' affiliation.
Key Insights and Ideas
- Fairness in Graphs is Different: The paper highlights that fairness in edge prediction is distinct from node classification. It requires repairing the relationships (edges) between nodes, not just their individual representations.
- OT as a Bridge for Fairness: Optimal Transport proves to be a powerful tool for aligning node distributions across sensitive groups, effectively "moving" connections to achieve fairness.
- Controllable Trade-offs: The proposed method allows researchers to explicitly control the balance between achieving group fairness, individual fairness, and maintaining prediction accuracy, offering flexibility for different application needs.
- Laplacian Regularization for Individual Fairness: Incorporating a Laplacian regularization term derived from graph similarity effectively enforces individual fairness, ensuring that similar nodes are treated similarly.
Key Results
- Reduced Assortativity: The method significantly reduces the assortativity coefficient (a measure of how strongly nodes within a group are connected) with respect to the sensitive attribute, indicating a less biased graph structure. For example, on POLBLOGS, the assortativity dropped from 0.81 to 0.04.
- Lower Representation Bias (RB): Node embeddings learned from repaired graphs show a substantially lower ability to predict the sensitive attribute, indicating improved fairness. For instance, RB on POLBLOGS dropped from 0.53 to 0.03.
- Improved Fairness Metrics: The Disparate Impact (DI) metric, a measure of group fairness, was increased across datasets, indicating more equitable predictions.
- Balanced Trade-off: The approach demonstrates a good balance between fairness and prediction accuracy (AUC), often outperforming baseline methods. For example, on FACEBOOK, their method achieved an AUC of 0.99 with a DI of 0.93, while maintaining good consistency.
- Versatility: The method is shown to be effective across different datasets and can be used with various embedding techniques.
Limitations and Future Work
- Imbalanced and Multi-class Settings: The paper notes that optimal transport can face challenges in highly imbalanced or multi-class sensitive attribute settings, suggesting this as an area for future research.
- Impact of Embedding Techniques: The authors plan to investigate how different node embedding techniques might amplify or mitigate bias in the adjacency matrix, and how this relates to the sensitive attribute.
- Theoretical Guarantees for Embeddings: Further theoretical analysis is planned to provably show the effect of popular node embedding methods on the correlation between estimated outputs and sensitive attributes.
Summary updated