← Notes

The least data, the biggest bets

The scores a model is most sure about are the ones it has the least evidence for, and they drive the largest positions. Why we change them only after watching the alternative live.

A model that sizes its own bets puts the most money behind the scores it is most confident about. Those same scores are the rarest. The top of the range is where you size up the most, and it is where you have the fewest past examples to check yourself against.

That makes the top of the probability curve the most dangerous part of the whole system to change.

Two ways to read the top

A trading model doesn’t produce probabilities directly. It produces scores, and a second, small model turns those scores into probabilities you can size from. We wrote about why that step matters in Calibrated beats accurate. There are two common ways to do it.

The first is a step function fitted on held-out outcomes. It is honest but blunt: it only ever claims what the data has shown, so at the very top it goes flat at the win rate of the best examples it has seen. Everything above that line gets the same probability.

The second is a smooth curve, a fitted S-shape. It separates the top scores from each other instead of lumping them together, which sounds strictly better. The catch is that a smooth curve doesn’t stop where the data stops. It keeps climbing, and it is most confident exactly where it has the least to go on.

We tested a hybrid of the two: the step function for most of the range, the smooth curve for the top few percent. In the backtest it grew the bankroll faster. When we checked the top scores, the reason was uncomfortable. The extra growth came from the scores where the smooth curve claimed more confidence than any past result supported. Through Kelly sizing, that turned straight into larger bets than the evidence justified (Sized to survive covers why that is the expensive direction to be wrong in).

A ceiling from the data, not from us

The fix was to let the smooth curve rise only as far as the real win rate of the top examples. That is the same ceiling the step function already respects. It isn’t a number anyone picked: it is recomputed from outcomes every time the model retrains. The curve can now separate the top scores from each other, but it can’t promise more than has ever happened.

The capped version still looked good on history. But “looks good on history” is exactly what the uncapped version had said too. A good result is a bug until proven otherwise, and at the top of the range a backtest has the least data with which to prove anything.

Watching before switching

So we didn’t switch. The live system keeps its current curve. On every real decision it now also records what each alternative would have done: the probability, the bet it would have sized and whether it would have taken the trade at all. Nothing about the live bet changes.

There are two alternatives. One is the capped hybrid. The other is the plain smooth curve with no ceiling, kept on purpose as a control. If the top scores really do win as often as the uncapped curve claims, the shadow log will show it, and the ceiling was only caution. If they don’t, the log shows what that confidence would have cost, without it costing anything.

Shadow runs have one trap: with enough ways to slice the results afterwards, one of them always favours the challenger. So the comparison has to be fixed before the results come in: which measure decides it, over how long, and what result means promote, keep or drop. Decide it after looking and you are back to choosing the story the numbers happen to tell.

The bar should rise with the bet

Most model changes are judged as if every part of the output mattered equally. They don’t. A small mistake in the middle of the range moves small bets. The same mistake at the top moves the largest positions you take, in the place where you can least tell that it is a mistake.

So the bar for changing that part should be the highest, and the cheapest way to clear it is to let the alternative make its decisions alongside the real ones, at no cost, until the live results answer the question the backtest couldn’t.