Four shapes of business data
Almost all business data comes in one of four shapes. They differ in what a row is and in what links one row to another.
| Shape | What a row is | What links the rows | Typical question |
|---|---|---|---|
| Time series | One step of a series, such as a day of sales | The order in time | How many units will sell next week? |
| Tables | One case, such as an application | Nothing | Will this applicant default? |
| Sequences | One dated or ordered record of a customer, account or machine | The entity, and the order in time | Will this account go bad in the next 12 months? |
| Databases | A row in one of several tables | Keys between the tables, and time | Will this customer stop buying? |
Separate fields, separate models
Each shape has grown its own foundation models. Chronos and TimesFM are pretrained on time series and forecast series they have not seen.1, 2 TabPFN is pretrained on tables and predicts on tables it has not seen.3 For databases, relational deep learning reads tables linked by keys, RelBench measures it, and KumoRFM applies in-context learning to it.4, 5, 6
Each of these does well on its own shape. A business, though, does not hold its data in one shape.
The boundaries are thin
- A forecast is a prediction on a table. Hoo and colleagues gave TabPFN, a model built for tables, a time series laid out as a table with date columns. It forecast competitively with models built only for time series.7
- Time series with inputs are tables with a time column. In fev-bench, 46 of the 100 forecasting tasks come with extra columns, such as prices, promotions or weather.8
- A table with dates is a sequence. When rows have dates, a model that treats them as independent learns from the future. TabReD showed that splitting such data at random, instead of by time, changes both the scores and the ranking of methods.9
- A database is tables plus keys. Fey and colleagues framed a relational database as a set of rows linked by keys, where each row can be read in the context of the rows it links to.4
Seen this way, the four shapes are one kind of data with different amounts of structure: rows, columns, time and keys. A model that handles the most structured shape can handle the others as special cases.
Business problems mix the shapes
Take collections. A defaulted account has fixed details at the date of default, a monthly history of payments, a table of calls and promises to pay, and the text of call notes. Credit scoring for a borrower combines an application table with the monthly histories of several accounts. Demand for a new product combines a sales series with a product table.
With separate models, each problem is cut to fit one shape, and what does not fit is dropped or flattened. One model that reads all the shapes keeps the data as it is.
What one model gains
- Transfer across shapes. Patterns learned on one shape, such as weekly cycles, slow drift or the effect of a recent change, help on the others.
- One way of working. One API, one way to evaluate, one set of behaviours to learn and trust.
- The same rules everywhere. The rules on time, missing values, row order and names hold for every kind of data.
- One model to update. An improvement reaches every use at once.
How it is measured
A single model has to hold up on the public benchmarks of every shape, not only one. For time series these include GIFT-Eval and fev-bench.10, 8 For tables, TabArena, and for tables with dates, TabReD.11, 9 For databases, RelBench.5