CAFIN: Centrality Aware Fairness inducing IN-processing for Unsupervised Representation Learning on Graphs (Arvindh, Aakash, Amul, et. al, ECAI 2023): https://arxiv.org/abs/2304.04391
The overall implementation is split task-wise,
src/nc/
contains Node Classification andsrc/lp/
contains Link Predictionapproximate_distances.py
,centrality_measures.py
,dist.py
andgraph_division.py
contain the necessary preprocessing steps.experiments.py
contains the modified loss functions of CAFIN (Exp 17), CAFIN-N (Exp 18) and CAFIN-P (Exp 19)nc/imparity.py
contains the implementation of weighted imparityutils.py
contains necessary supporting functionstrain.py
trains CAFIN-GraphSAGEtrain_approx.py
uses approximate distances for traininglr.py
evaluates the generated embeddings Overall pipeline can be run usingsrc/nc/run.sh
andsrc/lp/run.sh
with appropriate variables set as required.
If you use CAFIN in your research, please consider citing the following
@misc{
arun2023cafin,
title={CAFIN: Centrality Aware Fairness inducing IN-processing for Unsupervised Representation Learning on Graphs},
author={Arvindh Arun and Aakash Aanegola and Amul Agrawal and Ramasuri Narayanam and Ponnurangam Kumaraguru},
year={2023},
eprint={2304.04391},
archivePrefix={arXiv},
primaryClass={cs.LG}
}