Ideas
Why does fine-tuning make models overconfident?
Accuracy can improve while confidence quietly drifts. Notes on calibration, sharper logits, and the uncertainty signals we ask agents to trust.
There's a figure in the GPT-4 technical report that I keep going back to. It's two calibration plots on a subset of MMLU. On the left is the pre-trained model, with an expected calibration error (ECE) of 0.007. On the right is the same model after post-training, at 0.074. The caption says it plainly: "post-training hurts calibration significantly." (OpenAI, 2023)
That's a tenfold jump. What I want to understand is why, and why it's so easy to miss.
What calibration actually means
A model is calibrated if, across all the times it says "I'm 80% sure", it's right about 80% of the time. Accuracy asks whether the top answer is correct. Calibration asks whether the confidence attached to it can be trusted.
Here's a reliability diagram in words. Bucket the predictions by confidence: 0.5–0.6, 0.6–0.7, and so on. In each bucket, plot the average confidence against how often the model was actually right. A calibrated model sits on the diagonal. An overconfident one sags below it: it says 90%, it's right 70% of the time.
ECE is just the weighted average gap between the two:
import numpy as np
def ece(conf, correct, n_bins=10):
conf, correct = np.asarray(conf), np.asarray(correct, float)
bins = np.minimum((conf * n_bins).astype(int), n_bins - 1)
err = 0.0
for b in range(n_bins):
m = bins == b
if m.any():
err += m.mean() * abs(correct[m].mean() - conf[m].mean())
return err
print(round(ece([0.9] * 10, [1] * 7 + [0] * 3), 3)) # 0.2Ten answers, all at 90% confidence, seven right. That's an ECE of 0.2.
Why accuracy hides it
Take a toy three-way question with logits [2, 1, 0]. Softmax gives roughly [0.665, 0.245, 0.090]. The model picks option A at about 67% confidence.
Now double the logits to [4, 2, 0]. Softmax gives [0.867, 0.117, 0.016]. It still picks A. Accuracy is identical, because the argmax didn't move. But confidence went from 67% to 87%.
Anything that scales logits up without reordering them is invisible to accuracy. Post-training has plenty of ways to do that.
This isn't new to language models. Guo et al. (2017) found modern deep networks were far less calibrated than older ones. In one of their training curves (a ResNet on CIFAR-100), test error kept falling from 29% to 27% while test NLL was overfitting. The network was buying accuracy by becoming more certain. Their fix was almost embarrassingly simple: divide the logits by one learned temperature.
So what does post-training do?
My working picture is that pre-training is a proper scoring rule applied at enormous scale. Next-token cross-entropy rewards you for putting the right probability on things, not just the right answer on top. Calibration falls out of that almost for free. Kadavath et al. (2022) found large base models well calibrated on multiple-choice and true/false questions when they're posed in the right format.
Post-training changes the objective. SFT trains on one "correct" response per prompt, with no notion of how sure the demonstrator was. RLHF and RL with verifiable rewards maximise reward, and reward doesn't care about probability mass on the losing options. Kadavath et al. put it well: "RL finetuning tends to collapse language model predictions towards behaviors that receive the most reward." Their RLHF policy looked badly miscalibrated. Yet a single temperature of T = 2.5 largely fixed it across three evaluations. That's my toy example in reverse: the ordering survived, only the sharpness changed.
The reward model can make this worse. Leng et al. (ICLR 2025) report that reward models used for PPO favour high-confidence responses regardless of quality, so policies learn to say they're confident too. More recent RLVR work argues there's a genuine conflict between optimising accuracy and calibration in GRPO-style training: Ma et al. (2026) put it down to a gradient conflict, and Wang et al. (ACL 2026) to uncertainty-agnostic advantage estimation. Both propose fixes.
Interestingly, the confidence isn't gone, it's moved. Tian et al. (2023) found that for RLHF models like ChatGPT, GPT-4 and Claude, simply asking for a confidence in the output was often better calibrated than the token probabilities, with expected calibration error often reduced by around 50% in relative terms.
Where this meets my own work
This is close to two things I've worked on. HALT-CoT stops reasoning when the answer entropy drops below a threshold. That only makes sense if the entropy means something. A sharpened post-trained model could look "done" too early. I haven't tested how much that matters, and I should.
My concept-aware post-training work is a cousin of the same problem: headline accuracy improving while rare skills quietly disappear. In both cases, a single aggregate number hides what the model is losing.
What I'm still chewing on
- If one temperature fixes most of it, is the drift mostly a global rescaling? Or are there pockets, by topic or difficulty, that temperature can't reach? Kadavath et al. hint that harder RL might do exactly that.
- Is verbalised confidence a different signal from token probability, or the same one dressed up for the reward model?
- For agents, which confidence should a monitor or an early-stopping rule actually trust?
- And the one I can't shake: should post-training pipelines report ECE next to accuracy by default?
If you've measured this on your own fine-tunes, I'd love to compare notes.