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

你能通过下一个词预测学习语义吗?蕴含关系案例研究

Can You Learn Semantics Through Next-Word Prediction? The Case of Entailment

New York University(纽约大学);Massachusetts Institute of Technology(麻省理工学院)

William Merrill, Zhaofeng Wu, Norihito Naka, Yoon Kim, Tal Linzen

AI总结:

本研究验证Merrill等人理论能否从神经语言模型解码蕴含关系,发现测试有效但方向相反,归因于冗余假设不足,并提出改进方向。

摘要:

语言模型(LMs)能否从其训练数据中的共现模式推断文本的语义?Merrill等人(2022)认为,理论上,由最优语言模型预测的句子共现概率应反映组成句子的蕴含关系,但由于Merrill等人做出的强假设(即人类总是避免冗余),神经语言模型预测的概率是否以这种方式编码蕴含关系尚不清楚。在这项工作中,我们研究了他们的理论是否可用于从神经语言模型中解码蕴含关系。我们发现,与他们的测试类似的测试可以在多个数据集和语言模型上,远高于随机机会地解码自然句子之间的蕴含关系,尽管并非完美。这表明语言模型隐式建模语义的某些方面,以预测语义对句子共现模式的影响。然而,我们发现实践中预测蕴含关系的测试与理论测试方向相反。因此,我们重新审视了原始测试背后的假设,发现其推导未能充分解释人类书写文本中的冗余。我们认为,更好地解释与解释相关的冗余可能推导出观察到的翻转测试,并且更普遍地,改进语言学中说话者的计算模型。

英文摘要:

Do LMs infer the semantics of text from co-occurrence patterns in their training data? Merrill et al. (2022) argue that, in theory, sentence co-occurrence probabilities predicted by an optimal LM should reflect the entailment relationship of the constituent sentences, but it is unclear whether probabilities predicted by neural LMs encode entailment in this way because of strong assumptions made by Merrill et al. (namely, that humans always avoid redundancy). In this work, we investigate whether their theory can be used to decode entailment relations from neural LMs. We find that a test similar to theirs can decode entailment relations between natural sentences, well above random chance, though not perfectly, across many datasets and LMs. This suggests LMs implicitly model aspects of semantics to predict semantic effects on sentence co-occurrence patterns. However, we find the test that predicts entailment in practice works in the opposite direction to the theoretical test. We thus revisit the assumptions underlying the original test, finding its derivation did not adequately account for redundancy in human-written text. We argue that better accounting for redundancy related to explanations might derive the observed flipped test and, more generally, improve computational models of speakers in linguistics.

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

↑