TL;DR
TabFM-Auto pairs a frozen tabular foundation model (TFM) with an LLM-based coding agent that automatically evolves data pipelines. By leveraging dataset semantics (like column names) and fast, zero-shot inference, it achieves state-of-the-art performance on tabular benchmarks and discovers feature engineering pipelines that transfer across different models.
What Problem Does This Paper Address?
Tabular Foundation Models (TFMs) like TabPFN and TabFM have revolutionized tabular data by providing strong zero-shot predictions in a single forward pass. However, they have a major blind spot: they are "semantic-blind." Because they are pretrained on synthetic data, they treat a column named systolic_bp the same as an anonymous X_17, ignoring the rich domain knowledge embedded in column names and task descriptions.
On the other hand, existing Machine Learning Engineering (MLE) agents try to solve this by writing scripts to train models (like GBDTs) from scratch. This approach is often slow and "noisy"—the variance in training a model from scratch can mask small feature gains, leading the agent to overfit to the validation set during its search. TabFM-Auto aims to bridge this gap by combining the semantic reasoning of LLMs with the stable, fast inference of frozen TFMs.
Methods
The core of TabFM-Auto is a closed-loop agentic pipeline search. Instead of training a model, the LLM agent (e.g., Claude 3.5 Opus or Gemini 1.5 Flash) focuses entirely on evolving a Python data pipeline around a fixed, 400M-parameter TabFM model.
The pipeline consists of four modular stages that the agent can edit:
preprocess(): Handles data cleaning, such as converting sentinel values (like0or-1) into properNaNindicators.engineer(): This is where the LLM's domain knowledge shines. It creates new features based on column semantics, such as calculating physical ratios or clinical indices.sample(): TFMs have context limits. The agent learns to select the most informative rows (e.g., oversampling minority classes) to fit within the model's window.postprocess(): Calibrates the model's output probabilities to match the actual class priors of the training data.
Because the underlying TabFM model is frozen, there is no "retraining noise." Every improvement in the 3-fold cross-validation score is directly attributable to the agent's pipeline edits, making the search much more efficient and less prone to overfitting.
Datasets
The authors evaluated TabFM-Auto on two major benchmarks:
- TabArena: A comprehensive suite of 51 datasets (38 classification, 13 regression) designed to benchmark tabular models.
- MLE-Bench-Tabular: A subset of 8 complex tabular competitions from the MLE-Bench suite. These are particularly challenging because they often include auxiliary files (like seismic waveforms or 3D coordinates) that a standard single-table predictor cannot use without custom feature engineering.
Key Insights and Ideas
- Semantics are a Superpower: LLMs can derive complex domain-specific formulas just from headers. For example, on an aeroacoustic dataset, the agent automatically built "Strouhal numbers" and "Helmholtz compactness" features, which significantly reduced error.
- Transductive Feature Engineering: The agent can perform "label-free" transductive learning by looking at the distribution of the test set (without seeing labels) to build features like marginal frequencies or graph degrees across the combined train-test entity graph.
- Pipeline Transferability: One of the most surprising findings is that pipelines discovered for TabFM actually improve other TFMs (like TabPFN-3 or EXAONE-Tabular) without any additional search. This suggests the agent is discovering fundamental properties of the data rather than just over-optimizing for one specific model.
- Search Stability: By fixing the model weights, the search space is reduced to just the data pipeline. This allows the agent to find "small but real" gains that would be lost in the noise of traditional model training.
Key Results
TabFM-Auto achieved dominant results across both benchmarks:
- TabArena Leaderboard: TabFM-Auto configurations took the top five overall positions out of 66 methods. The best configuration raised TabFM’s Elo rating from 1785 to 2013, a massive +228 gain.
- MLE-Bench: TabFM-Auto ranked first overall among all MLE agents, earning 4 Kaggle Gold medals. On the
volcanic-eruptionstask, it reduced error by 9.4x compared to the strongest external agent by writing a parallelized signal-processing pipeline for seismic data.
Limitations and Future Work
While powerful, TabFM-Auto has a few limitations:
- Search Cost: Iterative search requires many LLM API calls, which can be expensive (the authors spent ~$17.6k for their full evaluation suite).
- Anonymized Data: The gains are significantly lower on datasets where column names are anonymized (e.g.,
f_01,f_02), as the agent cannot apply domain reasoning. - Future Directions: The authors suggest building a "reusable library" of discovered pipelines to warm-start searches on new datasets. They also see potential in extending this approach to multi-table relational databases, where the agent could automate complex joins and aggregations.
Summary updated