让大模型学会准确表达不确定性的高效训练方法
From Entropy to Calibrated Uncertainty: Training Language Models to Reason About Uncertainty
- 用嵌入空间的细粒度熵值评估输出变异性
- 通过Platt校准使不确定性可解释且可靠
- 强化学习对齐校准信号,推理时高效准确
能在高风险领域中表达可解释且校准过的不确定性的大语言模型至关重要。现有事后不确定性估计方法多依赖采样,计算成本高或校准不足。本文提出三阶段后训练流程,使大模型高效生成校准后的不确定性估计。首先在训练数据上计算细粒度的熵基不确定性分数,捕捉嵌入空间中模型输出的分布变异性;其次通过Platt校准得到可靠且人类可读的不确定性信号;最后使用强化学习对目标模型进行后训练,使其策略与校准信号对齐,采用可验证的奖励函数。相比事后估计方法,该方法在测试时提供可解释且计算高效的不确定性估计。实验表明,使用本流程训练的模型校准效果优于基线,且无需额外处理即可泛化至未见任务,表明其习得了稳健的不确定性推理能力。
原文摘要 · Abstract (English)
Large Language Models (LLMs) that can express interpretable and calibrated uncertainty are crucial in high-stakes domains. While methods to compute uncertainty post-hoc exist, they are often sampling-based and therefore computationally expensive or lack calibration. We propose a three-stage pipeline to post-train LLMs to efficiently infer calibrated uncertainty estimates for their responses. First, we compute fine-grained entropy-based uncertainty scores on the training data, capturing the distributional variability of model outputs in embedding space. Second, these scores are calibrated via Platt scaling, producing reliable and human-interpretable uncertainty signals. Finally, the target LLM is post-trained via reinforcement learning to align its policy with these calibrated signals through a verifiable reward function. Unlike post-hoc uncertainty estimation methods, our approach provides interpretable and computationally efficient uncertainty estimates at test time. Experiments show that models trained with our pipeline achieve better calibration than baselines and generalize to unseen tasks without further processing, suggesting that they learn a robust uncertainty reasoning behavior.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。