Papers / Tabular
FT-Transformer (2021)
Revisiting Deep Learning Models for Tabular Data
Tested deep tabular models under one tuning protocol and found that a plain Transformer over per-feature embeddings beat the rest.
Why it matters
Papers on deep tabular models each used their own datasets and protocols, so their claims could not be compared. This one gave the field a common yardstick, two strong baselines and the Transformer design that later tabular networks started from, while stating plainly that gradient-boosted trees were not beaten.
- Year
- 2021
- Authors
- Yury Gorishniy, Ivan Rubachev, Valentin Khrulkov, Artem Babenko
- Venue
- NeurIPS 2021
- Data
- Tabular Benchmark (Grinsztajn et al.), OpenML-CC18
The idea
Turn every column into its own token: a numerical value multiplies a learned vector and adds a learned bias, a categorical value looks up an embedding. Add a [CLS] token, run a standard Transformer over the tokens, and predict from the [CLS] output. Compare it, a ResNet-style MLP, six published tabular networks and two boosted-tree libraries on the same 11 datasets, with the same splits and the same hyperparameter search for every model.
The result
FT-Transformer had the best average rank among nine deep models (1.8, against 3.3 for the ResNet), and the simple ResNet beat every earlier tabular network, TabNet included, on average. Against ensembles of tuned XGBoost and CatBoost there was no clear winner: the trees still won on California Housing, Adult and Yahoo, while FT-Transformer won on datasets such as Covertype and Jannis.
The data
Tabular Benchmark (Grinsztajn et al.)
202245 real-world tables, curated so that trees and neural networks could finally be compared on the same ground. (1 year later)
6 of its tables: Higgs · Covertype · California · Jannis · Electricity · Diamonds
OpenML-CC18
201872 classification datasets hand-picked from OpenML, each with fixed cross-validation splits, so any classifier can be run on all of them with a few lines of code. (3 years earlier)
6 of its tables: Adult · Credit-g · Diabetes · Car · Vehicle · Phoneme
Builds on
- Transformer (2017): A translation model built only from attention, and the architecture behind every large language model since.
- TabNet (2019): A deep network for tables that picks a few features at each step with sparse attention, to rival boosted trees and show its reasoning.
- XGBoost (2016): A gradient tree boosting system built to be fast and to scale, which became the default model for tabular data.
Led to
- Trees vs deep learning (2022): A benchmark of 45 tabular datasets on which tuned tree ensembles beat tuned neural networks, and three reasons why.
