ContentsThe library

When a Model Is Sure and Wrong

Divide Every Score by the Same Number

Last timeWhy Training Makes It Worse

One scalar, fitted on held-out data, removes most systematic overconfidence and provably changes no answer the model gives. It is the best ratio of effect to risk in the field.

Dividing the scores

The fault described in the last lesson is a systematic one: the scores are

spread too far apart, everywhere, in the same direction. A systematic fault

invites a systematic correction, and the simplest available one is to divide

every score by the same number before the formula is applied.

FIG 1The whole method
the score for option i, exactly as the model produced it
the temperature, one positive number shared by every option and every input
the corrected probability actually reported to the reader
Compared with the original formula, one division has been added. There are no other changes anywhere: the model is not retrained, not altered and not even reloaded.

A temperature above one shrinks the gaps between scores, so the exponentials

come out closer together and the distribution flattens. Below one it stretches

the gaps and sharpens the distribution. At exactly one, nothing happens.

FIG 2Turn the dial and watch the confidence move
0.50.60.70.80.910123456how far ahead the leading score is
with temperature applied
At T of 1 this is the original curve. Raise it and the same score lead reports a lower probability, which is the repair an overconfident model needs. Lower it and every lead is reported as near certainty.

Since overconfidence is the usual direction of the fault, the fitted value is

usually above one, commonly between 1.2 and 3.

The lesson stops here

4 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 contents

This 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

The rest of this course

  1. 01Where the Confidence Comes From
  2. 02The Reliability Curve, in One Afternoonopening only
  3. 03The Objective Rewards Certainty It Has Not Earnedopening only
  4. 04Divide Every Score by the Same Numberyou are here
  5. 05Uncertainty More Data Would Remove, and Uncertainty It Would Notopening only
  6. 06Ask It Five Times and Count the Answersopening only
  7. 07The Threshold Comes From Your Costs, Not From a Round Numberopening only
  8. 08Why a Made-Up Answer Can Carry a High Numberopening only

Read alongside