Research note /
Why calibrated LLM confidence can hide unreliable answers
See how opposing subgroup errors cancel in an LLM reliability score, then build a small JavaScript audit before using confidence to accept answers.

An LLM reliability score can match the overall success rate and still overestimate correctness for a recognizable group of answers. The practical fix starts with a better audit: compare predicted probabilities with observed correctness inside relevant groups, as well as across the whole dataset. A reassuring average can hide two errors pointing in opposite directions.
What does an 80% score mean?
Here, the score means an estimated probability that an answer is correct. Among many answers scored around 80%, roughly 80% should satisfy the chosen correctness rule. That agreement is calibration; it cannot certify a particular answer. The scikit-learn calibration guide gives the same frequency-based interpretation.
Think of a weather forecast covering two neighborhoods. An accurate city average can conceal consistently optimistic forecasts in one neighborhood and pessimistic forecasts in the other. Answers can behave the same way. A recent preprint on reasoning-aware multicalibration motivates looking beyond topic averages.
The score also needs a clear origin. We are auditing a probability assigned by a scoring procedure to a prompt and answer. An answer simply saying “I am confident” is a different signal; confident wording does not establish a calibrated probability.
Two tidy averages, one hidden problem
Consider a deliberately invented dataset. Every answer receives a score of 80%. There are two topics, software documentation and history, with 100 answers each.
Within each topic, 50 answers have traces that leave competing alternatives unresolved; 30 of those answers are correct. The other 50 answers are all correct. These labels and outcomes are constructed for the example; they are not observations about a real model.
| Group | Answers | Correct | Mean score | Correctness rate |
|---|---|---|---|---|
| Software documentation | 100 | 80 | 80% | 80% |
| History | 100 | 80 | 80% | 80% |
| Unresolved alternatives, both topics | 100 | 60 | 80% | 60% |
| Other traces, both topics | 100 | 100 | 80% | 100% |
| All answers | 200 | 160 | 80% | 80% |
Both topic averages look perfect. Yet the score overestimates correctness by 20 percentage points for unresolved alternatives and underestimates it by 20 points for the complementary group. Equal group sizes make those errors cancel.
If an application automatically accepts scores of at least 80%, it accepts every answer here, including a subgroup with only 60% correctness. The pooled statistic accurately describes the constructed collection while hiding a useful distinction within it.
Architecture: fit corrections, then audit separately
The paper adds groups derived from observable reasoning traces alongside topic groups. It fits corrections to a reliability predictor using labeled examples; groups can overlap. The correction changes the score, not the generated answer. See Section 4.
In the simplified workflow shown here, calibration records supply those inputs to the correction fitter. The fitted predictor is then frozen and applied to separate evaluation records. Their outcomes allow an audit of pooled and subgroup reliability.
Trace features describe visible text; they do not certify internal reasoning. This walkthrough does not treat an answer’s tone as a validated replacement for the paper’s trace groups. See Appendix C.4.
A dependency-free cancellation audit
This JavaScript constructs the table above and reports the signed gap as mean score minus correctness rate. Positive gaps mean overestimation. It needs no packages, model, GPU or network access. Download audit.mjs and run node audit.mjs. I ran it with Node v24.21.0; all four assertions passed.
// Synthetic arithmetic example; no model inference or fitted correction.
import assert from 'node:assert/strict';
const rows = [];
for (const topic of ['software documentation', 'history']) {
for (const unresolved of [true, false]) {
const correctCount = unresolved ? 30 : 50;
for (let i = 0; i < 50; i++) {
rows.push({ topic, unresolved, p: 0.8, y: Number(i < correctCount) });
}
}
}
function summarize(group, records) {
const n = records.length;
const correct = records.reduce((sum, r) => sum + r.y, 0);
const meanScore = records.reduce((sum, r) => sum + r.p, 0) / n;
const rate = correct / n;
return {
group, n, correct,
meanScore: meanScore.toFixed(2),
correctness: rate.toFixed(2),
gapPercentagePoints: (Math.abs(meanScore - rate) < 1e-12 ? 0 : 100 * (meanScore - rate)).toFixed(1)
};
}
console.table([
summarize('all', rows),
...['software documentation', 'history'].map(topic =>
summarize(topic, rows.filter(r => r.topic === topic))),
summarize('unresolved alternatives', rows.filter(r => r.unresolved)),
summarize('other traces', rows.filter(r => !r.unresolved))
]);
assert.equal(rows.length, 200);
assert.equal(rows.reduce((sum, row) => sum + row.y, 0), 160);
assert.equal(summarize("unresolved", rows.filter(row => row.unresolved)).gapPercentagePoints, "20.0");
assert.equal(summarize("other", rows.filter(row => !row.unresolved)).gapPercentagePoints, "-20.0");
console.log("Four assertions passed; no model inference was run.");
The run reports zero gaps overall and within each topic, then +20 and −20 percentage points for the two trace groups. This demonstrates cancellation only. It neither implements multicalibration nor shows that a correction will generalize.
Make the audit useful on real answers
For a real audit, define correctness and candidate groups before the final evaluation. Keep examples used to discover groups, fit corrections and evaluate the frozen predictor separate. The leakage-safe evaluation checklist provides a useful companion for planning those boundaries.
Build a table containing score bin, topic, reasoning or style label, example count, correct count, mean probability, correctness rate and signed gap. Inspect pooled bins, topic bins and intersections with their complementary groups. Use the actual mean probability within each cell: a bin midpoint can misrepresent the scores it contains.
Compare the initial scorer, overall-only calibration, topic-only calibration and joint calibration on the same held-out examples. Report uncertainty intervals and flag sparse cells. A large gap based on a handful of examples is a reason to collect evidence before changing an acceptance rule.
Better probabilities still need boundaries
Brier score averages squared probability error, (p − y)², where correctness is 1 or 0. It is useful alongside the group audit, but a lower Brier score alone does not establish better calibration: it also reflects discrimination and uncertainty. The calibration guide explains that distinction. Our toy example reports subgroup gaps rather than claiming a fitted improvement.
More groups do not guarantee improvement, and representative calibration labels remain necessary. Deployment changes can invalidate previous estimates; see the paper’s limitations.
Use subgroup evidence when confidence controls warnings, review or automatic acceptance. Avoid turning a cue such as hedging into a universal error detector. If reasoning traces are unavailable, evaluate observable alternatives explicitly rather than assuming equivalent behavior. After changing the model, prompt or topic mix, repeat the audit before trusting the same threshold.
Prepared with AI assistance. Sources and a worked example are provided so you can check the reasoning.
