tabSutra

Structured FM · Explainer

One pretrained model compared with one pipeline per problem

A classic machine learning project builds a new pipeline for every question. This article walks through what that costs, step by step, and which steps a pretrained model for tables removes. It also says where classic models still hold their own.

8 minute read · 7 references

What a classic project involves

Most prediction projects follow the same steps, whatever the question.

StepWhat happens
Get and join the dataTables are pulled from several systems and joined into one table per question.
Clean itMissing values, codes such as -999, duplicates and wrong types are fixed.
Build featuresSequences and related tables are rolled up into columns: counts, averages, lags, days since an event.
Choose, train and tune a modelA model is picked, usually boosted trees, and its settings are tuned.
ValidateThe model is tested on held-out data, ideally a later period.
Deploy and monitorThe pipeline is put into production, and its inputs and accuracy are watched.
RepeatA new question, a new table or a shift in the data sends the work back to the start.

Most of the time goes into the first three steps. In Anaconda's 2020 survey of about 2,400 data practitioners, data loading and cleaning took about 45% of their time. Model selection, training and deployment each took about 11 to 12%.1

Sculley and colleagues at Google made the same point about running systems. In a real machine learning system, the model code is a small part. The data collection, feature extraction, configuration and monitoring around it are much larger, and they are where the long-term cost builds up.2

Feature engineering is where the time goes

Feature engineering is the step that turns a business's data into one table a model can learn from. For a customer, it means rolling up their orders, payments and visits into numbers on a single row.

RelBench measured how much work this takes. In its user study, an experienced data scientist built features by hand for each prediction task on relational databases. A model that read the database directly did better, and needed more than ten times less human work.3

Every new question repeats this step. Churn, spend and next purchase each need their own feature table, even on the same database.

Classic models are still strong

None of this means boosted trees are weak. Grinsztajn, Oyallon and Varoquaux showed that tree-based models still beat deep learning on typical tabular data of medium size.4 On TabArena, a maintained benchmark of real-world tables, well-tuned boosted trees remain hard to beat.5

The cost of the classic approach is not in the model. It is in the pipeline that has to be built around the model, once for every question.

What a pretrained model changes

A foundation model for tables is pretrained once, on a very large number of tables. On new data, it reads the rows with known answers as context and predicts the rest. No model is trained for the task.

Hollmann and colleagues showed what this can do on small tables. TabPFN, a tabular foundation model, beat all previous methods on datasets with up to 10,000 samples. In 2.8 seconds, it did better than an ensemble of the strongest baselines tuned for 4 hours.6

Van Breugel and van der Schaar argued that tabular foundation models should be a research priority. Tabular data dominates many real-world fields, and a model that transfers across tables saves the work done for each task.7

The steps a pretrained model removes, and the ones it does not, are below.

StepClassic pipelinePretrained model
Get and join the dataJoined into one table per questionTables sent as they are, with their keys
Clean itFixed before trainingCommon problems handled without a cleaning step
Build featuresBuilt and maintained by handNot needed. Sequences and related tables are read directly.
Choose, train and tune a modelFor every questionNot needed. The model is pretrained.
ValidateNeededStill needed, on a later period
Deploy and monitorOne pipeline per questionOne model for every question
A change in the dataRetrain, often rebuild featuresNew rows go into the next call

Where the gain is largest

  • Small data. A new product, branch or market with a few hundred labelled rows. A model trained from scratch has too little to learn from.
  • Many questions. A business with dozens of prediction questions and no team for each one.
  • New entities. New products, stores and customers that have no history of their own.
  • Sequences and databases. Data that a pipeline would have to flatten into one row per case.
  • Fast change. Data that shifts often enough that retraining becomes a standing cost.

Where it is smallest

One large, stable question, with plenty of clean data and a team to maintain it, is where a well-tuned classic model is closest. Even there, a pretrained model can be fine-tuned on the full history. It still saves the work of building and maintaining the features.

References

  1. Anaconda. State of Data Science 2020. Survey of about 2,400 data practitioners, 2020. www.anaconda.com/resources/whitepapers/state-of-data-science-2020
  2. Sculley, D. et al. Hidden Technical Debt in Machine Learning Systems. NeurIPS, 2015. proceedings.neurips.cc/paper/2015/file/86df7dcfd896fcaf2674f757a2463eba-Paper.pdf
  3. Robinson, J. et al. RelBench: A Benchmark for Deep Learning on Relational Databases. NeurIPS Datasets and Benchmarks, 2024. arxiv.org/abs/2407.20060
  4. Grinsztajn, L., Oyallon, E. and Varoquaux, G. Why do tree-based models still outperform deep learning on typical tabular data? NeurIPS Datasets and Benchmarks, 2022. arxiv.org/abs/2207.08815
  5. Erickson, N. et al. TabArena: A Living Benchmark for Machine Learning on Tabular Data. NeurIPS Datasets and Benchmarks, 2025. arxiv.org/abs/2506.16791
  6. Hollmann, N. et al. Accurate predictions on small data with a tabular foundation model. Nature 637, 319–326, 2025. doi.org/10.1038/s41586-024-08328-6
  7. van Breugel, B. and van der Schaar, M. Position: Why Tabular Foundation Models Should Be a Research Priority. ICML, 2024. proceedings.mlr.press/v235/van-breugel24a.html

See it on your own data

API access is open to teams on request. The case studies show how tabSutra handles problems in each industry.