Fairness Implications of Encoding Protected Categorical Attributes
Not on the map. Why?
Abstract (arXiv)
Past research has demonstrated that the explicit use of protected attributes in machine learning can improve both performance and fairness. Many machine learning algorithms, however, cannot directly process categorical attributes, such as country of birth or ethnicity. Because protected attributes frequently are categorical, they must be encoded as features that can be input to a chosen machine learning algorithm, e.g. support vector machines, gradient boosting decision trees or linear models. Thereby, encoding methods influence how and what the machine learning algorithm will learn, affecting model performance and fairness. This work compares the accuracy and fairness implications of the two most well-known encoding methods: one-hot encoding and target encoding. We distinguish between two types of induced bias that may arise from these encoding methods and may lead to unfair models. The first type, textitirreducible bias, is due to direct group category discrimination, and the second type, textitreducible bias, is due to the large variance in statistically underrepresented groups. We investigate the interaction between categorical encodings and target encoding regularization methods that reduce unfairness. Furthermore, we consider the problem of intersectional unfairness that may arise when machine learning best practices improve performance measures by encoding several categorical attributes into a high-cardinality feature.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 28 of its 89 references that are in the map. First posted on arXiv 27 Jan 2022.
Builds on
28 of 89 references.
References · 28
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
- 2016Equality of Opportunity in Supervised Learningcited by 2,000
- 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
- 2014Certifying and removing disparate impactcited by 715
- 2021Deep Neural Networks and Tabular Data: A Surveycited by 489
- 2021Retiring Adult: New Datasets for Fair Machine Learningcited by 443
- 2017Algorithmic decision making and the cost of fairnesscited by 402
- 2017Preventing Fairness Gerrymandering: Auditing and Learning for Subgroup Fairnesscited by 381
- 2016Fairness Beyond Disparate Treatment & Disparate Impact: Learning Classification without Disparate Mistreatmentcited by 368
- 2018CatBoost: gradient boosting with categorical features supportcited by 208
- 2018Aequitas: A Bias and Fairness Audit Toolkitcited by 145
16 more
- 2019Wasserstein Fair Classificationcited by 131
- 2018An Intersectional Definition of Fairnesscited by 126
- 2018An Empirical Study of Rich Subgroup Fairness for Machine Learningcited by 81
- 2019Explainable AI for Trees: From Local Explanations to Global Understandingcited by 64
- 2017From Parity to Preference-based Notions of Fairness in Classificationcited by 60
- 2020Exploring Racial Bias within Face Recognition via per-subject Adversarially-Enabled Data Augmentationcited by 45
- 2018Beyond One-hot Encoding: lower dimensional target embeddingcited by 42
- 2020Bridging Machine Learning and Mechanism Design towards Algorithmic Fairnesscited by 30
- 2018Similarity encoding for learning with dirty categorical variablescited by 28
- 2018POTs: Protective Optimization Technologiescited by 28
- 2018Bayesian Modeling of Intersectional Fairness: The Variance of Biascited by 23
- 2019Encoding high-cardinality string categorical variablescited by 22
- 2021Regularized target encoding outperforms traditional methods in supervised machine learning with high cardinality featurescited by 20
- 2019Encoding Categorical Variables with Conjugate Bayesian Models for WeWork Lead Scoring Enginecited by 5
- 2021Quantile Encoder: Tackling High Cardinality Categorical Features in Regression Problemscited by 5
- 2021Desiderata for Explainable AI in statistical production systems of the European Central Bankcited by 5
Built on by
Citing papers per year: 2022: 2; 2023: 4; 2024: 1.
7 papers.
- 2023Factoring the Matrix of Domination: A Critical Review and Reimagination of Intersectionality in AI Fairnesscited by 26
- 2023Multi-dimensional discrimination in Law and Machine Learning -- A comparative overviewcited by 15
- 2024Lazy Data Practices Harm Fairness Researchcited by 10
- 2023Encoding categorical data: Is there yet anything 'hotter' than one-hot encoding?cited by 3
- 2022Classification Utility, Fairness, and Compactness via Tunable Information Bottleneck and R'enyi Measurescited by 1
- 2022Introducing explainable supervised machine learning into interactive feedback loops for statistical production systemcited by 0
- 2023Design Principles of Robust Multi-Armed Bandit Framework in Video Recommendationscited by 0
- 2024Lazy Data Practices Harm Fairness Research26 Apr 2024
- 2023Encoding categorical data: Is there yet anything 'hotter' than one-hot encoding?28 Dec 2023
- 2023Design Principles of Robust Multi-Armed Bandit Framework in Video Recommendations24 Sep 2023
- 2023Factoring the Matrix of Domination: A Critical Review and Reimagination of Intersectionality in AI Fairness16 Mar 2023
- 2023Multi-dimensional discrimination in Law and Machine Learning -- A comparative overview12 Feb 2023
- 2022Classification Utility, Fairness, and Compactness via Tunable Information Bottleneck and R'enyi Measures20 Jun 2022
- 2022Introducing explainable supervised machine learning into interactive feedback loops for statistical production system7 Feb 2022