Git Product home page Git Product logo

fair-logloss-classification's Introduction

Fairness for Robust Log Loss Classification

This repository provides Python implementation for our AAAI 2020 paper Fairness for Robust Log Loss Classification.

Abstract

Developing classification methods with high accuracy that also avoid unfair treatment of different groups has become increasingly important for data-driven decision making in social applications. Many existing methods enforce fairness constraints on a selected classifier (e.g., logistic regression) by directly forming constrained optimizations. We instead re-derive a new classifier from the first principles of distributional robustness that incorporates fairness criteria into its worst-case logarithmic loss minimization. This construction takes the form of a minimax game and produces a parametric exponential family conditional distribution that resembles truncated logistic regression. We present the theoretical benefits of our approach in terms of its convexity and asymptotic convergence. We then demonstrate the practical advantages of our approach on three benchmark fairness datasets.

Dependency

  1. numpy
  2. scipy

Datasets

The provided version of Adult (Code), and COMPAS (Code) datasets are taken from IBM AIF360 Toolkit

Experiments

test_fairlogloss.py trains and tests a fair classifier given a fairness critria:

  • Demographic Parity (DP)
  • Equalized Odds (EqOdd)
  • Equalized Opportunity (EqOpp)

To run the experiment for each dataset run:

$ python test_fairlogloss.py [adult|compas] [dp|eqodd|eqopp] 

References

  1. Ashkan Rezaei, Rizal Fathony, Omid Memarrast, Brian Ziebart. "Fairness for Robust Log Loss Classification" AAAI-20 [pdf]

fair-logloss-classification's People

Contributors

arezae4 avatar suggestions-only 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.