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

我是一个奇怪的数据集:面向语言模型的元语言测试

I am a Strange Dataset: Metalinguistic Tests for Language Models

Stanford University(斯坦福大学);UC San Diego(加利福尼亚大学圣迭戈分校);Playtest AI;Contextual AI

Tristan Thrush, Jared Moore, Miguel Monares, Christopher Potts, Douwe Kiela

AI总结:

本文提出“I am a Strange Dataset”元语言自我指涉数据集,通过生成与验证两个子任务评估大语言模型,发现现有模型接近随机水平,仅GPT 4略超随机但远低于人类表现。

摘要:

涉及元语言自我指涉的陈述(如“本文有六个章节。”)在许多领域中普遍存在。当前的大语言模型(LLMs)能否处理这类语言?在本文中,我们提出了“I am a Strange Dataset”,这是一个用于解决该问题的新数据集。该数据集包含两个子任务:生成与验证。在生成任务中,模型需要续写诸如“The penultimate word in this sentence is”这样的陈述(正确续写为“is”)。在验证任务中,模型需要判断诸如“The penultimate word in this sentence is sentence.”(假)这类陈述的真假。我们还提供了差异极小的元语言非自我指涉示例,以补充主数据集,用于探测模型是否能够处理元语言本身。该数据集由专家手工构建,并由非专家标注者进行验证。我们测试了多种开源LLMs(参数规模从7B到70B)以及通过API访问的闭源LLMs。所有模型在两个子任务上甚至是在非自我指涉的元语言控制数据上的表现都接近随机水平,不过我们发现随着模型规模增大,性能有一定程度的稳定提升。GPT 4是唯一一个持续显著优于随机水平的模型,但其准确率也仅在60%左右,而我们未经训练的人类标注者得分在89-93%之间。数据集和评估工具可在 https://github.com/TristanThrush/i-am-a-strange-dataset 获取。

英文摘要:

Statements involving metalinguistic self-reference ("This paper has six sections.") are prevalent in many domains. Can current large language models (LLMs) handle such language? In this paper, we present "I am a Strange Dataset", a new dataset for addressing this question. There are two subtasks: generation and verification. In generation, models continue statements like "The penultimate word in this sentence is" (where a correct continuation is "is"). In verification, models judge the truth of statements like "The penultimate word in this sentence is sentence." (false). We also provide minimally different metalinguistic non-self-reference examples to complement the main dataset by probing for whether models can handle metalinguistic language at all. The dataset is hand-crafted by experts and validated by non-expert annotators. We test a variety of open-source LLMs (7B to 70B parameters) as well as closed-source LLMs through APIs. All models perform close to chance across both subtasks and even on the non-self-referential metalinguistic control data, though we find some steady improvement with model scale. GPT 4 is the only model to consistently do significantly better than chance, and it is still only in the 60% range, while our untrained human annotators score well in the 89-93% range. The dataset and evaluation toolkit are available at https://github.com/TristanThrush/i-am-a-strange-dataset.

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

↑