GithubHelp home page GithubHelp logo

yuji-roh / fr-train Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 4.0 219 KB

FR-Train: A Mutual Information-Based Approach to Fair and Robust Training (ICML 2020)

Python 5.61% Jupyter Notebook 94.39%
deep-learning pytorch machine-learning fairness robustness fairness-ml fairness-ai trustworthy-ai responsible-ai

fr-train's Introduction

FR-Train: A Mutual Information-Based Approach to Fair and Robust Training

Authors: Yuji Roh, Kangwook Lee, Steven Euijong Whang, and Changho Suh

In Proceedings of the 37th International Conference on Machine Learning (ICML), 2020

This directory is for simulating FR-Train [https://arxiv.org/abs/2002.10234, ICML 2020] on synthetic dataset. The program needs PyTorch and Jupyter Notebook.

The directory contains total 8 files: 1 README, 1 python file, 2 jupyter notebooks, and 4 data files (3 numpy files for synthetic data, 1 text file for poisoning index)

To simulate FR-Train, please use the jupyter notebooks in the directory. FRTrain_clean.ipynb and FRTrain_poisoned.ipynb contain clean mode and poisoned mode, respectively.

The jupyter notebooks will load the data and put the arranged dataset into train_model(). The variable 'y_train' contains different data depending on whether it is a clean or poisoned mode.

The train_model() will train FR-Train by using the classes in FRTrain_arch.py. After the training, train_model() will return the test accuracy and disparate impact to the caller.

The python file is FRTrain_arch.py contains the defined structures of FR-Train: generator and two discriminators (for fairness and robustness each).

The detailed explanations about each component have been written in the codes as comments. Thanks!

fr-train's People

Contributors

yuji-roh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.