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

大语言模型对花园小径句的增量理解:语义解释、句法重分析与注意力

Incremental Comprehension of Garden-Path Sentences by Large Language Models: Semantic Interpretation, Syntactic Re-Analysis, and Attention

Georgia Institute of Technology(佐治亚理工学院)

Andrew Li, Xianle Feng, Siddhant Narang, Austin Peng, Tianle Cai, Raj Sanjay Shah, Sashank Varma

AI总结:

本研究通过四种大语言模型,探究人类与模型在处理花园小径句及持续误解上的一致性,发现二者在处理上表现出有前景的趋同,尤其在句法外信息引导时。

摘要:

在阅读暂时存在歧义的花园小径句时,误解有时会在消歧点之后持续存在。这一现象传统上通过心理语言学实验进行研究,使用诸如阅读时间等在线测量和诸如理解问题等离线测量。在此,我们使用四种大语言模型(LLMs):GPT-2、LLaMA-2、Flan-T5和RoBERTa,研究花园小径句的处理以及持续误解的最终命运。总体目标是评估人类与LLMs在处理花园小径句以及消歧点之后持续误解方面是否一致,特别是在存在句法外信息(例如,逗号划定从句边界)以引导处理的情况下。我们使用24个具有可选及物动词和反身动词导致暂时歧义的花园小径句来实现这一目标。对于每个句子,有一对理解问题,分别对应误解和正确解释。在三个实验中,我们(1)使用问答任务测量LLMs的动态语义解释;(2)追踪这些模型是否在消歧点(或句子结束时)转变其隐式句法树;以及(3)可视化在处理问题探针时关注消歧信息的模型组件。这些实验表明,人类与LLMs在处理花园小径句方面存在有前景的一致性,特别是在存在句法外信息可引导处理的情况下。

英文摘要:

When reading temporarily ambiguous garden-path sentences, misinterpretations sometimes linger past the point of disambiguation. This phenomenon has traditionally been studied in psycholinguistic experiments using online measures such as reading times and offline measures such as comprehension questions. Here, we investigate the processing of garden-path sentences and the fate of lingering misinterpretations using four large language models (LLMs): GPT-2, LLaMA-2, Flan-T5, and RoBERTa. The overall goal is to evaluate whether humans and LLMs are aligned in their processing of garden-path sentences and in the lingering misinterpretations past the point of disambiguation, especially when extra-syntactic information (e.g., a comma delimiting a clause boundary) is present to guide processing. We address this goal using 24 garden-path sentences that have optional transitive and reflexive verbs leading to temporary ambiguities. For each sentence, there are a pair of comprehension questions corresponding to the misinterpretation and the correct interpretation. In three experiments, we (1) measure the dynamic semantic interpretations of LLMs using the question-answering task; (2) track whether these models shift their implicit parse tree at the point of disambiguation (or by the end of the sentence); and (3) visualize the model components that attend to disambiguating information when processing the question probes. These experiments show promising alignment between humans and LLMs in the processing of garden-path sentences, especially when extra-syntactic information is available to guide processing.

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

↑