arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.07543cs.CL
收藏

利用广度注意力改进选区分析

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(深圳大数据研究院)

Yuanhe Tian, Yan Song, Fei Xia, Tong Zhang

摘要:

选区句法分析是自然语言理解的一项基本而重要的任务,而良好的上下文信息表示可以帮助完成这一任务。N-gram是上下文信息的常规类型的特征,已经被证明在许多任务中是有用的,并且因此如果它们被适当地建模,则也可以有益于选区解析。在本文中,我们提出了跨度注意神经图表为基础的选区分析,利用n-gram信息。考虑到当前基于图表的解析器与基于transformer的编码器表示跨度减去隐藏状态的跨度边界,这可能会导致信息丢失,特别是对于长跨度,我们将n-gram到跨度表示加权,根据他们的贡献解析过程。此外,我们提出了类别跨度注意力,以进一步加强模型的加权n-gram在不同长度的类别,从而有利于长句分析。在三个广泛使用的基准数据集上的实验结果表明,我们的方法在解析阿拉伯语,汉语和英语,其中国家的最先进的性能是通过我们的方法获得所有这些的有效性。

英文摘要:

Constituency parsing is a fundamental and important task for natural language understanding, where a good representation of contextual information can help this task. N-grams, which is a conventional type of feature for contextual information, have been demonstrated to be useful in many tasks, and thus could also be beneficial for constituency parsing if they are appropriately modeled. In this paper, we propose span attention for neural chart-based constituency parsing to leverage n-gram information. Considering that current chart-based parsers with Transformer-based encoder represent spans by subtraction of the hidden states at the span boundaries, which may cause information loss especially for long spans, we incorporate n-grams into span representations by weighting them according to their contributions to the parsing process. Moreover, we propose categorical span attention to further enhance the model by weighting n-grams within different length categories, and thus benefit long-sentence parsing. Experimental results on three widely used benchmark datasets demonstrate the effectiveness of our approach in parsing Arabic, Chinese, and English, where state-of-the-art performance is obtained by our approach on all of them.

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

↑