Papers
Topics
Authors
Recent
Search
2000 character limit reached

FineCE: Fine-Grained Confidence Estimation for LLMs

Updated 8 July 2026
  • FineCE is a confidence estimation method that produces fine-grained, continuous scores throughout the text generation process to mitigate overconfidence in LLMs.
  • It leverages a supervised data construction pipeline combined with instruction fine-tuning and Backward Confidence Integration to dynamically refine prediction confidence.
  • Empirical evaluations show FineCE improves AUROC by up to 15% and reduces Expected Calibration Error by up to 60% compared to baseline approaches.

Searching arXiv for the FineCE paper and closely related confidence-estimation work. FineCE is a confidence estimation method for LLMs that is designed to provide fine-grained, continuous confidence estimates throughout the generation process rather than only a coarse score at the end of an answer. It is introduced to address the observation that LLMs frequently exhibit overconfidence, assigning high confidence scores to incorrect predictions, and it combines a supervised training-data construction pipeline, instruction-fine-tuning for scalar confidence prediction, a Backward Confidence Integration (BCI) inference strategy, and three position-selection strategies for deciding when confidence should be estimated during generation (Han et al., 16 Aug 2025).

1. Problem setting and conceptual scope

FineCE is motivated by a calibration problem specific to autoregressive generation: existing approaches are described as suffering from coarse-grained scoring mechanisms that fail to provide fine-grained, continuous confidence estimates throughout the generation process. The method therefore targets confidence for arbitrary text sequences ss, where ss may be only the question xx or xx plus a partial answer, and it seeks to approximate the probability that the gold answer Yˉ\bar{Y} is correct under the LLM conditioned on that sequence (Han et al., 16 Aug 2025).

In this formulation, the central quantity is the confidence label associated with a sequence. FineCE constructs supervised pairs ⟨s,Confs⟩\langle s, Conf_s\rangle intended to faithfully approximate the true probability p(y=Yˉ∣s)p(y=\bar{Y}\mid s) under the LLM MM. This places the method between outcome-oriented confidence estimation, which focuses on end-of-answer correctness, and process-oriented confidence estimation, which evaluates confidence at intermediate points such as early or penultimate segments of a generated response. A common misconception is that confidence estimation for LLMs is necessarily an end-of-answer problem; FineCE is explicitly framed against that assumption by estimating confidence during generation as well as at completion (Han et al., 16 Aug 2025).

The paper’s design suggests a distinction between two calibration targets. One target is the confidence of a completed output, where correctness can be judged directly. The other is the confidence of an incomplete generation prefix, where the relevant object is the probability that continuation from the current sequence will ultimately yield the gold answer. This suggests that FineCE treats confidence as a dynamic property of the generation trajectory rather than a static post hoc attribute.

2. Supervised data construction for text–confidence pairs

The first component of FineCE is a training-data construction pipeline for building a large supervised dataset of text-confidence pairs ⟨s,Confs⟩\langle s, Conf_s\rangle. For any input sequence ss, FineCE draws ss0 independent samples at high temperature from the model:

ss1

If ss2 is the gold answer, the empirical confidence label is defined as

ss3

By the law of large numbers, as ss4, ss5 (Han et al., 16 Aug 2025).

The method is not restricted to question-only inputs. FineCE also labels prefixes of the model’s answer through a progressive partial-answer pipeline. A naive procedure would truncate every sample and then re-sample all ss6 continuations at each truncation depth, which is stated to cost ss7. FineCE instead proceeds by first sampling ss8 complete answers ss9 for a question xx0, truncating each to its first fragment xx1, clustering the resulting fragments into xx2 semantic clusters, and selecting the centroid fragment of each cluster. For each centroid xx3, it forms xx4, samples xx5 completions, computes xx6 with the same Monte Carlo formula, truncates those completions again, reclusters, and repeats for xx7 truncations. The total number of inferences is thereby reduced from xx8 to roughly xx9 (Han et al., 16 Aug 2025).

Completed answers receive explicit terminal labels. Each sampled full answer xx0 is assigned

xx1

so a completed answer is labeled xx2 if exactly correct and xx3 otherwise. This creates a dataset that contains question-only inputs, partial-answer states, and full-answer states within a single supervised framework (Han et al., 16 Aug 2025).

The paper also provides Algorithm 1 in plain-text form. For each question xx4 in a question set xx5, the algorithm generates xx6 full answers, computes xx7, truncates answers to fragments, clusters those fragments into xx8 clusters, iteratively samples and labels centroid-conditioned continuations for truncation steps xx9, and finally labels each sampled full answer as correct or incorrect. The output is the aggregate dataset Yˉ\bar{Y}0 of sequence-confidence pairs (Han et al., 16 Aug 2025).

3. Confidence prediction model and training objective

FineCE uses instruction-fine-tuning (IFT) of the base LLM so that, given any text sequence Yˉ\bar{Y}1, the model emits a continuous confidence estimate. The input representation is specified as:

<Instruction> Given sequence: ‹s›. What is your confidence p(correct) in [0,1]? Answer:

The fine-tuned LLM is then trained to generate a numeric string such as 0.73 (Han et al., 16 Aug 2025).

The supervised dataset is Yˉ\bar{Y}2 from the data-construction stage. Training maximizes the likelihood of the correct tokenization of the target confidence string under a standard cross-entropy loss over output tokens. The paper notes an equivalent scalar interpretation: if Yˉ\bar{Y}3 is the scalar parsed from the model’s output, one may also view the objective as minimizing squared error,

Yˉ\bar{Y}4

In practice, FineCE uses token-level cross-entropy with teacher forcing on the 0.xxx tokens (Han et al., 16 Aug 2025).

An alternative value-head variant is described but not used in the final FineCE system. That variant adds a small regression head on top of the model’s last hidden state and trains it with a multi-class or regression loss to predict Yˉ\bar{Y}5. Appendix comparisons indicate that IFT is preferred. This distinction is methodologically important: the final system treats confidence prediction as an instruction-following generation task rather than as a separate scalar head attached to the model (Han et al., 16 Aug 2025).

This training choice suggests that FineCE aligns confidence estimation with the model’s native autoregressive interface. A plausible implication is that the confidence estimator can be deployed with the same generation mechanisms used for ordinary instruction following, although implementation details beyond the provided summary are not specified.

4. Backward Confidence Integration during inference

FineCE augments local confidence prediction with a Backward Confidence Integration strategy. BCI is an inference-time procedure rather than a retraining method. When confidence estimates are produced at a sequence of calibration positions Yˉ\bar{Y}6, the estimate at position Yˉ\bar{Y}7 can be refined by looking Yˉ\bar{Y}8 steps ahead. The relevant quantities are the initial estimate Yˉ\bar{Y}9, the integration depth ⟨s,Confs⟩\langle s, Conf_s\rangle0, the integration width ⟨s,Confs⟩\langle s, Conf_s\rangle1 corresponding to the number of future sampling paths, and a trade-off coefficient ⟨s,Confs⟩\langle s, Conf_s\rangle2 (Han et al., 16 Aug 2025).

For each branch ⟨s,Confs⟩\langle s, Conf_s\rangle3, generation continues from ⟨s,Confs⟩\langle s, Conf_s\rangle4 to obtain the next calibration position ⟨s,Confs⟩\langle s, Conf_s\rangle5, after which the confidence is recursively adjusted. The update rule is

⟨s,Confs⟩\langle s, Conf_s\rangle6

with base recursion at depth ⟨s,Confs⟩\langle s, Conf_s\rangle7 given by

⟨s,Confs⟩\langle s, Conf_s\rangle8

The stated intuition is that if the model’s future path shows low confidence, the current estimate should be down-weighted (Han et al., 16 Aug 2025).

Empirically, BCI is reported to reduce Expected Calibration Error by up to approximately ⟨s,Confs⟩\langle s, Conf_s\rangle9 with p(y=Yˉ∣s)p(y=\bar{Y}\mid s)0 and p(y=Yˉ∣s)p(y=\bar{Y}\mid s)1, and more generally by up to p(y=Yˉ∣s)p(y=\bar{Y}\mid s)2 when p(y=Yˉ∣s)p(y=\bar{Y}\mid s)3 and p(y=Yˉ∣s)p(y=\bar{Y}\mid s)4. This is significant because it indicates that confidence at a current prefix can be improved by conditioning on plausible downstream continuations rather than relying only on the local prefix representation (Han et al., 16 Aug 2025).

A possible misunderstanding is that BCI estimates a different target than the base FineCE model. The formulation given in the paper instead presents BCI as a refinement of the same confidence quantity through recursive integration of subsequent confidence estimates.

5. Calibration positions and query scheduling

Because confidence estimation after every token would be inefficient, FineCE introduces three strategies for identifying optimal positions at which confidence should be estimated during generation. These strategies are paragraph-end calibration, periodic fixed-token calibration, and entropy-based calibration (Han et al., 16 Aug 2025).

Paragraph-end calibration triggers confidence estimation only when the LLM emits a paragraph-break token such as \n\n. The motivation given is that each estimate then aligns with a semantically coherent block. Periodic calibration instead requests a confidence estimate after every p(y=Yˉ∣s)p(y=\bar{Y}\mid s)5 tokens, with examples given as p(y=Yˉ∣s)p(y=\bar{Y}\mid s)6 or p(y=Yˉ∣s)p(y=\bar{Y}\mid s)7, yielding a deterministic and easily implemented schedule. Entropy-based calibration uses the model’s next-token distribution p(y=Yˉ∣s)p(y=\bar{Y}\mid s)8 at step p(y=Yˉ∣s)p(y=\bar{Y}\mid s)9 and its entropy

MM0

If MM1, with an example threshold MM2, a confidence query is triggered. This strategy reacts when the model is uncertain under its own token distribution (Han et al., 16 Aug 2025).

The ablation results identify different trade-offs. Paragraph-end calibration gave the best ECE/token-ratio tradeoffs, whereas entropy-based calibration was the most lightweight at approximately MM3 of tokens. Representative values are reported for Llama2-13B. On GSM8K, paragraph-end achieved MM4, MM5, and a token ratio of MM6; entropy achieved MM7, MM8, and MM9; fixed-token achieved ⟨s,Confs⟩\langle s, Conf_s\rangle0, ⟨s,Confs⟩\langle s, Conf_s\rangle1, and ⟨s,Confs⟩\langle s, Conf_s\rangle2. On CSQA, paragraph-end achieved ⟨s,Confs⟩\langle s, Conf_s\rangle3, ⟨s,Confs⟩\langle s, Conf_s\rangle4, and ⟨s,Confs⟩\langle s, Conf_s\rangle5; entropy achieved ⟨s,Confs⟩\langle s, Conf_s\rangle6, ⟨s,Confs⟩\langle s, Conf_s\rangle7, and ⟨s,Confs⟩\langle s, Conf_s\rangle8; fixed-token achieved ⟨s,Confs⟩\langle s, Conf_s\rangle9, ss0, and ss1 (Han et al., 16 Aug 2025).

These results indicate that FineCE is not tied to a single calibration schedule. Instead, the method separates the problem of estimating confidence from the problem of deciding when confidence should be queried, allowing a practitioner to favor semantic coherence, deterministic spacing, or minimal overhead depending on the deployment constraint.

6. Experimental evaluation, benchmarks, and implications

FineCE is evaluated on GSM8K, CommonsenseQA (CSQA), TriviaQA, AIME24, MMLU, and NQ-Open. The reported metrics are Expected Calibration Error (ECE), AUROC for predicting correct versus incorrect, and ACC for final answer accuracy, with ACC included to show no drop in task performance (Han et al., 16 Aug 2025).

For process-oriented confidence estimation with Llama2-13B, the paper reports that baselines Multi-Step and LECO achieve AUROC of approximately ss2–ss3 and ECE of approximately ss4–ss5, whereas FineCE achieves AUROC of approximately ss6 and ECE of approximately ss7. The improvement holds at both the first paragraph position ss8 and the penultimate position ss9. In the representative GSM8K table, Multi-Step records ss00 at ss01, ss02 at ss03, and an average of ss04; LECO records ss05, ss06, and ss07; FineCE records ss08, ss09, and ss10, where each pair is ss11 (Han et al., 16 Aug 2025).

For question- or outcome-oriented evaluation with Llama3.1-8B on GSM8K, the best baseline P(IK) records ss12 and ss13, while FineCE records ss14 and ss15. The other listed baselines are First-Prob with ss16, SuC with ss17, Verb with ss18, and SE with ss19. Across six datasets and three models, FineCE yields ss20–ss21 absolute AUROC gains and ss22–ss23 relative ECE reductions (Han et al., 16 Aug 2025).

The paper also reports a downstream early-stop setting. With a confidence threshold ss24, FineCE filters out low-confidence outputs and raises end-to-end answer accuracy by ss25–ss26. Together with the statement that the method improves calibration without harming final answer quality, this positions FineCE as a practical mechanism for selective prediction and abstention in LLM pipelines (Han et al., 16 Aug 2025).

The broader significance of these results lies in the coupling of supervised fine-grained training, inference-time backward integration, and selective query heuristics. The reported evidence indicates that the method improves both process-oriented and end-of-answer calibration, and that these gains translate into operational benefits when confidence is used to accept, reject, or defer generated outputs.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to FineCE.