arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.03041cs.CLcs.AI
收藏

校正满足解释:一种简单有效的模型置信度估计方法

Calibration Meets Explanation: A Simple and Effective Approach for Model Confidence Estimates

Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Peng Cheng Laboratory(鹏城实验室)

Dongfang Li, Baotian Hu, Qingcai Chen

摘要:

校准通过对给定示例进行更准确的置信度估计来增强黑盒模型的可信度。然而,很少有人知道,如果模型解释可以帮助信心校准。直觉上,人类会查看重要的特征属性,并决定模型是否值得信赖。同样,解释可以告诉我们模型何时可能知道或可能不知道。受此启发,我们提出了一种名为CME的方法,该方法利用模型解释使模型对非归纳属性不那么自信。这个想法是,当模型不是高度自信时,很难识别任何类别的强烈迹象,因此令牌对任何类别都没有高的归因分数,反之亦然。我们在六个数据集上进行了广泛的实验,其中两个流行的预训练语言模型在域内和域外设置。结果表明,CME提高了所有设置中的校准性能。当与温度缩放结合时,预期的校准误差进一步减小。我们的研究结果强调,模型解释可以帮助校准后验估计。

英文摘要:

Calibration strengthens the trustworthiness of black-box models by producing better accurate confidence estimates on given examples. However, little is known about if model explanations can help confidence calibration. Intuitively, humans look at important features attributions and decide whether the model is trustworthy. Similarly, the explanations can tell us when the model may or may not know. Inspired by this, we propose a method named CME that leverages model explanations to make the model less confident with non-inductive attributions. The idea is that when the model is not highly confident, it is difficult to identify strong indications of any class, and the tokens accordingly do not have high attribution scores for any class and vice versa. We conduct extensive experiments on six datasets with two popular pre-trained language models in the in-domain and out-of-domain settings. The results show that CME improves calibration performance in all settings. The expected calibration errors are further reduced when combined with temperature scaling. Our findings highlight that model explanations can help calibrate posterior estimates.

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

↑