Skip to main content
Machine Learning & Tabular Data

XGBoost vs Deep Learning for Tabular Data: Do Trees Still Win in 2026?

August 10, 2026 · Updated November 8, 2026 · 11 min read · By Dr. Yochai Edlitz, Founder & CEO, MLAIA

If you have been paying attention to ML research over the past three years, you have likely seen a steady stream of papers claiming that some new deep learning architecture finally beats gradient-boosted trees on tabular data. And if you have been running production ML systems over those same three years, you have likely kept shipping XGBoost anyway. Both things are true, and neither is the complete picture. This post is an honest practitioner's head-to-head: when deep learning for tabular data has genuinely arrived, when trees still dominate, and how to make the call on your next project in 2026.

~70%
of Kaggle tabular competitions still won by GBDT ensembles
2×–5×
faster training for GBDT vs. comparable DL on typical tabular datasets
<10k
rows — regime where TabPFN outperforms XGBoost without any hyperparameter tuning
0
training steps on your own data for an in-context tabular foundation model such as TabPFN
Short answer: how does XGBoost compare to deep learning for tabular data?

On most tables, XGBoost wins and costs less to run. In our own run, TabPFN tied a tuned XGBoost on a 1,000-row credit table (AUC 0.795 vs 0.794) and trailed it on 45,000 rows (0.914 vs 0.921), while predicting about 7,000 times slower. Gradient-boosted trees such as XGBoost, LightGBM and CatBoost are still the right default for most tabular problems: they train fast on CPUs, cope with missing values and mixed feature types, and are straightforward to explain with SHAP. A tabular foundation model such as TabPFN is worth trying when the table is small, roughly under 10k rows, and you want a strong result without tuning. A deep model such as FT-Transformer or SAINT is worth evaluating when the dataset is very large, a GPU is available, and the features include text or high-cardinality categories. In every case, run the candidate on the same cross-validation splits as a tuned gradient-boosted baseline, and keep it only if it wins by a margin that justifies the extra serving cost.

ModelWhere it winsMain limit
XGBoost, LightGBM, CatBoostMost tabular problems, especially 10k–500k rows; explainable with SHAPNeed hyperparameter tuning and feature work
TabPFN v2Under about 10k rows: matches a tuned XGBoost in seconds with no tuningNot viable for large datasets
TabNetWhen a deep-learning stack is mandated; attention masks give some interpretabilityFinicky to train; rarely beats tuned trees on mid-sized data
FT-Transformer, SAINTOver 500k rows with text or embedding-heavy features, GPU availableGPU hours instead of CPU minutes
Tabular foundation models (TabFM)Little labeled data or no time to tune; a strong first baselineMemory and latency grow with table size; less proven in production

The full decision guide is in the 2026 decision framework.


1. The Incumbent Champions: XGBoost, LightGBM, CatBoost

Gradient-boosted decision trees (GBDTs) have dominated competitive tabular ML since roughly 2016, when XGBoost won a disproportionate share of Kaggle competitions and the ML community started taking notice. LightGBM (Microsoft, 2017) pushed training speed dramatically further with leaf-wise tree growth and histogram-based splitting. CatBoost (Yandex, 2017) brought native, zero-leakage categorical encoding — ordered target encoding that eliminates the data leakage that plagued earlier approaches. Together, these three form the toolkit that handles the overwhelming majority of production tabular ML today.

Why trees have been so hard to dislodge

The reasons are structural, not accidental:

Production reality check: CatBoost's native categorical handling is genuinely underused. If your pipeline has high-cardinality categoricals (user IDs, product SKUs, geographic codes) and you are not using CatBoost, you are almost certainly leaving accuracy on the table compared to one-hot or label encoding in XGBoost — and introducing leakage risk if you use target encoding naively.

2. The Deep Learning Challengers

Neural networks for tabular data are not new — MLPs have been applied to tabular tasks for decades. What is new is a generation of architectures designed specifically to address the reasons trees outperformed them, rather than applying the same image/text architectures to a domain with fundamentally different structure.

TabNet (2019) — Attention-based, interpretable

Google's TabNet was the first serious attempt at an interpretable deep architecture for tabular data. It uses sequential attention to select which features to reason about at each decision step — producing a learned feature mask that provides a form of instance-wise feature importance. In practice, TabNet's interpretability advantage over SHAP-explained GBDTs is less decisive than the paper suggests: the attention masks are not as semantically clean as tree-based importances, and TabNet's training is notoriously finicky. The architecture performs competitively on large datasets (500k+ rows) but rarely beats well-tuned GBDTs on mid-sized tabular benchmarks. It remains a reasonable choice when a deep learning framework is already mandated (e.g., for integration into a TensorFlow serving stack) and interpretability can be demonstrated through the attention mechanism.

FT-Transformer / TabTransformer (2021–2022)

The FT-Transformer (Feature Tokenizer + Transformer, from Gorishniy et al.) takes a different approach: rather than designing a special architecture, it adapts the standard Transformer to tabular data by treating each feature as a token, with a learned embedding per feature value (for categoricals) or per-feature projection (for numerics). This allows the model to learn arbitrary feature interactions via attention — something that decision trees approximate only through higher-order splits. TabTransformer (Google Brain) uses a similar idea but applies attention only to categorical features, passing numeric features directly to the MLP head.

On large tabular datasets with complex feature interactions, FT-Transformer outperforms GBDTs on several benchmark suites. The practical constraint is compute: training FT-Transformer on a 5M-row dataset with 100 features takes GPU hours rather than CPU minutes. For most organizations, this changes the economics of the problem — the question is not just "which model is more accurate" but "how much accuracy gain justifies 10× more training compute and inference latency."

TabPFN — Prior-Fitted Networks and In-Context Learning (2022)

TabPFN (Hollmann et al., 2022, from the AutoML group at Freiburg) is the most practically novel of the tabular DL approaches: a small Transformer pretrained on synthetic datasets drawn from a meta-learned prior over Bayesian networks, capable of doing in-context learning on new tabular tasks at inference time — no finetuning required. You pass your training data and test rows as context, and the model returns predictions in a single forward pass.

The practical implications are striking. On datasets with under 10,000 rows and up to ~100 features, TabPFN matches or outperforms AutoML-optimized XGBoost with zero hyperparameter tuning — it takes seconds rather than hours to "train." For data scientists facing a new tabular task with limited data, TabPFN is now the correct first experiment: the zero-shot baseline. The limitation is scale: the quadratic attention cost of the in-context approach means TabPFN is not viable for large datasets (above ~10k rows the V2 variant handles larger contexts but training still wins at scale). TabPFN v2 (2024) extended coverage to regression, more features, and better calibration while keeping the zero-shot promise.

Tabular Foundation Models (TabFM)

Tabular foundation models, often shortened to TabFM, are the most ambitious entry: networks pretrained across a very large number of tables with the goal of learning representations that generalize zero-shot or few-shot to new tasks. TabPFN is pretrained on synthetic tables drawn from a prior. Other research lines pretrain on real heterogeneous tables and encode column names and descriptions as well as the values, so the model can use what a feature means and not only its statistics.

The appeal is strongest where labeled data is scarce and column names carry meaning, as in customer churn or medical risk scoring. These models are newer and less proven in production than gradient boosting, but the direction is clear: the foundation model paradigm is arriving for tabular data, and it will change the calculus for organizations with limited labeled data.

SAINT, NODE, and other approaches

SAINT (Self-Attention and Intersample Attention Transformer) applies attention both across features and across training samples — the inter-sample attention mechanism allows the model to learn from the relationship between training examples rather than just feature-target relationships. It performs well on classification but adds considerable memory overhead. NODE (Neural Oblivious Decision Ensembles) differentiably implements an oblivious decision tree ensemble — trees where each level uses the same split feature across all branches — allowing gradient-based optimization while preserving tree-like inductive bias. NODE is particularly effective on mid-sized datasets and often outperforms GBDTs in the 50k–500k row regime.

Tabular Foundation Models vs XGBoost

A tabular foundation model is a network pretrained on a very large number of tables, synthetic or real, so that it can predict on a table it has never seen without being trained on it. “TabFM” is often used as shorthand for any tabular foundation model, and this section uses it in that broad sense. TabPFN is the best-known example. Most of these models work by in-context learning: the labeled rows are passed to the model as context together with the rows to predict, and the answer comes back in a forward pass. No gradient steps or hyperparameter search are run on your data.

That changes the comparison with XGBoost in three ways.

So a tabular foundation model is worth trying when the table is small, when there is no time to tune, or when you need a quick read on whether a problem is predictable at all. XGBoost, LightGBM or CatBoost remain the safer choice for large tables, tight latency budgets, CPU-only serving and decisions that must be explained feature by feature.

The two can also work together. A foundation model tends to make different errors from a tree ensemble, so averaging or stacking the two can beat either one alone, at the price of running both. Whatever you choose, compare them fairly: the same splits, a properly tuned gradient-boosted baseline, and a record of training time, prediction latency and serving cost next to the accuracy metric. We did exactly that on three public tables; the results are in our own run below.

3. Head-to-Head: When Does Deep Learning Actually Win?

GBDT vs. Deep Learning — Decision Map Dataset size → SMALL DATA (<10k rows) TabPFN V2 ✓ — zero-shot, no tuning XGBoost + Optuna ✓ — well-regularized, fast FT-Transformer ✗ — overfit risk without data aug MID-SIZED (10k–500k rows) XGBoost / LightGBM ✓ — still the safe default NODE / CatBoost competitive on categoricals FT-Transformer worth evaluating if GPU infra exists LARGE DATA (>500k rows) FT-Transformer / SAINT — gap vs GBDT narrows DL wins: multimodal inputs, text+tabular, embeddings LightGBM still competitive on pure numeric tasks SPECIAL CASES WHERE DL WINS ✓ Transfer learning: TabFM / TabPFN zero-shot ✓ Text + tabular fusion (description fields, NLP cols) ✓ Embedding-heavy categoricals (user IDs, SKUs) ✓ Sequential tabular data — temporal dependencies ✓ Shared representation with images / audio (multimodal) ✗ Pure numeric tabular, small-mid size → trees ✗ Interpretability mandate (credit, insurance, health) ✗ Production simplicity — no GPU serving required
Decision map for model selection on tabular data in 2026. Dataset size, feature types, and production constraints — not algorithm novelty — should drive the choice.

The honest summary from the benchmarks: deep learning closes the gap on large datasets and wins decisively when the problem involves modalities or representations that trees handle poorly. The TabBench benchmark suite (2023–2024) shows FT-Transformer and SAINT outperforming XGBoost on about 30% of datasets overall — concentrated in the large-data and embedding-heavy categories. On the remaining 70%, tuned GBDTs win or tie within noise.

4. When Trees Still Win — and Why It Matters

The cases where gradient-boosted trees remain the right call in 2026 are not edge cases — they describe the majority of real production tabular ML workloads:

Small-to-medium datasets with pure numeric/categorical features

If your dataset has under 500k rows and features that are direct numeric measurements or clean categoricals (not free-text, not image-derived embeddings), a well-tuned LightGBM or CatBoost model will almost certainly outperform any deep tabular architecture. The inductive bias of decision trees — axis-aligned splits that handle interaction effects through tree depth — is well-matched to the piecewise structure of most business data (pricing tiers, age brackets, geographic categories, time-of-day patterns). You can prove this empirically in a day with a cross-validated comparison; you do not need to take it on faith.

Interpretability requirements

In regulated industries — consumer credit, insurance underwriting, clinical decision support, HR analytics — explainability is not optional. SHAP values on a GBDT are exact, fast to compute (TreeSHAP runs in O(TLD) time), and produce the feature-attribution format that regulators and compliance teams recognize. More practically: when a model makes a decision that a customer or clinician disputes, you need to explain it in minutes, not run a 20-minute Integrated Gradients computation. The interpretability tooling around GBDTs in 2026 (SHAP, EBMs/GA²Ms, monotone constraints in XGBoost/LightGBM) is mature and production-tested in ways that DL interpretability tools are not.

Training speed, iteration velocity, and infrastructure

A data scientist can train, evaluate, and iterate on a LightGBM model on a laptop. The same workflow with an FT-Transformer requires a GPU, CUDA dependencies, a larger codebase, and training times that are 5–50× longer for similar dataset sizes. In a consulting or startup context where model iteration velocity matters more than the last 0.5% AUC, this is a decisive consideration. Production serving of a GBDT is also dramatically simpler: a pickled model or ONNX export runs inference in microseconds on CPU, with no GPU serving infrastructure required.

Kaggle as ground truth

Kaggle tabular competitions remain the closest thing to a reproducible benchmark for real-world tabular ML. In 2026, the picture is consistent: GBDT ensembles (usually XGBoost + LightGBM + CatBoost stacked) win or reach the top-3 in approximately 70% of tabular competitions. Deep learning solutions appear in winners' write-ups primarily on competitions with text features, image-derived features, or very large datasets. This is not because Kagglers are conservative — it is because they run exhaustive experiments and the numbers bear it out.

5. Practical Benchmarks: What the Research Actually Says

The benchmark landscape for tabular DL has matured significantly. Three studies are worth citing for practitioners:

The Kaggle meta in 2026: The top solutions in tabular competitions have converged on a pattern: (1) Feature engineering + target encoding + embeddings from CatBoost/LightGBM; (2) Pseudo-labeling on test data; (3) Stacking — multiple GBDTs + optionally one DL model (usually FT-Transformer or MLP) in the second-layer meta-model. DL appears as a diversity source in the ensemble, not as the primary model.

Our own run: TabPFN vs XGBoost on three public tables

Published benchmarks are useful, but they are run by the people who built the models. So in November 2026 we ran a small comparison of our own: TabPFN v2 (the openly licensed weights, no tuning) against XGBoost with default settings and XGBoost tuned by a 30-configuration random search, on three public OpenML tables of different sizes. One Apple Silicon laptop, one random seed, TabPFN on the built-in GPU, XGBoost on the CPU. The small and medium tables use 5-fold cross-validation; the large one a single stratified 80/20 split. The metric is ROC AUC.

TableRowsXGBoost defaultXGBoost tunedTabPFN v2, no tuning
German credit (credit-g)1,0000.7730.7940.795
Telco churn (OpenML 40701)5,0000.9250.9230.924
Adult income, 10,000-row sample48,842—0.9210.914
Adult income, full training set48,8420.9280.928not possible (10k-row limit)

The decision threshold mattered more than the model

Cost is per applicant throughout this table. A reader pointed out that the German credit data ships with a cost matrix: approving a bad borrower costs 5, rejecting a good one costs 1. Scored on that cost instead of AUC, the picture changes. We repeated the small-table run with 5-fold cross-validation three times (15 test folds), added a plain random forest and the same forest wrapped in the reader's pairwise difference learning library (pdll), and chose each model's threshold on out-of-fold predictions inside the training fold, never on the test fold.

ModelAUCCost at 0.5Cost, tuned thresholdThreshold
Random forest + pdll0.7891.0430.5340.25
Random forest0.7930.9540.5380.20
TabPFN v20.7920.9030.5420.15
XGBoost tuned0.7880.8970.5480.14
XGBoost default0.7690.8700.5810.03
Reject everyone—0.700—
Approve everyone—1.500—

At the usual 0.5 threshold every model is worse than rejecting every applicant. With the threshold chosen for the 5:1 cost, all five fall to between 0.53 and 0.58, and the top four are within 0.015 of each other, well inside the fold-to-fold spread of about 0.05. Four of the five chosen thresholds sit near the 1/6 that theory predicts for calibrated probabilities; default XGBoost needed 0.03, a sign of how overconfident its scores are. Moving the threshold cut the cost by a third to a half. Switching between the top four models moved it by under 3%. The pairwise difference wrapper matched its own base forest on this table and took about 25 times longer to fit; one dataset says little about a method built for many small ones.

What to take from it: on a small table, a tabular foundation model gives you tuned-model accuracy in the first minute. For anything large or latency-bound, gradient boosting still wins. And before arguing about either, set the decision threshold from the real costs: that was worth far more than any model change. This is one laptop, one seed and three datasets, so read it as a worked example, not a leaderboard. The scripts and raw results are in the site repository.

6. Production Considerations: The Gap That Papers Don't Cover

Most benchmark papers optimize for accuracy on held-out test sets. Production deployments optimize for accuracy + latency + serving cost + monitoring complexity + team maintainability. These additional dimensions strongly favor GBDTs in most organizations:

Dimension GBDT (XGBoost / LightGBM) Deep Tabular (FT-Transformer / TabNet) TabPFN
Inference latency Microseconds–milliseconds on CPU Milliseconds on GPU; 10–100× slower on CPU Seconds (context-dependent); not suited for <100ms SLA
Serving infrastructure CPU-only; any runtime (ONNX, pickle, native) GPU preferred; PyTorch/TF serving stack required GPU required for reasonable latency
Model size Kilobytes to megabytes Tens to hundreds of MB ~100MB (fixed, pretrained)
Feature drift monitoring Per-feature importance shifts via SHAP — mature tooling Activation distribution monitoring — less standardized Opacity around what drove the in-context prediction
Retraining on new data Minutes on CPU; incremental update possible Hours on GPU; full retraining typically required No retraining — swap context window
Missing values Native handling; learns optimal direction Requires imputation strategy; wrong strategy hurts Handled in-context with no preprocessing
Team expertise required Any ML engineer DL expertise; debugging is harder Minimal — effectively a library call

The production gap also manifests in feature engineering. GBDTs benefit enormously from hand-crafted features: ratio features, interaction terms, temporal lag features, binned aggregations. A skilled feature engineer can add 3–5% AUC to a GBDT model that a DL architecture achieves automatically through representation learning — but the DL model then requires more data to generalize and more infrastructure to serve. Neither approach is free.

7. The Hybrid Approach: DL Embeddings + Tree Prediction

The most pragmatic answer to the GBDT-vs-DL question in production is often: both. The hybrid architecture — use a neural network to learn embeddings, then feed those embeddings to a GBDT for the final prediction — combines the representation power of DL with the reliability and interpretability of trees.

How it works in practice

The canonical pattern has three stages:

  1. Entity embeddings: Train a neural network (a shallow MLP, a pretrained language model for text features, or a dedicated entity embedding layer) to produce dense representations of high-cardinality categorical features (user IDs, product SKUs, geographic entities, free-text columns). These embeddings encode semantic similarity that one-hot or ordinal encoding cannot capture.
  2. Feature augmentation: Concatenate the learned embeddings with the original numeric features to produce an enriched feature matrix. For text-containing columns (product descriptions, support tickets, customer reviews), use a language model encoder to produce a fixed-size representation and include it as additional features.
  3. GBDT on augmented features: Train XGBoost or LightGBM on the combined feature matrix. The GBDT now benefits from the semantic structure captured in the embeddings while retaining all its production advantages: CPU inference, interpretability via SHAP, fast retraining, and robustness to missing values in the original numeric features.

This approach consistently outperforms pure GBDT on datasets with high-cardinality categoricals or text features, while matching or exceeding end-to-end DL on everything else. It is particularly effective for recommendation-adjacent tasks (click-through prediction, next-purchase forecasting) where user and item embeddings from collaborative filtering or pre-trained language models encode information that no hand-crafted feature can match.

When the hybrid is overkill

The hybrid architecture adds engineering complexity — you now have two training pipelines, two artifacts to version and monitor, and an embedding layer that can drift independently of the GBDT. If your categorical features are low-to-mid cardinality (<1,000 categories) and you have no text columns, CatBoost's native ordered target encoding almost always delivers equivalent or better results without the added complexity. Reserve the hybrid for genuinely high-cardinality or multimodal cases.

8. The Israeli Ecosystem: Tabular ML in Production

Israel's enterprise AI landscape is heavily tabular. The sectors that drive MLAIA's work — financial services, insurance, telecom, healthcare analytics, AdTech — are all fundamentally tabular data problems. In our experience working with Israeli enterprises in 2025–2026, the dominant production stack remains XGBoost or LightGBM with CatBoost as a categorical specialist, with TabPFN increasingly adopted as a fast zero-shot baseline for new problem scoping. FT-Transformer appears in production primarily at companies with existing GPU infrastructure (generally, R&D arms of larger tech companies) and where the dataset exceeds 200k rows of training data.

The Israeli financial services sector faces an interesting constraint: the Bank of Israel's model risk management guidelines (aligned with the Basel Committee's SR 11-7 equivalent) require explainability for credit decisions. This effectively mandates GBDTs — or at minimum, SHAP-explainable models — for any decision that affects credit access. The same constraint applies to insurance pricing models regulated by the Commissioner of Capital Markets. Healthcare analytics teams at health funds and hospitals operate under similar explainability expectations.

Where we see deep learning for tabular data gaining genuine production traction in Israel: e-commerce recommendation (embedding-augmented GBDTs for user-item matching), fraud detection at scale (FT-Transformer for large telco and payment transaction datasets), and clinical NLP tasks where patient records combine structured tabular fields with free-text physician notes — a genuinely multimodal problem where the hybrid architecture delivers meaningful gains over trees alone.


The 2026 Decision Framework

The answer to "do gradient-boosted trees still beat deep learning on tabular data?" in 2026 is: yes, in the majority of cases — but the exceptions are real, well-understood, and increasingly common. The right framework is not algorithm loyalty but problem diagnosis:

Gradient-boosted trees are not losing their throne anytime soon. But the kingdom is being productively challenged, and the challengers are improving fast. The practitioners who win in 2026 are the ones who know exactly when to call in the new guard — and when to keep shipping XGBoost.

Frequently asked questions

Do gradient-boosted trees still beat deep learning on tabular data in 2026?

Gradient-boosted trees still win most tabular problems in 2026. Deep learning wins in specific cases: TabPFN on small datasets, FT-Transformer or SAINT on very large ones with text features, and tabular foundation models (TabFM) when labels are scarce.

How do TabNet, TabPFN and TabFM compare with XGBoost?

XGBoost, LightGBM and CatBoost remain the default for most tabular problems. TabPFN v2 matches a tuned XGBoost on datasets under about 10k rows with no tuning but doesn't scale to large data. TabNet rarely beats tuned trees on mid-sized data. Tabular foundation models (TabFM) target cases with little labeled data and little time to tune, but they are newer and less proven in production.

Related: how we approach forecasting, churn and causal analysis, and the interactive prediction explorer with SHAP explanations.

Choosing between GBDT and deep learning for your tabular data problem?
Talk to MLAIA about model selection, production architecture, and what will actually work on your data →

MLAIA DATA SCIENCE

Tell us what
you’re working on.

Share the problem, the data you have and what success would look like. We’ll discuss a practical next step.

Please don’t include confidential datasets, credentials or patient information.

yochai@mlaia.com
WhatsApp: +972 52 484 6282

Your inquiry is handled under our Privacy Policy.