TL;DR
Instead of engineering complex neural network architectures to cope with messy, heterogeneous tabular data, this paper takes a data-centric approach: use pretrained tree ensembles to transform raw features into homogeneous, binarized embeddings. The authors introduce two scalable, in-batch representation schemes—Tree-to-Vector (T2V) for standard MLPs and Tree-to-Tokens (T2T) for Transformer-style attention architectures—narrowing the performance gap with gradient-boosted trees while matching or beating complex tabular neural networks with significantly higher training stability.
What Problem Does This Paper Address?
While deep learning dominates vision, audio, and language, tree-based models (like XGBoost and CatBoost) remain the champions of tabular data. The typical deep learning response has been model-centric: inventing specialized neural architectures to handle tabular quirks.
However, tabular features are intrinsically heterogeneous—columns originate from diverse distributions, irregular scales, and mixed data types (continuous, categorical, ordinal). Neural networks inherently excel on homogeneous representations (like pixel grids or uniform token embeddings). When applied to raw or simply normalized tabular features, deep networks struggle. This paper asks: rather than forcing the model to adapt to tabular heterogeneity, can we regularize the data itself into a homogeneous representation space?
Methods
Building on and scaling up prior work on DeepTLF, the authors distill structural knowledge from a pretrained XGBoost ensemble to transform raw inputs:
- Tree-to-Vector (T2V): Node decision splits (variable index and threshold) across trees are extracted and deduplicated. Raw values are compared against these thresholds to produce binarized indicator features. To resolve the memory bottlenecks of prior approaches, the authors reformulate the threshold comparison as an in-batch matrix multiplication: $\text{sign}(XU - V)$. This runs on-the-fly per mini-batch, making it practical for massive datasets.
- Tree-to-Tokens (T2T): Instead of flattening all splits into a single vector, T2T treats each tree in the ensemble as an individual tokenizer. Trees are converted into fixed-length tokens using level-order traversal, padding incomplete tree nodes with $0.5$ and tail dimensions with $-1.0$. The resulting token array ($X \in \mathbb{R}^{n \times d \times k}$) is directly consumed by a multi-head attention (MHA) encoder.
Raw Tabular Data ──> Pretrained GBDT ──> Threshold Extraction ──> [T2V: Vector -> MLP]
└──> [T2T: Tokens -> MHA]
Datasets
The authors evaluate their methods across:
- Synthetic Hyperspherical Data: A controlled 100-dimensional dataset distributed on a unit hypersphere around two centers to simulate an idealized, homogeneous latent space.
- OpenML Tabular Benchmark: 91 binary classification datasets sourced from the established TabZilla benchmark suite, representing diverse tabular domains and scales.
No new external benchmarks were introduced.
Key Insights and Ideas
- Homogeneity is the secret ingredient: On the synthetic hypersphere where all features share a regularized geometric space, a simple two-layer MLP consistently outperformed both default and well-tuned XGBoost models across various class-overlap thresholds ($\beta$).
- Trees make effective feature tokenizers: Representing each decision tree as a discrete token (T2T) preserves structural hierarchy via level-order traversal, allowing attention mechanisms to compute relational contexts across trees similarly to how boosting combines weak learners.
- On-the-fly matrix transforms solve memory blowups: Generating sparse threshold vectors ahead of time quickly exhausts memory on large tabular datasets. Moving to on-the-fly batch matrix operations allows seamless scaling to large tables.
Key Results
- Robustness Across Diverse Tasks: Classical tabular deep learning models frequently fail due to numerical overflow or timeout limits. Across 91 OpenML datasets, SAINT and ResNet could only complete evaluation on 59 and 73 datasets, respectively. In contrast, T2V and T2T evaluated successfully on 88 out of 91 datasets, matching the reliability of tree-based baselines (91/91).
- Performance vs. Tabular Deep Learning:
- On the 59 datasets where SAINT succeeded, T2T won on 66.10% (39/59) of datasets, achieving a +3.74% absolute mean AUC gain (84.72% vs. 81.46%).
- Compared to a tabular ResNet baseline on 73 datasets, T2T performed essentially on par, winning 49.31% (36/73) of datasets with a negligible mean AUC gap of 0.13%.
- Comparison to Tree Models (88 Datasets): CatBoost (88.06% mean AUC) and XGBoost (87.70%) still led overall, but T2T (84.63%) outperformed a standard normalized MLP (84.42%) and T2V (83.15%), narrowing the gap to tree baselines.
- Runtime Trade-offs: The in-batch matrix transformation added a 3× to 5× forward-pass evaluation overhead compared to a vanilla MLP on synthetic data, but execution time scaled gracefully with ensemble size.
Limitations and Future Work
- Remaining GBDT Gap: Even with tree regularization, tree-based models still retained an overall edge (~3.43% AUC gap between CatBoost and T2T).
- T2V Underperformance: T2V underperformed standard MLPs, suggesting shallow feedforward networks struggle with the very high-dimensional, binarized feature vectors produced by dense split extraction.
- Computational Overhead: While memory-efficient, calculating matrix transformations on-the-fly adds measurable compute latency per mini-batch.
- Future Directions: The authors plan to investigate dedicated neural architecture search tailored for tree-regularized inputs, explore self-supervised discrete token pretraining (contrastive or masked reconstruction), and develop formal quantitative metrics for tabular homogeneity.
Summary updated