Cross-Domain Generalization of Neural Constituency Parsers

Daniel Fried, Nikita Kitaev, Dan Klein
7/9/2019
cs.CL

Official code: dpfried/rnng-bert (38 stars, C++, last commit 2020-04-01).

Abstract

Neural parsers obtain state-of-the-art results on benchmark treebanks for constituency parsing -- but to what degree do they generalize to other domains? We present three results about the generalization of neural parsers in a zero-shot setting: training on trees from one corpus and evaluating on out-of-domain corpora.

Show full abstract

First, neural and non-neural parsers generalize comparably to new domains. Second, incorporating pre-trained encoder representations into neural parsers substantially improves their performance across all domains, but does not give a larger relative improvement for out-of-domain treebanks. Finally, despite the rich input representations they learn, neural parsers still benefit from structured output prediction of output trees, yielding higher exact match accuracy and stronger generalization both to larger text spans and to out-of-domain corpora. We analyze generalization on English and Chinese corpora, and in the process obtain state-of-the-art parsing results for the Brown, Genia, and English Web treebanks.

View on arXivView PDF

Code Implementations(1)

dpfried/rnng-bertOfficial100%

Constituency parser for English and Chinese, built on the RNNG and In-Order parsers with BERT

380C++, PythonJan 19, 20196 years ago

Similar Papers

Cite this paper

@article{fried2019crossdomain,
  title  = {Cross-Domain Generalization of Neural Constituency Parsers},
  author = {Daniel Fried and Nikita Kitaev and Dan Klein},
  year   = {2019},
  eprint = {1907.04347},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.04347}
}

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/1907.04347.svg)](https://codeofpaper.com/paper/1907.04347)

Discussion