tabSutra

The model

One pretrained model for business data

tabSutra is one foundation model for time series, tables, sequences and databases. It was pretrained once, on a very large number of tables. It reads your data as context and predicts from it, without training a model for your task.

Pretrained onceIts weights do not change for your data
ReadsTime series, tables, sequences and databases
PredictsForecasts, probabilities, values with ranges, recommendations
AccessA hosted API, on request

How it works

Your rows are the context, not training data

Every prediction uses two sets of rows. Context rows have a known answer, like a training set in classic machine learning. Rows to predict have no answer yet. The model reads the context in one pass and predicts the rest.

Context rows

ApplicantIncomeLoanBad in 12 months
A-1001$4,200$12,000no
A-1002$2,900$15,000yes
A-1003$6,100$8,000no
A-1004$3,300$20,000no

Past cases with a known answer.

tabSutra

  • Reads the context rows in one pass
  • Compares each new row with what it read
  • Uses only what was known before each row's date
  • Keeps its pretrained weights fixed

Rows to predict

ApplicantBad in 12 months
A-20010.21
A-20020.06
A-20030.44

A probability for each new row, with its reasons.

What this means in practice

Reading a context is one pass of the model over your rows, not a training run. There is nothing to tune.

You can change the context, for example by adding last week's rows, and predict again straight away.

The context is part of the input. A different set of context rows can give different predictions, in the same way that a different training set gives a different model.

The model brings what it learned in pretraining to every new table. This is why it gives useful predictions on small tables, where a model trained from scratch has too little to learn from.

With a long history, the model can also be fine-tuned on your data for higher accuracy. This is optional.

What it reads

Four kinds of data, one model

The same model reads every kind. What changes from one use to the next is the data you send, not the model.

Time series

One or many series measured at regular steps, with inputs known ahead such as prices, promotions and weather forecasts, and inputs known only for the past.

Typical usesDemand per item and store, energy load, solar and wind output, call volumes

Forecasting guide

Tables

One row per case, with no order between the rows. Numbers, categories, dates and text in any mix, missing values included.

Typical usesCredit applications, insurance claims, churn, property prices, quality control

Tables guide

Sequences

Rows in a known order, usually dated, often many per customer, account, vehicle or machine. Each row reads the earlier rows of its own group, and nothing after it.

Typical usesBehaviour scores, collections, battery health, equipment failure

Sequences guide

Databases

Relational data in several tables joined by keys. The model follows the keys itself, and reads each table as it stood on the date of the prediction.

Typical usesCustomer churn and lifetime value, product sales, next purchase recommendations

Databases guide

Every kind of cell

Each cell is read as what it is: a number, a category, a date, a text, an image, an audio file, a document or an embedding. Numbers do not need scaling, categories do not need encoding, and missing values do not need filling.

Text and media are turned into a few numeric columns by frozen embedding models, and then read like any other column.

Dates are read relative to the row's own date. An account-opening date on a row dated 31 October tells the model how long the account had been open on that day.

The model does not read column names. A table with English column names and the same table with column names in another language give the same predictions.

What it predicts

Four kinds of prediction

What you getExample
ForecastsA predicted distribution for every future step of every seriesDaily demand for each item in each store for the next 28 days
ProbabilitiesA probability for each class, for 2 to 32 classesWill this loan go bad within 12 months?
Values with rangesA full predicted distribution, with its mean, median and any quantileHow much will this customer spend next month?
RecommendationsA ranked list of items for each customer, with a probability for eachWhich products will this customer buy next week?

Built for production data

The same answer, however the data is laid out

Many models change their predictions when the same data is laid out differently. tabSutra does not, in these ways.

ChangeEffect on the predictions
The rows come in a different orderNone
The columns come in a different orderNone
The columns have different names, in any languageNone. Column names are not read.
The categories of a column have different namesNone. Category names are not used.
An input is in other units, such as dollars or thousands of dollarsNone. Predictions of a target come back in its own units.
The same request is sent twiceNone. There is no random step at prediction time.

Real business data, without a cleaning step

Real tables are not clean. The model copes with the usual problems of business data:

  • missing values, including columns that are mostly empty and values that go missing for a reason;
  • codes such as -999 written in place of a missing value;
  • id columns, near-constant columns and columns of pure noise;
  • duplicated and derived columns, such as a total next to its parts;
  • skewed numbers with extreme values, and counts with many zeros;
  • rare outcomes, such as a default rate below 1%;
  • fields that were added or retired part way through a history.

Cleaning still helps where you know the cause of a problem. If you know that -999 means missing, say so. But a first prediction does not wait for it.

Time is respected

When you name the column that holds the date, the model never uses what happened after a row's date to predict that row.

Each row also carries the time its answer became known. An answer enters the context only once it was known. A 12-month outcome counts only after its 12 months have passed.

Back-tests built this way show how the model would have done in real use, not better.

Explanations

Reasons with every prediction

Any prediction can come with the inputs that moved it, with the size and direction of each effect. Credit teams turn these into reason codes. Analysts use them to check that a forecast rests on sensible inputs.

Applicant A-2001: probability of going badbaseline 0.06 → prediction 0.21
Bureau score = 688+0.07
Credit enquiries, last 6 months = 4+0.05
Monthly debt payments = $1,250+0.03
Employment = self-employed+0.02
Income = $3,100 a month-0.01

An example explanation. Amber inputs raised the probability, teal inputs lowered it.

Releases

Current release

Released

tabSutra-39M-v1.0

Our first model, for time-series forecasting. It forecasts every horizon in one pass and gives a range with each forecast.

It is used zero-shot. The model sees only the history of each series and is not trained on it. It was pretrained on synthetic data only, so no benchmark data, and no real-world data, was part of its training.

  • 39.1M parameters
  • Zero-shot
  • Synthetic data only
  • Quantile forecasts
  • All horizons in one pass

Benchmark results

Lower is better for both metrics. GIFT-Eval-CTX reports MASE only.

BenchmarkMASECRPS
GIFT-Eval0.7780.532
GIFT-Eval-CTXHistory only0.791–
GIFT-Eval-CTXWith three fixed rules that use the context: value limits, level shifts and spikes0.627–
BOOMSelf-evaluated with the Toto repository's leaderboard code0.6710.396

Limits

What one request takes

LimitValue
Classes in a classification2 to 32
Quantiles of a forecast or valueAny level from 0.1% to 99.9%
Context rowsNo fixed limit. Time grows with rows and columns.

Request size, rows per database and requests per minute depend on your account. The limits page in the documentation has the details.

Try the model on your own data

API access is open to teams on request. The documentation covers every endpoint, with sample data for each use case.