# FairMask: Better Fairness via Model-based Rebalancing of Protected Attributes

arXiv: https://arxiv.org/abs/2110.01109 · HTML: https://mlsanity.com/paper/2110.01109/

## Key facts

- Cited by 19 papers in the map (data through 14 Oct 2026).
- Builds on 19 of its 60 references that are in the map.
- First posted on arXiv 3 Oct 2021.

## Builds on (most cited first, 19 of 19)

- [A Unified Approach to Interpreting Model Predictions](https://mlsanity.com/paper/1705.07874/) (2017)
- [Equality of Opportunity in Supervised Learning](https://mlsanity.com/paper/1610.02413/) (2016)
- [A Survey on Bias and Fairness in Machine Learning](https://mlsanity.com/paper/1908.09635/) (2019)
- [Certifying and removing disparate impact](https://mlsanity.com/paper/1412.3756/) (2014)
- [Mitigating Unwanted Biases with Adversarial Learning](https://mlsanity.com/paper/1801.07593/) (2018)
- [On Fairness and Calibration](https://mlsanity.com/paper/1709.02012/) (2017)
- [AI Fairness 360: An Extensible Toolkit for Detecting, Understanding, and Mitigating Unwanted Algorithmic Bias](https://mlsanity.com/paper/1810.01943/) (2018)
- [Flexibly Fair Representation Learning by Disentanglement](https://mlsanity.com/paper/1906.02589/) (2019)
- [Avoiding Discrimination through Causal Reasoning](https://mlsanity.com/paper/1706.02744/) (2017)
- [Fairness Testing: Testing Software for Discrimination](https://mlsanity.com/paper/1709.03221/) (2017)
- [Bias in Machine Learning Software: Why? How? What to do?](https://mlsanity.com/paper/2105.12195/) (2021)
- [A causal framework for discovering and removing direct and indirect discrimination](https://mlsanity.com/paper/1611.07509/) (2016)
- [Do the Machine Learning Models on a Crowd Sourced Platform Exhibit Bias? An Empirical Study on Model Fairness](https://mlsanity.com/paper/2005.12379/) (2020)
- [Taking Advantage of Multitask Learning for Fair Classification](https://mlsanity.com/paper/1810.08683/) (2018)
- [Making Fair ML Software using Trustworthy Explanation](https://mlsanity.com/paper/2007.02893/) (2020)
- [Fairness without the sensitive attribute via Causal Variational Autoencoder](https://mlsanity.com/paper/2109.04999/) (2021)
- [Software Engineering for Fairness: A Case Study with Hyperparameter Optimization](https://mlsanity.com/paper/1905.05786/) (2019)
- [Hyperparameter Optimization for Effort Estimation](https://mlsanity.com/paper/1805.00336/) (2018)
- [README: REpresentation learning by fairness-Aware Disentangling MEthod](https://mlsanity.com/paper/2007.03775/) (2020)

## Built on by (most cited first, 19 of 19)

- [NeuFair: Neural Network Fairness Repair with Dropout](https://mlsanity.com/paper/2407.04268/) (2024)
- [Causality-Aided Trade-off Analysis for Machine Learning Fairness](https://mlsanity.com/paper/2305.13057/) (2023)
- [Attention Pruning: Automated Fairness Repair of Language Models via Surrogate Simulated Annealing](https://mlsanity.com/paper/2503.15815/) (2025)
- [A Theoretical Approach to Characterize the Accuracy-Fairness Trade-off Pareto Frontier](https://mlsanity.com/paper/2310.12785/) (2023)
- [Diversity Drives Fairness: Ensemble of Higher Order Mutants for Intersectional Fairness of Machine Learning Software](https://mlsanity.com/paper/2412.08167/) (2024)
- [Don't Lie to Me: Avoiding Malicious Explanations with STEALTH](https://mlsanity.com/paper/2301.10407/) (2023)
- [Enhancing Multi-Attribute Fairness in Healthcare Predictive Modeling](https://mlsanity.com/paper/2501.13219/) (2025)
- [CILIATE: Towards Fairer Class-based Incremental Learning by Dataset and Training Refinement](https://mlsanity.com/paper/2304.04222/) (2023)
- [A Three-Way Knot: Privacy, Fairness, and Predictive Performance Dynamics](https://mlsanity.com/paper/2306.15567/) (2023)
- [FAIREDU: A Multiple Regression-Based Method for Enhancing Fairness in Machine Learning Models for Educational Applications](https://mlsanity.com/paper/2410.06423/) (2024)
- [Software Engineering Principles for Fairer Systems: Experiments with GroupCART](https://mlsanity.com/paper/2504.12587/) (2025)
- [Intersectional Divergence: Measuring Fairness in Regression](https://mlsanity.com/paper/2505.00830/) (2025)
- [Software Fairness Dilemma: Is Bias Mitigation a Zero-Sum Game?](https://mlsanity.com/paper/2508.03323/) (2025)
- [Uncovering Discrimination Clusters: Quantifying and Explaining Systematic Fairness Violations](https://mlsanity.com/paper/2512.23769/) (2025)
- [Fairness Improvement with Multiple Protected Attributes: How Far Are We?](https://mlsanity.com/paper/2308.01923/) (2023)
- [Data Preparation for Fairness-Performance Trade-Offs: A Practitioner-Friendly Alternative?](https://mlsanity.com/paper/2412.15920/) (2024)
- [Whence Is A Model Fair? Fixing Fairness Bugs via Propensity Score Matching](https://mlsanity.com/paper/2504.17066/) (2025)
- [Optimal Fairness under Local Differential Privacy](https://mlsanity.com/paper/2511.16377/) (2025)
- [Fairness Is Not Just Ethical: Performance Trade-Off via Data Correlation Tuning to Mitigate Bias in ML Software](https://mlsanity.com/paper/2512.21348/) (2025)

## Abstract (arXiv)

Context: Machine learning software can generate models that inappropriately discriminate against specific protected social groups (e.g., groups based on gender, ethnicity, etc). Motivated by those results, software engineering researchers have proposed many methods for mitigating those discriminatory effects. While those methods are effective in mitigating bias, few of them can provide explanations on what is the root cause of bias. Objective: We aim at better detection and mitigation of algorithmic discrimination in machine learning software problems. Method: Here we propose xFAIR, a model-based extrapolation method, that is capable of both mitigating bias and explaining the cause. In our xFAIR approach, protected attributes are represented by models learned from the other independent variables (and these models offer extrapolations over the space between existing examples). We then use the extrapolation models to relabel protected attributes later seen in testing data or deployment time. Our approach aims to offset the biased predictions of the classification model via rebalancing the distribution of protected attributes. Results: The experiments of this paper show that, without compromising (original) model performance, xFAIR can achieve significantly better group and individual fairness (as measured in different metrics) than benchmark methods. Moreover, when compared to another instance-based rebalancing method, our model-based approach shows faster runtime and thus better scalability. Conclusion: Algorithmic decision bias can be removed via extrapolation that smooths away outlier points. As evidence for this, our proposed xFAIR is not only performance-wise better (measured by fairness and performance metrics) than two state-of-the-art fairness algorithms.
