This repository is the official implementation of Networked Inequality: Preferential Attachment Bias in Graph Neural Network Link Prediction
.
To install requirements, use the provided requirements.txt
:
pip install -r requirements.txt
To run the experiments validating our theoretical analysis, simply run generate_plots.ipynb
. To run the fairness experiments, run generate_fairness_plots.ipynb
.
Some utilities code files are adapted from the PyTorch Geometric library, the FairGNN repository, and the Nifty repository; these files contain the appropriate copyright notices. All other code is written by the authors.