mlsanityData to 7 Oct 2026

Fairness Implications of Encoding Protected Categorical Attributes

arXiv 2201.11358 ↗First posted 27 Jan 2022cs.LG cs.CY cs.DScited by 7

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

  1. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  2. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  3. 2016Equality of Opportunity in Supervised Learningcited by 2,000
  4. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  5. 2014Certifying and removing disparate impactcited by 715
  6. 2021Deep Neural Networks and Tabular Data: A Surveycited by 489
  7. 2021Retiring Adult: New Datasets for Fair Machine Learningcited by 443
  8. 2017Algorithmic decision making and the cost of fairnesscited by 402
  9. 2017Preventing Fairness Gerrymandering: Auditing and Learning for Subgroup Fairnesscited by 381
  10. 2016Fairness Beyond Disparate Treatment & Disparate Impact: Learning Classification without Disparate Mistreatmentcited by 368
  11. 2018CatBoost: gradient boosting with categorical features supportcited by 208
  12. 2018Aequitas: A Bias and Fairness Audit Toolkitcited by 145
16 more
  1. 2019Wasserstein Fair Classificationcited by 131
  2. 2018An Intersectional Definition of Fairnesscited by 126
  3. 2018An Empirical Study of Rich Subgroup Fairness for Machine Learningcited by 81
  4. 2019Explainable AI for Trees: From Local Explanations to Global Understandingcited by 64
  5. 2017From Parity to Preference-based Notions of Fairness in Classificationcited by 60
  6. 2020Exploring Racial Bias within Face Recognition via per-subject Adversarially-Enabled Data Augmentationcited by 45
  7. 2018Beyond One-hot Encoding: lower dimensional target embeddingcited by 42
  8. 2020Bridging Machine Learning and Mechanism Design towards Algorithmic Fairnesscited by 30
  9. 2018Similarity encoding for learning with dirty categorical variablescited by 28
  10. 2018POTs: Protective Optimization Technologiescited by 28
  11. 2018Bayesian Modeling of Intersectional Fairness: The Variance of Biascited by 23
  12. 2019Encoding high-cardinality string categorical variablescited by 22
  13. 2021Regularized target encoding outperforms traditional methods in supervised machine learning with high cardinality featurescited by 20
  14. 2019Encoding Categorical Variables with Conjugate Bayesian Models for WeWork Lead Scoring Enginecited by 5
  15. 2021Quantile Encoder: Tackling High Cardinality Categorical Features in Regression Problemscited by 5
  16. 2021Desiderata for Explainable AI in statistical production systems of the European Central Bankcited by 5

Built on by

Cited by year

Citing papers per year: 2022: 2; 2023: 4; 2024: 1.

7 papers.