# Tabular Benchmark (Grinsztajn et al.) (2022)

> 45 real-world tables, curated so that trees and neural networks could finally be compared on the same ground.

Page: https://mralbu.github.io/ai-datasets/d/tabular-benchmark

## Key facts

- Category: Tabular
- Task: Benchmark suite of tabular classification and regression
- Creators: Léo Grinsztajn, Edouard Oyallon, Gaël Varoquaux (Inria Saclay, Sorbonne University)
- Size: 45 datasets as 59 tables (16 numerical and 7 mixed classification, 19 numerical and 17 mixed regression), from 3,434 to 5.5 million rows
- Splits: tables 59
- Input: One row of 4 to 419 columns, numerical only or numerical plus categorical depending on the table
- Labels: Two balanced classes (classification) or a number, log-transformed when heavy-tailed (regression)
- License: Varies by dataset (taken from OpenML, UCI and Kaggle); no license stated on the Hugging Face copy
- Paper: [Why do tree-based models still outperform deep learning on tabular data?](https://arxiv.org/abs/2207.08815)
- Homepage: https://github.com/LeoGrin/tabular-benchmark
- Hugging Face: [inria-soda/tabular-benchmark](https://huggingface.co/datasets/inria-soda/tabular-benchmark)
- Sampled at Hub revision 8d0ff9103525b7e3579b180230fddb3186258301 (2026-12-02)

## Why it matters

Every new tabular network came with its own handful of datasets, so claims that deep learning had caught up with trees could not be checked. This benchmark fixed the data: 45 tables of real, heterogeneous features, with time series, artificial and deterministic problems and too-easy tasks removed, and the training sets cut to 10,000 rows. On it, tuned XGBoost, random forests and gradient boosting beat MLPs, ResNets, FT-Transformer and SAINT at every search budget. It became a standard place to test a new tabular model, and the bar later deep models had to clear.

## Worth knowing

- Each classification target was made binary and balanced: the two most common classes kept, with the same number of rows in each. Covertype here is the two most frequent forest types, not all seven.
- Several datasets come twice, once with only numerical columns and once with their categorical columns too (covertype, electricity, house_sales, diamonds and others), which is why 45 datasets make 59 tables.
- Rows and columns with missing values were dropped, and categorical columns with more than 20 values removed, so those problems do not muddy the comparison.
- A dataset counted as too easy, and was left out, if a single tree or a linear model came within 5% of both a ResNet and gradient boosting.
- The authors published every point of their hyperparameter searches, about 20,000 compute hours, so a new model can be compared without rerunning the baselines.
- In 2023 the retrieval model TabR beat tuned boosted trees on average on its medium-sized tasks, the result this benchmark was built to make hard.

## Configs

- `clf_num_Higgs`: Higgs: simulated particle collisions, signal (a Higgs boson) or background, from 24 kinematic features
- `clf_cat_covertype`: Covertype: a 30 m patch of Colorado forest from elevation, slope, distances and soil type; Spruce/Fir (1) or Lodgepole Pine (2), the two most common covers
- `clf_num_california`: California: a 1990 census block group; is its median house value above the median?
- `clf_num_jannis`: Jannis: 54 anonymized features from an AutoML challenge, two classes
- `clf_cat_electricity`: Electricity: half-hourly prices and demand in New South Wales and Victoria; will the price go up or down?
- `reg_cat_diamonds`: Diamonds: carat, cut, color, clarity and size; predict the (log) price

## Get the data

One config per table, named task_features_dataset (clf_num_Higgs, reg_cat_diamonds…), each a single CSV with the target as the last column. The same tables are on OpenML as benchmark suites 297 to 300.

```bash
# pip install -U huggingface_hub
hf download inria-soda/tabular-benchmark --repo-type dataset \
  --local-dir tabular-benchmark
```

```python
from datasets import load_dataset   # pip install datasets

ds = load_dataset("inria-soda/tabular-benchmark", "clf_num_Higgs")  # or any of: clf_cat_covertype, clf_num_california, clf_num_jannis, clf_cat_electricity, reg_cat_diamonds
print(ds)
```

```python
import polars as pl

df = pl.read_parquet("hf://datasets/inria-soda/tabular-benchmark@~parquet/clf_num_Higgs/train/*.parquet")
print(df.shape)
```

## Related datasets

- OpenML-CC18: 2018, 72 classification datasets, an earlier curated suite that also includes images (on this site: https://mralbu.github.io/ai-datasets/d/openml-cc18)
- TabArena: 2025, 51 datasets re-curated from 1,053 used by 14 benchmarks, including this one (on this site: https://mralbu.github.io/ai-datasets/d/tabarena)
- [TabReD](https://arxiv.org/abs/2406.19380): 2024, 8 industrial tables with time-based splits, after leaks were found in some academic benchmarks

## Landmark papers

- [TabR: Tabular Deep Learning Meets Nearest Neighbors in 2023](https://arxiv.org/abs/2307.14338) (2023)
- [TabM: Advancing Tabular Deep Learning with Parameter-Efficient Ensembling](https://arxiv.org/abs/2410.24210) (2024)

## Papers on this site that use it

- [XGBoost (2016)](https://mralbu.github.io/ai-datasets/p/xgboost.md): A gradient tree boosting system built to be fast and to scale, which became the default model for tabular data.
- [TabNet (2019)](https://mralbu.github.io/ai-datasets/p/tabnet.md): A deep network for tables that picks a few features at each step with sparse attention, to rival boosted trees and show its reasoning.
- [FT-Transformer (2021)](https://mralbu.github.io/ai-datasets/p/ft-transformer.md): Tested deep tabular models under one tuning protocol and found that a plain Transformer over per-feature embeddings beat the rest.
- [Trees vs deep learning (2022)](https://mralbu.github.io/ai-datasets/p/grinsztajn-2022.md): A benchmark of 45 tabular datasets on which tuned tree ensembles beat tuned neural networks, and three reasons why.
- [TabPFN v2 (2025)](https://mralbu.github.io/ai-datasets/p/tabpfn-v2.md): Scaled TabPFN to 10,000 rows and 500 features, added regression, categorical data and missing values, and beat 4-hour-tuned tree ensembles in seconds.
