arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.06351cs.LG
收藏

基于信息论证据深度学习的大语言模型校准

Calibrating LLMs with Information-Theoretic Evidential Deep Learning

LMU Munich(慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心)

Yawei Li, David Rügamer, Bernd Bischl, Mina Rezaei

AI总结:

针对微调大语言模型(LLMs)过度自信、校准性差的问题,提出IB-EDL方法,通过信息瓶颈正则化证据深度学习(EDL)缓解过拟合,提升不确定性估计准确性,实验表明其优于现有方法,增强LLMs可信度以促进广泛应用。

摘要:

微调后的大语言模型(LLMs)常表现出过度自信,尤其在小数据集上训练时,会导致校准性差和不确定性估计不准确。证据深度学习(EDL)是一种感知不确定性的方法,可通过单次前向传播进行不确定性估计,是校准微调LLMs的潜在方法。但尽管计算高效,EDL易过拟合,因其训练目标会产生过度集中的概率分布。为缓解此问题,我们提出通过引入信息瓶颈(IB)对EDL进行正则化。我们的IB-EDL方法抑制模型生成证据中的虚假信息,鼓励真正的预测信息影响预测和不确定性估计。在多种微调LLMs和任务上的大量实验表明,IB-EDL优于现有EDL和非EDL方法。通过提高LLMs的可信度,IB-EDL促进其在需要高置信度校准的领域更广泛应用。代码见https://github.com/sandylaker/ib-edl。

英文摘要:

Fine-tuned large language models (LLMs) often exhibit overconfidence, particularly when trained on small datasets, resulting in poor calibration and inaccurate uncertainty estimates. Evidential Deep Learning (EDL), an uncertainty-aware approach, enables uncertainty estimation in a single forward pass, making it a promising method for calibrating fine-tuned LLMs. However, despite its computational efficiency, EDL is prone to overfitting, as its training objective can result in overly concentrated probability distributions. To mitigate this, we propose regularizing EDL by incorporating an information bottleneck (IB). Our approach IB-EDL suppresses spurious information in the evidence generated by the model and encourages truly predictive information to influence both the predictions and uncertainty estimates. Extensive experiments across various fine-tuned LLMs and tasks demonstrate that IB-EDL outperforms both existing EDL and non-EDL approaches. By improving the trustworthiness of LLMs, IB-EDL facilitates their broader adoption in domains requiring high levels of confidence calibration. Code is available at https://github.com/sandylaker/ib-edl.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑