Lune

NeurIPS2024Top-tier venue

OxonFair: A Flexible Toolkit for Algorithmic Fairness

Eoin Delaney, Zihao Fu, Sandra Wachter, Brent D. Mittelstadt, Chris Russell

Abstract

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

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SWAD: Domain Generalization by Seeking Flat Minima cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Benchmarking Bias Mitigation Toward Fairness Without Harm from Vision to LVLMs cites Minimax Pareto Fairness: A Multi Objective Perspective
  • Fair Decisions from Calibrated Scores: Achieving Optimal Classification While Satisfying Sufficiency cites Retiring Adult: New Datasets for Fair Machine Learning
  • Benchmarking Stochastic Approximation Algorithms for Fairness-Constrained Training of Deep Neural Networks cites Retiring Adult: New Datasets for Fair Machine Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Benchmarking Bias Mitigation Toward Fairness Without Harm from Vision to LVLMsXuwei Tan, Ziyu Hu, Xueru ZhangICLR 2026 · 4 citations
  2. Benchmarking Stochastic Approximation Algorithms for Fairness-Constrained Training of Deep Neural NetworksAndrii Kliachkin, Jana Lepsová, Gilles Bareilles, Jakub MarecekICLR 2026 · 1 citation
  3. Fair Decisions from Calibrated Scores: Achieving Optimal Classification While Satisfying SufficiencyEtam Benger, Katrina LigettICML 2026

Builds on25

  1. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 citations
  2. Retiring Adult: New Datasets for Fair Machine LearningFrances Ding, Moritz Hardt, John Miller, Ludwig SchmidtNeurIPS 2021 · 671 citations
  3. SWAD: Domain Generalization by Seeking Flat MinimaJunbum Cha, Sanghyuk Chun, Kyungjae Lee, Han-Cheol Cho et al.NeurIPS 2021 · 630 citations
  4. Minimax Pareto Fairness: A Multi Objective PerspectiveNatalia Martínez, Martín Bertrán, Guillermo SapiroICML 2020 · 232 citations
  5. Bias in machine learning software: why? how? what to do?Joymallya Chakraborty, Suvodeep Majumder, Tim MenziesFSE 2021 · 186 citations

Related papers

  1. Fairness Evaluation in Text Classification: Machine Learning Practitioner Perspectives of Individual and Group FairnessZahra Ashktorab, Benjamin Hoover, Mayank Agarwal, Casey Dugan et al.CHI 2023 · 13 citations
  2. Faster Fair Machine via Transferring Fairness Constraints to Virtual SamplesZhou Zhai, Lei Luo, Heng Huang, Bin GuAAAI 2023
  3. OmniFair: A Declarative System for Model-Agnostic Group Fairness in Machine LearningHantian Zhang, Xu Chu, Abolfazl Asudeh, Shamkant B. NavatheSIGMOD 2021 · 28 citations
  4. Optimal Transport of Classifiers to FairnessMaarten Buyl, Tijl De BieNeurIPS 2022 · 16 citations
  5. Post-hoc bias scoring is optimal for fair classificationWenlong Chen, Yegor Klochkov, Yang LiuICLR 2024 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines