Skip to content
AI News HubLIVE
Original source2 min read

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

Summary

This paper introduces Sem-ECE, a framework for evaluating calibration of large language models in open-ended question answering. It samples answers, groups them into semantic classes, and uses frequencies as confidence. The framework outperforms existing methods and provides diagnostics for question difficulty.

SourcearXiv Computational LinguisticsAuthor: Zhanliang Wang, Jiancong Xiao, Ruochen Jin, Shu Yang, Bojian Hou, Li Shen
A Semantic-Sampling Framework for Evaluating Calibration in Open-Ended Question Answering
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

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

[Submitted on 8 May 2026]

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

View a PDF of the paper titled A Semantic-Sampling Framework for Evaluating Calibration in Open-Ended Question Answering, by Zhanliang Wang and 5 other authors

View PDF HTML (experimental)

Abstract:Calibration measures whether a model's predicted confidence aligns with its empirical accuracy, and is central to the reliable deployment of large language models (LLMs) in high-stakes domains such as medicine and law. While much recent work focuses on improving LLM calibration, the equally important question of how to evaluate it in realistic settings remains underdeveloped. Open-ended question answering (QA), the most common deployment setting for modern LLMs, is where existing evaluation methods fall short: logit-based metrics need restricted output formats and internal probabilities; verbalized confidence is self-reported and often overconfident; and sampling-based methods rely on task-specific extraction rules without a clear finite-sample target. We introduce Sem-ECE (Semantic-Sampling Expected Calibration Error), a calibration evaluation framework for open-ended QA that samples answers from the model, groups them into semantic classes, and uses the resulting frequencies as confidence. We study two estimators within this framework: Sem$_1$-ECE, the same-sample self-consistency score, and Sem$_2$-ECE, a held-out variant that separates answer selection from confidence evaluation. We prove both are asymptotically unbiased, and further show that they agree on easy questions but diverge on hard ones with Sem$_2$ achieving strictly smaller calibration error, so their gap also serves as a diagnostic for question difficulty. Experiments on three open-ended QA benchmarks across five leading commercial LLMs match our theoretical predictions and show that Sem-ECE outperforms verbalized confidence and existing sampling-based methods, while complementing logit-based evaluation when internal probabilities are unavailable.

Comments: Preprint

Subjects:

Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (stat.ML)

Cite as: arXiv:2605.08432 [cs.CL]

(or arXiv:2605.08432v1 [cs.CL] for this version)

https://doi.org/10.48550/arXiv.2605.08432

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Zhanliang Wang [view email] [v1] Fri, 8 May 2026 19:53:49 UTC (470 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled A Semantic-Sampling Framework for Evaluating Calibration in Open-Ended Question Answering, by Zhanliang Wang and 5 other authors

View PDF

HTML (experimental)

TeX Source

view license

Current browse context:

cs.CL

new | recent | 2026-05

Change to browse by:

cs cs.AI stat stat.ML

References & Citations

NASA ADS

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • Sem-ECE evaluates calibration via semantic sampling and clustering, without requiring restricted output formats or internal probabilities.
  • Two estimators: Sem1-ECE (same-sample self-consistency) and Sem2-ECE (held-out variant separating answer selection and confidence evaluation).
  • Both are asymptotically unbiased; Sem2-ECE yields smaller error on hard questions, and their gap diagnoses difficulty.
  • Experiments on five commercial LLMs confirm effectiveness, complementing logit-based methods.

Highlights and analysis are generated automatically and may contain errors. Check the original source.