tabSutra

Structured FM

Foundation models for structured data

Most business data sits in tables: sales, payments, sensor readings and orders. There are three ways to predict from it today. You can build a classic machine learning model for each question. You can ask a language model. Or you can use a foundation model built for tables. This page compares the three.

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 modelLanguage modeltabSutra
Pretrained onNothing. 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 predictionJoin 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 asQuantities.Pieces of text. 1,240 is split into tokens that carry no sense of size.Quantities, on any scale.
Size of dataAny 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 historiesLittle to learn from, so these are usually planned by hand.Guesses from names and descriptions.Borrows from similar products, stores or customers.
Sequences and databasesFlattened by hand into summary features.Must be pasted in as text.Read as they are, with their dates and keys.
What it returnsA 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 twiceThe same answer, once the model is trained.Can give a different answer.Always the same answer.
Columns reordered or renamedThe pipeline breaks or must be rebuilt.The answer can change.The answer does not change.
Time and leakageSafe 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 questionA 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.

Try 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.