Parsing as Pretraining

David Vilares, Michalina Strzyz, Anders Søgaard, Carlos Gómez-Rodríguez
2/5/2020
cs.CLcs.LG

Official code: aghie/parsing-as-pretraining (16 stars, MIT, last commit 2024-07-25).

Abstract

Recent analyses suggest that encoders pretrained for language modeling capture certain morpho-syntactic structure. However, probing frameworks for word vectors still do not report results on standard setups such as constituent and dependency parsing. This paper addresses this problem and does full parsing (on English) relying only on pretraining architectures -- and no decoding. We first cast constituent and dependency parsing as sequence tagging. We then use a single feed-forward layer to directly map word vectors to labels that encode a linearized tree. This is used to: (i) see how far we can reach on syntax modelling with just pretrained encoders, and (ii) shed some light about the syntax-sensitivity of different word vectors (by freezing the weights of the pretraining network during training). For evaluation, we use bracketing F1-score and LAS, and analyze in-depth differences across representations for span lengths and dependency displacements. The overall results surpass existing sequence tagging parsers on the PTB (93.5%) and end-to-end EN-EWT UD (78.8%).

View on arXivView PDF

Code Implementations(1)

MIT

Parsing only with Pretraining Networks

162C, PerlNov 11, 20192 years agoMIT

Similar Papers

Cite this paper

@article{vilares2020parsing,
  title  = {Parsing as Pretraining},
  author = {David Vilares and Michalina Strzyz and Anders Søgaard and Carlos Gómez-Rodríguez},
  year   = {2020},
  eprint = {2002.01685},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.01685}
}

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

Discussion