我们使用大型语言模型研究语法构式中的语义识解。首先,我们将上下文词嵌入投影到三个可解释的语义空间中,每个空间由一组不同的心理语言学特征规范定义。我们验证了这些可解释空间,然后利用它们自动推导两种语法构式中词项的语义特征:同一句子中处于主语或宾语位置的名词,以及AANN构式(例如“a beautiful three days”)。我们表明,处于主语位置的词比处于宾语位置的同一个词被解释为更具施事性,并且AANN构式中的名词比在规范交替形式中被解释为更具测量性。我们的方法能够在模板层面探究句法构式的分布语义,抽离于具体词位。
英文摘要:
We study semantic construal in grammatical constructions using large language models. First, we project contextual word embeddings into three interpretable semantic spaces, each defined by a different set of psycholinguistic feature norms. We validate these interpretable spaces and then use them to automatically derive semantic characterizations of lexical items in two grammatical constructions: nouns in subject or object position within the same sentence, and the AANN construction (e.g., `a beautiful three days'). We show that a word in subject position is interpreted as more agentive than the very same word in object position, and that the nouns in the AANN construction are interpreted as more measurement-like than when in the canonical alternation. Our method can probe the distributional meaning of syntactic constructions at a templatic level, abstracted away from specific lexemes.
When classifying grammatical role, BERT doesn't care about word order... except when it matters
Stanford University(斯坦福大学);University of California, Irvine(加州大学欧文分校);The University of Texas at Austin(得克萨斯大学奥斯汀分校)
因为意义通常可以单独从词汇语义中推断出来,所以词序在自然语言中通常是一个多余的线索。例如,单词chopped、chef和onion更有可能用来表达“The chef chopped the onion”,而不是“The onion chopped the chef”。“最近的工作表明,大语言模型是令人惊讶的词序不变,但至关重要的是,它在很大程度上考虑了自然的原型输入,其中组合意义大多与词汇预期相匹配。为了克服这种混淆,我们探讨语法角色表示在英语BERT和GPT-2,在词汇的期望是不够的情况下,词序知识是必要的正确分类。这种非原型的例子是自然出现的英语句子,有无生命的主体或有生命的物体,或者是我们系统地交换论点来组成像“洋葱切碎了厨师”这样的句子。我们发现,虽然早期层嵌入主要是词汇,词序实际上是至关重要的,在定义后一层表示的单词在语义上的非原型的位置。我们的实验隔离了词序对语境化过程的影响,并强调了模型如何在不常见但关键的情况下使用语境。
LM-Combiner: A Contextual Rewriting Model for Chinese Grammatical Error Correction
Research Center for Social Computing and Information Retrieval, Harbin Institute of Technology(哈尔滨工业大学社会计算与信息检索研究中心);State Key Laboratory of Cognitive Intelligence, iFLYTEK Research(讯飞研究院认知智能国家重点实验室)