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

预测下一个词:人类在此任务中表现出不确定性,而语言模型_____

Predict the Next Word: Humans exhibit uncertainty in this task and language models _____

University of Amsterdam(阿姆斯特丹大学)

Evgenia Ilia, Wilker Aziz

AI总结:

本研究评估语言模型(GPT2、BLOOM、ChatGPT)在“下一个词预测”任务中再现人类语言变异性的能力,发现其校准程度低,并指出预期校准误差(ECE)不适用。

摘要:

语言模型(LMs)是经过训练以对人类生成的文本分配概率的统计模型。因此,质疑它们是否能很好地近似人类所表现出的语言变异性是合理的。这种形式的统计评估在段落层面难以进行,因为它需要可接受性判断(即人类评估)或一个稳健的自动化代理(这并非易事)。然而,在单词层面,给定一些上下文,可以通过将语言模型的样本与预先记录的、针对可用上下文的替代单字延续数据集进行精确匹配来评估。我们利用这一事实,评估语言模型在“下一个词预测”任务中再现人类(特别是英语使用者群体)所表现出的变异性的能力。这可以被视为评估一种校准形式,在文本分类的背景下,Baan等人(2022)将其称为对人类不确定性的校准。我们评估了GPT2、BLOOM和ChatGPT,发现它们对人类不确定性的校准程度相当低。我们还验证了预期校准误差(ECE)未能反映这一点,因此建议社区在此设置中不要依赖它。

英文摘要:

Language models (LMs) are statistical models trained to assign probability to human-generated text. As such, it is reasonable to question whether they approximate linguistic variability exhibited by humans well. This form of statistical assessment is difficult to perform at the passage level, for it requires acceptability judgements (i.e., human evaluation) or a robust automated proxy (which is non-trivial). At the word level, however, given some context, samples from an LM can be assessed via exact matching against a prerecorded dataset of alternative single-word continuations of the available context. We exploit this fact and evaluate the LM's ability to reproduce variability that humans (in particular, a population of English speakers) exhibit in the 'next word prediction' task. This can be seen as assessing a form of calibration, which, in the context of text classification, Baan et al. (2022) termed calibration to human uncertainty. We assess GPT2, BLOOM and ChatGPT and find that they exhibit fairly low calibration to human uncertainty. We also verify the failure of expected calibration error (ECE) to reflect this, and as such, advise the community against relying on it in this setting.

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

↑