Encoding high-cardinality string categorical variables
Not on the map. Why?
Abstract (arXiv)
Statistical models usually require vector representations of categorical variables, using for instance one-hot encoding. This strategy breaks down when the number of categories grows, as it creates high-dimensional feature vectors. Additionally, for string entries, one-hot encoding does not capture information in their representation.Here, we seek low-dimensional encoding of high-cardinality string categorical variables. Ideally, these should be: scalable to many categories; interpretable to end users; and facilitate statistical analysis. We introduce two encoding approaches for string categories: a Gamma-Poisson matrix factorization on substring counts, and the min-hash encoder, for fast approximation of string similarities. We show that min-hash turns set inclusions into inequality relations that are easier to learn. Both approaches are scalable and streamable. Experiments on real and simulated data show that these methods improve supervised learning with high-cardinality categorical variables. We recommend the following: if scalability is central, the min-hash encoder is the best option as it does not require any data fit; if interpretability is important, the Gamma-Poisson factorization is the best alternative, as it can be interpreted as one-hot encoding on inferred categories with informative feature names. Both models enable autoML on the original string entries as they remove the need for feature engineering or data cleaning.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Jul 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 4; 2023: 5; 2024: 5; 2025: 3; 2026: 3.
22 papers.
Sort:
- 2024CARTE: Pretraining and Transfer for Tabular Learningcited by 69
- 2021Regularized target encoding outperforms traditional methods in supervised machine learning with high cardinality featurescited by 20
- 2025Table Foundation Models: on knowledge pre-training for tabular learningcited by 15
- 2025TabSTAR: A Tabular Foundation Model for Tabular Data with Text Fieldscited by 15
- 2024Automated data processing and feature engineering for deep learning and big data applications: a surveycited by 14
- 2022Fairness Implications of Encoding Protected Categorical Attributescited by 7
- 2023Vectorizing string entries for data processing on tables: when are larger language models better?cited by 6
- 2023A benchmark of categorical encoders for binary classificationcited by 5
- 2023Encoding categorical data: Is there yet anything 'hotter' than one-hot encoding?cited by 3
- 2024Comparative Study on the Performance of Categorical Variable Encoders in Classification and Regression Taskscited by 2
- 2025Counterfactual Situation Testing: From Single to Multidimensional Discriminationcited by 2
- 2026Interpretable vs Learned Encoders for High-Cardinality Fraud Detectioncited by 2
10 more
- 2022Predicting Treatment Adherence of Tuberculosis Patients at Scalecited by 1
- 2021From Strings to Data Science: a Practical Framework for Automated String Handlingcited by 0
- 2022URANUS: Radio Frequency Tracking, Classification and Identification of Unmanned Aircraft Vehiclescited by 0
- 2022Progressive Feature Upgrade in Semi-supervised Learning on Tabular Domaincited by 0
- 2023Categorising Products in an Online Marketplace: An Ensemble Approachcited by 0
- 2023Predicting delays in Indian lower courts using AutoML and Decision Forestscited by 0
- 2024CAVIAR: Categorical-Variable Embeddings for Accurate and Robust Inferencecited by 0
- 2024CLAMS: A System for Zero-Shot Model Selection for Clusteringcited by 0
- 2026Robustness of AutoML on Dirty Categorical Datacited by 0
- 2026Enhancing the KidSat Model: Integrating Geographical Encoding and Data Quality Assessment for Childhood Poverty Predictioncited by 0
- 2026Enhancing the KidSat Model: Integrating Geographical Encoding and Data Quality Assessment for Childhood Poverty Prediction9 Jul 2026
- 2026Interpretable vs Learned Encoders for High-Cardinality Fraud Detection1 Jul 2026
- 2026Robustness of AutoML on Dirty Categorical Data31 Jan 2026
- 2025TabSTAR: A Tabular Foundation Model for Tabular Data with Text Fields23 May 2025
- 2025Table Foundation Models: on knowledge pre-training for tabular learning20 May 2025
- 2025Counterfactual Situation Testing: From Single to Multidimensional Discrimination3 Feb 2025
- 2024CLAMS: A System for Zero-Shot Model Selection for Clustering15 Jul 2024
- 2024CAVIAR: Categorical-Variable Embeddings for Accurate and Robust Inference7 Apr 2024
- 2024Automated data processing and feature engineering for deep learning and big data applications: a survey18 Mar 2024
- 2024CARTE: Pretraining and Transfer for Tabular Learning26 Feb 2024
- 2024Comparative Study on the Performance of Categorical Variable Encoders in Classification and Regression Tasks18 Jan 2024
- 2023Encoding categorical data: Is there yet anything 'hotter' than one-hot encoding?28 Dec 2023
10 more
- 2023Vectorizing string entries for data processing on tables: when are larger language models better?15 Dec 2023
- 2023Predicting delays in Indian lower courts using AutoML and Decision Forests30 Jul 2023
- 2023A benchmark of categorical encoders for binary classification17 Jul 2023
- 2023Categorising Products in an Online Marketplace: An Ensemble Approach26 Apr 2023
- 2022Progressive Feature Upgrade in Semi-supervised Learning on Tabular Domain1 Dec 2022
- 2022Predicting Treatment Adherence of Tuberculosis Patients at Scale5 Nov 2022
- 2022URANUS: Radio Frequency Tracking, Classification and Identification of Unmanned Aircraft Vehicles13 Jul 2022
- 2022Fairness Implications of Encoding Protected Categorical Attributes27 Jan 2022
- 2021From Strings to Data Science: a Practical Framework for Automated String Handling2 Nov 2021
- 2021Regularized target encoding outperforms traditional methods in supervised machine learning with high cardinality features1 Apr 2021
- 2024CARTE: Pretraining and Transfer for Tabular Learningcited by 69
- 2021Regularized target encoding outperforms traditional methods in supervised machine learning with high cardinality featurescited by 20
- 2025Table Foundation Models: on knowledge pre-training for tabular learningcited by 15
- 2025TabSTAR: A Tabular Foundation Model for Tabular Data with Text Fieldscited by 15
- 2024Automated data processing and feature engineering for deep learning and big data applications: a surveycited by 14
- 2022Fairness Implications of Encoding Protected Categorical Attributescited by 7
- 2023Vectorizing string entries for data processing on tables: when are larger language models better?cited by 6
- 2023A benchmark of categorical encoders for binary classificationcited by 5
- 2023Encoding categorical data: Is there yet anything 'hotter' than one-hot encoding?cited by 3
- 2024Comparative Study on the Performance of Categorical Variable Encoders in Classification and Regression Taskscited by 2
- 2025Counterfactual Situation Testing: From Single to Multidimensional Discriminationcited by 2
- 2026Interpretable vs Learned Encoders for High-Cardinality Fraud Detectioncited by 2
12 most cited of 22 All 22 (JSON)
- 2026Enhancing the KidSat Model: Integrating Geographical Encoding and Data Quality Assessment for Childhood Poverty Prediction9 Jul 2026
- 2026Interpretable vs Learned Encoders for High-Cardinality Fraud Detection1 Jul 2026
- 2026Robustness of AutoML on Dirty Categorical Data31 Jan 2026
- 2025TabSTAR: A Tabular Foundation Model for Tabular Data with Text Fields23 May 2025
- 2025Table Foundation Models: on knowledge pre-training for tabular learning20 May 2025
- 2025Counterfactual Situation Testing: From Single to Multidimensional Discrimination3 Feb 2025
- 2024CLAMS: A System for Zero-Shot Model Selection for Clustering15 Jul 2024
- 2024CAVIAR: Categorical-Variable Embeddings for Accurate and Robust Inference7 Apr 2024
- 2024Automated data processing and feature engineering for deep learning and big data applications: a survey18 Mar 2024
- 2024CARTE: Pretraining and Transfer for Tabular Learning26 Feb 2024
- 2024Comparative Study on the Performance of Categorical Variable Encoders in Classification and Regression Tasks18 Jan 2024
- 2023Encoding categorical data: Is there yet anything 'hotter' than one-hot encoding?28 Dec 2023
12 newest of 22 All 22 (JSON)