Sub topic 6
Why models guess instead of saying they don't know
This chapter assumes you have used a chat assistant and can read short Python. It builds on the previous chapters: a model predicts the next token, and fluent text is not checked for truth.
The pressure to produce an answer
A model that has no reliable answer still has to emit a next token. Nothing in the process forces it to stop and say "I don't know." Saying so is itself a learned behavior, and it competes with every other plausible continuation.
Two forces push toward guessing:
- Training data. Most text people write states things. Few documents say "I could not find this." A model learns that a question is usually followed by an answer.
- Incentives in training and evaluation. Many benchmarks score a response as right or wrong. An abstention scores zero, the same as a wrong answer. A guess has some chance of scoring one. Under that scoring, a model that always guesses beats one that sometimes abstains. Human feedback can add to this, because raters tend to prefer confident, complete answers over hedged ones.
The result is a model tuned, in effect, like a student on a test with no penalty for wrong answers.
A worked example of the incentive
Suppose the model is 30% sure of an answer. The expected score under each policy is easy to compute.
def expected_score(p_correct, wrong_penalty=0.0, abstain_score=0.0):
guess = p_correct * 1.0 - (1 - p_correct) * wrong_penalty
return guess, abstain_score
print(expected_score(0.3))
print(expected_score(0.3, wrong_penalty=1.0))The first call prints (0.3, 0.0). Guessing wins. The second call applies a penalty of 1 for a wrong answer and prints about (-0.4, 0.0). Now abstaining wins. The model's behavior follows the scoring rule, so a rule that penalizes confident errors changes which policy is best.
Confidence is not calibration
A model's tone does not track its accuracy well. Calibration means that when a source says it is 80% sure, it is right about 80% of the time. Language models are often poorly calibrated, especially after tuning that rewards helpful-sounding replies. Fluent, assertive wording appears whether the underlying probability is high or low.
There is a second effect. Once the model has written a wrong claim, every later token is conditioned on it. The model tends to stay consistent with its own earlier text, so it may add supporting detail instead of retracting.
What this means for you
- Expect guessing most on questions where the model has weak knowledge but the question sounds answerable: obscure people, exact figures, specific citations.
- Do not read a lack of hedging as a sign of reliability.
- Give the model explicit permission to abstain. Later chapters cover prompts that do this.
- Treat a refusal or "I'm not sure" as useful information, not as a failure.
| Behavior | Typical cause |
|---|---|
| Confident wrong answer | Scoring that rewards guessing over abstaining |
| Elaborating on its own error | Later tokens conditioned on earlier text |
| Uniform tone across right and wrong claims | Poor calibration |
| Rare "I don't know" | Few examples of abstention in training data |
Exercise
A benchmark gives 1 point for a correct answer, 0 for a wrong answer, and 0 for "I don't know." A model is 20% sure of an answer. Which policy maximizes its expected score, and what change to the scoring would make abstaining the better choice?
Show answer
Guessing gives an expected score of 0.2, and abstaining gives 0, so guessing is better. Abstaining becomes better if wrong answers carry a penalty large enough that 0.2 - 0.8 × penalty is below the abstain score. With abstain at 0, a penalty above 0.25 does it.