# TabPFN v2 (2025)

> 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.

Page: https://mralbu.github.io/ai-datasets/p/tabpfn-v2

## Key facts

- Title: Accurate predictions on small data with a tabular foundation model
- Authors: Noah Hollmann, Samuel Müller, Lennart Purucker, Arjun Krishnakumar, Max Körfer, Shi Bin Hoo, Robin Tibor Schirrmeister, et al.
- Venue: Nature 2025
- Category: Tabular
- Paper: https://www.nature.com/articles/s41586-024-08328-6

## Why it matters

The first TabPFN was a proof of concept limited to tiny numerical classification tasks. This version handled the messy, mid-sized tables of everyday data science, and its Nature publication and open weights made a pretrained model a credible default where gradient-boosted trees had ruled for two decades.

## The idea

Keep the recipe, train a transformer on synthetic datasets and predict in context, but make it general. The causal-graph generator now produces about 100 million datasets with categorical features, missing values and uninformative columns. Each cell of the table gets its own representation and attends along its row and then down its column, so the model ignores the order of rows and columns and copes with tables larger than those seen in training.

## The result

On 29 classification and 28 regression datasets from the AutoML Benchmark and OpenML-CTR23, the default model in 2.8 s beat every baseline tuned for 4 hours, a 5,140× speedup for classification. Its normalized ROC AUC was 0.939 against 0.752 for default CatBoost. It also led on Grinsztajn's benchmark, where trees had previously excelled.

## 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

- [TabPFN (2022)](https://mralbu.github.io/ai-datasets/p/tabpfn.md)

## Led to

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

## Part of

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