The business problem
A credit score ranks applicants and accounts by how likely they are to go bad, for example to fall 90 days behind within 12 months.
Lenders use two kinds of score. An application score is made once, when a loan is requested. A behaviour score is made every month for the accounts already on the books.
The scores decide who gets a loan, at what limit and price, and which accounts get early attention.
What makes it hard
- New portfolios start small. A new product, branch or market has a few hundred loans with known outcomes in its first year. A scorecard usually needs thousands.
- Outcomes arrive late. A 12-month outcome is known only 12 months after the loan. The most recent loans, which look most like today's applicants, have no outcome yet.
- Thin files. Young applicants, the self-employed and people new to credit have little or no bureau history. The variables a scorecard relies on are mostly empty for them.
- Histories are long and uneven. A borrower may hold several accounts, each with years of monthly records, opened at different times.
- The population drifts. Interest rates, policy changes and marketing change who applies. A score built on last year's applicants slowly loses its ranking power.
The data a lender usually has
Most of this sits in the loan system, the bureau feed and the collections system.
| Data | Example | When it is known |
|---|---|---|
| Application | Income, employment, loan amount, tenure, channel | At application |
| Bureau records | Other loans and cards, limits, balances, past delays | At application, refreshed monthly |
| Payment history | Amount due, amount paid and days past due, per account per month | Monthly, for accounts on the books |
| Transactions | Card spend, account inflows and outflows | Daily, for the lender's own customers |
| Call notes | Promises to pay, disputes, notes written by staff | When they happen |
| Outcome | Went bad within 12 months, or not | 12 months after the score date |
How it is solved today
The usual approach is a scorecard built by a credit analytics team.
- Past loans with a full 12-month outcome window are collected. Recent loans are left out, because their outcome is not known yet.
- Variables are built by hand, such as the worst delay in 3, 6 and 12 months, the number of enquiries, utilisation, and months since the last delay. A behaviour scorecard often starts from several hundred candidates.
- Each variable is binned and turned into weights of evidence, and a logistic regression is fitted. Some lenders use gradient-boosted trees instead.
- The score is validated on a later period, documented and approved.
- A new portfolio with too few loans uses a generic bureau score, or the scorecard of a similar product, until enough outcomes build up. This often takes one to two years.
- When the population drifts, the scorecard is rebuilt.
Where it falls short
- With a few hundred loans, the bins and weights are unstable. Many lenders wait a year or more before they have a score of their own.
- Summary variables lose the shape of a history. A payment that shrinks a little every month is invisible until someone builds a variable for it.
- A borrower with several accounts is reduced to totals and maxima across the accounts.
- Thin-file applicants have empty bureau variables. They land in a default bin, which says little about them.
- Text, such as call notes, is usually left out.
How tabSutra solves it
Past loans become the context, not training data
You send the past loans with known outcomes, and the applications or accounts to score, in one call. The model reads the past loans as context and gives a probability for each new one. Nothing is trained for your portfolio, so a few hundred outcomes are enough to start.
Accounts with their history
| Account | Month | Due | Paid | Days late |
|---|---|---|---|---|
| A-1041 | Jan | 420 | 420 | 0 |
| A-1041 | Feb | 420 | 200 | 30 |
| A-1041 | Mar | 420 | 0 | 60 |
| B-2290 | Mar | 180 | 180 | 0 |
| C-3307 New | Mar | 260 | 260 | 0 |
One row per account and month. Past accounts also carry their outcome.
tabSutra
- Reads each account's months as a history, in order
- Reads a borrower's accounts together
- Uses only what was known at each score date
- Brings what it learned in pretraining to a small portfolio
Scores at 31 March
| Account | Bad in 12 months |
|---|---|
| A-1041 | 0.38 |
| B-2290 | 0.04 |
| C-3307 New | 0.09 |
| Borrower 551, 3 accounts | 0.21 |
A probability for each account, and for each borrower across their accounts.
Thin files and new portfolios
A classic model learns everything from your own loans. With 300 outcomes, it has 300 examples. The weights it fits move a lot from one sample to the next.
tabSutra is pretrained on a very large number of tables. It has already seen how payment delays, utilisation, income and loan size tend to relate to default in many settings. On your data, it starts from that and adjusts to your few hundred loans. Small samples are where a pretrained model gains most over a model trained from scratch.
The same holds for thin-file applicants inside one portfolio. An applicant with no bureau record is compared with similar applicants on what is known, such as income, employment, channel and the loan asked for. They are not placed in a default bin.
As the portfolio grows, the same call simply gets more context. There is no switch from a generic score to a score of your own, and no rebuild.
Payment histories read as sequences
Summary variables capture some of a history, such as the months since the last delay. But each one has to be thought of, built and tested by hand. The shape of a history is usually not among them.
Both accounts have one 30-day delay in the last 12 months. Account A missed one payment a year ago and has paid in full since. Account B is paying a little less every month. A summary such as “worst delay in 12 months” treats the two the same.
tabSutra reads each account month by month, so the difference between the two is part of what it sees.
The accounts of one borrower are read together. The model sees which account started to slip first, and gives a score for each account and for the borrower.
Call notes can be added as a text column, next to the payments of the same month.
Public data with the same shape
These public datasets have the same shape as the problem. They are listed so that the approach can be checked on open data.
| Dataset | Source | What it tests |
|---|---|---|
| Credit-G (German credit) | TabArena | 1,000 applicants, the size of a new product's first year |
| HELOC (FICO) | TabArena | Home equity lines, with bureau-style variables |
| Give Me Some Credit | TabArena | 150,000 borrowers. Can be cut down to 250, 500 or 1,000 to mimic a new portfolio |
| Taiwan credit card default | TabArena | Six months of repayment status and bills, given as flattened columns |
| HomeCredit Default | TabReD | Later loans scored from earlier ones, as in real use |
| Home Credit Default Risk | Kaggle | Bureau and repayment tables per applicant, including applicants with no bureau record |
| American Express Default Prediction | Kaggle | Up to 13 monthly statements per customer |
| Home Credit Credit Risk Model Stability | Kaggle | Scored on how steady the ranking stays from week to week |
The fair test for a new portfolio is a learning curve. A large dataset is cut down to a few hundred loans, and tabSutra is compared with logistic regression and boosted trees at each size.
Side by side
Scorecard compared with tabSutra
| Scorecard or boosted trees | tabSutra | |
|---|---|---|
| Loans needed before the first score | Usually thousands, with full outcomes | A few hundred |
| New product or market | A generic or borrowed score for a year or more | Its own score from the first outcomes |
| Thin-file applicants | A default bin for missing bureau data | Compared with similar applicants on what is known |
| Payment histories | Summary variables built by hand | Read month by month |
| Several accounts per borrower | Totals and maxima | Read together, with a score for each account and the borrower |
| Call notes | Usually left out | Read as a text column |
| Drift | Scorecard rebuilt | Recent outcomes added to the context |
| Reasons for a decision | Points per variable | The contribution of each input to each score |
Benefits
What the business gets
Score a new portfolio early
Lending decisions use your own loans from the first few hundred outcomes, not a borrowed score.
Lend to thin-file applicants
Applicants with little credit history are judged on what is known about them, not put in a default bin.
See risk building up
Payment histories are read as they are, so a slow slide shows before it turns into missed payments.
One model for both scores
The same model scores new applications and live accounts every month.
Keep up with drift
New outcomes go into the context of the next call. There is no rebuild cycle.
Reasons for every score
Each score comes with the inputs that moved it. Credit teams can turn these into reason codes.
Questions
How many past loans does tabSutra need?
There is no fixed minimum. With a few hundred loans, the model relies more on what it learned in pretraining. As outcomes build up, it relies more on your own loans. A learning-curve test on your data shows where it stands against your current method.
How are loans without a final outcome handled?
A loan enters the context only once its outcome window has ended. A score made today uses only the outcomes known today.
Can the scores be explained to a regulator?
Each score comes with the contribution of each input, which can be turned into reason codes for declined applications. As with any model, the lender's own validation and approval process applies.
Does the score change if we rename a variable or reorder columns?
No. The same data gives the same score, whatever the columns are called and in whatever order they come.
How is our data handled?
Your rows are used only to answer your request. They are not used to train the model. A context you send is kept for a limited time, so that you can predict again without sending it, and you can delete it at any time.
Score a new portfolio from its first loans
API access is open to teams on request. The documentation has a worked example for application and behaviour scores.