arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.05799cs.LGcs.CL
收藏

CaliDist: 通过抗干扰行为鲁棒性校准大型语言模型

CaliDist: Calibrating Large Language Models via Behavioral Robustness to Distraction

Cornelia Caragea(卡伦·卡雷亚);Mohammad Anas Jawad(穆罕默德·安斯·贾瓦德)

Mohammad Anas Jawad, Cornelia Caragea

AI总结:

提出CaliDist方法,通过测量和惩罚模型对语义干扰的敏感性来校准LLM,在7个NLU基准上平均将ECE从23%降至7%。

摘要:

现有的大型语言模型(LLM)校准方法常常忽略可信度的一个关键维度:模型对无关或误导信息的{\em 行为鲁棒性}。在本文中,我们认为模型的真实置信度应反映其在认知压力下的稳定性。我们引入\textsc{CaliDist},一种新颖的事后校准方法,直接测量并惩罚模型对干扰的敏感性。\textsc{CaliDist}量化了当输入提示被语义\textit{干扰项}扰动时,LLM的预测和不确定性如何变化。然后利用这种稳定性(或不稳定性)信号来自适应地缩放模型的初始置信度分数。我们在六个不同LLM的七个自然语言理解分类基准上进行的广泛实验表明,与强基线相比,\textsc{CaliDist}一致地实现了更低的期望校准误差(ECE)和Brier分数。值得注意的是,我们的方法平均将ECE从23%降至7%——相对改进70%——表明行为稳定性是校准的有力信号。我们在github.com/m-anas-j/CaliDist提供代码和数据集。

英文摘要:

Existing calibration methods for Large Language Models (LLMs) often overlook a critical dimension of trustworthiness: a model's behavioral robustness to irrelevant or misleading information. In this paper, we argue that a model's true confidence should reflect its stability under cognitive pressure. We introduce CaliDist, a novel post-hoc calibration approach that directly measures and penalizes a model's susceptibility to distraction. CaliDist quantifies how an LLM's predictions and uncertainty change when its input prompt is perturbed with semantic distractors. This stability (or lack thereof) signal is then used to adaptively scale the model's initial confidence score. Our extensive experiments on seven Natural Language Understanding classification benchmarks using six distinct LLMs show that CaliDist consistently achieves lower Expected Calibration Error (ECE) and Brier Score compared with strong baselines. Remarkably, our method reduces the ECE from 23% to 7% on average--a relative improvement of 70%--demonstrating that behavioral stability is a powerful signal for calibration. We make our code and datasets available at github.com/anas-jawad/CaliDist.

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

↑