Periodic Numerical Embeddings for Tabular Data

This direction is merged into another direction: periodic numerical encoding. Its last version stays readable and citable here.

Version 1 of 112 papers16 conceptsfrozen 2026-10-04

For years, Gradient Boosted Decision Trees (GBDTs) have dominated tabular data tasks, while deep learning struggled to find a foothold. The primary reason is not the architecture of the neural network itself, but rather how it "sees" numerical data. While trees naturally partition continuous values into discrete bins, standard Multi-Layer Perceptrons (MLPs) struggle to learn complex, non-linear functions from raw scalar inputs.

Recent research suggests that the key to closing this performance gap is numerical feature embedding: transforming continuous scalar inputs into high-dimensional vector representations before they ever reach the model's main layers.

The Scalar Bottleneck

In a standard neural network, a numerical feature like "Price" or "Age" is treated as a single scalar value. To learn a non-monotonic relationship—for example, a risk that is high at both low and high values but low in the middle—the network must rely on its hidden layers to synthesize this complexity from a flat input.

As Ivan Rubachev, Yury Gorishniy, and Artem Babenko argue in their work on TabReD, this representational strategy is often insufficient for the "jagged" or non-smooth patterns found in real-world tabular data. By the time the signal reaches the deeper layers, the nuances of the original numerical distribution are often lost.

Periodic Functions as Feature Encoders

To solve this, researchers have turned to periodic linear encoding. This technique maps a single scalar $x$ into a high-dimensional vector using periodic functions like sine and cosine:

$$v = [\sin(w_1x), \cos(w_1x), \dots, \sin(w_nx), \cos(w_nx)]$$

This transformation, often followed by a small sub-network, allows the model to treat real-valued measurements as rich, structured features. In the PAVE framework developed by Sundreen Asad Kamal and Ping Zhang, these embeddings allow the model to identify specific patterns in medical lab results—such as fluctuating sepsis markers—that a standard MLP would miss.

By projecting a single number into a higher-dimensional space, the network can approximate complex, non-linear relationships much more effectively. This is the same intuition behind positional encodings in Transformers, applied here to the values themselves rather than their positions.

Achieving Parity with Boosted Trees

The impact of these embeddings is most visible when comparing deep learning to GBDTs. In Better by default, David Holzmüller and Leo Grinsztajn introduce RealMLP, which uses periodic embeddings to rival the performance of state-of-the-art tree models like CatBoost.

Similarly, Han-Jia Ye and colleagues demonstrated in MODERNNCA that even classical algorithms like Neighborhood Components Analysis can reach state-of-the-art status when equipped with modern periodic representations. The evidence suggests that sophisticated feature representation is often more impactful than increasing the complexity of the model architecture itself.

Real-World Robustness and TabReD

While many "state-of-the-art" tabular models perform well on clean academic datasets, they often fail in industrial settings characterized by temporal drift and heavy feature engineering.

The TabReD benchmark, developed by Nikolay Kartashev and others, highlights that simple MLPs with periodic embeddings are often more robust than complex attention-based architectures. This has led to successful industrial deployments, such as:

  • Logistics: Thomas Bruys used quantile-based and periodic embeddings to model non-monotonic relationships in parcel volume and time for load plan adjustments.
  • Finance: Nubank's nuFormer, developed by Aman Gupta, uses periodic linear embeddings to integrate continuous transaction data into a Transformer backbone, achieving significant lifts in production.

The Future of Tabular Foundation Models

The shift toward numerical embeddings is also changing how we think about pre-trained models. Ivan Rubachev and Akim Kotelnikov have shown that finetuning tabular foundation models like TabPFN depends heavily on specialized embedding modules. These modules allow the model to handle the diverse scales and distributions of new datasets, effectively acting as a translator between raw numbers and the high-dimensional space where the model's "reasoning" occurs.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_periodic_numerical_embeddings_for_tabula_c065640b,
  title = {Periodic Numerical Embeddings for Tabular Data},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/periodic-numerical-embeddings-for-tabular-data/rdr_c065640b90f644f08941a4f70cb73aa0},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-03},
}

This exact version (version 1, frozen text):

@misc{lacuna_periodic_numerical_embeddings_for_tabula_c065640b_v1,
  title = {Periodic Numerical Embeddings for Tabular Data},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/periodic-numerical-embeddings-for-tabular-data/rdr_c065640b90f644f08941a4f70cb73aa0/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-03},
}