arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.00153cs.CLcs.AIcs.LG
收藏

LSTM能看到性别吗?LSTM学习抽象语法规则的能力探讨

Do LSTMs See Gender? Probing the Ability of LSTMs to Learn Abstract Syntactic Rules

University of Bristol(布里斯托大学);National Research University Higher School of Economics(高等经济学院国立研究大学)

Priyanka Sukumaran, Conor Houghton, Nina Kazanina

摘要:

经过下一个词预测训练的LSTM可以准确地执行需要跟踪长距离语法依赖关系的语言任务。值得注意的是,模型精度接近人类在数字一致性任务上的表现(Gulordava等人,2018年)。然而,我们没有一个机械的理解LSTM如何执行这样的语言任务。LSTM是学习抽象的语法规则,还是依赖简单的语法?在这里,我们测试性别协议在法国,这需要跟踪两个层次的句法结构和词汇单位的固有性别。我们的模型能够可靠地预测长距离性别协议在两个主谓语境:名词形容词和名词被动动词协议。该模型显示,与单数情况相比,具有性别吸引子的复数名词短语更不准确,这表明依赖于性别文章的线索来达成协议。总的来说,我们的研究强调了LSTM偏离人类行为的关键方式,并质疑LSTM是否真正学习抽象的句法规则和类别。我们建议使用性别一致性作为一个有用的探针来研究LSTM语言模型的潜在机制、内部表示和语言能力。

英文摘要:

LSTMs trained on next-word prediction can accurately perform linguistic tasks that require tracking long-distance syntactic dependencies. Notably, model accuracy approaches human performance on number agreement tasks (Gulordava et al., 2018). However, we do not have a mechanistic understanding of how LSTMs perform such linguistic tasks. Do LSTMs learn abstract grammatical rules, or do they rely on simple heuristics? Here, we test gender agreement in French which requires tracking both hierarchical syntactic structures and the inherent gender of lexical units. Our model is able to reliably predict long-distance gender agreement in two subject-predicate contexts: noun-adjective and noun-passive-verb agreement. The model showed more inaccuracies on plural noun phrases with gender attractors compared to singular cases, suggesting a reliance on clues from gendered articles for agreement. Overall, our study highlights key ways in which LSTMs deviate from human behaviour and questions whether LSTMs genuinely learn abstract syntactic rules and categories. We propose using gender agreement as a useful probe to investigate the underlying mechanisms, internal representations, and linguistic capabilities of LSTM language models.

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

↑