When Smaller Models Lie About Confidence
Confidence after compression
I’ve been thinking about the kind of error that does not look like an error.
A model can choose the right label and still be wrong about how sure it is. That sounds harmless until the prediction becomes part of a workflow. In finance, healthcare, moderation, triage — any setting where a human uses model confidence to decide what to inspect next — bad confidence is not metadata. It is part of the decision.
My IEEE MLSP 2026 work, Quantization-Robust Fuzzy Calibration for Edge-Deployed LLMs, started from that unease. Edge deployment makes the problem sharper. INT4 is attractive because it cuts memory hard, but compression does not only affect weights. It can distort the probability surface. The model may still answer, but its confidence stops meaning what it used to mean.
That is the quiet failure mode I wanted to study.
The cost of making models small
We talk a lot about accuracy because it is easy to see. Calibration is harder to feel.
If a model says it is 80% confident, over many similar predictions it should be right about 80% of the time. Expected Calibration Error, or ECE, measures how far the model is from that behavior. Lower is better. A well-calibrated model does not just make predictions. It gives probabilities you can use.
INT4 forces continuous values into a very small number of buckets. That saves memory, but introduces small distortions everywhere — distortions that can move confidence boundaries in ways standard calibration methods were not trained to handle.
The question became: can a calibrator learn to survive the compression?
Fuzzy boundaries instead of one global fix
Temperature scaling is elegant, but blunt. It learns one global correction. Confidence errors are rarely uniform — a model may be too confident at the top end and underconfident in the middle. One knob cannot always fix that shape.
So I used fuzzy-gated Dirichlet calibration.
The fuzzy part divides confidence into smooth regions. Not hard bins. Smooth membership functions. A prediction can partially belong to multiple regions, which gives the calibrator room to move without brittle thresholds. The Dirichlet part performs the probability correction inside those regions, learning region-specific behavior instead of forcing one global map.
Then I added simulated INT4 noise during training. That is the quantization-aware piece. The calibrator sees probability perturbations while it learns, so the final mapping is less fragile when the deployed model is compressed.
Testing across architectures
I did not want this to be a BERT-only trick. Edge deployment is messy now. Some models use encoder classification heads. Some use decoder-only prompting. Some newer architectures expose probability behavior through different paths entirely.
So I tested four models on financial sentiment classification:
| Model | Architecture | Accuracy | Calibrated ECE | INT4 Memory |
|---|---|---|---|---|
| FinBERT | Encoder | 60.08% | 0.033 | 132 MB |
| FinancialBERT | Encoder | 54.52% | 0.073 | 133 MB |
| Gemma 3 | Decoder-only | 55.90% | 0.046 | 909 MB |
| Qwen 3.5-0.8B | Gated Delta Network | 37.92% | 0.158 | 723 MB |
Across the models, fuzzy calibration reduced ECE by roughly 58.5-88.7%. The calibrator memory was basically noise in the budget: about 0.0002 MB.
FinBERT ended up being the practical winner — best accuracy, best calibrated ECE, smallest footprint. The edge story is not just “can this run?” It is “can this run and still tell the truth about uncertainty?”
The result that annoyed the obvious story
The most interesting result was not the decoder model. It was FinBERT vs FinancialBERT.
FinancialBERT is sentiment-specialized. On paper, that should win. But FinBERT, trained more broadly on financial language, outperformed it on every metric that matters: 60.08% vs 54.52% accuracy, 0.033 vs 0.073 calibrated ECE, at nearly identical memory (132 MB vs 133 MB). Narrow specialization is not always the better prior. Sometimes broad domain exposure gives the model a healthier representation, especially when the task is noisy and compressed deployment adds another layer of distortion.
I would not overclaim this yet. Single runs, 5,000 samples, one domain. It needs multi-domain validation. But it is a thread worth pulling.
Accuracy is not enough
What I like about this work is that it moves past leaderboard thinking.
Accuracy answers one question: did the model choose the right class? Calibration answers another: can I trust the probability attached to that choice?
On edge devices, we need both. A tiny model that is overconfident is not automatically useful. A compressed model with calibrated uncertainty is much more interesting — it can participate in a larger system, say “I think this is positive, but I am not very sure,” and that sentence changes how a human or another model should respond.
That is the direction I care about: models that are not just smaller, but more honest under constraint.