The Model Changing Its Own Inputs
Last timeLabels That Arrive Weeks Later
A model whose decisions determine which cases ever get an outcome is measuring a world it created, and the resulting numbers improve while the decisions get worse.
The loop
Every lesson so far has treated the model as an observer of a world that moves on its own. This lesson is about the case where the model is one of the things moving the world, which is more common than it sounds.
A credit model decides who gets a loan, so only approved applicants ever produce a repayment record. A fraud model blocks transactions, so blocked transactions never produce a dispute or a lack of one. A recommender decides what appears on the page, so only shown items can be clicked. In each case the data available tomorrow is a consequence of the decisions made today.
| the model decides what data is collected | the outcome of a refused case is lost | the next model trains on this data | measured quality drifts upwards while real quality falls | |
|---|---|---|---|---|
| credit approval | 1 | 1 | 1 | 1 |
| fraud blocking | 1 | 1 | 1 | 1 |
| recommendations | 1 | 1 | 1 | 1 |
| weather forecasting | 0 | 0 | 1 | 0 |
| image tagging | 0 | 0 | 1 | 0 |
Outcomes only for the approved
Take the credit case, which is the clearest.
A model approves seventy per cent of applicants. Those seventy per cent eventually repay or do not, and three per cent of them default. That three per cent is the measured bad rate, and it is a statement about approved applicants only.
The thirty per cent who were refused have no outcome, ever. They did not take a loan, so they did not default, so nothing is recorded. Whether the model was right to refuse them is permanently unknown, and the only way it would become known is if somebody had lent them money.
| step | the pool rate somebody assumes | the approved cases, measured | what the refused group must then have been | what that says about the refusals | what happened |
|---|---|---|---|---|---|
| 1 | 8 per cent of everyone would have gone bad | 70 per cent approved, 3 per cent went bad | 8 - 0.7 x 3 = 5.9, over the 30 per cent refused, so about 20 per cent | six times the approved rate, a good refusal | The comfortable reading, and the one usually presented. It rests entirely on the eight per cent, which is a figure about people who were never lent anything. |
| 2 | 5 per cent | unchanged, 70 per cent at 3 per cent | 5 - 2.1 = 2.9, over 30 per cent, so about 10 per cent | three times the approved rate, still a defensible refusal | Nothing measured has changed. The only thing that moved is an assumption, and the refused group is now half as bad as the first row said. |
| 3 | 3.5 per cent | unchanged | 3.5 - 2.1 = 1.4, over 30 per cent, so about 5 per cent | barely worse than the people who were approved | At this point the refusals are turning away a group that would have repaid at close to the rate of the book that was written, which is a business decision somebody would want to revisit. |
| 4 | 3 per cent | unchanged | 3 - 2.1 = 0.9, over 30 per cent, so 3 per cent | identical to the approved rate, so the refusals bought nothing | The measured bad rate of three per cent is consistent with this row and with the first one alike. The book cannot tell them apart, and the same model looks like a success in one and a waste in the other. |
The consequence is a drift with a comfortable direction. Tighten the approvals and the measured bad rate falls, because the marginal cases were the risky ones. The next model is trained on a cleaner population, learns a sharper rule for that population, and refuses slightly more. Every number improves. The business is turning away a growing number of people who would have repaid, and nothing in the data says so.
The lesson stops here
5 more paragraphs to go
You have read the opening. The rest of the argument, the problems that check whether it landed, and the lines worth keeping at the end all come with a plan.
The first lesson of every course in the library reads the whole way through, free, so you can see exactly what the rest of them are.
See the planThe contentsThis is the reading half
Starting the course gives you your own copy of it. Every idea on every page has problems standing under it, marked with a reason rather than a tick, and any sentence you do not believe can be opened and argued with. None of that can happen on a page nobody owns.
The contents