Coder Social home page Coder Social logo

fairness_ai's Introduction

PasiBellettiStricescu2324

Achieving Fairness without Demographics using Adversarially Reweighted Learning models

Description

In much of the existing machine learning (ML) fairness research, pro- tected features like race and sex are typically included in datasets and used to address fairness concerns. However, due to privacy concerns and regulatory restrictions, collecting or using these features for training or in- ference is often not feasible. This raises the question: how can we train an ML model to be fair without knowing the protected group memberships? This work tackles this issue by proposing Adversarially Reweighted Learn- ing (ARL). The key idea is that non-protected features and task labels can help identify fairness problems. ARL uses these features to co-train an adversarial reweighting approach that enhances fairness. The results indicate that ARL improves Rawlsian Max-Min fairness and achieves sig- nificant AUC improvements for the worst-case protected groups across various datasets, outperforming current leading methods.

Installation

Firstly, to run the code a Conda environment must be created and activated with the following commands:

conda env create -f environment.yml

Activate env

conda activate arl_uva 

Usage

To print only the results of the project without further preprocessing run the file "results.ipynb". To run the grid search for hyperparameter tuning, run the file "hyperparameters.py".

Support

This code is based upon an existing re-implementation of a Google Research paper. The original paper: Preethi Lahoti. 2020. Fairness without Demographics through Adversarially Reweighted Learning. The re-implementation: J. Mohazzab, L.R. Weytingh, C.A. Wortmann and B. Brocades Zaalberg. 2021. Reim- plementing the Adversarially Reweighted Learning model by Lahoti et al. (2020).

Authors and acknowledgment

Reimplementation of the Google Paper by:

  • J. Mohazzab
  • L.R. Weytingh
  • C.A. Wortmann
  • B. Brocades Zaalberg

Further adaptation, development and code fixing and by:

  • A. Pasi
  • C.R. Stricescu
  • M. Belletti

fairness_ai's People

Contributors

cipstr avatar mattebelle avatar

Watchers

 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.