[Research Deep-Dive] Closing the Gap: Can Neural Networks Finally Conquer the "Tabular Castle"?

Closing the gap on tabular data with Fourier and Implicit Categorical Features

Summary
Problem
Method
Results
Takeaways
Abstract

The paper introduces a novel preprocessing framework to bridge the performance gap between Deep Learning (DL) and tree-based methods (like XGBoost) on tabular data. It proposes two key mechanisms: Categorical Feature Detection (CFD) to identify "implicitly categorical" numerical features using statistical tests, and Learned Fourier Features (LFF) to mitigate the smoothness bias of neural networks.

TL;DR

For years, tree-based models like XGBoost have reigned supreme over tabular data, leaving Deep Learning (DL) in the dust. This paper argues that the secret sauce of trees is their ability to handle non-smooth, categorical-like interactions in numerical data. By introducing Implicitly Categorical Feature (ICF) detection and Learned Fourier Features (LFF), the authors enable standard MLP and ResNet architectures to match or even beat XGBoost across a benchmark of hundreds of datasets.

The "Unconquered Castle" of Tabular Data

In the realms of Vision and NLP, Deep Learning is the undisputed king. But in the messy world of spreadsheets and databases (tabular data), GBDT (Gradient Boosted Decision Trees) remains the standard. Why? The authors point to two fatal flaws in standard neural networks:

  1. Smoothness Bias: Neural networks prefer "smooth" functions. Tabular data functions are often "jagged" or discontinuous.
  2. Feature Heterogeneity: Some numerical features (like "Line Number" or "Assignment ID") are actually categorical in nature. Trees treat these as discrete splits; NNs try to do math on them, losing critical information.

Methodology: Teaching NNs to "See" Like Trees

The proposed solution doesn't involve a complex new Transformer variant. Instead, it focuses on Feature Engineering driven by statistical insights.

1. Categorical Feature Detection (CFD)

The authors hypothesize that many numerical features are "implicitly categorical." They use statistical tests to find them:

  • Classification: (Chi-squared) tests if a binned numerical feature is independent of the target.
  • Regression: ANOVA and Mutual Information (MI) tests check if discrete "groups" of a feature correlate strongly with the output. If a feature passes these tests, it's treated as a categorical variable and One-Hot encoded, removing the "distance" assumption inherent in numerical processing.

2. Learned Fourier Features (LFF)

To fight the "Smoothness Bias," the authors use Fourier Embeddings. By mapping input features into a high-frequency space using , the network can learn much sharper decision boundaries—mimicking the "step functions" that make trees so effective.

Overall Framework Figure 1: The preprocessing pipeline. Features are either routed through Categorical Encoding (ICF) or Fourier Embeddings (LFF).

Experiments: The "Spiking" Phenomenon

The results are striking. Across 681 datasets, the enhanced ResNet and MLP models consistently closed the gap with XGBoost.

One of the most interesting findings is what the authors call "Spiking." On specific datasets like eye movements or nyc-taxi, standard ResNets perform poorly. However, when the random search hits the right "implicitly categorical" encoding, performance doesn't just improve—it spikes to levels XGBoost can't reach.

Performance by Budget Figure 2: Performance across budget. Notice how ResNet+F|C (brown line) overtakes XGBoost (red) in classification tasks as the search budget increases.

Critical Analysis: Is the Castle Conquered?

While the results are impressive, there are nuances:

  • Sensitivity: Neural networks remain much more sensitive to hyperparameters than XGBoost. As seen in the "Heatmaps" (Figure 5 in the paper), XGBoost is consistently good, while the NN performance is "spiky"—you need a good search budget to find that winning configuration.
  • Ablation Insights: The "spiking" behavior mostly comes from the ICF (Categorical) component, while LFF (Fourier) provides a more consistent, general boost. This confirms that treating numbers as categories is a "high-risk, high-reward" strategy in tabular ML.

Conclusion

This research proves that the "gap" between trees and neural networks isn't about the layers, but about how we represent the data. By explicitly looking for categorical behavior in numbers and expanding the frequency response of our networks, we can finally make Deep Learning a first-class citizen in tabular data stacks.

Takeaway for Practitioners: Before reaching for a complex Tab-Transformer, try statistically-driven binning and Fourier embeddings. The "natural base" of your data might be more categorical than you think.

Find Similar Papers

Try Our Examples

  • Search for recent papers that combine State Space Models (SSMs) or Mamba-based architectures with Fourier feature embeddings for tabular data regression.
  • Which original research first identified the "spectral bias" of neural networks, and how have subsequent works in coordinate-based ML influenced modern tabular data preprocessing?
  • Explore comparative studies that evaluate the robustness of XGBoost versus Transformer-based tabular models (like TabFT-transformer) specifically on datasets with high-cardinality "implicitly categorical" features.
Contents
[Research Deep-Dive] Closing the Gap: Can Neural Networks Finally Conquer the "Tabular Castle"?
1. TL;DR
2. The "Unconquered Castle" of Tabular Data
3. Methodology: Teaching NNs to "See" Like Trees
3.1. 1. Categorical Feature Detection (CFD)
3.2. 2. Learned Fourier Features (LFF)
4. Experiments: The "Spiking" Phenomenon
5. Critical Analysis: Is the Castle Conquered?
6. Conclusion