mlsanityData to 7 Oct 2026

Fairness-aware Configuration of Machine Learning Libraries

arXiv 2202.06196 ↗First posted 13 Feb 2022cs.SE cs.CY cs.LGcited by 28

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

  1. 2016Equality of Opportunity in Supervised Learningcited by 2,000
  2. 2018Mitigating Unwanted Biases with Adversarial Learningcited by 663
  3. 2018A Reductions Approach to Fair Classificationcited by 585
  4. 2019Machine Learning Testing: Survey, Landscapes and Horizonscited by 213
  5. 2017Fairness Testing: Testing Software for Discriminationcited by 123
  6. 2018Automated Directed Fairness Testingcited by 77
  7. 2018Finding Faster Configurations using FLASHcited by 32
  8. 2019Software Engineering for Fairness: A Case Study with Hyperparameter Optimizationcited by 18
  9. 2020Detecting and Understanding Real-World Differential Performance Bugs in Machine Learning Librariescited by 7
  10. 2017Differential Performance Debugging with Discriminant Regression Treescited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 3; 2023: 8; 2024: 7; 2025: 8; 2026: 2.

28 papers.

Sort:

  1. 2022Bias Mitigation for Machine Learning Classifiers: A Comprehensive Surveycited by 125
  2. 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
  3. 2022Towards Understanding Fairness and its Composition in Ensemble Machine Learningcited by 17
  4. 2023Information-Theoretic Testing and Debugging of Fairness Defects in Deep Neural Networkscited by 10
  5. 2024Fairness Testing of Large Language Models in Role-Playingcited by 10
  6. 2023Fix Fairness, Don't Ruin Accuracy: Performance Aware Fairness Repair using AutoMLcited by 9
  7. 2024NeuFair: Neural Network Fairness Repair with Dropoutcited by 9
  8. 2023Understanding Fairness Surrogate Functions in Algorithmic Fairnesscited by 8
  9. 2023Causality-Aided Trade-off Analysis for Machine Learning Fairnesscited by 6
  10. 2024A Large-Scale Empirical Study on Improving the Fairness of Image Classification Modelscited by 6
  11. 2024FairLay-ML: Intuitive Debugging of Fairness in Data-Driven Social-Critical Softwarecited by 4
  12. 2025FairSense: Long-Term Fairness Analysis of ML-Enabled Systemscited by 3
16 more
  1. 2023FairLay-ML: Intuitive Remedies for Unfairness in Data-Driven Social-Critical Algorithmscited by 2
  2. 2024Algorithmic Fairness: A Tolerance Perspectivecited by 2
  3. 2025Fairness Testing through Extreme Value Theorycited by 2
  4. 2023Towards Better Fairness-Utility Trade-off: A Comprehensive Measurement-Based Reinforcement Learning Frameworkcited by 1
  5. 2024Predicting Fairness of ML Software Configurationscited by 1
  6. 2025Software Engineering Principles for Fairer Systems: Experiments with GroupCARTcited by 1
  7. 2025Fair-FLIP: Fair Deepfake Detection with Fairness-Oriented Final Layer Input Prioritisingcited by 1
  8. 2025Software Fairness Dilemma: Is Bias Mitigation a Zero-Sum Game?cited by 1
  9. 2025Causally Perturbed Fairness Testingcited by 1
  10. 2025Uncovering Discrimination Clusters: Quantifying and Explaining Systematic Fairness Violationscited by 1
  11. 2022A Retrospective on ICSE 2022cited by 0
  12. 2023Distribution-aware Fairness Test Generationcited by 0
  13. 2024Contexts Matter: An Empirical Study on Contextual Influence in Fairness Testing for Deep Learning Systemscited by 0
  14. 2025Whence Is A Model Fair? Fixing Fairness Bugs via Propensity Score Matchingcited by 0
  15. 2026A Generalised Exponentiated Gradient Approach to Enhance Fairness in Binary and Multi-class Classification Taskscited by 0
  16. 2026Fairness Invariants: A Relational Approach to Explaining and Mitigating Fairness Bugscited by 0