你确定你的大语言模型(LLM)是确定的?修复与审计置信度
Are You Sure Your LLM Is Sure? Repairing and Auditing Confidence
AI总结:
本研究针对LLM置信度标量校准的局限,提出RADAR框架,含PAIC修复方法、配对采用程序与提示聚类核检验,实验显示其能提升置信度相关决策的有效性。
摘要:
置信度分数决定了大语言模型(LLM)的答案是被接受、审查还是重新生成,但标量重新校准只能纠正通过分数本身可见的错误。我们引入RADAR(Repair, Adopt, and Diagnose After Recalibration,即重新校准后的修复、采用与审计),这是一个将置信度修复与决定是否部署修复以及审计剩余错误分开的可靠性框架。在平方损失下,我们将预测风险分解为结果噪声、分数隐藏的信息和映射误差;将修复限制为保序映射还会引入池化缺口。对于修复,我们提出探针锚定等渗校准(PAIC),它从未标记目标提示的正确性探针预测中学习单调映射。PAIC的超额风险取决于探针的分数条件偏差和拟合误差,而非其整体准确性。对于采用,我们推导了具有假改进有限样本控制的配对程序。对于审计,我们开发了提示聚类核检验,该检验在考虑同一提示的相关答案的同时检测特征对齐的残留错误。在多个LLM检查点、基准和分布偏移中,更丰富的预测因子可以改进置信度估计,但将其信息投影回标量分数会损失这些增益,且更低的预测风险不一定能产生更好的审查决策。在47400次重放的原始分数分配中,配对投注在42.95%的分配中采用了具有更低保留测试风险的候选,而单侧经验伯恩斯坦方法的这一比例为15.09%。因此,RADAR提供了一个原则性工作流程,用于修复标量分数可表达的内容、仅在有证据支持时采用修复,以及诊断重新校准留下的系统性错误。代码和数据将在接受后发布。
英文摘要:
Confidence scores determine whether an LLM answer is accepted, reviewed, or regenerated, yet scalar recalibration can only correct errors visible through the score itself. We introduce RADAR (Repair, Adopt, and Diagnose After Recalibration), a reliability framework that separates confidence repair from deciding whether to deploy the repair and auditing the errors that remain. Under squared loss, we decompose prediction risk into outcome noise, information hidden by the score, and mapping error; restricting repair to order-preserving maps additionally introduces a pooling gap. For repair, we propose Probe-Anchored Isotonic Calibration (PAIC), which learns a monotone map from correctness-probe predictions on unlabeled target prompts. PAIC's excess risk depends on the probe's score-conditional bias and fitting error rather than its overall accuracy. For adoption, we derive a paired procedure with finite-sample control of false improvements. For auditing, we develop a prompt-clustered kernel test that detects feature-aligned residual errors while accounting for dependent answers from the same prompt. Across multiple LLM checkpoints, benchmarks, and distribution shifts, richer predictors can improve confidence estimation, but projecting their information back to a scalar score can lose these gains, and lower prediction risk need not yield better review decisions. Across 47,400 replayed raw-score allocations, paired betting adopts candidates with lower held-out test risk in 42.95% of allocations, versus 15.09% for one-sided empirical Bernstein. RADAR thus provides a principled workflow to repair what a scalar score can express, adopt a repair only when supported by evidence, and diagnose systematic errors that recalibration leaves behind. Code and data will be released upon acceptance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。