arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2106.02559cs.CLcs.LG
收藏

句法探测器探测了吗?使用Jabberwocky Probing

Do Syntactic Probes Probe Syntax? Experiments with Jabberwocky Probing

University of Cambridge(剑桥大学);ETH Zürich(苏黎世联邦理工学院)

Rowan Hall Maudslay, Ryan Cotterell

摘要:

分析神经语言模型是否编码语言信息已经成为NLP中的热门。这样做的一种方法,经常被引用来支持BERT等模型编码语法的说法,称为探测;探测器是经过训练的小型监督模型,用于从另一个模型的输出中提取语言信息。如果一个探针是能够预测一个特定的结构,有人认为,其输出的模型,它是训练必须隐式地学习到encodingit. However,绘制一个模型的语言知识的概括关于一个特定的现象的基础上,什么样的探针是能够学习可能是有问题的:在这项工作中,我们表明,语义线索在训练数据意味着,句法探针不正确地隔离语法。我们生成了一个新的语料库的语义无意义,但句法形式良好的Jabberwocky句子,我们用它来评估两个探针训练正常的数据。我们在几种流行的语言模型(BERT,GPT和RoBERTa)上对探针进行训练,发现在所有设置中,当对这些数据进行评估时,它们的表现都较差,对于一个探针来说,平均15.4个UUAS点绝对值。虽然在大多数情况下,它们仍然优于基线,但它们的领先优势大幅降低,例如在一个探头的BERT的情况下降低了53%。这就引出了一个问题:什么样的经验分数构成了认知句法?

英文摘要:

Analysing whether neural language models encode linguistic information has become popular in NLP. One method of doing so, which is frequently cited to support the claim that models like BERT encode syntax, is called probing; probes are small supervised models trained to extract linguistic information from another model's output. If a probe is able to predict a particular structure, it is argued that the model whose output it is trained on must have implicitly learnt to encode it. However, drawing a generalisation about a model's linguistic knowledge about a specific phenomena based on what a probe is able to learn may be problematic: in this work, we show that semantic cues in training data means that syntactic probes do not properly isolate syntax. We generate a new corpus of semantically nonsensical but syntactically well-formed Jabberwocky sentences, which we use to evaluate two probes trained on normal data. We train the probes on several popular language models (BERT, GPT, and RoBERTa), and find that in all settings they perform worse when evaluated on these data, for one probe by an average of 15.4 UUAS points absolute. Although in most cases they still outperform the baselines, their lead is reduced substantially, e.g. by 53% in the case of BERT for one probe. This begs the question: what empirical scores constitute knowing syntax?

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

↑