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

基于边缘下区域和显著性的混淆法预训练语言模型校正

On the Calibration of Pre-trained Language Models using Mixup Guided by Area Under the Margin and Saliency

University of Illinois Chicago(伊利诺伊大学芝加哥分校)

Seo Yeon Park, Cornelia Caragea

摘要:

一个经过良好校准的神经模型产生的置信度(概率输出)与预期的准确度非常接近。虽然先前的研究已经表明,混合训练作为一种数据增强技术可以改善图像分类任务的模型校准,但对于在自然语言理解(NLU)任务中使用混合进行模型校准知之甚少。在本文中,我们探讨了几个NLU任务的模型校准的混淆,并提出了一种新的混合策略,用于预训练的语言模型,进一步提高模型校准。我们提出的混合是由保证金下的面积(AUM)统计(Pleiss等人,2020)和每个样本的显著性图(Simonyan等人,2013年)。此外,我们将我们的混淆策略与模型误校准校正技术相结合(即,标签平滑和温度缩放),并详细分析它们对我们提出的混合的影响。我们专注于三个自然语言理解任务的系统设计实验:自然语言推理,释义检测,和常识推理。与域内和域外测试样本的强基线相比,我们的方法实现了最低的预期校准误差,同时保持了具有竞争力的准确性。

英文摘要:

A well-calibrated neural model produces confidence (probability outputs) closely approximated by the expected accuracy. While prior studies have shown that mixup training as a data augmentation technique can improve model calibration on image classification tasks, little is known about using mixup for model calibration on natural language understanding (NLU) tasks. In this paper, we explore mixup for model calibration on several NLU tasks and propose a novel mixup strategy for pre-trained language models that improves model calibration further. Our proposed mixup is guided by both the Area Under the Margin (AUM) statistic (Pleiss et al., 2020) and the saliency map of each sample (Simonyan et al.,2013). Moreover, we combine our mixup strategy with model miscalibration correction techniques (i.e., label smoothing and temperature scaling) and provide detailed analyses of their impact on our proposed mixup. We focus on systematically designing experiments on three NLU tasks: natural language inference, paraphrase detection, and commonsense reasoning. Our method achieves the lowest expected calibration error compared to strong baselines on both in-domain and out-of-domain test samples while maintaining competitive accuracy.

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

↑