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

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.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.14428/esann/2025.es2025-191
Citations
1
Primary Topic
Language, Metaphor, and Cognition
Type
article
Field-Weighted Citation Impact
2.12

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Kristin P. Bennett, Lisheng Sun-Hosoya, Daniel Kopp, Benjamin Maudet
1 citations
Language, Metaphor, and Cognition
2.12
article

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

Kristin P. Bennett, Lisheng Sun-Hosoya, Daniel Kopp, Benjamin Maudet
article en
1 citations

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.

Agence Nationale de la Recherche
Openalex Percentile: Top 15%
Language, Metaphor, and Cognition
2.12
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.