Work

Encoding Matters: Impact of Categorical Variable Encoding on Performance and Bias

Year: 2025
Type: conference-paper
Abstract: Encoding categorical variables impacts model performance and can introduce bias in supervised learning, particularly affecting fairness when some groups are under-represented.We analyze the effects of different encoding methods on synthetic and real datasets to mitigate unintended model reliance on specific variables.We propose CaVaR (Categorical Variable Reliance) to quantify model reliance on variables and an Availability Index to measure CaVaR's sensitivity to partial encoding changes.A high Availability Disparity, measured by the standard deviation of the Availability Index across encodings, highlights potential bias from mixed encodings.The results suggest encoding all categorical variables uniformly, regardless of their ordinal or nominal nature, may reduce bias, with the choice guided by computational and performance considerations.1 To facilitate the reading of this paper, we added a glossary in appendix provided here: https://github.com/danielkopp4/ESANN2025Appendix.However, this paper should be readable without the appendix.
Language: English
Subfield: Safety Research
Open Access status: bronze
OpenAlex ID: W4409479077
FWCI: 1.119
Cites:
Cited by: 1
Related to: 10