What a structured-data foundation model is
A foundation model is pretrained once, on a very large amount of data. It is then used for many tasks without being built again for each one.
Language models are foundation models for text. A structured-data foundation model applies the same idea to tables.
It is pretrained on a very large number of tables. From them it learns how columns relate to each other, how values move over time, and how the rows of one customer or machine depend on each other.
On your data, it reads the rows that already have answers as context. It then predicts the rows that do not. No model is trained for your task. This way of working is called in-context learning.
Compared
Classic ML, language models and tabSutra
The same prediction problem, handled three ways.
| Classic ML model | Language model | tabSutra | |
|---|---|---|---|
| Pretrained on | Nothing. It learns only from your data, for one question. | Text from the web, books and code. | A very large number of tables, before it sees yours. |
| Work before the first prediction | Join and clean the data, build features, train, tune and validate. Usually weeks to months. | Write the data into a prompt. | Send the tables and name the column to predict. |
| Reads numbers as | Quantities. | Pieces of text. 1,240 is split into tokens that carry no sense of size. | Quantities, on any scale. |
| Size of data | Any size, but it needs enough labelled rows to learn from. | A few hundred rows fit in a prompt. | From a few rows to tens of thousands of rows. |
| New products and short histories | Little to learn from, so these are usually planned by hand. | Guesses from names and descriptions. | Borrows from similar products, stores or customers. |
| Sequences and databases | Flattened by hand into summary features. | Must be pasted in as text. | Read as they are, with their dates and keys. |
| What it returns | A number or a class. Ranges and calibrated probabilities need extra work. | Text that reads like an answer. | Forecasts with ranges, probabilities, values with ranges, and recommendations. |
| Same data twice | The same answer, once the model is trained. | Can give a different answer. | Always the same answer. |
| Columns reordered or renamed | The pipeline breaks or must be rebuilt. | The answer can change. | The answer does not change. |
| Time and leakage | Safe only if the team builds every feature with care. | Nothing stops it from using the future. | Uses only what was known at each point in time. |
| A new question | A new project. | A new prompt, with the same limits. | A new call to the same model. |
Where each one fits
When each one makes sense
Classic ML model
A good fit when one question matters a great deal, the data is large and stable, and a team is available to build and maintain the model.
On a large, clean table, a well-tuned boosted-tree model is hard to beat on accuracy alone.
Language model
A good fit for finding the right data, writing the query, and explaining a result in words.
It should not produce the prediction itself.
tabSutra
A good fit when there are many questions and no team for each one, and when data is small, new, or comes as sequences and databases.
It is a strong choice when the order of the data carries meaning, such as months of payments or the cycles of a battery. Summing that order up into features loses the signal.
It is also the choice when the same data must always give the same answer.
Read more
Articles
Why language models fall short on tables
How LLMs read numbers, why they lose track of rows at scale, and why their probabilities cannot be trusted for decisions.
Read ExplainerOne pretrained model compared with one pipeline per problem
What a classic machine learning project costs, step by step, and which steps a pretrained model removes.
Read ExplainerTime series, tables, sequences and databases in one model
Why the same model can forecast demand, score a borrower and read a database of orders.
Read ExplainerKeeping the future out of the past
How leakage makes back-tests look better than real use, and how tabSutra uses only what was known at each point in time.
ReadTry tabSutra on your own data
API access is open to teams on request. The documentation covers every endpoint, with sample data for each use case.