面向开放式问答校准评估的语义采样框架 A Semantic-Sampling Framework for Evaluating Calibration in Open-Ended Question Answering 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-05-08
👁️ 预览文献
💡 AI 中文简介
这篇论文研究如何评估大语言模型在开放式问答中的校准度(即模型自信程度是否与真实正确率一致)。作者提出Sem-ECE框架:让模型多次采样回答,按语义归类,用各类频率当作置信度,并设计两种估计器Sem1-ECE和Sem2-ECE。理论上证明二者渐近无偏,且难题上Sem2误差更小,其差距还能诊断题目难度。在三个开放式问答基准和五个主流商业大模型上实验,效果优于口头置信度和已有采样方法。
领域自然语言处理 / 大语言模型评估与校准
适合谁读需要一定专业背景(了解LLM评估、校准概念与统计估计)
核心贡献1. 提出Sem-ECE语义采样校准评估框架,将采样答案按语义聚类并用频率作为置信度,适用于开放式问答;2. 提出Sem1-ECE与Sem2-ECE两种估计器,证明其渐近无偏,并揭示二者差距可作为题目难度诊断信号。
关键数据在3个开放式问答基准、5个领先商业LLM上验证;Sem-ECE优于口头置信度与现有采样方法;Sem2-ECE校准误差严格小于Sem1-ECE(难题上)。
推荐理由如果你关心大模型到底'知不知道自己不知道',这篇给出了一个不用内部概率、适用于开放式问答的实用校准评估方案,还附带了难度诊断彩蛋。
关键词["校准评估", "开放式问答", "大语言模型", "语义采样", "期望校准误差", "自一致性"]

原文摘要

查看英文原文摘要

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.