arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.02363cs.CL
收藏

语言模型中的实体跟踪

Entity Tracking in Language Models

Boston University(波士顿大学);Saarland University(萨尔大学)

Najoung Kim, Sebastian Schuster

AI总结:

本研究提出一项任务探究语言模型推断实体最终状态的能力,发现仅GPT-3.5具备此能力,且微调T5表明小模型也能学会跟踪实体,但仅靠文本预训练无法显现该能力。

摘要:

随着文本或对话的展开,跟踪实体状态如何变化是语篇理解的关键前提。然而,目前对大型语言模型(LLMs)跟踪语篇实体的能力进行的系统性研究还很少。在本研究中,我们提出了一项任务,探究语言模型在给定初始状态的英文描述和一系列状态改变操作的情况下,能在多大程度上推断出实体的最终状态。我们首先使用该任务调查Flan-T5、GPT-3和GPT-3.5能否跟踪实体状态,发现只有在大规模代码上预训练过的GPT-3.5模型才表现出这种能力。随后,我们通过在多个训练/评估划分上微调T5,研究了主要在文本上预训练的较小模型是否能学会跟踪实体。尽管在更复杂的划分上性能有所下降,我们发现即使在评估时使用与训练不同的实体集或更长的操作序列,微调后的模型仍能进行非平凡的实体跟踪。综合来看,这些结果表明语言模型能够学会跟踪实体,但仅靠在文本语料库上进行预训练并不能使这种能力显现出来。

英文摘要:

Keeping track of how states of entities change as a text or dialog unfolds is a key prerequisite to discourse understanding. Yet, there have been few systematic investigations into the ability of large language models (LLMs) to track discourse entities. In this work, we present a task probing to what extent a language model can infer the final state of an entity given an English description of the initial state and a series of state-changing operations. We use this task to first investigate whether Flan-T5, GPT-3 and GPT-3.5 can track the state of entities, and find that only GPT-3.5 models, which have been pretrained on large amounts of code, exhibit this ability. We then investigate whether smaller models pretrained primarily on text can learn to track entities, through finetuning T5 on several training/evaluation splits. While performance degrades for more complex splits, we find that even when evaluated on a different set of entities from training or longer operation sequences, a finetuned model can perform non-trivial entity tracking. Taken together, these results suggest that language models can learn to track entities but pretraining on text corpora alone does not make this capacity surface.

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

↑