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

有限语境在选民分析中的局限性

The Limitations of Limited Context for Constituency Parsing

Carnegie Mellon University(卡内基梅隆大学)

Yuchen Li, Andrej Risteski

摘要:

在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.

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

↑