Probabilistic Hash Embeddings for Online Learning of Categorical Features
Not on the map. Why?
Abstract (arXiv)
We study streaming data with categorical features where the vocabulary of categorical feature values is changing and can even grow unboundedly over time. Feature hashing is commonly used as a pre-processing step to map these categorical values into a feature space of fixed size before learning their embeddings. While these methods have been developed and evaluated for offline or batch settings, in this paper we consider online settings. We show that deterministic embeddings are sensitive to the arrival order of categories and suffer from forgetting in online learning, leading to performance deterioration. To mitigate this issue, we propose a probabilistic hash embedding (PHE) model that treats hash embeddings as stochastic and applies Bayesian online learning to learn incrementally from data. Based on the structure of PHE, we derive a scalable inference algorithm to learn model parameters and infer/update the posteriors of hash embeddings and other latent variables. Our algorithm (i) can handle an evolving vocabulary of categorical items, (ii) is adaptive to new items without forgetting old items, (iii) is implementable with a bounded set of parameters that does not grow with the number of distinct observed values on the stream, and (iv) is invariant to the item arrival order. Experiments in classification, sequence modeling, and recommendation systems in online learning setups demonstrate the superior performance of PHE while maintaining high memory efficiency (consumes as low as 2~4 memory of a one-hot embedding table). Supplementary materials are at https://github.com/aodongli/probabilistic-hash-embeddings
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 28 of its 51 references that are in the map. First posted on arXiv 25 Nov 2025.
Builds on
28 of 51 references.
References · 28
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2017Gradient Episodic Memory for Continual Learningcited by 1,871
- 2016Variational Inference: A Review for Statisticianscited by 1,466
- 2016Progressive Neural Networkscited by 1,332
- 2017Neural Collaborative Filteringcited by 1,108
- 2019Modeling Tabular data using Conditional GANcited by 695
- 2017Lifelong Learning with Dynamically Expandable Networkscited by 689
- 2019Online Learning: A Modern Introduction Using Convex Optimizationcited by 407
- 2020TabTransformer: Tabular Data Modeling Using Contextual Embeddingscited by 398
- 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
- 2022TabDDPM: Modelling Tabular Data with Diffusion Modelscited by 373
16 more
- 2017Variational Continual Learningcited by 335
- 2017Advances in Variational Inferencecited by 236
- 2015Deep Kalman Filterscited by 163
- 2015Deep Reinforcement Learning in Large Discrete Action Spacescited by 158
- 2021CTAB-GAN: Effective Table Data Synthesizingcited by 156
- 2021TABBIE: Pretrained Representations of Tabular Datacited by 111
- 2024CARTE: Pretraining and Transfer for Tabular Learningcited by 69
- 2019Compositional Embeddings Using Complementary Partitions for Memory-Efficient Recommendation Systemscited by 68
- 2017Hash Embeddings for Efficient Word Representationscited by 54
- 2020Learning to Embed Categorical Features without Embedding Tables for Recommendationcited by 38
- 2020Sequential Deep Learning for Credit Risk Monitoring with Tabular Financial Datacited by 37
- 2021TabularNet: A Neural Network Architecture for Understanding Semantic Structures of Tabular Datacited by 36
- 2020Detecting and Adapting to Irregular Distribution Shifts in Bayesian Online Learningcited by 18
- 2017Getting deep recommenders fit: Bloom embeddings for sparse binary input/output networkscited by 14
- 2023Unified Embedding: Battle-Tested Feature Representations for Web-Scale ML Systemscited by 14
- 2023Transferable Adversarial Robustness for Categorical Data via Universal Robust Embeddingscited by 1
Built on by
Not cited yet.