TabFM: A Zero-shot Foundation Model for Tabular Data
Key point
Google has released TabFM, a model that can make predictions for classification and regression tasks on tabular data without separate training.
Details
Existing tree-based algorithms like XGBoost or Random Forest have the drawback of requiring complex hyperparameter optimization and feature engineering every time they are applied to a new dataset.
TabFM is a new foundation model that introduces In-Context Learning (ICL) to tabular data in order to skip this process. Without any separate weight updates, the model receives the entire dataset as a single prompt and directly interprets the relationships between rows and columns to make predictions.
This model operates through the following three core mechanisms:
- Alternating row and column attention: Applies cross-attention across rows and columns to learn complex feature interactions.
- Row compression: Compresses the rich information of each row into a single dense vector.
- In-context learning: Applies a transformer to the sequence of compressed vectors, increasing computational efficiency and enabling fast predictions even on large-scale datasets.
TabFM is currently available via Hugging Face and GitHub.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.