Applying Occam's Razor to Transformer-Based Dependency Parsing: What Works, What Doesn't, and What is Really Necessary

Stefan Grünewald, Annemarie Friedrich, Jonas Kuhn
10/23/2020
15 citations
cs.CL
transformer-attention

Official code: boschresearch/steps-parser (16 stars, Python, AGPL-3.0, last commit 2021-04-14).

Abstract

The introduction of pre-trained transformer-based contextualized word embeddings has led to considerable improvements in the accuracy of graph-based parsers for frameworks such as Universal Dependencies (UD). However, previous works differ in various dimensions, including their choice of pre-trained language models and whether they use LSTM layers.

Show full abstract

With the aims of disentangling the effects of these choices and identifying a simple yet widely applicable architecture, we introduce STEPS, a new modular graph-based dependency parser. Using STEPS, we perform a series of analyses on the UD corpora of a diverse set of languages. We find that the choice of pre-trained embeddings has by far the greatest impact on parser performance and identify XLM-R as a robust choice across the languages in our study. Adding LSTM layers provides no benefits when using transformer-based embeddings. A multi-task training setup outputting additional UD features may contort results. Taking these insights together, we propose a simple but widely applicable parser architecture and configuration, achieving new state-of-the-art results (in terms of LAS) for 10 out of 12 diverse languages.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0
168Python, ShellMar 5, 20215 years agoAGPL-3.0
bcaipaper-resource

Similar Papers

Cite this paper

@article{grnewald2020applying,
  title  = {Applying Occam's Razor to Transformer-Based Dependency Parsing: What Works, What Doesn't, and What is Really Necessary},
  author = {Stefan Grünewald and Annemarie Friedrich and Jonas Kuhn},
  year   = {2020},
  eprint = {2010.12699},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.12699}
}

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

Discussion