Hexatagging: Projective Dependency Parsing as Tagging

Afra Amini, Tianyu Liu, Ryan Cotterell
6/8/2023
cs.CLcs.AI

No official code found. Best implementation: rycolab/parsing-as-tagging (22 stars, last commit 2023-11-19).

Abstract

We introduce a novel dependency parser, the hexatagger, that constructs dependency trees by tagging the words in a sentence with elements from a finite set of possible tags. In contrast to many approaches to dependency parsing, our approach is fully parallelizable at training time, i.e., the structure-building actions needed to build a dependency parse can be predicted in parallel to each other. Additionally, exact decoding is linear in time and space complexity. Furthermore, we derive a probabilistic dependency parser that predicts hexatags using no more than a linear model with features from a pretrained language model, i.e., we forsake a bespoke architecture explicitly designed for the task. Despite the generality and simplicity of our approach, we achieve state-of-the-art performance of 96.4 LAS and 97.4 UAS on the Penn Treebank test set. Additionally, our parser's linear time complexity and parallelism significantly improve computational efficiency, with a roughly 10-times speed-up over previous state-of-the-art models during decoding.

View on arXivView PDF

Code Implementations(1)

227Shell, PythonOct 21, 20222 years ago

Cite this paper

@article{amini2023hexatagging,
  title  = {Hexatagging: Projective Dependency Parsing as Tagging},
  author = {Afra Amini and Tianyu Liu and Ryan Cotterell},
  year   = {2023},
  eprint = {2306.05477},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.05477v1}
}

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

Discussion