Abstract
Missing data is a pervasive problem in tabular settings. Existing solutions range from simple averaging to complex generative adversarial networks, but due to each method's large variance in performance across real-world domains and time-consuming hyperparameter tuning, no default imputation method exists. Building on TabPFN, a recent tabular foundation model for supervised learning, we propose TabImpute, a pre-trained transformer that delivers accurate and fast zero-shot imputations requiring no fitting or hyperparameter tuning at inference time. To train and evaluate TabImpute, we introduce (i) an entry-wise featurization for tabular settings, which enables a 100x speedup over the previous TabPFN imputation method, (ii) a synthetic training data generation pipeline incorporating realistic missingness patterns, and (iii) MissBench, a comprehensive benchmark with 42 OpenML datasets and 13 new missingness patterns. MissBench spans domains such as medicine, finance, and engineering, showcasing TabImpute's robust performance compared to 12 established imputation methods.
Introduction
Missing data is a universal challenge in data science, impacting fields from healthcare to finance. Traditional imputation methods typically fall into two categories: simple heuristics (like mean imputation) that lack accuracy, or sophisticated iterative models (like MICE or MissForest) that are computationally expensive and require extensive hyperparameter tuning. Furthermore, many methods struggle with "Missing Not At Random" (MNAR) scenarios, where the missingness itself is informative. There is a clear need for a "universal" imputer that works out-of-the-box, generalizes across domains, and handles complex missingness patterns efficiently.
Methodology
TabImpute extends TabPFN, a transformer-based foundation model for tabular supervised learning, into a universal zero-shot imputer. This transition is enabled by several key innovations:
Entry-wise Featurization (EWF)
Traditional iterative imputation predicts one column at a time, which is inherently slow. TabImpute introduces Entry-wise Featurization (EWF), where every cell $(i, j)$ in a table is featurized using its specific row and column context. This allows the model to predict all missing values in a single parallel pass on a GPU, achieving a 100x speedup over previous foundation-model approaches.
Modified Attention and Synthetic Training
Standard supervised models prevent test points from "talking" to each other. TabImpute removes this restriction, allowing missing entries to exchange information during the forward pass—a critical feature since missing values in tabular data are often highly correlated. The model is pre-trained on 1.9 million synthetic datasets generated via Linear Factor Models (LFMs). This allows the model to learn a robust "prior" for tabular data behavior, enabling zero-shot inference on unseen real-world data.
MissBench: A Comprehensive Benchmark
To rigorously evaluate TabImpute, we introduced MissBench, featuring 42 real-world datasets from OpenML and 13 distinct missingness patterns. These patterns include standard Missing Completely At Random (MCAR) and complex MNAR scenarios such as "Block-MNAR" and "Censoring-MNAR."
Key Results
TabImpute demonstrates superior performance across the MissBench suite:
- Accuracy: It outperforms 13 established methods, including MissForest and MICE, particularly in complex MNAR scenarios.
- Efficiency: Thanks to EWF, TabImpute is significantly faster than previous state-of-the-art foundation models. On a GPU, it achieves inference speeds roughly 100 times faster than the iterative Col-TabPFN approach.
- Robustness: The model's advantage grows as the percentage of missing data increases, showing a superior ability to reconstruct the underlying structure of highly corrupted datasets.
Conclusion and Future Work
TabImpute provides a powerful, zero-shot solution for tabular imputation. While currently optimized for smaller tables (up to ~170 rows) due to the quadratic complexity of transformers, it sets a new standard for speed and accuracy. Future work will focus on scaling to larger datasets, direct integration of categorical features, and applications in causal inference.
Summary updated