SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2508.18847 · NeurIPS · 2025

ConfTuner: Training Large Language Models to Express Their Confidence Verbally

Bryan Hooi, Miao Xiong, Jiaying Wu, Yibo Li

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2508.18847.json · badge: /api/ran/2508.18847.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
liushiliushi/ConfTuner canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
FunctionStatusWhere it lives
extract_answer Ran
ran; our contract draft was wrong, not the code
liushiliushi/ConfTuner/src/llama_recipes/datasets2/gsm8k_dataset.py
pointer only (licence: NONE) · get_code("d95f990735eba145")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liushiliushi/ConfTuner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_number Ran
ran, honoured the contract we drafted
liushiliushi/ConfTuner/src/llama_recipes/datasets2/gsm8k_dataset.py
pointer only (licence: NONE) · get_code("c7a43e26bfef4042")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liushiliushi/ConfTuner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_answer Ran
ran; our contract draft was wrong, not the code
liushiliushi/ConfTuner/src/llama_recipes/datasets2/hotpot_qa.py
pointer only (licence: NONE); the stored copy get_code serves, from shmsw25/GraphRetriever, is pointer only (licence: NONE) · get_code("dae7ab386661a4f4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liushiliushi/ConfTuner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_jsonl Ran
ran; our contract draft was wrong, not the code
liushiliushi/ConfTuner/src/llama_recipes/datasets2/gsm8k_dataset.py
pointer only (licence: NONE) · get_code("951d55a786237f31")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liushiliushi/ConfTuner when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 2 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
normalize_answer 133 other papers
107 dated earlier, 19 later, 6 same year, order not determinable, 1 undated · 1 only as an assembly brick
1508.06615 (2015-08)
Character-Aware Neural Language Models
1606.05250 (2016-06)
SQuAD: 100,000+ Questions for Machine Comprehension of Text
1608.07905 (2016-08)
Machine Comprehension Using Match-LSTM and Answer Pointer
and 130 more not named here
extract_answer 5 other papers
5 dated earlier
2309.06553 (2023-09)
Query-Dependent Prompt Evaluation and Optimization with Offline Inverse RL
2310.06147 (2023-10)
Reinforcement Learning in the Era of LLMs: What is Essential? What is needed? An RL Perspective on RLHF, Prompting, and Beyond
2310.07177 (2023-10)
Online Speculative Decoding
and 2 more not named here
read_jsonl 5 other papers
4 dated earlier, 1 later
2309.06553 (2023-09)
Query-Dependent Prompt Evaluation and Optimization with Offline Inverse RL
2310.06147 (2023-10)
Reinforcement Learning in the Era of LLMs: What is Essential? What is needed? An RL Perspective on RLHF, Prompting, and Beyond
2310.07177 (2023-10)
Online Speculative Decoding
and 2 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large Language Models (LLMs) are increasingly deployed in high-stakes domains such as science, law, and healthcare, where accurate expressions of uncertainty are essential for reliability and trust. However, current LLMs are often observed to generate incorrect answers with high confidence-a phenomenon known as "overconfidence". Recent efforts have focused on calibrating LLMs' verbalized confidence: i.e., their expressions of confidence in text form, such as "I am 80% confident that...". Existing approaches either rely on prompt engineering or fine-tuning with heuristically generated uncertainty estimates, both of which have limited effectiveness and generalizability. Motivated by the notion of proper scoring rules for calibration in classical machine learning models, we introduce ConfTuner, a simple and efficient fine-tuning method that introduces minimal overhead and does not require ground-truth confidence scores or proxy confidence estimates. ConfTuner relies on a new loss function, tokenized Brier score, which we theoretically prove to be a proper scoring rule, intuitively meaning that it "correctly incentivizes the model to report its true probability of being correct". ConfTuner improves calibration across diverse reasoning tasks and generalizes to black-box models such as GPT-4o. Our results further show that better-calibrated confidence enables downstream gains in self-correction and model cascade, advancing the development of trustworthy LLM systems. The code is available at https://github.com/liushiliushi/ConfTuner. Recent efforts [30,32,22,33,29] have focused on improving the elicitation of verbalized confidence from LLMs. Prompt-based methods rely on carefully crafted instructions [30,32], but have shown limited effects in improving calibration [30,32]. Alternatively, training-based approaches fine-tune LLMs on synthetic datasets annotated with uncertainty estimates. Due to the lack of ground truth confidence scores, current methods typically rely on heuristically generated proxy scores as targets, 39th Conference on Neural Information Processing Systems (NeurIPS 2025).

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2508.18847")
get_code_for_paper("2508.18847")
have("2508.18847")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2508.18847.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2508.18847.svg)](https://syntology.ai/paper/2508.18847)

Connect an agent — have() is free.