GithubHelp home page GithubHelp logo

shawn-dm / cafin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arvindh75/cafin

0.0 0.0 0.0 331 KB

This is the official implementation of our ECAI 2023 paper, CAFIN ☕️: Centrality Aware Fairness inducing IN-processing for Unsupervised Representation Learning on Graphs.

Shell 5.22% Python 94.78%

cafin's Introduction

CAFIN

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

Cafin Pipeline

Overview

The overall implementation is split task-wise,

  • src/nc/ contains Node Classification and src/lp/ contains Link Prediction
  • approximate_distances.py, centrality_measures.py, dist.py and graph_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 imparity
  • utils.py contains necessary supporting functions
  • train.py trains CAFIN-GraphSAGE
  • train_approx.py uses approximate distances for training
  • lr.py evaluates the generated embeddings Overall pipeline can be run using src/nc/run.sh and src/lp/run.sh with appropriate variables set as required.

Reference

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}
}

cafin's People

Contributors

arvindh75 avatar aa-aanegola avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.