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

预训练Transformers的配电内校准技巧包

Bag of Tricks for In-Distribution Calibration of Pretrained Transformers

VUNO, Inc.(VUNO公司);Pukyong National University(釜庆国立大学);Korea University(高丽大学)

Jaeyoung Kim, Dongbin Na, Sungchul Choi, Sungbin Lim

摘要:

虽然预先训练的语言模型(PLM)已经成为提高文本分类任务准确性的事实标准,但最近的研究发现,PLM经常过度自信地预测。虽然已经提出了各种校准方法,如集成学习和数据增强,大多数方法已在计算机视觉基准测试中得到验证,而不是在基于PLM的文本分类任务。在本文中,我们提出了一个实证研究的PLM的信心校准,解决三个类别,包括信心惩罚损失,数据增强,集成方法。我们发现,过度拟合到训练集的集成模型显示出低于标准的校准性能,并且还观察到,用置信惩罚损失训练的PLM在校准和准确性之间存在权衡。基于这些观察,我们提出了校准PLM(CALL),校准技术的组合。CALL补充了单独使用校准方法时可能出现的缺点,并提高了分类和校准精度。在CALL的培训程序的设计选择进行了广泛的研究,我们提供了一个详细的分析校准技术如何影响校准性能的PLM。

英文摘要:

While pre-trained language models (PLMs) have become a de-facto standard promoting the accuracy of text classification tasks, recent studies find that PLMs often predict over-confidently. Although various calibration methods have been proposed, such as ensemble learning and data augmentation, most of the methods have been verified in computer vision benchmarks rather than in PLM-based text classification tasks. In this paper, we present an empirical study on confidence calibration for PLMs, addressing three categories, including confidence penalty losses, data augmentations, and ensemble methods. We find that the ensemble model overfitted to the training set shows sub-par calibration performance and also observe that PLMs trained with confidence penalty loss have a trade-off between calibration and accuracy. Building on these observations, we propose the Calibrated PLM (CALL), a combination of calibration techniques. The CALL complements the drawbacks that may occur when utilizing a calibration method individually and boosts both classification and calibration accuracy. Design choices in CALL's training procedures are extensively studied, and we provide a detailed analysis of how calibration techniques affect the calibration performance of PLMs.

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

↑