Fairness-aware Configuration of Machine Learning Libraries
Not on the map. Why?
Abstract (arXiv)
This paper investigates the parameter space of machine learning (ML) algorithms in aggravating or mitigating fairness bugs. Data-driven software is increasingly applied in social-critical applications where ensuring fairness is of paramount importance. The existing approaches focus on addressing fairness bugs by either modifying the input dataset or modifying the learning algorithms. On the other hand, the selection of hyperparameters, which provide finer controls of ML algorithms, may enable a less intrusive approach to influence the fairness. Can hyperparameters amplify or suppress discrimination present in the input dataset? How can we help programmers in detecting, understanding, and exploiting the role of hyperparameters to improve the fairness? We design three search-based software testing algorithms to uncover the precision-fairness frontier of the hyperparameter space. We complement these algorithms with statistical debugging to explain the role of these parameters in improving fairness. We implement the proposed approaches in the tool Parfait-ML (PARameter FAIrness Testing for ML Libraries) and show its effectiveness and utility over five mature ML algorithms as used in six social-critical applications. In these applications, our approach successfully identified hyperparameters that significantly improve (vis-a-vis the state-of-the-art techniques) the fairness without sacrificing precision. Surprisingly, for some algorithms (e.g., random forest), our approach showed that certain configuration of hyperparameters (e.g., restricting the search space of attributes) can amplify biases across applications. Upon further investigation, we found intuitive explanations of these phenomena, and the results corroborate similar observations from the literature.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 10 of its 48 references that are in the map. First posted on arXiv 13 Feb 2022.
Builds on
10 of 48 references.
References · 10
- 2016Equality of Opportunity in Supervised Learningcited by 2,000
- 2018Mitigating Unwanted Biases with Adversarial Learningcited by 663
- 2018A Reductions Approach to Fair Classificationcited by 585
- 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
- 2017Fairness Testing: Testing Software for Discriminationcited by 123
- 2018Automated Directed Fairness Testingcited by 77
- 2018Finding Faster Configurations using FLASHcited by 32
- 2019Software Engineering for Fairness: A Case Study with Hyperparameter Optimizationcited by 18
- 2020Detecting and Understanding Real-World Differential Performance Bugs in Machine Learning Librariescited by 7
- 2017Differential Performance Debugging with Discriminant Regression Treescited by 2
Built on by
Citing papers per year: 2022: 3; 2023: 8; 2024: 7; 2025: 8; 2026: 2.
28 papers.
Sort:
- 2022Bias Mitigation for Machine Learning Classifiers: A Comprehensive Surveycited by 125
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2022Towards Understanding Fairness and its Composition in Ensemble Machine Learningcited by 17
- 2023Information-Theoretic Testing and Debugging of Fairness Defects in Deep Neural Networkscited by 10
- 2024Fairness Testing of Large Language Models in Role-Playingcited by 10
- 2023Fix Fairness, Don't Ruin Accuracy: Performance Aware Fairness Repair using AutoMLcited by 9
- 2024NeuFair: Neural Network Fairness Repair with Dropoutcited by 9
- 2023Understanding Fairness Surrogate Functions in Algorithmic Fairnesscited by 8
- 2023Causality-Aided Trade-off Analysis for Machine Learning Fairnesscited by 6
- 2024A Large-Scale Empirical Study on Improving the Fairness of Image Classification Modelscited by 6
- 2024FairLay-ML: Intuitive Debugging of Fairness in Data-Driven Social-Critical Softwarecited by 4
- 2025FairSense: Long-Term Fairness Analysis of ML-Enabled Systemscited by 3
16 more
- 2023FairLay-ML: Intuitive Remedies for Unfairness in Data-Driven Social-Critical Algorithmscited by 2
- 2024Algorithmic Fairness: A Tolerance Perspectivecited by 2
- 2025Fairness Testing through Extreme Value Theorycited by 2
- 2023Towards Better Fairness-Utility Trade-off: A Comprehensive Measurement-Based Reinforcement Learning Frameworkcited by 1
- 2024Predicting Fairness of ML Software Configurationscited by 1
- 2025Software Engineering Principles for Fairer Systems: Experiments with GroupCARTcited by 1
- 2025Fair-FLIP: Fair Deepfake Detection with Fairness-Oriented Final Layer Input Prioritisingcited by 1
- 2025Software Fairness Dilemma: Is Bias Mitigation a Zero-Sum Game?cited by 1
- 2025Causally Perturbed Fairness Testingcited by 1
- 2025Uncovering Discrimination Clusters: Quantifying and Explaining Systematic Fairness Violationscited by 1
- 2022A Retrospective on ICSE 2022cited by 0
- 2023Distribution-aware Fairness Test Generationcited by 0
- 2024Contexts Matter: An Empirical Study on Contextual Influence in Fairness Testing for Deep Learning Systemscited by 0
- 2025Whence Is A Model Fair? Fixing Fairness Bugs via Propensity Score Matchingcited by 0
- 2026A Generalised Exponentiated Gradient Approach to Enhance Fairness in Binary and Multi-class Classification Taskscited by 0
- 2026Fairness Invariants: A Relational Approach to Explaining and Mitigating Fairness Bugscited by 0
- 2026Fairness Invariants: A Relational Approach to Explaining and Mitigating Fairness Bugs26 Aug 2026
- 2026A Generalised Exponentiated Gradient Approach to Enhance Fairness in Binary and Multi-class Classification Tasks22 Mar 2026
- 2025Uncovering Discrimination Clusters: Quantifying and Explaining Systematic Fairness Violations29 Dec 2025
- 2025Causally Perturbed Fairness Testing21 Oct 2025
- 2025Software Fairness Dilemma: Is Bias Mitigation a Zero-Sum Game?5 Aug 2025
- 2025Fair-FLIP: Fair Deepfake Detection with Fairness-Oriented Final Layer Input Prioritising11 Jul 2025
- 2025Whence Is A Model Fair? Fixing Fairness Bugs via Propensity Score Matching23 Apr 2025
- 2025Software Engineering Principles for Fairer Systems: Experiments with GroupCART17 Apr 2025
- 2025Fairness Testing through Extreme Value Theory20 Jan 2025
- 2025FairSense: Long-Term Fairness Analysis of ML-Enabled Systems3 Jan 2025
- 2024Fairness Testing of Large Language Models in Role-Playing1 Nov 2024
- 2024Contexts Matter: An Empirical Study on Contextual Influence in Fairness Testing for Deep Learning Systems12 Aug 2024
16 more
- 2024NeuFair: Neural Network Fairness Repair with Dropout5 Jul 2024
- 2024FairLay-ML: Intuitive Debugging of Fairness in Data-Driven Social-Critical Software1 Jul 2024
- 2024Predicting Fairness of ML Software Configurations29 Apr 2024
- 2024Algorithmic Fairness: A Tolerance Perspective26 Apr 2024
- 2024A Large-Scale Empirical Study on Improving the Fairness of Image Classification Models8 Jan 2024
- 2023Understanding Fairness Surrogate Functions in Algorithmic Fairness17 Oct 2023
- 2023Bias Testing and Mitigation in LLM-based Code Generation3 Sep 2023
- 2023Towards Better Fairness-Utility Trade-off: A Comprehensive Measurement-Based Reinforcement Learning Framework21 Jul 2023
- 2023FairLay-ML: Intuitive Remedies for Unfairness in Data-Driven Social-Critical Algorithms11 Jul 2023
- 2023Fix Fairness, Don't Ruin Accuracy: Performance Aware Fairness Repair using AutoML15 Jun 2023
- 2023Causality-Aided Trade-off Analysis for Machine Learning Fairness22 May 2023
- 2023Distribution-aware Fairness Test Generation8 May 2023
- 2023Information-Theoretic Testing and Debugging of Fairness Defects in Deep Neural Networks9 Apr 2023
- 2022Towards Understanding Fairness and its Composition in Ensemble Machine Learning8 Dec 2022
- 2022A Retrospective on ICSE 202226 Jul 2022
- 2022Bias Mitigation for Machine Learning Classifiers: A Comprehensive Survey14 Jul 2022
- 2022Bias Mitigation for Machine Learning Classifiers: A Comprehensive Surveycited by 125
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2022Towards Understanding Fairness and its Composition in Ensemble Machine Learningcited by 17
- 2023Information-Theoretic Testing and Debugging of Fairness Defects in Deep Neural Networkscited by 10
- 2024Fairness Testing of Large Language Models in Role-Playingcited by 10
- 2023Fix Fairness, Don't Ruin Accuracy: Performance Aware Fairness Repair using AutoMLcited by 9
- 2024NeuFair: Neural Network Fairness Repair with Dropoutcited by 9
- 2023Understanding Fairness Surrogate Functions in Algorithmic Fairnesscited by 8
- 2023Causality-Aided Trade-off Analysis for Machine Learning Fairnesscited by 6
- 2024A Large-Scale Empirical Study on Improving the Fairness of Image Classification Modelscited by 6
- 2024FairLay-ML: Intuitive Debugging of Fairness in Data-Driven Social-Critical Softwarecited by 4
- 2025FairSense: Long-Term Fairness Analysis of ML-Enabled Systemscited by 3
12 most cited of 28 All 28 (JSON)
- 2026Fairness Invariants: A Relational Approach to Explaining and Mitigating Fairness Bugs26 Aug 2026
- 2026A Generalised Exponentiated Gradient Approach to Enhance Fairness in Binary and Multi-class Classification Tasks22 Mar 2026
- 2025Uncovering Discrimination Clusters: Quantifying and Explaining Systematic Fairness Violations29 Dec 2025
- 2025Causally Perturbed Fairness Testing21 Oct 2025
- 2025Software Fairness Dilemma: Is Bias Mitigation a Zero-Sum Game?5 Aug 2025
- 2025Fair-FLIP: Fair Deepfake Detection with Fairness-Oriented Final Layer Input Prioritising11 Jul 2025
- 2025Whence Is A Model Fair? Fixing Fairness Bugs via Propensity Score Matching23 Apr 2025
- 2025Software Engineering Principles for Fairer Systems: Experiments with GroupCART17 Apr 2025
- 2025Fairness Testing through Extreme Value Theory20 Jan 2025
- 2025FairSense: Long-Term Fairness Analysis of ML-Enabled Systems3 Jan 2025
- 2024Fairness Testing of Large Language Models in Role-Playing1 Nov 2024
- 2024Contexts Matter: An Empirical Study on Contextual Influence in Fairness Testing for Deep Learning Systems12 Aug 2024
12 newest of 28 All 28 (JSON)