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

增加答案选项上的概率质量并不总能提高准确率

Increasing Probability Mass on Answer Choices Does Not Always Improve Accuracy

Allen Institute for AI (AI2)(艾伦人工智能研究所);University of Southern California(南加利福尼亚大学)

Sarah Wiegreffe, Matthew Finlayson, Oyvind Tafjord, Peter Clark, Ashish Sabharwal

AI总结:

针对多项选择中语言模型的表面形式竞争问题,论文提出可量化并界定其影响的数学形式化,以及通过提示和单示例上下文学习增加选项概率质量的方法,并在三个数据集和六个模型上评估其效果。

摘要:

当预训练语言模型(LMs)被应用于多项选择题等判别式任务时,它们会把概率质量分配给不属于给定答案选项的词汇表 token。将概率质量分散到具有相同含义的多种表面形式上(例如“bath”和“bathtub”),被认为会导致对模型真实性能的低估,这被称为“表面形式竞争”(SFC)假说。这促使人们引入了各种概率归一化方法。然而,许多核心问题仍未得到解答:我们应如何衡量 SFC?是否存在直接降低它的方法?这样做是否能提高任务性能?我们提出了一种关于 SFC 的数学形式化,使我们首次能够量化并界定其影响。我们识别出一种降低它的简单方法——即通过 a)将给定答案选项包含在提示中,以及 b)使用即使只有一个示例的上下文学习,来增加这些选项上的概率质量。我们表明,该方法在大多数实例中消除了 SFC 的影响。我们在三个多样化数据集和六个 LM 上的实验还揭示了若干额外的令人惊讶的发现。例如,用于降低 SFC 的归一化方法和提示方法,对某些 LM 都可能无效,甚至损害任务性能。最后,我们总结了为多项选择任务有效提示 LM 的实用洞见。

英文摘要:

When pretrained language models (LMs) are applied to discriminative tasks such as multiple-choice questions, they place probability mass on vocabulary tokens that aren't among the given answer choices. Spreading probability mass across multiple surface forms with identical meaning (such as "bath" and "bathtub") is thought to cause an underestimation of a model's true performance, referred to as the "surface form competition" (SFC) hypothesis. This has motivated the introduction of various probability normalization methods. However, many core questions remain unanswered. How do we measure SFC? Are there direct ways of reducing it, and does doing so improve task performance? We propose a mathematical formalism for SFC which allows us to quantify and bound its impact for the first time. We identify a simple method for reducing it -- namely, increasing probability mass on the given answer choices by a) including them in the prompt and b) using in-context learning with even just one example. We show this method eliminates the impact of SFC in the majority of instances. Our experiments on three diverse datasets and six LMs reveal several additional surprising findings. For example, both normalization and prompting methods for reducing SFC can be ineffective or even detrimental to task performance for some LMs. We conclude with practical insights for effectively prompting LMs for multiple-choice tasks.

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

↑