# Trees vs deep learning (2022)

> A benchmark of 45 tabular datasets on which tuned tree ensembles beat tuned neural networks, and three reasons why.

Page: https://mralbu.github.io/ai-datasets/p/grinsztajn-2022

## Key facts

- Title: Why do tree-based models still outperform deep learning on tabular data?
- Authors: Léo Grinsztajn, Edouard Oyallon, Gaël Varoquaux
- Venue: NeurIPS 2022 Datasets and Benchmarks
- Category: Tabular
- Paper: https://www.alphaxiv.org/abs/2207.08815

## Why it matters

It turned "trees win on tables" from folklore into a shared benchmark with 20,000 compute hours of released search results, and named what a tabular network needs: fitting irregular functions, ignoring useless columns and respecting the meaning of each column. Its suite became a standard test bed for the tabular models that followed.

## The idea

Pick real, heterogeneous, not-too-easy tables from OpenML and cap training sets at 10,000 rows. Run about 400 random-search iterations per dataset for Random Forest, gradient-boosted trees, XGBoost, an MLP, a ResNet, FT-Transformer and SAINT, and score the best model found after each budget. Then change the data, smoothing the target, dropping or adding useless columns, rotating the features, and watch which models suffer.

## The result

Tree-based models came out ahead at every search budget on all four benchmarks (numerical or mixed features, classification or regression), and the gap stayed wide after hundreds of iterations. Smoothing the target hurt trees but barely touched networks, extra useless columns hurt the MLP-like networks most, and randomly rotating the features flipped the ranking so that networks came out on top.

## The data

- [Tabular Benchmark (Grinsztajn et al.) (2022)](https://mralbu.github.io/ai-datasets/d/tabular-benchmark.md): 45 real-world tables, curated so that trees and neural networks could finally be compared on the same ground.

## Builds on

- [FT-Transformer (2021)](https://mralbu.github.io/ai-datasets/p/ft-transformer.md)
- [XGBoost (2016)](https://mralbu.github.io/ai-datasets/p/xgboost.md)

## Led to

- [TabArena (2025)](https://mralbu.github.io/ai-datasets/p/tabarena.md)

## Part of

- [Tabular foundation models](https://mralbu.github.io/ai-datasets/t/tabular-foundation-models.md) (step 4 of 8)
