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

字符串概率能告诉我们关于语法性的什么?

What Can String Probability Tell Us About Grammaticality?

Kempner Institute for the Study of Natural and Artificial Intelligence at Harvard University(哈佛大学自然与人工智能研究 institute)

Jennifer Hu, Ethan Gotlieb Wilcox, Siyuan Song, Kyle Mahowald, Roger P. Levy

AI总结:

本文通过理论分析与28万对英汉句子的实证,揭示了字符串概率与语法性之间的关系,为利用概率评估语言模型的语法知识提供了理论依据。

摘要:

语言模型(LMs)学到了哪些语法知识?这一问题仍存在激烈争论,并对语言学理论具有重大影响。然而,由于概率和语法性在语言学中是不同的概念,字符串概率能揭示语言模型底层语法知识的哪些内容并不显而易见。我们基于对语料数据生成过程的简单假设,对语法、意义和字符串概率之间的关系进行了理论分析。我们的框架提出了三个预测,并使用英语和汉语的28万对句子进行了实证验证:(1)最小对立对(即语义差异最小的字符串对)内字符串概率之间的相关性;(2)模型与人类在最小对立对内差异值之间的相关性;以及(3)未配对的合语法与不合语法字符串在概率空间中分离度较差。我们的分析为利用概率来了解语言模型的结构性知识提供了理论基础,并为未来语言模型语法评估工作指明了方向。

英文摘要:

What have language models (LMs) learned about grammar? This question remains hotly debated, with major ramifications for linguistic theory. However, since probability and grammaticality are distinct notions in linguistics, it is not obvious what string probabilities can reveal about an LM's underlying grammatical knowledge. We present a theoretical analysis of the relationship between grammar, meaning, and string probability, based on simple assumptions about the generative process of corpus data. Our framework makes three predictions, which we validate empirically using 280K sentence pairs in English and Chinese: (1) correlation between the probability of strings within minimal pairs, i.e., string pairs with minimal semantic differences; (2) correlation between models' and humans' deltas within minimal pairs; and (3) poor separation in probability space between unpaired grammatical and ungrammatical strings. Our analyses give theoretical grounding for using probability to learn about LMs' structural knowledge, and suggest directions for future work in LM grammatical evaluation.

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

↑