Craig Stanley
About me
Home / Decisions / Decision theory at work / Setting a threshold you can defend

Setting a threshold you can defend

How to pick the confidence score at which a model acts on its own, asks a person, or stops, using the cost of each kind of mistake.

· 2 min read · Craig Stanley
In short, explained

A computer helper says how sure it is. We pick a number. If it's surer than that, it can go ahead. If not, it asks a grown-up.

A decision model gives each case a score. The threshold is the score above which it acts without asking. You set it by comparing the cost of a wrong yes with the cost of a wrong no, and by agreeing it with the people affected.

Set the action threshold where the expected cost of a false positive equals that of a false negative, adjusted for review capacity. Publish the threshold, the costs behind it and the review date.

Audio summary · 1 min 21 s

Listen to this page

Read the transcript

From Craig Stanley's site: the article Setting a threshold you can defend. A decision model gives each case a score, often written as a confidence between zero and one. On its own the score does nothing. The threshold turns it into an action. Many systems use two thresholds. Act above the top one, reject below the bottom, and ask a person in between. Craig suggests starting from the cost of mistakes. A wrong yes means an invoice gets paid that should've been queried. A wrong no leaves a clean invoice waiting a day for a person. If a wrong yes costs fifty pounds and a wrong no costs five, act above about zero point nine one. That only works if scores are calibrated. Next, check capacity. A threshold sending sixty per cent of cases to people won't survive a busy week. If that's too many, either accept more risk or improve the model before going live. Write down the costs, the threshold, and who agreed it. Set a review date to show the reasoning. Which repeated decision would you trust a cheap model to score first, with a person checking the close calls?

Summary written and read aloud with Google Gemini from the text on this page. The voice is synthetic. Longer episodes are in the podcast.

What a threshold does

A decision model gives each case a score, often written as a confidence between 0 and 1. On its own the score does nothing. The threshold turns it into an action: above it the system acts, below it the case goes to a person.

Many systems use two thresholds. Above the top one, act. Below the bottom one, reject or stop. In between, ask a person.

Start from the cost of mistakes

There are two ways to be wrong:

  • A wrong yes: the model acts when it shouldn't. An invoice gets paid that should have been queried.
  • A wrong no: the model holds back when it could have acted. A clean invoice waits a day for a person.

If a wrong yes costs ten times as much as a wrong no, the model should only act when it's very sure. A common starting point is to act when the score is above cost of a wrong yes ÷ (cost of a wrong yes + cost of a wrong no). With costs of £50 and £5, that's 50 ÷ 55, so act above about 0.91. That only works if the scores are calibrated.

Then check capacity

A threshold that sends 60% of cases to people won't survive a busy week. Look at how many cases fall in the "ask a person" band and compare that with the time people actually have. If it's too many, either accept more risk or improve the model before going live.

Make it defensible

Write down the costs you used, the threshold you picked and who agreed it. Set a review date. When someone asks why the model approved a case, you can show the reasoning rather than just the score.

Infographic: Setting a defensible threshold. 1. Separate actions clearly: Many systems use two thresholds: act above the top one, reject below the bottom, and ask a person in between. 2. Price both mistakes: Compare the cost of a wrong yes with a wrong no, but only rely on the threshold if scores are calibrated. 3. Check review capacity: Check how many cases fall in the ask a person band and compare that with the time people actually have. 4. Record the reasoning: Write down the costs used, the threshold picked, and who agreed it, then set a review date to show the reasoning. Question to take away: Which repeated decision would you trust a cheap model to score first, with a person checking the close calls?
InfographicSetting a defensible thresholdOpen full size

Read next

A question to take awayWhich repeated decision would you trust a cheap model to score first, with a person checking the close calls?