Skip to main content
QUICK REVIEW

[Paper Review] When Do Neural Nets Outperform Boosted Trees on Tabular Data?

Duncan C. McElfresh, Sujay Khandagale|arXiv (Cornell University)|May 4, 2023
Explainable Artificial Intelligence (XAI)Computer Science71 citations
TL;DR

The paper conducts a large-scale comparison of 19 algorithms across 176 tabular datasets, finding that the NN vs. GBDT debate is often overemphasized and that simple baselines or light hyperparameter tuning on GBDTs can match or exceed NN performance on many datasets; TabPFN often excels on small datasets, while GBDTs dominate larger or irregular datasets; the authors release TabZilla, a benchmark suite.

ABSTRACT

Tabular data is one of the most commonly used types of data in machine learning. Despite recent advances in neural nets (NNs) for tabular data, there is still an active discussion on whether or not NNs generally outperform gradient-boosted decision trees (GBDTs) on tabular data, with several recent works arguing either that GBDTs consistently outperform NNs on tabular data, or vice versa. In this work, we take a step back and question the importance of this debate. To this end, we conduct the largest tabular data analysis to date, comparing 19 algorithms across 176 datasets, and we find that the 'NN vs. GBDT' debate is overemphasized: for a surprisingly high number of datasets, either the performance difference between GBDTs and NNs is negligible, or light hyperparameter tuning on a GBDT is more important than choosing between NNs and GBDTs. A remarkable exception is the recently-proposed prior-data fitted network, TabPFN: although it is effectively limited to training sets of size 3000, we find that it outperforms all other algorithms on average, even when randomly sampling 3000 training datapoints. Next, we analyze dozens of metafeatures to determine what properties of a dataset make NNs or GBDTs better-suited to perform well. For example, we find that GBDTs are much better than NNs at handling skewed or heavy-tailed feature distributions and other forms of dataset irregularities. Our insights act as a guide for practitioners to determine which techniques may work best on their dataset. Finally, with the goal of accelerating tabular data research, we release the TabZilla Benchmark Suite: a collection of the 36 'hardest' of the datasets we study. Our benchmark suite, codebase, and all raw results are available at https://github.com/naszilla/tabzilla.

Motivation & Objective

  • Question the emphasis on NN vs. GBDT performance in tabular data settings.
  • Assess whether algorithm selection or hyperparameter tuning drives performance gains on diverse datasets.
  • Identify dataset properties (metafeatures) that predict whether NNs or GBDTs perform better.
  • Provide practical guidance for practitioners on method choice and tuning for tabular data.

Proposed method

  • Evaluate 19 algorithms (GBDTs, NNs, TabPFN, and baselines) on 176 tabular datasets from OpenML suites.
  • Tune hyperparameters with up to 30 settings per dataset using Optuna and up to 10 hours per run.
  • Use 10-fold cross-validation per dataset and report test accuracy and log loss as primary metrics.
  • Compute a large set of metafeatures (965 total) with PyMFE to analyze dataset characteristics.
  • Perform Friedman and Wilcoxon signed-rank tests with Holm-Bonferroni correction to assess statistical significance.
  • Release TabZilla Benchmark Suite comprising 36 challenging datasets with open-source code and results.

Experimental results

Research questions

  • RQ1How do algorithm families (GBDTs vs. NNs) perform relative to each other across a large and diverse set of tabular datasets?
  • RQ2Is dataset size, irregularity, or other metafeatures predictive of when NNs or GBDTs perform better?
  • RQ3Does simple baselining or light hyperparameter tuning on strong models often beat cross-family algorithm selection?
  • RQ4What dataset properties best explain the success or failure of specific methods, and how can this inform practical choices for new datasets?

Key findings

  • No single algorithm dominates across 176 datasets; CatBoost often leads but still has datasets where others win.
  • TabPFN achieves top performance on average and, surprisingly, with very fast training time; on small datasets (≤1250 samples), TabPFN can outperform others with fast inference.
  • Across 98 datasets (subset excluding extreme memory/time issues), TabPFN outperforms all others on average with statistical significance.
  • Hyperparameter tuning of a strong baseline (e.g., CatBoost) yields larger gains than switching between GBDTs and NNs on about one-third of datasets.
  • GBDTs tend to outperform NNs on larger and more irregular datasets (e.g., heavy-tailed or skewed feature distributions).
  • Practitioner guidance: start with simple baselines, then light tuning of CatBoost, and use metafeatures to guide algorithm choice for new data.
  • TabZilla Benchmark Suite of 36 hard datasets is released to accelerate tabular research, with code and results openly available.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.