Enriched In-Order Linearization for Faster Sequence-to-Sequence Constituent Parsing

Daniel Fernández-González, Carlos Gómez-Rodríguez
5/27/2020
cs.CL

Official code: danifg/InOrderSeq2seq (2 stars, C++, last commit 2020-07-02).

Abstract

Sequence-to-sequence constituent parsing requires a linearization to represent trees as sequences. Top-down tree linearizations, which can be based on brackets or shift-reduce actions, have achieved the best accuracy to date.

Show full abstract

In this paper, we show that these results can be improved by using an in-order linearization instead. Based on this observation, we implement an enriched in-order shift-reduce linearization inspired by Vinyals et al. (2015)'s approach, achieving the best accuracy to date on the English PTB dataset among fully-supervised single-model sequence-to-sequence constituent parsers. Finally, we apply deterministic attention mechanisms to match the speed of state-of-the-art transition-based parsers, thus showing that sequence-to-sequence models can match them, not only in accuracy, but also in speed.

View on arXivView PDF

Code Implementations(1)

20C++, CApr 7, 20206 years ago

Similar Papers

Cite this paper

@article{fernndezgonzlez2020enriched,
  title  = {Enriched In-Order Linearization for Faster Sequence-to-Sequence Constituent Parsing},
  author = {Daniel Fernández-González and Carlos Gómez-Rodríguez},
  year   = {2020},
  eprint = {2005.13334},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.13334}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2005.13334.svg)](https://codeofpaper.com/paper/2005.13334)

Discussion