因为意义通常可以单独从词汇语义中推断出来,所以词序在自然语言中通常是一个多余的线索。例如,单词chopped、chef和onion更有可能用来表达“The chef chopped the onion”,而不是“The onion chopped the chef”。“最近的工作表明,大语言模型是令人惊讶的词序不变,但至关重要的是,它在很大程度上考虑了自然的原型输入,其中组合意义大多与词汇预期相匹配。为了克服这种混淆,我们探讨语法角色表示在英语BERT和GPT-2,在词汇的期望是不够的情况下,词序知识是必要的正确分类。这种非原型的例子是自然出现的英语句子,有无生命的主体或有生命的物体,或者是我们系统地交换论点来组成像“洋葱切碎了厨师”这样的句子。我们发现,虽然早期层嵌入主要是词汇,词序实际上是至关重要的,在定义后一层表示的单词在语义上的非原型的位置。我们的实验隔离了词序对语境化过程的影响,并强调了模型如何在不常见但关键的情况下使用语境。
英文摘要:
Because meaning can often be inferred from lexical semantics alone, word order is often a redundant cue in natural language. For example, the words chopped, chef, and onion are more likely used to convey "The chef chopped the onion," not "The onion chopped the chef." Recent work has shown large language models to be surprisingly word order invariant, but crucially has largely considered natural prototypical inputs, where compositional meaning mostly matches lexical expectations. To overcome this confound, we probe grammatical role representation in English BERT and GPT-2, on instances where lexical expectations are not sufficient, and word order knowledge is necessary for correct classification. Such non-prototypical instances are naturally occurring English sentences with inanimate subjects or animate objects, or sentences where we systematically swap the arguments to make sentences like "The onion chopped the chef". We find that, while early layer embeddings are largely lexical, word order is in fact crucial in defining the later-layer representations of words in semantically non-prototypical positions. Our experiments isolate the effect of word order on the contextualization process, and highlight how models use context in the uncommon, but critical, instances where it matters.
BERT4GCN: Using BERT Intermediate Layers to Augment GCN for Aspect-based Sentiment Classification
Jinan University(暨南大学);Guangzhou Xuanyuan Research Institute Company, Ltd.(广州轩辕研究院有限公司);Guangzhou Yunqu Information Technology Company, Ltd.(广州云衢信息技术有限公司)
我们研究了自然语言处理中的模型提取问题,在这个问题中,一个只对受害者模型进行查询访问的对手试图重建该模型的本地副本。假设对手和受害者模型都对大型预训练语言模型进行了微调,如BERT(Devlin et al. 2019),我们证明对手不需要任何真实的训练数据来成功发起攻击。事实上,攻击者甚至不需要使用语法或语义上有意义的查询:我们表明,随机的单词序列加上任务特定的语法,形成有效的查询模型提取不同的NLP任务,包括自然语言推理和问答。因此,我们的工作突出了一个只有在NLP社区转向迁移学习方法时才变得可行的漏洞:对于几百美元的查询预算,攻击者可以提取一个性能仅略差于受害者模型的模型。最后,我们研究了两种防御策略对模型提取-成员分类和API水印-而成功的对天真的对手,是无效的对更复杂的。
Investigating BERT's Knowledge of Language: Five Analysis Methods with NPIs
New York University(纽约大学)
虽然最先进的句子表示模型可以执行需要大量语法知识的任务,但如何最好地评估其语法知识仍然是一个悬而未决的问题。我们探索了五种实验方法,这些方法的灵感来自于先前评估预训练句子表征模型的工作。我们使用一个单一的语言现象,英语中的负极性项目(NPI)许可,作为我们的实验研究的案例。像“any”这样的NPI只有在出现在像否定这样的许可环境中时才是语法上的(“Sue doesn't have any cats”vs.“Sue has any cats”)。这种现象是具有挑战性的,因为存在各种各样的NPI许可证环境。我们引入了一个人工生成的数据集,操纵NPI许可的实验的关键特征。我们发现,BERT有显着的知识,这些功能,但它的成功有很大的不同,在不同的实验方法。我们的结论是,各种方法是必要的,以揭示在一个给定的域模型的语法知识的所有相关方面。
Findings of the BabyLM Challenge: Sample-Efficient Pretraining on Developmentally Plausible Corpora
ETH Zürich(苏黎世联邦理工学院);Northeastern University(东北大学);Technion(以色列理工学院);MIT(麻省理工学院);IBM Research(IBM研究院);MLCommons;Meta AI (FAIR)(元人工智能研究院(FAIR));University of Washington(华盛顿大学);New York University(纽约大学)