Lune

FSE2021Top-tier venue

Fair preprocessing: towards understanding compositional fairness of data transformers in machine learning pipeline

Sumon Biswas, Hridesh Rajan

Abstract

In recent years, many incidents have been reported where machine learning models exhibited discrimination among people based on race, sex, age, etc. Research has been conducted to measure and mitigate unfairness in machine learning models. For a machine learning task, it is a common practice to build a pipeline that includes an ordered set of data preprocessing stages followed by a classifier. However, most of the research on fairness has considered a single classifier based prediction task. What are the fairness impacts of the preprocessing stages in machine learning pipeline? Furthermore, studies showed that often the root cause of unfairness is ingrained in the data itself, rather than the model. But no research has been conducted to measure the unfairness caused by a specific transformation made in the data preprocessing stage. In this paper, we introduced the causal method of fairness to reason about the fairness impact of data preprocessing stages in ML pipeline. We leveraged existing metrics to define the fairness measures of the stages. Then we conducted a detailed fairness evaluation of the preprocessing stages in 37 pipelines collected from three different sources. Our results show that certain data transformers are causing the model to exhibit unfairness. We identified a number of fairness patterns in several categories of data transformers. Finally, we showed how the local fairness of a preprocessing stage composes in the global fairness of the pipeline. We used the fairness composition to choose appropriate downstream transformer that mitigates unfairness in the machine learning pipeline.

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.

25 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

  • Fairea: a model behaviour mutation approach to benchmarking bias mitigation methods cites Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairness
  • Fairea: a model behaviour mutation approach to benchmarking bias mitigation methods cites "Ignorance and Prejudice" in Software Fairness
  • Fairness Improvement with Multiple Protected Attributes: How Far Are We? cites Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairness
  • Fairness Improvement with Multiple Protected Attributes: How Far Are We? cites Fairea: a model behaviour mutation approach to benchmarking bias mitigation methods
  • Fairness Improvement with Multiple Protected Attributes: How Far Are We? cites NeuronFair: Interpretable White-Box Fairness Testing through Biased Neuron Identification
  • Fairness Improvement with Multiple Protected Attributes: How Far Are We? cites MAAT: a novel ensemble approach to addressing fairness and performance bugs for machine learning software
  • Fairness Improvement with Multiple Protected Attributes: How Far Are We? cites "Ignorance and Prejudice" in Software Fairness
  • NeuronFair: Interpretable White-Box Fairness Testing through Biased Neuron Identification cites Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairness
  • NeuronFair: Interpretable White-Box Fairness Testing through Biased Neuron Identification cites "Ignorance and Prejudice" in Software Fairness
  • MAAT: a novel ensemble approach to addressing fairness and performance bugs for machine learning software cites Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairness
  • MAAT: a novel ensemble approach to addressing fairness and performance bugs for machine learning software cites Fairea: a model behaviour mutation approach to benchmarking bias mitigation methods
  • MAAT: a novel ensemble approach to addressing fairness and performance bugs for machine learning software cites "Ignorance and Prejudice" in Software Fairness
  • The Art and Practice of Data Science Pipelines: A Comprehensive Study of Data Science Pipelines In Theory, In-The-Small, and In-The-Large cites Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairness
  • The Art and Practice of Data Science Pipelines: A Comprehensive Study of Data Science Pipelines In Theory, In-The-Small, and In-The-Large cites Repairing deep neural networks: fix patterns and challenges
  • The Art and Practice of Data Science Pipelines: A Comprehensive Study of Data Science Pipelines In Theory, In-The-Small, and In-The-Large cites DeepLocalize: Fault Localization for Deep Neural Networks
  • DeepLocalize: Fault Localization for Deep Neural Networks cites Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairness
  • DeepLocalize: Fault Localization for Deep Neural Networks cites Repairing deep neural networks: fix patterns and challenges
  • "Ignorance and Prejudice" in Software Fairness cites Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairness
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers25

  1. Fairea: a model behaviour mutation approach to benchmarking bias mitigation methodsMax Hort, Jie M. Zhang, Federica Sarro, Mark HarmanFSE 2021 · 75 citations
  2. MAAT: a novel ensemble approach to addressing fairness and performance bugs for machine learning softwareZhenpeng Chen, Jie M. Zhang, Federica Sarro, Mark HarmanFSE 2022 · 65 citations
  3. The Art and Practice of Data Science Pipelines: A Comprehensive Study of Data Science Pipelines In Theory, In-The-Small, and In-The-LargeSumon Biswas, Mohammad Wardat, Hridesh RajanICSE 2022 · 64 citations
  4. NeuronFair: Interpretable White-Box Fairness Testing through Biased Neuron IdentificationHaibin Zheng, Zhiqing Chen, Tianyu Du, Xuhong Zhang et al.ICSE 2022 · 58 citations
  5. Fairness Improvement with Multiple Protected Attributes: How Far Are We?Zhenpeng Chen, Jie M. Zhang, Federica Sarro, Mark HarmanICSE 2024 · 33 citations

Builds on6

  1. Repairing deep neural networks: fix patterns and challengesMd Johirul Islam, Rangeet Pan, Giang Nguyen, Hridesh RajanICSE 2020 · 102 citations
  2. Do the machine learning models on a crowd sourced platform exhibit bias? an empirical study on model fairnessSumon Biswas, Hridesh RajanFSE 2020 · 96 citations
  3. DeepLocalize: Fault Localization for Deep Neural NetworksMohammad Wardat, Wei Le, Hridesh RajanICSE 2021 · 93 citations
  4. Fairea: a model behaviour mutation approach to benchmarking bias mitigation methodsMax Hort, Jie M. Zhang, Federica Sarro, Mark HarmanFSE 2021 · 75 citations
  5. "Ignorance and Prejudice" in Software FairnessJie M. Zhang, Mark HarmanICSE 2021 · 69 citations

Related papers

  1. Experimental Analysis of Multi-Step Pipelines for Fair Classifications - More than the Sum of Their Parts?Nico Lässig, Melanie HerschelICDE 2025
  2. Causality-Aided Trade-Off Analysis for Machine Learning FairnessZhenlan Ji, Pingchuan Ma, Shuai Wang, Yanhui LiASE 2023 · 6 citations
  3. Fairway: a way to build fair ML softwareJoymallya Chakraborty, Suvodeep Majumder, Zhe Yu, Tim MenziesFSE 2020 · 131 citations
  4. Adaptive fairness improvement based on causality analysisMengdi Zhang, Jun SunFSE 2022 · 35 citations
  5. FairPFN: A Tabular Foundation Model for Causal FairnessJake Robertson, Noah Hollmann, Samuel Müller, Noor H. Awad et al.ICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines