OxonFair: A Flexible Toolkit for Algorithmic Fairness

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Delaney, Eoin, Fu, Zihao, Wachter, Sandra, Mittelstadt, Brent, Russell, Chris
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912105182003200
author Delaney, Eoin
Fu, Zihao
Wachter, Sandra
Mittelstadt, Brent
Russell, Chris
author_facet Delaney, Eoin
Fu, Zihao
Wachter, Sandra
Mittelstadt, Brent
Russell, Chris
contents We present OxonFair, a new open source toolkit for enforcing fairness in binary classification. Compared to existing toolkits: (i) We support NLP and Computer Vision classification as well as standard tabular problems. (ii) We support enforcing fairness on validation data, making us robust to a wide range of overfitting challenges. (iii) Our approach can optimize any measure based on True Positives, False Positive, False Negatives, and True Negatives. This makes it easily extensible and much more expressive than existing toolkits. It supports all 9 and all 10 of the decision-based group metrics of two popular review articles. (iv) We jointly optimize a performance objective alongside fairness constraints. This minimizes degradation while enforcing fairness, and even improves the performance of inadequately tuned unfair baselines. OxonFair is compatible with standard ML toolkits, including sklearn, Autogluon, and PyTorch and is available at https://github.com/oxfordinternetinstitute/oxonfair
format Preprint
id arxiv_https___arxiv_org_abs_2407_13710
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle OxonFair: A Flexible Toolkit for Algorithmic Fairness
Delaney, Eoin
Fu, Zihao
Wachter, Sandra
Mittelstadt, Brent
Russell, Chris
Computers and Society
Artificial Intelligence
Machine Learning
We present OxonFair, a new open source toolkit for enforcing fairness in binary classification. Compared to existing toolkits: (i) We support NLP and Computer Vision classification as well as standard tabular problems. (ii) We support enforcing fairness on validation data, making us robust to a wide range of overfitting challenges. (iii) Our approach can optimize any measure based on True Positives, False Positive, False Negatives, and True Negatives. This makes it easily extensible and much more expressive than existing toolkits. It supports all 9 and all 10 of the decision-based group metrics of two popular review articles. (iv) We jointly optimize a performance objective alongside fairness constraints. This minimizes degradation while enforcing fairness, and even improves the performance of inadequately tuned unfair baselines. OxonFair is compatible with standard ML toolkits, including sklearn, Autogluon, and PyTorch and is available at https://github.com/oxfordinternetinstitute/oxonfair
title OxonFair: A Flexible Toolkit for Algorithmic Fairness
topic Computers and Society
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2407.13710