On Embeddings for Numerical Features in Tabular Deep Learning
Authors:
- Yury GorishniyYGYury Gorishniy
- Ivan RubachevIRIvan Rubachev
- Artem BabenkoABArtem Babenko
Preprint
Abstract
Recently, Transformer-like deep architectures have shown strong performance on tabular data problems. Unlike traditional models, e.g., MLP, these architectures map scalar values of numerical features to high-dimensional embeddings before mixing them in the main backbone. In this work, we argue that embeddings for numerical features are an underexplored degree of freedom in tabular DL, which allows constructing more powerful DL models and competing with GBDT on some traditionally GBDT-friendly benchmarks. We start by describing two conceptually different approaches to building embedding modules: the first one is based on a piecewise linear encoding of scalar values, and the second one utilizes periodic activations. Then, we empirically demonstrate that these two approaches can lead to significant performance boosts compared to the embeddings based on conventional blocks such as linear layers and ReLU activations. Importantly, we also show that embedding numerical features is beneficial for many backbones, not only for Transformers. Specifically, after proper embeddings, simple MLP-like models can perform on par with the attention-based architectures. Overall, we highlight embeddings for numerical features as an important design aspect with good potential for further improvements in tabular DL.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Tabular data: Deep learning is not all you needInformation Fusion, 2022
- NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis2020
- Neural Importance SamplingACM Transactions on Graphics, 2019
- Deep & Cross Network for Ad Click Predictions2017
- Deep Neural Networks for YouTube Recommendations2016
- Searching for exotic particles in high-energy physics with deep learningNature Communications, 2014
- Comparative accuracies of artificial neural networks and discriminant analysis in predicting forest cover types from cartographic variablesComputers and Electronics in Agriculture, 1999
- Supervised and Unsupervised Discretization of Continuous Features1995
- Approximation capabilities of multilayer feedforward networksNeural Networks, 1991
- Approximation by superpositions of a sigmoidal functionMathematics of Control, Signals, and Systems, 1989