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

探究大型语言模型中的句法:成功与剩余挑战

Probing Syntax in Large Language Models: Successes and Remaining Challenges

LSCP, ENS, PSL, EHESS, CNRS(劳动和社会保障部、巴黎高等师范学院、巴黎社会科学学院、法国国家科学研究中心)

Pablo J. Diego-Simón, Emmanuel Chemla, Jean-Rémi King, Yair Lakretz

AI总结:

本文在三个受控基准上深入分析了大型语言模型的结构探针,发现其受词距表面属性影响、难以表征深层句法且受名词及不合语法动词干扰,但不受单词可预测性影响,为评估结构探针提供了新基准。

摘要:

句子的句法结构可以很容易地从大型语言模型(LLMs)的激活中读出。然而,为揭示这一现象而开发的“结构探针”通常在不加区分的句子集上进行评估。因此,结构和/或统计因素是否会系统性地影响这些句法表征仍不清楚。为了解决这个问题,我们在三个受控基准上对结构探针进行了深入分析。我们的结果有三方面。首先,结构探针受到表面属性的影响:句子中两个词越接近,结构探针越有可能认为它们在句法上是相连的。其次,结构探针受到语言属性的挑战:它们不能很好地表示深层句法结构,并受到相互作用的名词或不合语法的动词形式的干扰。第三,结构探针似乎不受单个词可预测性的影响。总体而言,这项工作阐明了结构探针当前面临的挑战。提供了一个由受控刺激组成的基准,以更好地评估其性能。

英文摘要:

The syntactic structures of sentences can be readily read-out from the activations of large language models (LLMs). However, the ``structural probes'' that have been developed to reveal this phenomenon are typically evaluated on an indiscriminate set of sentences. Consequently, it remains unclear whether structural and/or statistical factors systematically affect these syntactic representations. To address this issue, we conduct an in-depth analysis of structural probes on three controlled benchmarks. Our results are three-fold. First, structural probes are biased by a superficial property: the closer two words are in a sentence, the more likely structural probes will consider them as syntactically linked. Second, structural probes are challenged by linguistic properties: they poorly represent deep syntactic structures, and get interfered by interacting nouns or ungrammatical verb forms. Third, structural probes do not appear to be affected by the predictability of individual words. Overall, this work sheds light on the current challenges faced by structural probes. Providing a benchmark made of controlled stimuli to better evaluate their performance.

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

↑