Abstract
Tabular foundation models have recently emerged as a powerful alternative to traditional gradient-boosted decision trees (GBDTs), offering the promise of "zero-tuning" predictions via In-Context Learning (ICL). However, existing models like TabPFN face significant scalability challenges, often failing on datasets exceeding 10,000 samples. This paper introduces TabICL, a novel tabular foundation model designed for industrial-scale datasets. By employing a two-stage architecture and distribution-aware embeddings, TabICL achieves up to a 10x speedup over previous state-of-the-art models while matching or exceeding the performance of optimized GBDTs on large-scale classification tasks.
Introduction
In the landscape of machine learning for tabular data, Gradient-Boosted Decision Trees (GBDTs) such as XGBoost, LightGBM, and CatBoost have long reigned supreme. Despite their success, these models require intensive, dataset-specific hyperparameter tuning to achieve peak performance. Tabular foundation models aim to disrupt this paradigm by treating the training data as a "prompt" for a transformer, enabling predictions in a single forward pass without additional training.
While the potential for ICL in tabular data is high, current implementations suffer from computational bottlenecks. TabPFNv2, for instance, utilizes an alternating column-and-row attention mechanism that scales poorly with dataset size. TabICL addresses these limitations, providing a scalable framework that brings the efficiency of foundation models to tables with hundreds of thousands of rows.
Methodology
Two-Stage Architecture
TabICL decouples the complexity of feature processing from the number of samples through a hierarchical attention mechanism:
- Column-wise Stage (
TF_col): This stage utilizes Induced Self-Attention Blocks (ISAB) to process features. By focusing on the distribution of values within a column (mean, variance, and outliers) rather than semantic column names, the model extracts a "statistical fingerprint" for each feature. This approach reduces complexity to $O(n)$, allowing the model to generalize across datasets with different schemas. - Row-wise Stage (
TF_row): This stage models the interactions between features. To prevent "representation collapse"—where the model cannot distinguish between two columns with identical distributions—the authors integrated Rotary Positional Embeddings (RoPE). RoPE assigns a unique identity to each feature based on its position, ensuring the transformer can differentiate between distinct but statistically similar variables.
Dataset-wise ICL (TF_icl)
The final stage is a transformer dedicated to the learning task itself. By collapsing the feature dimension in the preceding stages, TF_icl focuses exclusively on row-wise dependencies. This separation of concerns allows the model to handle massive datasets with minimal memory overhead.
Synthetic Pre-training
TabICL is trained entirely on synthetic data. To bridge the gap between synthetic and real-world data, the authors developed Tree-based Structural Causal Models (SCMs). These models use XGBoost to generate synthetic data, effectively embedding the inductive biases of tree-based models into the transformer's weights. Training follows a curriculum learning strategy, scaling from 1,000 to 60,000 samples.
Evaluation and Results
Scalability and Speed
TabICL demonstrates a significant leap in efficiency. On datasets with 10,000 samples, TabICL completes inference in approximately 20 seconds, compared to 100 seconds for TabPFNv2—a 10x speedup. Furthermore, the model can process tables with 500,000 samples and 500 features using only 20GB of GPU memory, making it viable for use on consumer-grade hardware.
Predictive Accuracy
The model was evaluated using the TALENT benchmark, which includes 200 real-world classification datasets. In tests specifically targeting "large" datasets (>10,000 samples), TabICL consistently outperformed both CatBoost and TabPFNv2. This suggests that the model successfully captures the complex patterns typically reserved for tuned GBDTs while maintaining the speed of a foundation model.
Hierarchical Classification
To overcome the traditional 10-class limit of many ICL models, TabICL employs a recursive hierarchical strategy. Large classification problems are decomposed into a tree of smaller, 10-class sub-problems, allowing the model to scale to complex multi-class tasks without a loss in performance.
Discussion and Limitations
While TabICL represents a major step forward, several areas for future research remain. Currently, the model is limited to classification tasks; extending the architecture to regression will require new output heads and loss functions. Additionally, while TabICL is significantly faster than previous foundation models, its inference latency is still higher than a single forward pass of a simple MLP or a pre-trained GBDT. Finally, the use of RoPE introduces a dependency on column order; although the authors mitigate this through ensembling, achieving true column-order invariance at scale remains an open challenge.
Conclusion
TabICL proves that tabular foundation models can scale to industrial-sized datasets without sacrificing the "zero-tuning" benefits of In-Context Learning. By combining distribution-aware embeddings with a scalable two-stage architecture, TabICL offers a robust, efficient alternative to traditional GBDTs for large-scale tabular classification.
Summary updated