Deep learning dominates fields with clear spatial or sequential structures, such as computer vision and natural language processing. Yet, when applied to spreadsheet-style tabular data, standard neural networks frequently underperform compared to traditional tree-based ensembles like Gradient Boosted Decision Trees (GBDTs). As shown by Grinsztajn et al., this performance gap persists even when neural networks are subjected to extensive hyperparameter optimization.
To understand why deep learning struggles with tabular data—and how modern architectures are overcoming this limitation—we must look at the fundamental mismatch between the inductive biases of neural networks and the unique geometric properties of structured tables.
The Smoothness Mismatch
The core reason standard Multi-Layer Perceptrons (MLPs) fail on tabular data lies in the mathematical nature of the functions they are biased to learn. Neural networks are inherently biased toward learning smooth functions, where small changes in the input space yield small, continuous changes in the output.
Tabular data, however, behaves quite differently. It typically consists of static, heterogeneous columns (Voskou et al.) that lack inherent spatial or temporal relationships (Shavitt et al.; Zhang et al.). More importantly, the decision boundaries in tabular datasets are often highly irregular, featuring sharp thresholds and "jagged" transitions (Marton et al.; Wang et al.). For example, a financial model might have a strict, discontinuous threshold at a specific credit score or income level.
Decision trees excel here because their foundational mechanism is axis-aligned recursive partitioning (Bravo). They slice the feature space into discrete, piece-wise constant regions, naturally capturing step functions and abrupt boundaries. While neural networks have the theoretical capacity to approximate these functions, standard backpropagation struggles to efficiently discover these discrete, hierarchical tree-like structures within a continuous weight space.
Engineering Jaggedness into Neural Networks
To close the performance gap, researchers are designing specialized deep learning components that inject tabular-friendly inductive biases directly into neural architectures. These solutions generally fall into two categories: rethinking feature representations and building differentiable tree structures.
High-Dimensional Numerical Encodings
Instead of feeding raw scalar values directly into a network, we can alter how the network perceives continuous inputs. Babenko et al. demonstrated that using Piecewise Linear Encoding or Periodic Activations to map scalars into high-dimensional embeddings allows simple MLPs to capture non-smooth, step-like relationships. By expanding a single scalar into a vector of localized coordinates, the network can easily learn sharp, localized changes in the target function without requiring deep, complex architectures.
Differentiable Trees
Rather than forcing a smooth network to learn jagged boundaries, some architectures embed tree logic directly into the network. Popov introduced Neural Oblivious Decision Ensembles (NODE), which implements a fully differentiable formulation of oblivious decision trees. This allows the model to benefit from the axis-aligned splitting behavior of traditional ensembles while retaining the benefits of end-to-end gradient-based optimization.
Context, Memory, and Relational Inductive Biases
Standard MLPs process each row of a dataset completely in isolation. However, tree ensembles inherently build a global view of the dataset's distribution through their splitting thresholds. To replicate this advantage, modern tabular deep learning leverages attention mechanisms and associative memory.
Standard MLP: [ Row i ] ───> [ Independent Prediction ]
SAINT (Attention): [ Row i ] ───┐
[ Row j ] ───┼─> Intersample Attention ─> [ Context-Aware Predictions ]
[ Row k ] ───┘
Somepalli et al. addressed this with SAINT, an architecture that introduces "intersample attention" (or row-wise attention). By allowing data points within a batch to communicate with one another during the forward pass, the model dynamically conditions its predictions on the surrounding context of other samples, mimicking the global distribution awareness of tree structures.
In data-scarce regimes—where tabular deep learning historically suffers (Hochreiter)—models require a stable lookup mechanism to anchor their predictions. Schäfl et al. introduced Hopular, which integrates continuous modern Hopfield networks into every layer. This mechanism allows the model to actively "look back" and query the entire training set at each step of the computation, effectively combining the memory-retrieval properties of non-parametric models (like nearest neighbors) with deep representation learning.
Overcoming the Representation Bottleneck
In vision and language, self-supervised pre-training allows models to learn robust representations before fine-tuning. Applying this to tabular data is notoriously difficult because tables lack a uniform grid structure; you cannot simply mask a patch of pixels or shift a word without destroying the semantic meaning of heterogeneous columns.
To bypass this representation bottleneck, recent frameworks shift data augmentation out of the messy raw input space and into the latent space. For instance, Eo et al. developed RaTab, which applies mathematical transformations like truncated Singular Value Decomposition (SVD) directly to the encoder's weights to generate positive pairs for contrastive learning.
Additionally, the choice of pre-training objective matters. Rubachev et al. showed that "target-aware" pre-training objectives—which explicitly incorporate label information during the initial unsupervised or semi-supervised phase—help guide neural networks toward discovering the highly structured, discrete feature interactions that GBDTs find naturally.
When provided with these specialized representations, contextual attention mechanisms, and proper hyperparameter tuning, deep learning models are achieving performance parity with—and occasionally exceeding—traditional tree-based models (Erickson et al.). The frontier of tabular modeling is no longer about choosing between trees and neural networks, but rather about engineering the precise inductive biases needed to make neural networks function more like trees.