在NLP中将语法转化为神经方法具有许多实际和科学的好处。例如,一个语法感知的语言模型可能能够产生更好的样本;甚至像BERT这样带有语法模块的判别模型也可以用于核心NLP任务,如无监督句法分析。近年来的快速进展可以说是由解析-阅读-预测架构的经验成功所刺激的(Shen et al.,2018 a),后来被(Shen et al.,2019年)。最值得注意的是,这是神经方法第一次能够成功地执行无监督的句法分析(通过F-1评分等各种指标进行评估)。然而,即使是启发式的(更少的完全数学)理解这些架构为什么以及何时工作也严重落后。在这项工作中,我们回答了(Shen et al.,2018 a,2019),以及一些基于转换的语法感知语言模型(Dyer等人,2016):什么样的句法结构可以目前的神经句法方法表示?具体地说,我们接地这个问题的概率上下文无关文法(PCFG)的沙箱,并确定这些方法的代表性的权力的一个关键方面:预测器的数量和方向性的上下文时,被迫作出解析决定。我们表明,有限的上下文(无论是有界的,或单向的),有PCFG,这些方法不能代表的最大似然解析;相反,如果上下文是无限的,他们可以代表任何PCFG的最大似然解析。
英文摘要:
Incorporating syntax into neural approaches in NLP has a multitude of practical and scientific benefits. For instance, a language model that is syntax-aware is likely to be able to produce better samples; even a discriminative model like BERT with a syntax module could be used for core NLP tasks like unsupervised syntactic parsing. Rapid progress in recent years was arguably spurred on by the empirical success of the Parsing-Reading-Predict architecture of (Shen et al., 2018a), later simplified by the Order Neuron LSTM of (Shen et al., 2019). Most notably, this is the first time neural approaches were able to successfully perform unsupervised syntactic parsing (evaluated by various metrics like F-1 score).
However, even heuristic (much less fully mathematical) understanding of why and when these architectures work is lagging severely behind. In this work, we answer representational questions raised by the architectures in (Shen et al., 2018a, 2019), as well as some transition-based syntax-aware language models (Dyer et al., 2016): what kind of syntactic structure can current neural approaches to syntax represent? Concretely, we ground this question in the sandbox of probabilistic context-free-grammars (PCFGs), and identify a key aspect of the representational power of these approaches: the amount and directionality of context that the predictor has access to when forced to make parsing decision. We show that with limited context (either bounded, or unidirectional), there are PCFGs, for which these approaches cannot represent the max-likelihood parse; conversely, if the context is unlimited, they can represent the max-likelihood parse of any PCFG.
Contrastive Learning on LLM Back Generation Treebank for Cross-domain Constituency Parsing
Institute of Computing and Intelligence, Harbin Institute of Technology (Shenzhen)(计算与智能研究院,哈尔滨工业大学(深圳));School of New Media and Communication, Tianjin University(新媒体与传播学院,天津大学);School of Engineering, Westlake University(工程学院,西湖大学)
University of Edinburgh, ILCC(爱丁堡大学语言、认知与计算研究所);Université Paris Diderot(巴黎第七大学);Université Sorbonne Paris Cité(索邦巴黎西岱大学);LLF(形式语言学实验室);Institut Universitaire de France (IUF)(法国大学研究院)
Improving Constituency Parsing with Span Attention
University of Washington(华盛顿大学);The Hong Kong University of Science and Technology(香港科技大学);The Chinese University of Hong Kong (Shenzhen)(香港中文大学(深圳));Shenzhen Research Institute of Big Data(深圳大数据研究院)
Ensemble Distillation for Unsupervised Constituency Parsing
University of Alberta(阿尔伯塔大学);Borealis AI;Ingenuity Labs Research Institute, Queen’s University(英吉利蒂实验室研究所(女王大学));McGill University(麦吉尔大学);Quebec Artificial Intelligence Institute (MILA)(魁北克人工智能研究所(MILA))
Better heads do not guarantee better binarized constituency parsing
The Chinese University of Hong Kong, Ma Liu Shui, Hong Kong(香港中文大学,大屿山分校);The University of British Columbia, Vancouver, Canada(不列颠哥伦比亚大学,温哥华,加拿大);Korea Advanced Institute of Science & Technology, Daejeon, South Korea(韩国科学技术院,大田,韩国)
Self-Attentive Constituency Parsing for UCCA-based Semantic Parsing
Alparslan Türkeş Science and Technology University(阿尔帕斯兰·蒂尔凯什科技大学);Research Institute in Information and Language Processing(信息与语言处理研究所);University of Wolverhampton(伍尔弗汉普顿大学)
Representing and Parsing Korean Constituency Structure at Different Levels of Granularity
Korea Advanced Institute of Science & Technology(韩国科学技术院);The University of British Columbia(不列颠哥伦比亚大学);The Chinese University of Hong Kong(香港中文大学);Anyang University(安阳大学)
Policy Gradient as a Proxy for Dynamic Oracles in Constituency Parsing
University of California, Berkeley(加利福尼亚大学伯克利分校);Computer Science Division(计算机科学系(注意:此处“Division”通常指学院或系级单位,但根据提取规则,“大学/学院/公司/研究院级别即可”,此处“Computer Science Division”作为伯克利的学院/系级单位,符合提取要求,因此保留))
动态预言机为训练具有探索功能的选区解析器提供了强有力的监督,但必须为给定解析器的转换系统自定义。我们探索使用策略梯度方法作为与解析器无关的替代方法。除了直接优化树级指标(如F1)外,策略梯度还可以通过在训练期间进行探索来减少暴露偏差;此外,它不需要动态oracle进行监督。在三种语言的四个选区解析器上,该方法在几乎所有设置中都大大优于静态Oracle似然训练。对于动态oracle可用的解析器(包括我们为Dyer et al. 2016的转换系统定义的新oracle),策略梯度通常会重新获得动态oracle提供的性能增益的很大一部分。
School of Computer Science of Technology, Harbin Institute of Technology(哈尔滨工业大学计算机科学与技术学院);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);Department of Computer Science and Technology, University of Cambridge(剑桥大学计算机科学与技术系);School of Computer Science and Technology, Soochow University(苏州大学计算机科学与技术学院);School of Engineering, Westlake University(西湖大学工程学院);Institute of Advanced Technology, Westlake Institute for Advanced Study(西湖研究所以及先进科技研究院)
Improved Latent Tree Induction with Distant Supervision via Span Constraints
University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)
三十多年来,研究人员已经开发和分析了潜在树归纳方法作为无监督句法分析的一种方法。尽管如此,与有监督的对应系统相比,现代系统的性能仍然不够好,无法作为文本的结构化注释。在这项工作中,我们提出了一种技术,使用远程监督的形式跨度约束(即短语括号),以提高性能,在无监督选区解析。使用相对较少的跨度约束,我们可以大大提高DIORA,已经有竞争力的无监督解析系统的输出。与完整的解析树注释相比,可以以最小的努力获得跨度约束,例如使用来自维基百科的词典,以找到精确的文本匹配。我们的实验表明,基于实体的跨度约束提高了英语WSJ Penn Treebank上的选区解析超过5个F1。此外,我们的方法扩展到任何领域的跨度约束是很容易实现的,作为一个案例研究,我们证明了它的有效性,从CRAFT数据集解析生物医学文本。