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.pyandgraph_division.pycontain the necessary preprocessing steps.experiments.pycontains the modified loss functions of CAFIN (Exp 17), CAFIN-N (Exp 18) and CAFIN-P (Exp 19)nc/imparity.pycontains the implementation of weighted imparityutils.pycontains necessary supporting functionstrain.pytrains CAFIN-GraphSAGEtrain_approx.pyuses approximate distances for traininglr.pyevaluates the generated embeddings Overall pipeline can be run usingsrc/nc/run.shandsrc/lp/run.shwith 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}
}
