NeurIPS 2026QuestionsPapersAreasAboutMarkdown

A Semantic-Sampling Framework for Evaluating Calibration in Open-Ended Question Answering

Zhanliang Wang, Jiancong Xiao, Ruochen Jin, Shu Yang, Bojian Hou, Li Shen

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Agents, Evals & Benchmarks › LLM Uncertainty Quantification · Type: new method · Keywords: calibration evaluation, open-ended QA, semantic sampling, confidence estimation, language model assessment

Areas: Evaluation & Benchmarks › Model Capability Diagnostics › Language Model Evaluation; Evaluation Methodology & Auditing › Agent and Reward Auditing › Reward Evaluation

Summary

Sem-ECE is a semantic-sampling framework that evaluates calibration in open-ended QA by sampling answers from the model, grouping them into semantic classes, and using the resulting frequencies as confidence estimates.

Explained to a 5-year-old

People want computers to answer questions and tell how sure they are. Right now, the ways we check this aren't good for questions where the answer can be anything. So we made a new way that asks the computer many times for each question. We collect all those answers and put similar answers together into groups. Then we look at how many answers are in each group to guess the computer's confidence. This helps us see if the computer is truly honest about what it knows.

Explained to a 5-year-old, longer

When we ask a computer a question, it often says how sure it is about its answer. But sometimes the computer says it's super sure even when it might be wrong. This is a problem because we want to trust computers in important places like doctors or lawyers. The usual ways to check if a computer is honest about its answers don't work well for questions where the answer can be anything. So the researchers thought of a new idea: they ask the computer many times for the same question. They collect all those answers and put similar answers together into groups. Then they look at how many answers are in each group to guess how confident the computer is. They also made two different ways to do this checking, one that uses the same answers and another that uses new answers. Both ways have been proven to be fair when you ask a lot of questions. The researchers found that the two ways agree on easy questions but differ on hard ones. This difference tells us how difficult the question is. In the end, their new method works better than the old ways and helps us know if computers are truly honest.

For a technical reader

The paper addresses the need to measure how well a language model’s confidence matches its actual correctness when answering open-ended questions. It proposes sampling multiple answers for each question, clustering them by meaning, and using the frequency of each cluster as a proxy for confidence. Two variants are evaluated: one that re-uses the same samples for consistency and another that holds out a separate set to separate answer generation from confidence estimation. Both variants are shown to be statistically unbiased, and their difference can indicate how hard a question is. Experiments on several QA benchmarks demonstrate that this method outperforms existing confidence-assessment techniques and works even when the model’s internal probabilities are not available.

Problem

Evaluating calibration of large language models in open-ended question answering is challenging because existing methods rely on restricted output formats, self-reported confidence, or task-specific extraction rules without a clear finite-sample target.

Method

The approach samples multiple answers for each question, clusters them into semantic classes, and uses class frequencies as confidence estimates. Two estimators are considered: a same-sample self-consistency score and a held-out variant that separates answer selection from confidence evaluation. Both are proven asymptotically unbiased.

Results

The experiments confirm the theoretical properties and demonstrate that the approach outperforms verbalized confidence and existing sampling-based methods, while complementing logit-based evaluation when internal probabilities are unavailable.

Contributions

The paper introduces a semantic-sampling framework for calibration evaluation in open-ended QA, proposes two asymptotically unbiased estimators, and shows their diagnostic value for question difficulty, along with empirical validation on multiple LLMs.

Practical relevance

The framework enables reliable calibration assessment for LLMs used in critical applications like medicine and law, supporting safer deployment.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction