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

校准以区分:利用无标签比较推理改进上下文学习

Calibrate to Discriminate: Improve In-Context Learning with Label-Free Comparative Inference

Meta Platforms, Inc.(元平台公司)

Wei Cheng, Tianlu Wang, Yanmin Ji, Fan Yang, Keren Tan, Yiyu Zheng

AI总结:

本文针对大语言模型上下文学习中正确与错误预测置信度相同的无差别误校准问题,提出新的校准度量指标和上下文比较推理方法,在五个数据集上验证其能提升分类准确性与校准性。

摘要:

尽管基于大语言模型(LLMs)的上下文学习已展现出卓越性能,我们发现了一种独特的误校准行为:正确和错误的预测被赋予相同的置信度。我们将此现象称为无差别误校准。我们发现传统的校准指标,如期望校准误差(ECEs),无法有效捕捉这一行为。为解决该问题,我们提出了新的指标来衡量无差别误校准的严重程度。此外,我们开发了一种新颖的上下文比较推理方法,以缓解误校准并提升分类性能。通过在五个数据集上的大量实验,我们证明与常规的零样本和少样本提示相比,我们提出的方法能够实现更准确且更校准的预测。

英文摘要:

While in-context learning with large language models (LLMs) has shown impressive performance, we have discovered a unique miscalibration behavior where both correct and incorrect predictions are assigned the same level of confidence. We refer to this phenomenon as indiscriminate miscalibration. We found that traditional calibration metrics, such as Expected Calibrated Errors (ECEs), are unable to capture this behavior effectively. To address this issue, we propose new metrics to measure the severity of indiscriminate miscalibration. Additionally, we develop a novel in-context comparative inference method to alleviate miscalibrations and improve classification performance. Through extensive experiments on five datasets, we demonstrate that our proposed method can achieve more accurate and calibrated predictions compared to regular zero-shot and few-shot prompting.

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

↑