Papers › On Embeddings for Numerical Features in Tabular Deep Learning

On Embeddings for Numerical Features in Tabular Deep Learning

10 Mar 2022arXiv:2203.05556archive 2025-07-28

Yury Gorishniy, Ivan Rubachev, Artem Babenko

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2203.05556")

Code

Syntology Ran 0 of 14 code samples harvested from 2 repositories linked to this paper; 14 have no recorded run.

By repository: official repository: 8 samples from 1 repository, 0 ran; community (archive-listed): 6 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Yura52/tabular-dl-num-embeddings officialmentioned in papermentioned on GitHubpytorchMIT report
yandex-research/tabular-dl-num-embeddings officialmentioned in papermentioned on GitHubpytorchMIT report
kalelpark/DeepLearning-for-Tabular-Data mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 0 ran; 0 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

14unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

calculate_rmse Yura52/tabular-dl-num-embeddings/lib/metrics.py official repository unverified MIT (permissive) · 6a428cefdcb71c15 · report
compute_bins Yura52/tabular-dl-num-embeddings/package/rtdl_num_embeddings.py official repository unverified MIT (permissive) · 8c3de6a19e7b2e83 · report
cos_sin Yura52/tabular-dl-num-embeddings/lib/deep.py official repository unverified MIT (permissive) · 61b240fd493b6733 · report
get_category_sizes Yura52/tabular-dl-num-embeddings/lib/data.py official repository unverified MIT (permissive) · 7f2a902735fdb4d9 · report
get_n_parameters Yura52/tabular-dl-num-embeddings/lib/deep.py official repository unverified MIT (permissive) · 4bb318a745ffe343 · report
normalize Yura52/tabular-dl-num-embeddings/lib/data.py official repository unverified MIT (permissive) · 2a8f8becc7258f1f · report
pack_config Yura52/tabular-dl-num-embeddings/lib/util.py official repository unverified MIT (permissive) · eb10a2d0f65a0faf · report
unpack_config Yura52/tabular-dl-num-embeddings/lib/util.py official repository unverified MIT (permissive) · 4e3409f8a7cbd6d1 · report
build_categorical_prep aruberts/TabTransformerTF/tabtransformertf/utils/preprocessing.py community (archive-listed) unverified Apache-2.0 (permissive) · 45b8b069db767fae · report
build_mlp aruberts/TabTransformerTF/tabtransformertf/utils/helper.py community (archive-listed) unverified Apache-2.0 (permissive) · 6696b12816459682 · report
build_numerical_prep aruberts/TabTransformerTF/tabtransformertf/utils/preprocessing.py community (archive-listed) unverified Apache-2.0 (permissive) · c326b3c38a495cec · report
corrupt_dataset aruberts/TabTransformerTF/tabtransformertf/utils/helper.py community (archive-listed) unverified Apache-2.0 (permissive) · e4c14bee9f9e6324 · report
df_to_dataset aruberts/TabTransformerTF/tabtransformertf/utils/preprocessing.py community (archive-listed) unverified Apache-2.0 (permissive) · ceddda2d1d949088 · report
generate_mask aruberts/TabTransformerTF/tabtransformertf/utils/helper.py community (archive-listed) unverified Apache-2.0 (permissive) · d049416624d7d820 · report

Tasks

Deep Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections